ResourcePool Interface

public interface ResourcePool

An immutable client-side representation of ResourcePool.

Method Summary

Modifier and Type Method and Description
abstract Long cpuLimitMHz()

Gets the cpuLimitMHz property: Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz.

abstract Long cpuReservationMHz()

Gets the cpuReservationMHz property: Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available.

abstract String cpuSharesLevel()

Gets the cpuSharesLevel property: Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool.

abstract String customResourceName()

Gets the customResourceName property: Gets the name of the corresponding resource in Kubernetes.

abstract ExtendedLocation extendedLocation()

Gets the extendedLocation property: Gets or sets the extended location.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract ResourcePoolInner innerModel()

Gets the inner com.azure.resourcemanager.connectedvmware.fluent.models.ResourcePoolInner object.

abstract String inventoryItemId()

Gets the inventoryItemId property: Gets or sets the inventory Item ID for the resource pool.

abstract String kind()

Gets the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract Long memLimitMB()

Gets the memLimitMB property: Gets or sets MemLimitMB specifies a memory usage limit in megabytes.

abstract Long memReservationMB()

Gets the memReservationMB property: Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes.

abstract String memSharesLevel()

Gets the memSharesLevel property: Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool.

abstract String moName()

Gets the moName property: Gets or sets the vCenter Managed Object name for the resource pool.

abstract String moRefId()

Gets the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool.

abstract String name()

Gets the name property: The name of the resource.

abstract String provisioningState()

Gets the provisioningState property: Gets or sets the provisioning state.

abstract ResourcePool refresh()

Refreshes the resource to sync with Azure.

abstract ResourcePool refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract String resourceGroupName()

Gets the name of the resource group.

abstract List<ResourceStatus> statuses()

Gets the statuses property: The resource status information.

abstract SystemData systemData()

Gets the systemData property: The system data.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the ResourcePool resource.

abstract String uuid()

Gets the uuid property: Gets or sets a unique identifier for this resource.

abstract String vCenterId()

Gets the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.

Method Details

cpuLimitMHz

public abstract Long cpuLimitMHz()

Gets 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.

cpuReservationMHz

public abstract Long cpuReservationMHz()

Gets the cpuReservationMHz property: Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available.

Returns:

the cpuReservationMHz value.

cpuSharesLevel

public abstract String cpuSharesLevel()

Gets 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.

customResourceName

public abstract String customResourceName()

Gets the customResourceName property: Gets the name of the corresponding resource in Kubernetes.

Returns:

the customResourceName value.

extendedLocation

public abstract ExtendedLocation extendedLocation()

Gets the extendedLocation property: Gets or sets the extended location.

Returns:

the extendedLocation value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract ResourcePoolInner innerModel()

Gets the inner com.azure.resourcemanager.connectedvmware.fluent.models.ResourcePoolInner object.

Returns:

the inner object.

inventoryItemId

public abstract String inventoryItemId()

Gets the inventoryItemId property: Gets or sets the inventory Item ID for the resource pool.

Returns:

the inventoryItemId value.

kind

public abstract String kind()

Gets 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.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

memLimitMB

public abstract Long memLimitMB()

Gets 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.

memReservationMB

public abstract Long memReservationMB()

Gets the memReservationMB property: Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes.

Returns:

the memReservationMB value.

memSharesLevel

public abstract String memSharesLevel()

Gets 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.

moName

public abstract String moName()

Gets the moName property: Gets or sets the vCenter Managed Object name for the resource pool.

Returns:

the moName value.

moRefId

public abstract String moRefId()

Gets the moRefId property: Gets or sets the vCenter MoRef (Managed Object Reference) ID for the resource pool.

Returns:

the moRefId value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

provisioningState

public abstract String provisioningState()

Gets the provisioningState property: Gets or sets the provisioning state.

Returns:

the provisioningState value.

refresh

public abstract ResourcePool refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract ResourcePool refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

statuses

public abstract List<ResourceStatus> statuses()

Gets the statuses property: The resource status information.

Returns:

the statuses value.

systemData

public abstract SystemData systemData()

Gets the systemData property: The system data.

Returns:

the systemData value.

tags

public abstract Map<String,String> tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract ResourcePool.Update update()

Begins update for the ResourcePool resource.

Returns:

the stage of resource update.

uuid

public abstract String uuid()

Gets the uuid property: Gets or sets a unique identifier for this resource.

Returns:

the uuid value.

vCenterId

public abstract String vCenterId()

Gets the vCenterId property: Gets or sets the ARM Id of the vCenter resource in which this resource pool resides.

Returns:

the vCenterId value.

Applies to