共用方式為


ResourcePool interface

Define the resourcePool.

Properties

cpuCapacityMHz

Gets the max CPU usage across all cores on the pool in MHz. NOTE: This property will not be serialized. It can only be populated by the server.

cpuLimitMHz

Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. Utilization will not exceed this limit even if there are available resources. NOTE: This property will not be serialized. It can only be populated by the server.

cpuOverallUsageMHz

Gets the used CPU usage across all cores on the pool in MHz. NOTE: This property will not be serialized. It can only be populated by the server.

cpuReservationMHz

Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available. NOTE: This property will not be serialized. It can only be populated by the server.

cpuSharesLevel

Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. This property is used in relative allocation between resource consumers. NOTE: This property will not be serialized. It can only be populated by the server.

customResourceName

Gets the name of the corresponding resource in Kubernetes. NOTE: This property will not be serialized. It can only be populated by the server.

datastoreIds

Gets the datastore ARM ids. NOTE: This property will not be serialized. It can only be populated by the server.

extendedLocation

Gets or sets the extended location.

id

Gets or sets the Id. NOTE: This property will not be serialized. It can only be populated by the server.

inventoryItemId

Gets or sets the inventory Item ID for the resource pool.

kind

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.

location

Gets or sets the location.

memCapacityGB

Gets the total amount of physical memory on the pool in GB. NOTE: This property will not be serialized. It can only be populated by the server.

memLimitMB

Gets or sets MemLimitMB specifies a memory usage limit in megabytes. Utilization will not exceed the specified limit even if there are available resources. NOTE: This property will not be serialized. It can only be populated by the server.

memOverallUsageGB

Gets the used physical memory on the pool in GB. NOTE: This property will not be serialized. It can only be populated by the server.

memReservationMB

Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes. NOTE: This property will not be serialized. It can only be populated by the server.

memSharesLevel

Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. This property is used in relative allocation between resource consumers. NOTE: This property will not be serialized. It can only be populated by the server.

moName

Gets or sets the vCenter Managed Object name for the resource pool. NOTE: This property will not be serialized. It can only be populated by the server.

moRefId

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

name

Gets or sets the name. NOTE: This property will not be serialized. It can only be populated by the server.

networkIds

Gets the network ARM ids. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState

Gets the provisioning state. NOTE: This property will not be serialized. It can only be populated by the server.

statuses

The resource status information. NOTE: This property will not be serialized. It can only be populated by the server.

systemData

The system data. NOTE: This property will not be serialized. It can only be populated by the server.

tags

Gets or sets the Resource tags.

type

Gets or sets the type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

uuid

Gets or sets a unique identifier for this resource. NOTE: This property will not be serialized. It can only be populated by the server.

vCenterId

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

Property Details

cpuCapacityMHz

Gets the max CPU usage across all cores on the pool in MHz. NOTE: This property will not be serialized. It can only be populated by the server.

cpuCapacityMHz?: number

Property Value

number

cpuLimitMHz

Gets or sets CPULimitMHz which specifies a CPU usage limit in MHz. Utilization will not exceed this limit even if there are available resources. NOTE: This property will not be serialized. It can only be populated by the server.

cpuLimitMHz?: number

Property Value

number

cpuOverallUsageMHz

Gets the used CPU usage across all cores on the pool in MHz. NOTE: This property will not be serialized. It can only be populated by the server.

cpuOverallUsageMHz?: number

Property Value

number

cpuReservationMHz

Gets or sets CPUReservationMHz which specifies the CPU size in MHz that is guaranteed to be available. NOTE: This property will not be serialized. It can only be populated by the server.

cpuReservationMHz?: number

Property Value

number

cpuSharesLevel

Gets or sets CPUSharesLevel which specifies the CPU allocation level for this pool. This property is used in relative allocation between resource consumers. NOTE: This property will not be serialized. It can only be populated by the server.

cpuSharesLevel?: string

Property Value

string

customResourceName

Gets the name of the corresponding resource in Kubernetes. NOTE: This property will not be serialized. It can only be populated by the server.

customResourceName?: string

Property Value

string

datastoreIds

Gets the datastore ARM ids. NOTE: This property will not be serialized. It can only be populated by the server.

datastoreIds?: string[]

Property Value

string[]

extendedLocation

Gets or sets the extended location.

extendedLocation?: ExtendedLocation

Property Value

id

Gets or sets the Id. NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

inventoryItemId

Gets or sets the inventory Item ID for the resource pool.

inventoryItemId?: string

Property Value

string

kind

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.

kind?: string

Property Value

string

location

Gets or sets the location.

location: string

Property Value

string

memCapacityGB

Gets the total amount of physical memory on the pool in GB. NOTE: This property will not be serialized. It can only be populated by the server.

memCapacityGB?: number

Property Value

number

memLimitMB

Gets or sets MemLimitMB specifies a memory usage limit in megabytes. Utilization will not exceed the specified limit even if there are available resources. NOTE: This property will not be serialized. It can only be populated by the server.

memLimitMB?: number

Property Value

number

memOverallUsageGB

Gets the used physical memory on the pool in GB. NOTE: This property will not be serialized. It can only be populated by the server.

memOverallUsageGB?: number

Property Value

number

memReservationMB

Gets or sets MemReservationMB which specifies the guaranteed available memory in megabytes. NOTE: This property will not be serialized. It can only be populated by the server.

memReservationMB?: number

Property Value

number

memSharesLevel

Gets or sets CPUSharesLevel which specifies the memory allocation level for this pool. This property is used in relative allocation between resource consumers. NOTE: This property will not be serialized. It can only be populated by the server.

memSharesLevel?: string

Property Value

string

moName

Gets or sets the vCenter Managed Object name for the resource pool. NOTE: This property will not be serialized. It can only be populated by the server.

moName?: string

Property Value

string

moRefId

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

moRefId?: string

Property Value

string

name

Gets or sets the name. NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

networkIds

Gets the network ARM ids. NOTE: This property will not be serialized. It can only be populated by the server.

networkIds?: string[]

Property Value

string[]

provisioningState

Gets the provisioning state. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState?: string

Property Value

string

statuses

The resource status information. NOTE: This property will not be serialized. It can only be populated by the server.

statuses?: ResourceStatus[]

Property Value

systemData

The system data. NOTE: This property will not be serialized. It can only be populated by the server.

systemData?: SystemData

Property Value

tags

Gets or sets the Resource tags.

tags?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

type

Gets or sets the type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

uuid

Gets or sets a unique identifier for this resource. NOTE: This property will not be serialized. It can only be populated by the server.

uuid?: string

Property Value

string

vCenterId

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

vCenterId?: string

Property Value

string