Class DiskPoolVolume


  • public final class DiskPoolVolume
    extends Object
    An iSCSI volume from Microsoft.StoragePool provider.
    • Constructor Detail

      • DiskPoolVolume

        public DiskPoolVolume()
    • Method Detail

      • targetId

        public String targetId()
        Get the targetId property: Azure resource ID of the iSCSI target.
        Returns:
        the targetId value.
      • withTargetId

        public DiskPoolVolume withTargetId​(String targetId)
        Set the targetId property: Azure resource ID of the iSCSI target.
        Parameters:
        targetId - the targetId value to set.
        Returns:
        the DiskPoolVolume object itself.
      • lunName

        public String lunName()
        Get the lunName property: Name of the LUN to be used for datastore.
        Returns:
        the lunName value.
      • withLunName

        public DiskPoolVolume withLunName​(String lunName)
        Set the lunName property: Name of the LUN to be used for datastore.
        Parameters:
        lunName - the lunName value to set.
        Returns:
        the DiskPoolVolume object itself.
      • mountOption

        public MountOptionEnum mountOption()
        Get the mountOption property: Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN.
        Returns:
        the mountOption value.
      • withMountOption

        public DiskPoolVolume withMountOption​(MountOptionEnum mountOption)
        Set the mountOption property: Mode that describes whether the LUN has to be mounted as a datastore or attached as a LUN.
        Parameters:
        mountOption - the mountOption value to set.
        Returns:
        the DiskPoolVolume object itself.
      • path

        public String path()
        Get the path property: Device path.
        Returns:
        the path value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.