Class VirtualMachineInventoryItem
java.lang.Object
com.azure.resourcemanager.connectedvmware.fluent.models.InventoryItemProperties
com.azure.resourcemanager.connectedvmware.models.VirtualMachineInventoryItem
The VM inventory item.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the folderPath property: Gets or sets the folder path of the vm.host()
Get the host property: Host inventory resource details.Get the instanceUuid property: Gets or sets the instance uuid of the vm.Get the ipAddresses property: Gets or sets the nic ip addresses.osName()
Get the osName property: Gets or sets os name.osType()
Get the osType property: Gets or sets the type of the os.Get the powerState property: Gets the power state of the virtual machine.Get the resourcePool property: ResourcePool inventory resource details.Get the smbiosUuid property: Gets or sets the SMBIOS UUID of the vm.Get the toolsRunningStatus property: Gets or sets the current running status of VMware Tools running in the guest operating system.Get the toolsVersion property: Gets or sets the current version of VMware Tools.Get the toolsVersionStatus property: Gets or sets the current version status of VMware Tools installed in the guest operating system.void
validate()
Validates the instance.withFolderPath
(String folderPath) Set the folderPath property: Gets or sets the folder path of the vm.withHost
(InventoryItemDetails host) Set the host property: Host inventory resource details.withInstanceUuid
(String instanceUuid) Set the instanceUuid property: Gets or sets the instance uuid of the vm.withIpAddresses
(List<String> ipAddresses) Set the ipAddresses property: Gets or sets the nic ip addresses.withManagedResourceId
(String managedResourceId) Set the managedResourceId property: Gets or sets the tracked resource id corresponding to the inventory resource.withMoName
(String moName) Set the moName property: Gets or sets the vCenter Managed Object name for the inventory item.withMoRefId
(String moRefId) Set the moRefId property: Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.withOsName
(String osName) Set the osName property: Gets or sets os name.withOsType
(OsType osType) Set the osType property: Gets or sets the type of the os.withResourcePool
(InventoryItemDetails resourcePool) Set the resourcePool property: ResourcePool inventory resource details.withSmbiosUuid
(String smbiosUuid) Set the smbiosUuid property: Gets or sets the SMBIOS UUID of the vm.Methods inherited from class com.azure.resourcemanager.connectedvmware.fluent.models.InventoryItemProperties
managedResourceId, moName, moRefId, provisioningState
-
Constructor Details
-
VirtualMachineInventoryItem
public VirtualMachineInventoryItem()
-
-
Method Details
-
osType
Get the osType property: Gets or sets the type of the os.- Returns:
- the osType value.
-
withOsType
Set the osType property: Gets or sets the type of the os.- Parameters:
osType
- the osType value to set.- Returns:
- the VirtualMachineInventoryItem object itself.
-
osName
Get the osName property: Gets or sets os name.- Returns:
- the osName value.
-
withOsName
Set the osName property: Gets or sets os name.- Parameters:
osName
- the osName value to set.- Returns:
- the VirtualMachineInventoryItem object itself.
-
ipAddresses
Get the ipAddresses property: Gets or sets the nic ip addresses.- Returns:
- the ipAddresses value.
-
withIpAddresses
Set the ipAddresses property: Gets or sets the nic ip addresses.- Parameters:
ipAddresses
- the ipAddresses value to set.- Returns:
- the VirtualMachineInventoryItem object itself.
-
folderPath
Get the folderPath property: Gets or sets the folder path of the vm.- Returns:
- the folderPath value.
-
withFolderPath
Set the folderPath property: Gets or sets the folder path of the vm.- Parameters:
folderPath
- the folderPath value to set.- Returns:
- the VirtualMachineInventoryItem object itself.
-
host
Get the host property: Host inventory resource details.- Returns:
- the host value.
-
withHost
Set the host property: Host inventory resource details.- Parameters:
host
- the host value to set.- Returns:
- the VirtualMachineInventoryItem object itself.
-
resourcePool
Get the resourcePool property: ResourcePool inventory resource details.- Returns:
- the resourcePool value.
-
withResourcePool
Set the resourcePool property: ResourcePool inventory resource details.- Parameters:
resourcePool
- the resourcePool value to set.- Returns:
- the VirtualMachineInventoryItem object itself.
-
instanceUuid
Get the instanceUuid property: Gets or sets the instance uuid of the vm.- Returns:
- the instanceUuid value.
-
withInstanceUuid
Set the instanceUuid property: Gets or sets the instance uuid of the vm.- Parameters:
instanceUuid
- the instanceUuid value to set.- Returns:
- the VirtualMachineInventoryItem object itself.
-
smbiosUuid
Get the smbiosUuid property: Gets or sets the SMBIOS UUID of the vm.- Returns:
- the smbiosUuid value.
-
withSmbiosUuid
Set the smbiosUuid property: Gets or sets the SMBIOS UUID of the vm.- Parameters:
smbiosUuid
- the smbiosUuid value to set.- Returns:
- the VirtualMachineInventoryItem object itself.
-
powerState
Get the powerState property: Gets the power state of the virtual machine.- Returns:
- the powerState value.
-
toolsRunningStatus
Get the toolsRunningStatus property: Gets or sets the current running status of VMware Tools running in the guest operating system.- Returns:
- the toolsRunningStatus value.
-
toolsVersionStatus
Get the toolsVersionStatus property: Gets or sets the current version status of VMware Tools installed in the guest operating system.- Returns:
- the toolsVersionStatus value.
-
toolsVersion
Get the toolsVersion property: Gets or sets the current version of VMware Tools.- Returns:
- the toolsVersion value.
-
withManagedResourceId
Set the managedResourceId property: Gets or sets the tracked resource id corresponding to the inventory resource.- Overrides:
withManagedResourceId
in classInventoryItemProperties
- Parameters:
managedResourceId
- the managedResourceId value to set.- Returns:
- the InventoryItemProperties object itself.
-
withMoRefId
Set the moRefId property: Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.- Overrides:
withMoRefId
in classInventoryItemProperties
- Parameters:
moRefId
- the moRefId value to set.- Returns:
- the InventoryItemProperties object itself.
-
withMoName
Set the moName property: Gets or sets the vCenter Managed Object name for the inventory item.- Overrides:
withMoName
in classInventoryItemProperties
- Parameters:
moName
- the moName value to set.- Returns:
- the InventoryItemProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classInventoryItemProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-