1. Packages
  2. Vsphere Provider
  3. API Docs
  4. ResourcePool
vSphere v4.13.2 published on Wednesday, Apr 9, 2025 by Pulumi

vsphere.ResourcePool

Explore with Pulumi AI

Create ResourcePool Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ResourcePool(name: string, args: ResourcePoolArgs, opts?: CustomResourceOptions);
@overload
def ResourcePool(resource_name: str,
                 args: ResourcePoolArgs,
                 opts: Optional[ResourceOptions] = None)

@overload
def ResourcePool(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 parent_resource_pool_id: Optional[str] = None,
                 memory_expandable: Optional[bool] = None,
                 memory_reservation: Optional[int] = None,
                 cpu_share_level: Optional[str] = None,
                 cpu_shares: Optional[int] = None,
                 custom_attributes: Optional[Mapping[str, str]] = None,
                 cpu_expandable: Optional[bool] = None,
                 memory_limit: Optional[int] = None,
                 cpu_reservation: Optional[int] = None,
                 memory_share_level: Optional[str] = None,
                 memory_shares: Optional[int] = None,
                 name: Optional[str] = None,
                 cpu_limit: Optional[int] = None,
                 scale_descendants_shares: Optional[str] = None,
                 tags: Optional[Sequence[str]] = None)
func NewResourcePool(ctx *Context, name string, args ResourcePoolArgs, opts ...ResourceOption) (*ResourcePool, error)
public ResourcePool(string name, ResourcePoolArgs args, CustomResourceOptions? opts = null)
public ResourcePool(String name, ResourcePoolArgs args)
public ResourcePool(String name, ResourcePoolArgs args, CustomResourceOptions options)
type: vsphere:ResourcePool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ResourcePoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ResourcePoolArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ResourcePoolArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ResourcePoolArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ResourcePoolArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var resourcePoolResource = new VSphere.ResourcePool("resourcePoolResource", new()
{
    ParentResourcePoolId = "string",
    MemoryExpandable = false,
    MemoryReservation = 0,
    CpuShareLevel = "string",
    CpuShares = 0,
    CustomAttributes = 
    {
        { "string", "string" },
    },
    CpuExpandable = false,
    MemoryLimit = 0,
    CpuReservation = 0,
    MemoryShareLevel = "string",
    MemoryShares = 0,
    Name = "string",
    CpuLimit = 0,
    ScaleDescendantsShares = "string",
    Tags = new[]
    {
        "string",
    },
});
Copy
example, err := vsphere.NewResourcePool(ctx, "resourcePoolResource", &vsphere.ResourcePoolArgs{
	ParentResourcePoolId: pulumi.String("string"),
	MemoryExpandable:     pulumi.Bool(false),
	MemoryReservation:    pulumi.Int(0),
	CpuShareLevel:        pulumi.String("string"),
	CpuShares:            pulumi.Int(0),
	CustomAttributes: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	CpuExpandable:          pulumi.Bool(false),
	MemoryLimit:            pulumi.Int(0),
	CpuReservation:         pulumi.Int(0),
	MemoryShareLevel:       pulumi.String("string"),
	MemoryShares:           pulumi.Int(0),
	Name:                   pulumi.String("string"),
	CpuLimit:               pulumi.Int(0),
	ScaleDescendantsShares: pulumi.String("string"),
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
})
Copy
var resourcePoolResource = new ResourcePool("resourcePoolResource", ResourcePoolArgs.builder()
    .parentResourcePoolId("string")
    .memoryExpandable(false)
    .memoryReservation(0)
    .cpuShareLevel("string")
    .cpuShares(0)
    .customAttributes(Map.of("string", "string"))
    .cpuExpandable(false)
    .memoryLimit(0)
    .cpuReservation(0)
    .memoryShareLevel("string")
    .memoryShares(0)
    .name("string")
    .cpuLimit(0)
    .scaleDescendantsShares("string")
    .tags("string")
    .build());
Copy
resource_pool_resource = vsphere.ResourcePool("resourcePoolResource",
    parent_resource_pool_id="string",
    memory_expandable=False,
    memory_reservation=0,
    cpu_share_level="string",
    cpu_shares=0,
    custom_attributes={
        "string": "string",
    },
    cpu_expandable=False,
    memory_limit=0,
    cpu_reservation=0,
    memory_share_level="string",
    memory_shares=0,
    name="string",
    cpu_limit=0,
    scale_descendants_shares="string",
    tags=["string"])
Copy
const resourcePoolResource = new vsphere.ResourcePool("resourcePoolResource", {
    parentResourcePoolId: "string",
    memoryExpandable: false,
    memoryReservation: 0,
    cpuShareLevel: "string",
    cpuShares: 0,
    customAttributes: {
        string: "string",
    },
    cpuExpandable: false,
    memoryLimit: 0,
    cpuReservation: 0,
    memoryShareLevel: "string",
    memoryShares: 0,
    name: "string",
    cpuLimit: 0,
    scaleDescendantsShares: "string",
    tags: ["string"],
});
Copy
type: vsphere:ResourcePool
properties:
    cpuExpandable: false
    cpuLimit: 0
    cpuReservation: 0
    cpuShareLevel: string
    cpuShares: 0
    customAttributes:
        string: string
    memoryExpandable: false
    memoryLimit: 0
    memoryReservation: 0
    memoryShareLevel: string
    memoryShares: 0
    name: string
    parentResourcePoolId: string
    scaleDescendantsShares: string
    tags:
        - string
Copy

ResourcePool Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ResourcePool resource accepts the following input properties:

ParentResourcePoolId This property is required. string
The ID of the root resource pool of the compute resource the resource pool is in.
CpuExpandable bool
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
CpuLimit int
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
CpuReservation int
Amount of CPU (MHz) that is guaranteed available to the resource pool.
CpuShareLevel string
The 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.
CpuShares int
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, cpu_share_level must be custom.
CustomAttributes Dictionary<string, string>
A list of custom attributes to set on this resource.
MemoryExpandable bool
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
MemoryLimit int
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
MemoryReservation int
Amount of memory (MB) that is guaranteed available to the resource pool.
MemoryShareLevel string
The 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.
MemoryShares int
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, memory_share_level must be custom.
Name string
Name of resource pool.
ScaleDescendantsShares string
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource pool are scaled up or down.
Tags List<string>
A list of tag IDs to apply to this object.
ParentResourcePoolId This property is required. string
The ID of the root resource pool of the compute resource the resource pool is in.
CpuExpandable bool
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
CpuLimit int
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
CpuReservation int
Amount of CPU (MHz) that is guaranteed available to the resource pool.
CpuShareLevel string
The 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.
CpuShares int
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, cpu_share_level must be custom.
CustomAttributes map[string]string
A list of custom attributes to set on this resource.
MemoryExpandable bool
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
MemoryLimit int
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
MemoryReservation int
Amount of memory (MB) that is guaranteed available to the resource pool.
MemoryShareLevel string
The 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.
MemoryShares int
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, memory_share_level must be custom.
Name string
Name of resource pool.
ScaleDescendantsShares string
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource pool are scaled up or down.
Tags []string
A list of tag IDs to apply to this object.
parentResourcePoolId This property is required. String
The ID of the root resource pool of the compute resource the resource pool is in.
cpuExpandable Boolean
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
cpuLimit Integer
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
cpuReservation Integer
Amount of CPU (MHz) that is guaranteed available to the resource pool.
cpuShareLevel String
The 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.
cpuShares Integer
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, cpu_share_level must be custom.
customAttributes Map<String,String>
A list of custom attributes to set on this resource.
memoryExpandable Boolean
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
memoryLimit Integer
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
memoryReservation Integer
Amount of memory (MB) that is guaranteed available to the resource pool.
memoryShareLevel String
The 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.
memoryShares Integer
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, memory_share_level must be custom.
name String
Name of resource pool.
scaleDescendantsShares String
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource pool are scaled up or down.
tags List<String>
A list of tag IDs to apply to this object.
parentResourcePoolId This property is required. string
The ID of the root resource pool of the compute resource the resource pool is in.
cpuExpandable boolean
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
cpuLimit number
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
cpuReservation number
Amount of CPU (MHz) that is guaranteed available to the resource pool.
cpuShareLevel string
The 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.
cpuShares number
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, cpu_share_level must be custom.
customAttributes {[key: string]: string}
A list of custom attributes to set on this resource.
memoryExpandable boolean
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
memoryLimit number
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
memoryReservation number
Amount of memory (MB) that is guaranteed available to the resource pool.
memoryShareLevel string
The 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.
memoryShares number
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, memory_share_level must be custom.
name string
Name of resource pool.
scaleDescendantsShares string
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource pool are scaled up or down.
tags string[]
A list of tag IDs to apply to this object.
parent_resource_pool_id This property is required. str
The ID of the root resource pool of the compute resource the resource pool is in.
cpu_expandable bool
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
cpu_limit int
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
cpu_reservation int
Amount of CPU (MHz) that is guaranteed available to the resource pool.
cpu_share_level str
The 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.
cpu_shares int
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, cpu_share_level must be custom.
custom_attributes Mapping[str, str]
A list of custom attributes to set on this resource.
memory_expandable bool
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
memory_limit int
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
memory_reservation int
Amount of memory (MB) that is guaranteed available to the resource pool.
memory_share_level str
The 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.
memory_shares int
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, memory_share_level must be custom.
name str
Name of resource pool.
scale_descendants_shares str
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource pool are scaled up or down.
tags Sequence[str]
A list of tag IDs to apply to this object.
parentResourcePoolId This property is required. String
The ID of the root resource pool of the compute resource the resource pool is in.
cpuExpandable Boolean
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
cpuLimit Number
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
cpuReservation Number
Amount of CPU (MHz) that is guaranteed available to the resource pool.
cpuShareLevel String
The 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.
cpuShares Number
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, cpu_share_level must be custom.
customAttributes Map<String>
A list of custom attributes to set on this resource.
memoryExpandable Boolean
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
memoryLimit Number
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
memoryReservation Number
Amount of memory (MB) that is guaranteed available to the resource pool.
memoryShareLevel String
The 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.
memoryShares Number
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, memory_share_level must be custom.
name String
Name of resource pool.
scaleDescendantsShares String
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource pool are scaled up or down.
tags List<String>
A list of tag IDs to apply to this object.

Outputs

All input properties are implicitly available as output properties. Additionally, the ResourcePool resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ResourcePool Resource

Get an existing ResourcePool resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ResourcePoolState, opts?: CustomResourceOptions): ResourcePool
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cpu_expandable: Optional[bool] = None,
        cpu_limit: Optional[int] = None,
        cpu_reservation: Optional[int] = None,
        cpu_share_level: Optional[str] = None,
        cpu_shares: Optional[int] = None,
        custom_attributes: Optional[Mapping[str, str]] = None,
        memory_expandable: Optional[bool] = None,
        memory_limit: Optional[int] = None,
        memory_reservation: Optional[int] = None,
        memory_share_level: Optional[str] = None,
        memory_shares: Optional[int] = None,
        name: Optional[str] = None,
        parent_resource_pool_id: Optional[str] = None,
        scale_descendants_shares: Optional[str] = None,
        tags: Optional[Sequence[str]] = None) -> ResourcePool
func GetResourcePool(ctx *Context, name string, id IDInput, state *ResourcePoolState, opts ...ResourceOption) (*ResourcePool, error)
public static ResourcePool Get(string name, Input<string> id, ResourcePoolState? state, CustomResourceOptions? opts = null)
public static ResourcePool get(String name, Output<String> id, ResourcePoolState state, CustomResourceOptions options)
resources:  _:    type: vsphere:ResourcePool    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CpuExpandable bool
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
CpuLimit int
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
CpuReservation int
Amount of CPU (MHz) that is guaranteed available to the resource pool.
CpuShareLevel string
The 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.
CpuShares int
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, cpu_share_level must be custom.
CustomAttributes Dictionary<string, string>
A list of custom attributes to set on this resource.
MemoryExpandable bool
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
MemoryLimit int
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
MemoryReservation int
Amount of memory (MB) that is guaranteed available to the resource pool.
MemoryShareLevel string
The 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.
MemoryShares int
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, memory_share_level must be custom.
Name string
Name of resource pool.
ParentResourcePoolId string
The ID of the root resource pool of the compute resource the resource pool is in.
ScaleDescendantsShares string
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource pool are scaled up or down.
Tags List<string>
A list of tag IDs to apply to this object.
CpuExpandable bool
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
CpuLimit int
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
CpuReservation int
Amount of CPU (MHz) that is guaranteed available to the resource pool.
CpuShareLevel string
The 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.
CpuShares int
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, cpu_share_level must be custom.
CustomAttributes map[string]string
A list of custom attributes to set on this resource.
MemoryExpandable bool
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
MemoryLimit int
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
MemoryReservation int
Amount of memory (MB) that is guaranteed available to the resource pool.
MemoryShareLevel string
The 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.
MemoryShares int
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, memory_share_level must be custom.
Name string
Name of resource pool.
ParentResourcePoolId string
The ID of the root resource pool of the compute resource the resource pool is in.
ScaleDescendantsShares string
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource pool are scaled up or down.
Tags []string
A list of tag IDs to apply to this object.
cpuExpandable Boolean
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
cpuLimit Integer
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
cpuReservation Integer
Amount of CPU (MHz) that is guaranteed available to the resource pool.
cpuShareLevel String
The 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.
cpuShares Integer
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, cpu_share_level must be custom.
customAttributes Map<String,String>
A list of custom attributes to set on this resource.
memoryExpandable Boolean
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
memoryLimit Integer
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
memoryReservation Integer
Amount of memory (MB) that is guaranteed available to the resource pool.
memoryShareLevel String
The 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.
memoryShares Integer
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, memory_share_level must be custom.
name String
Name of resource pool.
parentResourcePoolId String
The ID of the root resource pool of the compute resource the resource pool is in.
scaleDescendantsShares String
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource pool are scaled up or down.
tags List<String>
A list of tag IDs to apply to this object.
cpuExpandable boolean
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
cpuLimit number
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
cpuReservation number
Amount of CPU (MHz) that is guaranteed available to the resource pool.
cpuShareLevel string
The 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.
cpuShares number
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, cpu_share_level must be custom.
customAttributes {[key: string]: string}
A list of custom attributes to set on this resource.
memoryExpandable boolean
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
memoryLimit number
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
memoryReservation number
Amount of memory (MB) that is guaranteed available to the resource pool.
memoryShareLevel string
The 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.
memoryShares number
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, memory_share_level must be custom.
name string
Name of resource pool.
parentResourcePoolId string
The ID of the root resource pool of the compute resource the resource pool is in.
scaleDescendantsShares string
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource pool are scaled up or down.
tags string[]
A list of tag IDs to apply to this object.
cpu_expandable bool
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
cpu_limit int
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
cpu_reservation int
Amount of CPU (MHz) that is guaranteed available to the resource pool.
cpu_share_level str
The 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.
cpu_shares int
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, cpu_share_level must be custom.
custom_attributes Mapping[str, str]
A list of custom attributes to set on this resource.
memory_expandable bool
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
memory_limit int
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
memory_reservation int
Amount of memory (MB) that is guaranteed available to the resource pool.
memory_share_level str
The 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.
memory_shares int
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, memory_share_level must be custom.
name str
Name of resource pool.
parent_resource_pool_id str
The ID of the root resource pool of the compute resource the resource pool is in.
scale_descendants_shares str
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource pool are scaled up or down.
tags Sequence[str]
A list of tag IDs to apply to this object.
cpuExpandable Boolean
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
cpuLimit Number
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
cpuReservation Number
Amount of CPU (MHz) that is guaranteed available to the resource pool.
cpuShareLevel String
The 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.
cpuShares Number
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, cpu_share_level must be custom.
customAttributes Map<String>
A list of custom attributes to set on this resource.
memoryExpandable Boolean
Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
memoryLimit Number
The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
memoryReservation Number
Amount of memory (MB) that is guaranteed available to the resource pool.
memoryShareLevel String
The 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.
memoryShares Number
The number of shares allocated. Used to determine resource allocation in case of resource contention. If this is set, memory_share_level must be custom.
name String
Name of resource pool.
parentResourcePoolId String
The ID of the root resource pool of the compute resource the resource pool is in.
scaleDescendantsShares String
Determines if the shares of all descendants of the resource pool are scaled up or down when the shares of the resource pool are scaled up or down.
tags List<String>
A list of tag IDs to apply to this object.

Package Details

Repository
vSphere pulumi/pulumi-vsphere
License
Apache-2.0
Notes
This Pulumi package is based on the vsphere Terraform Provider.