java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.connectedvmware.fluent.models.InventoryItemInner

public final class InventoryItemInner extends com.azure.core.management.ProxyResource
Defines the inventory item.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g.
    Get the managedResourceId property: Gets or sets the tracked resource id corresponding to the inventory resource.
    Get the moName property: Gets or sets the vCenter Managed Object name for the inventory item.
    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.
    com.azure.core.management.SystemData
    Get the systemData property: The system data.
    void
    Validates the instance.
    Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g.
    withManagedResourceId(String managedResourceId)
    Set the managedResourceId property: Gets or sets the tracked resource id corresponding to the inventory resource.
    Set the moName property: Gets or sets the vCenter Managed Object name for the inventory item.
    Set the moRefId property: Gets or sets the MoRef (Managed Object Reference) ID for the inventory item.

    Methods inherited from class com.azure.core.management.ProxyResource

    id, name, type

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InventoryItemInner

      public InventoryItemInner()
  • Method Details

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: The system data.
      Returns:
      the systemData value.
    • kind

      public String kind()
      Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
      Returns:
      the kind value.
    • withKind

      public InventoryItemInner withKind(String kind)
      Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
      Parameters:
      kind - the kind value to set.
      Returns:
      the InventoryItemInner object itself.
    • 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 InventoryItemInner 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 InventoryItemInner 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 InventoryItemInner 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 InventoryItemInner 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 InventoryItemInner 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 InventoryItemInner 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.