CmdID / az / az disk-pool / az disk-pool iscsi-target
az disk-pool iscsi-target update
Update an iSCSI Target. Azure CLI extensions reference
1 example 7 options Its page in the Azure CLI extensions reference
Examples
Update iSCSI Target
az disk-pool iscsi-target update --disk-pool-name "myDiskPool" --name "myIscsiTarget" --luns name="lun0" managed-disk-azure-resource-id="/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/myResourceGroup/providers/Microsoft.Compute/disks/vm-name_DataDisk_1" --static-acls initiator-iqn="iqn.2005-03.org.iscsi:client" mapped-luns="lun0" --resource-group "myResourceGroup"Identify--disk-pool-nameThe name of the Disk Pool.--nameThe name of the iSCSI Target.--lunsList of LUNs to be exposed through iSCSI Target.--static-aclsAccess Control List (ACL) for an iSCSI Target; defines LUN masking policy--resource-groupName of resource group.Options
--disk-pool-nameThe name of the Disk Pool.--iscsi-target-name, --name, -nThe name of the iSCSI Target.--lunsList of LUNs to be exposed through iSCSI Target.--managed-by-extendedList of Azure resource ids that manage this resource.--managed-byAzure resource id.--resource-group, -gName of resource group.--static-aclsAccess Control List (ACL) for an iSCSI Target; defines LUN masking policy