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

public final class HostModelInner extends com.azure.core.management.Resource
Define the host.
  • Constructor Details

    • HostModelInner

      public HostModelInner()
  • Method Details

    • extendedLocation

      public ExtendedLocation extendedLocation()
      Get the extendedLocation property: Gets or sets the extended location.
      Returns:
      the extendedLocation value.
    • withExtendedLocation

      public HostModelInner withExtendedLocation(ExtendedLocation extendedLocation)
      Set the extendedLocation property: Gets or sets the extended location.
      Parameters:
      extendedLocation - the extendedLocation value to set.
      Returns:
      the HostModelInner object itself.
    • 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 HostModelInner 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 HostModelInner object itself.
    • withLocation

      public HostModelInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public HostModelInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • uuid

      public String uuid()
      Get the uuid property: Gets or sets a unique identifier for this resource.
      Returns:
      the uuid value.
    • vCenterId

      public String vCenterId()
      Get the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this host resides.
      Returns:
      the vCenterId value.
    • withVCenterId

      public HostModelInner withVCenterId(String vCenterId)
      Set the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this host resides.
      Parameters:
      vCenterId - the vCenterId value to set.
      Returns:
      the HostModelInner object itself.
    • moRefId

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

      public HostModelInner withMoRefId(String moRefId)
      Set the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the host.
      Parameters:
      moRefId - the moRefId value to set.
      Returns:
      the HostModelInner object itself.
    • inventoryItemId

      public String inventoryItemId()
      Get the inventoryItemId property: Gets or sets the inventory Item ID for the host.
      Returns:
      the inventoryItemId value.
    • withInventoryItemId

      public HostModelInner withInventoryItemId(String inventoryItemId)
      Set the inventoryItemId property: Gets or sets the inventory Item ID for the host.
      Parameters:
      inventoryItemId - the inventoryItemId value to set.
      Returns:
      the HostModelInner object itself.
    • moName

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

      public List<ResourceStatus> statuses()
      Get the statuses property: The resource status information.
      Returns:
      the statuses value.
    • customResourceName

      public String customResourceName()
      Get the customResourceName property: Gets the name of the corresponding resource in Kubernetes.
      Returns:
      the customResourceName value.
    • 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.