Class ResourcePoolProperties

java.lang.Object
com.azure.resourcemanager.connectedvmware.fluent.models.ResourcePoolProperties

public final class ResourcePoolProperties extends Object
Defines the resource properties.
  • 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 inventoryItemId property: Gets or sets the inventory Item ID for the resource pool.
    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.
    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.
    withInventoryItemId(String inventoryItemId)
    Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource pool.
    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 java.lang.Object

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

    • ResourcePoolProperties

      public ResourcePoolProperties()
  • Method Details

    • 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 ResourcePoolProperties 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 ResourcePoolProperties 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 ResourcePoolProperties 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 ResourcePoolProperties 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 ResourcePoolProperties 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 ResourcePoolProperties 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.