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 string
- The unique name of the resource.
- args ResourcePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args ResourcePoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ResourcePoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
},
});
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"),
},
})
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());
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"])
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"],
});
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
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:
- Parent
Resource stringPool Id - 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.
- 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.
- 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 Dictionary<string, string> - 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.
- 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.
- 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.
- 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.
- List<string>
- A list of tag IDs to apply to this object.
- Parent
Resource stringPool Id - 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.
- 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.
- 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 map[string]string - 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.
- 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.
- 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.
- 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.
- []string
- A list of tag IDs to apply to this object.
- parent
Resource StringPool Id - The ID of the root resource pool of the compute resource the resource pool is in.
- cpu
Expandable Boolean - Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
- cpu
Limit Integer - The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
- cpu
Reservation Integer - Amount of CPU (MHz) that is guaranteed available to the resource pool.
- 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.
- 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.
- custom
Attributes Map<String,String> - A list of custom attributes to set on this resource.
- memory
Expandable Boolean - Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
- memory
Limit Integer - The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
- memory
Reservation Integer - Amount of memory (MB) that is guaranteed available to the resource pool.
- 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.
- 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.
- 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.
- List<String>
- A list of tag IDs to apply to this object.
- parent
Resource stringPool Id - The ID of the root resource pool of the compute resource the resource pool is in.
- cpu
Expandable boolean - Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
- cpu
Limit number - The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
- cpu
Reservation number - Amount of CPU (MHz) that is guaranteed available to the resource pool.
- 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.
- 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.
- custom
Attributes {[key: string]: string} - A list of custom attributes to set on this resource.
- memory
Expandable boolean - Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
- memory
Limit number - The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
- memory
Reservation number - Amount of memory (MB) that is guaranteed available to the resource pool.
- 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.
- 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.
- 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.
- string[]
- A list of tag IDs to apply to this object.
- parent_
resource_ strpool_ id - 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- Sequence[str]
- A list of tag IDs to apply to this object.
- parent
Resource StringPool Id - The ID of the root resource pool of the compute resource the resource pool is in.
- cpu
Expandable Boolean - Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
- cpu
Limit Number - The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
- cpu
Reservation Number - Amount of CPU (MHz) that is guaranteed available to the resource pool.
- 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.
- 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.
- custom
Attributes Map<String> - A list of custom attributes to set on this resource.
- memory
Expandable Boolean - Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
- memory
Limit Number - The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
- memory
Reservation Number - Amount of memory (MB) that is guaranteed available to the resource pool.
- 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.
- 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.
- 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.
- 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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- 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.
- 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.
- 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 Dictionary<string, string> - 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.
- 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.
- 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.
- Parent
Resource stringPool Id - The ID of the root resource pool of the compute resource the resource pool is in.
- 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.
- List<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.
- 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.
- 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 map[string]string - 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.
- 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.
- 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.
- Parent
Resource stringPool Id - The ID of the root resource pool of the compute resource the resource pool is in.
- 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.
- []string
- A list of tag IDs to apply to this object.
- cpu
Expandable Boolean - Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
- cpu
Limit Integer - The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
- cpu
Reservation Integer - Amount of CPU (MHz) that is guaranteed available to the resource pool.
- 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.
- 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.
- custom
Attributes Map<String,String> - A list of custom attributes to set on this resource.
- memory
Expandable Boolean - Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
- memory
Limit Integer - The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
- memory
Reservation Integer - Amount of memory (MB) that is guaranteed available to the resource pool.
- 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.
- 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.
- parent
Resource StringPool Id - The ID of the root resource pool of the compute resource the resource pool is in.
- 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.
- List<String>
- A list of tag IDs to apply to this object.
- cpu
Expandable boolean - Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
- cpu
Limit number - The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
- cpu
Reservation number - Amount of CPU (MHz) that is guaranteed available to the resource pool.
- 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.
- 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.
- custom
Attributes {[key: string]: string} - A list of custom attributes to set on this resource.
- memory
Expandable boolean - Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
- memory
Limit number - The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
- memory
Reservation number - Amount of memory (MB) that is guaranteed available to the resource pool.
- 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.
- 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.
- parent
Resource stringPool Id - The ID of the root resource pool of the compute resource the resource pool is in.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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_ strpool_ id - The ID of the root resource pool of the compute resource the resource pool is in.
- 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.
- Sequence[str]
- A list of tag IDs to apply to this object.
- cpu
Expandable Boolean - Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
- cpu
Limit Number - The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
- cpu
Reservation Number - Amount of CPU (MHz) that is guaranteed available to the resource pool.
- 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.
- 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.
- custom
Attributes Map<String> - A list of custom attributes to set on this resource.
- memory
Expandable Boolean - Determines if the reservation on a resource pool can grow beyond the specified value, if the parent resource pool has unreserved resources.
- memory
Limit Number - The utilization of a resource pool will not exceed this limit, even if there are available resources. Set to -1 for unlimited.
- memory
Reservation Number - Amount of memory (MB) that is guaranteed available to the resource pool.
- 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.
- 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.
- parent
Resource StringPool Id - The ID of the root resource pool of the compute resource the resource pool is in.
- 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.
- 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.