VirtualMachineInventoryItem Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. fluent. models. InventoryItemProperties - com.
azure. resourcemanager. scvmm. models. VirtualMachineInventoryItem
- com.
- com.
public final class VirtualMachineInventoryItem
extends InventoryItemProperties
The Virtual machine inventory item.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| VirtualMachineInventoryItem() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Inventory |
cloud()
Get the cloud property: Cloud inventory resource details where the VM is present. |
| List<String> |
ipAddresses()
Get the ip |
| String |
osName()
Get the os |
|
Os |
osType()
Get the os |
| String |
powerState()
Get the power |
| void |
validate()
Validates the instance. |
|
Virtual |
withCloud(InventoryItemDetails cloud)
Set the cloud property: Cloud inventory resource details where the VM is present. |
|
Virtual |
withIpAddresses(List<String> ipAddresses)
Set the ip |
Methods inherited from InventoryItemProperties
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineInventoryItem
public VirtualMachineInventoryItem()
Method Details
cloud
public InventoryItemDetails cloud()
Get the cloud property: Cloud inventory resource details where the VM is present.
Returns:
ipAddresses
public List<String> ipAddresses()
Get the ipAddresses property: Gets or sets the nic ip addresses.
Returns:
osName
public String osName()
Get the osName property: Gets or sets os name.
Returns:
osType
public OsType osType()
Get the osType property: Gets or sets the type of the os.
Returns:
powerState
public String powerState()
Get the powerState property: Gets the power state of the virtual machine.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
VirtualMachineInventoryItem.validate()withCloud
public VirtualMachineInventoryItem withCloud(InventoryItemDetails cloud)
Set the cloud property: Cloud inventory resource details where the VM is present.
Parameters:
Returns:
withIpAddresses
public VirtualMachineInventoryItem withIpAddresses(List<String> ipAddresses)
Set the ipAddresses property: Gets or sets the nic ip addresses.
Parameters:
Returns: