Class VirtualScsiController
java.lang.Object
com.azure.resourcemanager.connectedvmware.models.VirtualScsiController
This data object type contains the properties of a SCSI controller device attached to a virtual machine that is
reported by the controller.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the busNumber property: Gets or sets the bus number of the controller.Get the controllerKey property: Gets or sets the key of the controller.Get the scsiCtlrUnitNumber property: Gets or sets the SCSI controller unit number.sharing()
Get the sharing property: Gets or sets the sharing mode.type()
Get the type property: Gets or sets the controller type.void
validate()
Validates the instance.withBusNumber
(Integer busNumber) Set the busNumber property: Gets or sets the bus number of the controller.withControllerKey
(Integer controllerKey) Set the controllerKey property: Gets or sets the key of the controller.withScsiCtlrUnitNumber
(Integer scsiCtlrUnitNumber) Set the scsiCtlrUnitNumber property: Gets or sets the SCSI controller unit number.withSharing
(VirtualScsiSharing sharing) Set the sharing property: Gets or sets the sharing mode.withType
(ScsiControllerType type) Set the type property: Gets or sets the controller type.
-
Constructor Details
-
VirtualScsiController
public VirtualScsiController()
-
-
Method Details
-
type
Get the type property: Gets or sets the controller type.- Returns:
- the type value.
-
withType
Set the type property: Gets or sets the controller type.- Parameters:
type
- the type value to set.- Returns:
- the VirtualScsiController object itself.
-
controllerKey
Get the controllerKey property: Gets or sets the key of the controller.- Returns:
- the controllerKey value.
-
withControllerKey
Set the controllerKey property: Gets or sets the key of the controller.- Parameters:
controllerKey
- the controllerKey value to set.- Returns:
- the VirtualScsiController object itself.
-
busNumber
Get the busNumber property: Gets or sets the bus number of the controller.- Returns:
- the busNumber value.
-
withBusNumber
Set the busNumber property: Gets or sets the bus number of the controller.- Parameters:
busNumber
- the busNumber value to set.- Returns:
- the VirtualScsiController object itself.
-
scsiCtlrUnitNumber
Get the scsiCtlrUnitNumber property: Gets or sets the SCSI controller unit number.- Returns:
- the scsiCtlrUnitNumber value.
-
withScsiCtlrUnitNumber
Set the scsiCtlrUnitNumber property: Gets or sets the SCSI controller unit number.- Parameters:
scsiCtlrUnitNumber
- the scsiCtlrUnitNumber value to set.- Returns:
- the VirtualScsiController object itself.
-
sharing
Get the sharing property: Gets or sets the sharing mode.- Returns:
- the sharing value.
-
withSharing
Set the sharing property: Gets or sets the sharing mode.- Parameters:
sharing
- the sharing value to set.- Returns:
- the VirtualScsiController object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-