The diskPools/iscsiTargets resource type can be deployed to:
For a list of changed properties in each API version, see change log.
To create a Microsoft.StoragePool/diskPools/iscsiTargets resource, add the following JSON to your template.
{
"type": "Microsoft.StoragePool/diskPools/iscsiTargets",
"apiVersion": "2021-08-01",
"name": "string",
"managedBy": "string",
"managedByExtended": [ "string" ],
"properties": {
"aclMode": "string",
"luns": [
{
"managedDiskAzureResourceId": "string",
"name": "string"
}
],
"staticAcls": [
{
"initiatorIqn": "string",
"mappedLuns": [ "string" ]
}
],
"targetIqn": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.StoragePool/diskPools/iscsiTargets' |
apiVersion | The resource api version | '2021-08-01' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
managedBy | Azure resource id. Indicates if this resource is managed by another Azure resource. | string |
managedByExtended | List of Azure resource ids that manage this resource. | string[] |
properties | Properties for iSCSI Target create request. | IscsiTargetCreatePropertiesOrIscsiTargetProperties (required) |
Name | Description | Value |
---|---|---|
aclMode | Mode for Target connectivity. | 'Dynamic' 'Static' (required) |
luns | List of LUNs to be exposed through iSCSI Target. | IscsiLun[] |
staticAcls | Access Control List (ACL) for an iSCSI Target; defines LUN masking policy | Acl[] |
targetIqn | iSCSI Target IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:server". | string |
Name | Description | Value |
---|---|---|
managedDiskAzureResourceId | Azure Resource ID of the Managed Disk. | string (required) |
name | User defined name for iSCSI LUN; example: "lun0" | string (required) |
Name | Description | Value |
---|---|---|
initiatorIqn | iSCSI initiator IQN (iSCSI Qualified Name); example: "iqn.2005-03.org.iscsi:client". | string (required) |
mappedLuns | List of LUN names mapped to the ACL. | string[] (required) |
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Deploy an entry level Disk Pool |
This template deploys a Disk Pool with 1 1TB existing Premium Disk in an existing subnet. |