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

public final class ResourcePoolInner extends com.azure.core.management.Resource
Define the resourcePool.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the cpuLimitMHz property: Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz.
    Get the cpuReservationMHz property: Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available.
    Get the cpuSharesLevel property: Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool.
    Get the customResourceName property: Gets the name of the corresponding resource in Kubernetes.
    Get the extendedLocation property: Gets or sets the extended location.
    Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource pool.
    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 memLimitMB property: Gets or sets MemLimitMB specifies a memory usage limit in megabytes.
    Get the memReservationMB property: Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes.
    Get the memSharesLevel property: Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool.
    Get the moName property: Gets or sets the vCenter Managed Object name for the resource pool.
    Get the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool.
    Get the provisioningState property: Gets or sets the provisioning state.
    Get the statuses property: The resource status information.
    com.azure.core.management.SystemData
    Get the systemData property: The system data.
    Get the uuid property: Gets or sets a unique identifier for this resource.
    void
    Validates the instance.
    Get the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.
    Set the extendedLocation property: Gets or sets the extended location.
    withInventoryItemId(String inventoryItemId)
    Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource pool.
    Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g.
    withLocation(String location)
    Set the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool.
    withVCenterId(String vCenterId)
    Set the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.

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

    location, tags

    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

    • ResourcePoolInner

      public ResourcePoolInner()
  • Method Details

    • extendedLocation

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

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

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

      public ResourcePoolInner 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 resource pool resides.
      Returns:
      the vCenterId value.
    • withVCenterId

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

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

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

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

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

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

      public String cpuSharesLevel()
      Get the cpuSharesLevel property: Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. This property is used in relative allocation between resource consumers.
      Returns:
      the cpuSharesLevel value.
    • cpuReservationMHz

      public Long cpuReservationMHz()
      Get the cpuReservationMHz property: Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available.
      Returns:
      the cpuReservationMHz value.
    • cpuLimitMHz

      public Long cpuLimitMHz()
      Get the cpuLimitMHz property: Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. Utilization will not exceed this limit even if there are available resources.
      Returns:
      the cpuLimitMHz value.
    • memSharesLevel

      public String memSharesLevel()
      Get the memSharesLevel property: Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. This property is used in relative allocation between resource consumers.
      Returns:
      the memSharesLevel value.
    • memReservationMB

      public Long memReservationMB()
      Get the memReservationMB property: Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes.
      Returns:
      the memReservationMB value.
    • memLimitMB

      public Long memLimitMB()
      Get the memLimitMB property: Gets or sets MemLimitMB specifies a memory usage limit in megabytes. Utilization will not exceed the specified limit even if there are available resources.
      Returns:
      the memLimitMB value.
    • customResourceName

      public String customResourceName()
      Get the customResourceName property: Gets the name of the corresponding resource in Kubernetes.
      Returns:
      the customResourceName value.
    • statuses

      public List<ResourceStatus> statuses()
      Get the statuses property: The resource status information.
      Returns:
      the statuses 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.