vsphere.VappContainer
Explore with Pulumi AI
Create VappContainer Resource
new VappContainer(name: string, args: VappContainerArgs, opts?: CustomResourceOptions);
@overload
def VappContainer(resource_name: 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_folder_id: Optional[str] = None,
parent_resource_pool_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None)
@overload
def VappContainer(resource_name: str,
args: VappContainerArgs,
opts: Optional[ResourceOptions] = None)
func NewVappContainer(ctx *Context, name string, args VappContainerArgs, opts ...ResourceOption) (*VappContainer, error)
public VappContainer(string name, VappContainerArgs args, CustomResourceOptions? opts = null)
public VappContainer(String name, VappContainerArgs args)
public VappContainer(String name, VappContainerArgs args, CustomResourceOptions options)
type: vsphere:VappContainer
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VappContainerArgs
- 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 VappContainerArgs
- 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 VappContainerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VappContainerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VappContainerArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
VappContainer Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The VappContainer resource accepts the following input properties:
- Parent
Resource stringPool Id 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 vApp container from one parent resource pool to another, both must share a common root resource pool or the move will fail.
- Cpu
Expandable bool Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- Cpu
Limit int The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- Cpu
Reservation int Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- string
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values incpu_shares
will be ignored. Default:normal
- int
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 becustom
.- Custom
Attributes Dictionary<string, string> A list of custom attributes to set on this resource.
- Memory
Expandable bool Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- Memory
Limit int The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- Memory
Reservation int Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- string
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values inmemory_shares
will be ignored. Default:normal
- int
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 becustom
.- Name string
The name of the vApp container.
- Parent
Folder stringId The managed object ID of the vApp container's parent folder.
- List<string>
The IDs of any tags to attach to this resource.
- Parent
Resource stringPool Id 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 vApp container from one parent resource pool to another, both must share a common root resource pool or the move will fail.
- Cpu
Expandable bool Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- Cpu
Limit int The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- Cpu
Reservation int Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- string
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values incpu_shares
will be ignored. Default:normal
- int
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 becustom
.- Custom
Attributes map[string]string A list of custom attributes to set on this resource.
- Memory
Expandable bool Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- Memory
Limit int The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- Memory
Reservation int Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- string
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values inmemory_shares
will be ignored. Default:normal
- int
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 becustom
.- Name string
The name of the vApp container.
- Parent
Folder stringId The managed object ID of the vApp container's parent folder.
- []string
The IDs of any tags to attach to this resource.
- parent
Resource StringPool Id 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 vApp container from one parent resource pool to another, both must share a common root resource pool or the move will fail.
- cpu
Expandable Boolean Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- cpu
Limit Integer The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- cpu
Reservation Integer Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- String
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values incpu_shares
will be ignored. Default:normal
- Integer
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 becustom
.- custom
Attributes Map<String,String> A list of custom attributes to set on this resource.
- memory
Expandable Boolean Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- memory
Limit Integer The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- memory
Reservation Integer Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- String
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values inmemory_shares
will be ignored. Default:normal
- Integer
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 becustom
.- name String
The name of the vApp container.
- parent
Folder StringId The managed object ID of the vApp container's parent folder.
- List<String>
The IDs of any tags to attach to this resource.
- parent
Resource stringPool Id 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 vApp container from one parent resource pool to another, both must share a common root resource pool or the move will fail.
- cpu
Expandable boolean Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- cpu
Limit number The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- cpu
Reservation number Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- string
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values incpu_shares
will be ignored. Default:normal
- number
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 becustom
.- custom
Attributes {[key: string]: string} A list of custom attributes to set on this resource.
- memory
Expandable boolean Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- memory
Limit number The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- memory
Reservation number Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- string
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values inmemory_shares
will be ignored. Default:normal
- number
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 becustom
.- name string
The name of the vApp container.
- parent
Folder stringId The managed object ID of the vApp container's parent folder.
- string[]
The IDs of any tags to attach to this resource.
- parent_
resource_ strpool_ id 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 vApp container from one parent resource pool to another, both must share a common root resource pool or the move will fail.
- cpu_
expandable bool Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- cpu_
limit int The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- cpu_
reservation int Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- str
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values incpu_shares
will be ignored. Default:normal
- int
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 becustom
.- custom_
attributes Mapping[str, str] A list of custom attributes to set on this resource.
- memory_
expandable bool Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- memory_
limit int The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- memory_
reservation int Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- str
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values inmemory_shares
will be ignored. Default:normal
- int
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 becustom
.- name str
The name of the vApp container.
- parent_
folder_ strid The managed object ID of the vApp container's parent folder.
- Sequence[str]
The IDs of any tags to attach to this resource.
- parent
Resource StringPool Id 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 vApp container from one parent resource pool to another, both must share a common root resource pool or the move will fail.
- cpu
Expandable Boolean Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- cpu
Limit Number The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- cpu
Reservation Number Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- String
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values incpu_shares
will be ignored. Default:normal
- Number
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 becustom
.- custom
Attributes Map<String> A list of custom attributes to set on this resource.
- memory
Expandable Boolean Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- memory
Limit Number The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- memory
Reservation Number Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- String
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values inmemory_shares
will be ignored. Default:normal
- Number
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 becustom
.- name String
The name of the vApp container.
- parent
Folder StringId The managed object ID of the vApp container's parent folder.
- List<String>
The IDs of any tags to attach to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VappContainer 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 VappContainer Resource
Get an existing VappContainer 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?: VappContainerState, opts?: CustomResourceOptions): VappContainer
@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_folder_id: Optional[str] = None,
parent_resource_pool_id: Optional[str] = None,
tags: Optional[Sequence[str]] = None) -> VappContainer
func GetVappContainer(ctx *Context, name string, id IDInput, state *VappContainerState, opts ...ResourceOption) (*VappContainer, error)
public static VappContainer Get(string name, Input<string> id, VappContainerState? state, CustomResourceOptions? opts = null)
public static VappContainer get(String name, Output<String> id, VappContainerState 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 vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- Cpu
Limit int The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- Cpu
Reservation int Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- string
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values incpu_shares
will be ignored. Default:normal
- int
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 becustom
.- Custom
Attributes Dictionary<string, string> A list of custom attributes to set on this resource.
- Memory
Expandable bool Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- Memory
Limit int The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- Memory
Reservation int Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- string
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values inmemory_shares
will be ignored. Default:normal
- int
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 becustom
.- Name string
The name of the vApp container.
- Parent
Folder stringId The managed object ID of the vApp container's parent folder.
- Parent
Resource stringPool Id 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 vApp container from one parent resource pool to another, both must share a common root resource pool or the move will fail.
- List<string>
The IDs of any tags to attach to this resource.
- Cpu
Expandable bool Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- Cpu
Limit int The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- Cpu
Reservation int Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- string
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values incpu_shares
will be ignored. Default:normal
- int
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 becustom
.- Custom
Attributes map[string]string A list of custom attributes to set on this resource.
- Memory
Expandable bool Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- Memory
Limit int The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- Memory
Reservation int Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- string
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values inmemory_shares
will be ignored. Default:normal
- int
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 becustom
.- Name string
The name of the vApp container.
- Parent
Folder stringId The managed object ID of the vApp container's parent folder.
- Parent
Resource stringPool Id 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 vApp container from one parent resource pool to another, both must share a common root resource pool or the move will fail.
- []string
The IDs of any tags to attach to this resource.
- cpu
Expandable Boolean Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- cpu
Limit Integer The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- cpu
Reservation Integer Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- String
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values incpu_shares
will be ignored. Default:normal
- Integer
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 becustom
.- custom
Attributes Map<String,String> A list of custom attributes to set on this resource.
- memory
Expandable Boolean Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- memory
Limit Integer The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- memory
Reservation Integer Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- String
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values inmemory_shares
will be ignored. Default:normal
- Integer
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 becustom
.- name String
The name of the vApp container.
- parent
Folder StringId The managed object ID of the vApp container's parent folder.
- parent
Resource StringPool Id 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 vApp container from one parent resource pool to another, both must share a common root resource pool or the move will fail.
- List<String>
The IDs of any tags to attach to this resource.
- cpu
Expandable boolean Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- cpu
Limit number The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- cpu
Reservation number Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- string
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values incpu_shares
will be ignored. Default:normal
- number
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 becustom
.- custom
Attributes {[key: string]: string} A list of custom attributes to set on this resource.
- memory
Expandable boolean Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- memory
Limit number The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- memory
Reservation number Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- string
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values inmemory_shares
will be ignored. Default:normal
- number
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 becustom
.- name string
The name of the vApp container.
- parent
Folder stringId The managed object ID of the vApp container's parent folder.
- parent
Resource stringPool Id 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 vApp container from one parent resource pool to another, both must share a common root resource pool or the move will fail.
- string[]
The IDs of any tags to attach to this resource.
- cpu_
expandable bool Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- cpu_
limit int The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- cpu_
reservation int Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- str
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values incpu_shares
will be ignored. Default:normal
- int
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 becustom
.- custom_
attributes Mapping[str, str] A list of custom attributes to set on this resource.
- memory_
expandable bool Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- memory_
limit int The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- memory_
reservation int Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- str
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values inmemory_shares
will be ignored. Default:normal
- int
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 becustom
.- name str
The name of the vApp container.
- parent_
folder_ strid The managed object ID of the vApp container's parent folder.
- parent_
resource_ strpool_ id 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 vApp container from one parent resource pool to another, both must share a common root resource pool or the move will fail.
- Sequence[str]
The IDs of any tags to attach to this resource.
- cpu
Expandable Boolean Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- cpu
Limit Number The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- cpu
Reservation Number Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- String
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values incpu_shares
will be ignored. Default:normal
- Number
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 becustom
.- custom
Attributes Map<String> A list of custom attributes to set on this resource.
- memory
Expandable Boolean Determines if the reservation on a vApp container can grow beyond the specified value if the parent resource pool has unreserved resources. Default:
true
- memory
Limit Number The CPU utilization of a vApp container will not exceed this limit, even if there are available resources. Set to
-1
for unlimited. Default:-1
- memory
Reservation Number Amount of CPU (MHz) that is guaranteed available to the vApp container. Default:
0
- String
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
, orcustom
. Whenlow
,normal
, orhigh
are specified values inmemory_shares
will be ignored. Default:normal
- Number
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 becustom
.- name String
The name of the vApp container.
- parent
Folder StringId The managed object ID of the vApp container's parent folder.
- parent
Resource StringPool Id 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 vApp container from one parent resource pool to another, both must share a common root resource pool or the move will fail.
- List<String>
The IDs of any tags to attach to this resource.
Package Details
- Repository
- vSphere pulumi/pulumi-vsphere
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
vsphere
Terraform Provider.