VirtualMachineInventoryItem Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. 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() |
Creates an instance of Virtual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
biosGuid()
Get the bios |
|
Inventory |
cloud()
Get the cloud property: Cloud inventory resource details where the VM is present. |
|
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
| String |
inventoryItemName()
Get the inventory |
|
Inventory |
inventoryType()
Get the inventory |
| List<String> |
ipAddresses()
Get the ip |
| String |
managedMachineResourceId()
Get the managed |
| String |
managedResourceId()
Get the managed |
| String |
osName()
Get the os |
|
Os |
osType()
Get the os |
| String |
osVersion()
Get the os |
| String |
powerState()
Get the power |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
uuid()
Get the uuid property: Gets the UUID (which is assigned by Vmm) for the inventory item. |
| 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()
Creates an instance of VirtualMachineInventoryItem class.
Method Details
biosGuid
public String biosGuid()
Get the biosGuid property: Gets the bios guid.
Returns:
cloud
public InventoryItemDetails cloud()
Get the cloud property: Cloud inventory resource details where the VM is present.
Returns:
fromJson
public static VirtualMachineInventoryItem fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineInventoryItem from the JsonReader.
Parameters:
Returns:
Throws:
inventoryItemName
public String inventoryItemName()
Get the inventoryItemName property: Gets the Managed Object name in Vmm for the inventory item.
Overrides:
VirtualMachineInventoryItem.inventoryItemName()Returns:
inventoryType
public InventoryType inventoryType()
Get the inventoryType property: They inventory type.
Overrides:
VirtualMachineInventoryItem.inventoryType()Returns:
ipAddresses
public List<String> ipAddresses()
Get the ipAddresses property: Gets or sets the nic ip addresses.
Returns:
managedMachineResourceId
public String managedMachineResourceId()
Get the managedMachineResourceId property: Gets the tracked resource id corresponding to the inventory resource.
Returns:
managedResourceId
public String managedResourceId()
Get the managedResourceId property: Gets the tracked resource id corresponding to the inventory resource.
Overrides:
VirtualMachineInventoryItem.managedResourceId()Returns:
osName
public String osName()
Get the osName property: Gets os name.
Returns:
osType
public OsType osType()
Get the osType property: Gets the type of the os.
Returns:
osVersion
public String osVersion()
Get the osVersion property: Gets os version.
Returns:
powerState
public String powerState()
Get the powerState property: Gets the power state of the virtual machine.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the resource.
Overrides:
VirtualMachineInventoryItem.provisioningState()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VirtualMachineInventoryItem.toJson(JsonWriter jsonWriter)Parameters:
Throws:
uuid
public String uuid()
Get the uuid property: Gets the UUID (which is assigned by Vmm) for the inventory item.
Overrides:
VirtualMachineInventoryItem.uuid()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: