Class InventoryItemProperties
java.lang.Object
com.azure.resourcemanager.connectedvmware.fluent.models.InventoryItemProperties
- Direct Known Subclasses:
ClusterInventoryItem
,DatastoreInventoryItem
,HostInventoryItem
,ResourcePoolInventoryItem
,VirtualMachineInventoryItem
,VirtualMachineTemplateInventoryItem
,VirtualNetworkInventoryItem
Defines the resource properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the managedResourceId property: Gets or sets the tracked resource id corresponding to the inventory resource.moName()
Get the moName property: Gets or sets the vCenter Managed Object name for the inventory item.moRefId()
Get the moRefId property: Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.Get the provisioningState property: Gets or sets the provisioning state.void
validate()
Validates the instance.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.
-
Constructor Details
-
InventoryItemProperties
public InventoryItemProperties()
-
-
Method Details
-
managedResourceId
Get the managedResourceId property: Gets or sets the tracked resource id corresponding to the inventory resource.- Returns:
- the managedResourceId value.
-
withManagedResourceId
Set the managedResourceId property: Gets or sets the tracked resource id corresponding to the inventory resource.- Parameters:
managedResourceId
- the managedResourceId value to set.- Returns:
- the InventoryItemProperties object itself.
-
moRefId
Get the moRefId property: Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.- Returns:
- the moRefId value.
-
withMoRefId
Set the moRefId property: Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.- Parameters:
moRefId
- the moRefId value to set.- Returns:
- the InventoryItemProperties object itself.
-
moName
Get the moName property: Gets or sets the vCenter Managed Object name for the inventory item.- Returns:
- the moName value.
-
withMoName
Set the moName property: Gets or sets the vCenter Managed Object name for the inventory item.- Parameters:
moName
- the moName value to set.- Returns:
- the InventoryItemProperties object itself.
-
provisioningState
Get the provisioningState property: Gets or sets the provisioning state.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-