Class InventoryItemProperties

java.lang.Object
com.azure.resourcemanager.connectedvmware.fluent.models.InventoryItemProperties
Direct Known Subclasses:
ClusterInventoryItem, DatastoreInventoryItem, HostInventoryItem, ResourcePoolInventoryItem, VirtualMachineInventoryItem, VirtualMachineTemplateInventoryItem, VirtualNetworkInventoryItem

public class InventoryItemProperties extends Object
Defines the resource properties.
  • Constructor Details

    • InventoryItemProperties

      public InventoryItemProperties()
  • Method Details

    • managedResourceId

      public String managedResourceId()
      Get the managedResourceId property: Gets or sets the tracked resource id corresponding to the inventory resource.
      Returns:
      the managedResourceId value.
    • withManagedResourceId

      public InventoryItemProperties withManagedResourceId(String managedResourceId)
      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

      public String moRefId()
      Get the moRefId property: Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.
      Returns:
      the moRefId value.
    • withMoRefId

      public InventoryItemProperties withMoRefId(String moRefId)
      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

      public String moName()
      Get the moName property: Gets or sets the vCenter Managed Object name for the inventory item.
      Returns:
      the moName value.
    • withMoName

      public InventoryItemProperties withMoName(String moName)
      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

      public String 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.