Class IscsiLun
java.lang.Object
com.azure.resourcemanager.storagepool.models.IscsiLun
LUN to expose the Azure Managed Disk.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlun()
Get the lun property: Specifies the Logical Unit Number of the iSCSI LUN.Get the managedDiskAzureResourceId property: Azure Resource ID of the Managed Disk.name()
Get the name property: User defined name for iSCSI LUN; example: "lun0".void
validate()
Validates the instance.withManagedDiskAzureResourceId
(String managedDiskAzureResourceId) Set the managedDiskAzureResourceId property: Azure Resource ID of the Managed Disk.Set the name property: User defined name for iSCSI LUN; example: "lun0".
-
Constructor Details
-
IscsiLun
public IscsiLun()Creates an instance of IscsiLun class.
-
-
Method Details
-
name
Get the name property: User defined name for iSCSI LUN; example: "lun0".- Returns:
- the name value.
-
withName
Set the name property: User defined name for iSCSI LUN; example: "lun0".- Parameters:
name
- the name value to set.- Returns:
- the IscsiLun object itself.
-
managedDiskAzureResourceId
Get the managedDiskAzureResourceId property: Azure Resource ID of the Managed Disk.- Returns:
- the managedDiskAzureResourceId value.
-
withManagedDiskAzureResourceId
Set the managedDiskAzureResourceId property: Azure Resource ID of the Managed Disk.- Parameters:
managedDiskAzureResourceId
- the managedDiskAzureResourceId value to set.- Returns:
- the IscsiLun object itself.
-
lun
Get the lun property: Specifies the Logical Unit Number of the iSCSI LUN.- Returns:
- the lun value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-