java.lang.Object
com.azure.resourcemanager.storagepool.models.IscsiLun

public final class IscsiLun extends Object
LUN to expose the Azure Managed Disk.
  • Constructor Details

    • IscsiLun

      public IscsiLun()
      Creates an instance of IscsiLun class.
  • Method Details

    • name

      public String name()
      Get the name property: User defined name for iSCSI LUN; example: "lun0".
      Returns:
      the name value.
    • withName

      public IscsiLun withName(String name)
      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

      public String managedDiskAzureResourceId()
      Get the managedDiskAzureResourceId property: Azure Resource ID of the Managed Disk.
      Returns:
      the managedDiskAzureResourceId value.
    • withManagedDiskAzureResourceId

      public IscsiLun withManagedDiskAzureResourceId(String managedDiskAzureResourceId)
      Set the managedDiskAzureResourceId property: Azure Resource ID of the Managed Disk.
      Parameters:
      managedDiskAzureResourceId - the managedDiskAzureResourceId value to set.
      Returns:
      the IscsiLun object itself.
    • lun

      public Integer 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.