Class ResourcePoolState
Inherited Members
Namespace: Pulumi.VSphere
Assembly: Pulumi.VSphere.dll
Syntax
public sealed class ResourcePoolState : ResourceArgs
Constructors
View SourceResourcePoolState()
Declaration
public ResourcePoolState()
Properties
View SourceCpuExpandable
Determines if the reservation on a resource
pool can grow beyond the specified value if the parent resource pool has
unreserved resources. Default: true
Declaration
public Input<bool> CpuExpandable { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
CpuLimit
The CPU utilization of a resource pool will not exceed
this limit, even if there are available resources. Set to -1 for unlimited.
Default: -1
Declaration
public Input<int> CpuLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
CpuReservation
Amount of CPU (MHz) that is guaranteed
available to the resource pool. Default: 0
Declaration
public Input<int> CpuReservation { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
CpuShareLevel
The CPU allocation level. The level is a
simplified view of shares. Levels map to a pre-determined set of numeric
values for shares. Can be one of low, normal, high, or custom. When
low, normal, or high are specified values in cpu_shares will be
ignored. Default: normal
Declaration
public Input<string> CpuShareLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
CpuShares
The number of shares allocated for CPU. Used to
determine resource allocation in case of resource contention. If this is set,
cpu_share_level must be custom.
Declaration
public Input<int> CpuShares { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
CustomAttributes
A list of custom attributes to set on this resource.
Declaration
public InputMap<string> CustomAttributes { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.String> |
MemoryExpandable
Determines if the reservation on a resource
pool can grow beyond the specified value if the parent resource pool has
unreserved resources. Default: true
Declaration
public Input<bool> MemoryExpandable { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
MemoryLimit
The CPU utilization of a resource pool will not exceed
this limit, even if there are available resources. Set to -1 for unlimited.
Default: -1
Declaration
public Input<int> MemoryLimit { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
MemoryReservation
Amount of CPU (MHz) that is guaranteed
available to the resource pool. Default: 0
Declaration
public Input<int> MemoryReservation { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
MemoryShareLevel
The CPU allocation level. The level is a
simplified view of shares. Levels map to a pre-determined set of numeric
values for shares. Can be one of low, normal, high, or custom. When
low, normal, or high are specified values in memory_shares will be
ignored. Default: normal
Declaration
public Input<string> MemoryShareLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
MemoryShares
The number of shares allocated for CPU. Used to
determine resource allocation in case of resource contention. If this is set,
memory_share_level must be custom.
Declaration
public Input<int> MemoryShares { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
Name
The name of the resource pool.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ParentResourcePoolId
The managed object ID of the parent resource pool. This can be the root resource pool for a cluster or standalone host, or a resource pool itself. When moving a resource pool from one parent resource pool to another, both must share a common root resource pool or the move will fail.
Declaration
public Input<string> ParentResourcePoolId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Tags
The IDs of any tags to attach to this resource.
Declaration
public InputList<string> Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<System.String> |