vcd.VmSizingPolicy
Explore with Pulumi AI
Create VmSizingPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VmSizingPolicy(name: string, args?: VmSizingPolicyArgs, opts?: CustomResourceOptions);
@overload
def VmSizingPolicy(resource_name: str,
args: Optional[VmSizingPolicyArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def VmSizingPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
cpu: Optional[VmSizingPolicyCpuArgs] = None,
description: Optional[str] = None,
memory: Optional[VmSizingPolicyMemoryArgs] = None,
name: Optional[str] = None,
org: Optional[str] = None,
vm_sizing_policy_id: Optional[str] = None)
func NewVmSizingPolicy(ctx *Context, name string, args *VmSizingPolicyArgs, opts ...ResourceOption) (*VmSizingPolicy, error)
public VmSizingPolicy(string name, VmSizingPolicyArgs? args = null, CustomResourceOptions? opts = null)
public VmSizingPolicy(String name, VmSizingPolicyArgs args)
public VmSizingPolicy(String name, VmSizingPolicyArgs args, CustomResourceOptions options)
type: vcd:VmSizingPolicy
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 VmSizingPolicyArgs
- 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 VmSizingPolicyArgs
- 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 VmSizingPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VmSizingPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VmSizingPolicyArgs
- 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 vmSizingPolicyResource = new Vcd.VmSizingPolicy("vmSizingPolicyResource", new()
{
Cpu = new Vcd.Inputs.VmSizingPolicyCpuArgs
{
CoresPerSocket = "string",
Count = "string",
LimitInMhz = "string",
ReservationGuarantee = "string",
Shares = "string",
SpeedInMhz = "string",
},
Description = "string",
Memory = new Vcd.Inputs.VmSizingPolicyMemoryArgs
{
LimitInMb = "string",
ReservationGuarantee = "string",
Shares = "string",
SizeInMb = "string",
},
Name = "string",
VmSizingPolicyId = "string",
});
example, err := vcd.NewVmSizingPolicy(ctx, "vmSizingPolicyResource", &vcd.VmSizingPolicyArgs{
Cpu: &vcd.VmSizingPolicyCpuArgs{
CoresPerSocket: pulumi.String("string"),
Count: pulumi.String("string"),
LimitInMhz: pulumi.String("string"),
ReservationGuarantee: pulumi.String("string"),
Shares: pulumi.String("string"),
SpeedInMhz: pulumi.String("string"),
},
Description: pulumi.String("string"),
Memory: &vcd.VmSizingPolicyMemoryArgs{
LimitInMb: pulumi.String("string"),
ReservationGuarantee: pulumi.String("string"),
Shares: pulumi.String("string"),
SizeInMb: pulumi.String("string"),
},
Name: pulumi.String("string"),
VmSizingPolicyId: pulumi.String("string"),
})
var vmSizingPolicyResource = new VmSizingPolicy("vmSizingPolicyResource", VmSizingPolicyArgs.builder()
.cpu(VmSizingPolicyCpuArgs.builder()
.coresPerSocket("string")
.count("string")
.limitInMhz("string")
.reservationGuarantee("string")
.shares("string")
.speedInMhz("string")
.build())
.description("string")
.memory(VmSizingPolicyMemoryArgs.builder()
.limitInMb("string")
.reservationGuarantee("string")
.shares("string")
.sizeInMb("string")
.build())
.name("string")
.vmSizingPolicyId("string")
.build());
vm_sizing_policy_resource = vcd.VmSizingPolicy("vmSizingPolicyResource",
cpu={
"cores_per_socket": "string",
"count": "string",
"limit_in_mhz": "string",
"reservation_guarantee": "string",
"shares": "string",
"speed_in_mhz": "string",
},
description="string",
memory={
"limit_in_mb": "string",
"reservation_guarantee": "string",
"shares": "string",
"size_in_mb": "string",
},
name="string",
vm_sizing_policy_id="string")
const vmSizingPolicyResource = new vcd.VmSizingPolicy("vmSizingPolicyResource", {
cpu: {
coresPerSocket: "string",
count: "string",
limitInMhz: "string",
reservationGuarantee: "string",
shares: "string",
speedInMhz: "string",
},
description: "string",
memory: {
limitInMb: "string",
reservationGuarantee: "string",
shares: "string",
sizeInMb: "string",
},
name: "string",
vmSizingPolicyId: "string",
});
type: vcd:VmSizingPolicy
properties:
cpu:
coresPerSocket: string
count: string
limitInMhz: string
reservationGuarantee: string
shares: string
speedInMhz: string
description: string
memory:
limitInMb: string
reservationGuarantee: string
shares: string
sizeInMb: string
name: string
vmSizingPolicyId: string
VmSizingPolicy 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 VmSizingPolicy resource accepts the following input properties:
- Cpu
Vm
Sizing Policy Cpu - Configures cpu policy; see Cpu below for details.
- Description string
- description of VM sizing policy.
- Memory
Vm
Sizing Policy Memory Configures memory policy; see Memory below for details.
Note: Previously, it was incorrectly stated that the
org
argument was required. In fact, it is not, and it has been deprecated in the resource schema. To preserve compatibility until the next release, though, the parameter is still parsed, but ignored.- Name string
- The name of VM sizing policy.
- Org string
- The name of organization to use - Deprecated and unneeded: will be ignored if used
- Vm
Sizing stringPolicy Id
- Cpu
Vm
Sizing Policy Cpu Args - Configures cpu policy; see Cpu below for details.
- Description string
- description of VM sizing policy.
- Memory
Vm
Sizing Policy Memory Args Configures memory policy; see Memory below for details.
Note: Previously, it was incorrectly stated that the
org
argument was required. In fact, it is not, and it has been deprecated in the resource schema. To preserve compatibility until the next release, though, the parameter is still parsed, but ignored.- Name string
- The name of VM sizing policy.
- Org string
- The name of organization to use - Deprecated and unneeded: will be ignored if used
- Vm
Sizing stringPolicy Id
- cpu
Vm
Sizing Policy Cpu - Configures cpu policy; see Cpu below for details.
- description String
- description of VM sizing policy.
- memory
Vm
Sizing Policy Memory Configures memory policy; see Memory below for details.
Note: Previously, it was incorrectly stated that the
org
argument was required. In fact, it is not, and it has been deprecated in the resource schema. To preserve compatibility until the next release, though, the parameter is still parsed, but ignored.- name String
- The name of VM sizing policy.
- org String
- The name of organization to use - Deprecated and unneeded: will be ignored if used
- vm
Sizing StringPolicy Id
- cpu
Vm
Sizing Policy Cpu - Configures cpu policy; see Cpu below for details.
- description string
- description of VM sizing policy.
- memory
Vm
Sizing Policy Memory Configures memory policy; see Memory below for details.
Note: Previously, it was incorrectly stated that the
org
argument was required. In fact, it is not, and it has been deprecated in the resource schema. To preserve compatibility until the next release, though, the parameter is still parsed, but ignored.- name string
- The name of VM sizing policy.
- org string
- The name of organization to use - Deprecated and unneeded: will be ignored if used
- vm
Sizing stringPolicy Id
- cpu
Vm
Sizing Policy Cpu Args - Configures cpu policy; see Cpu below for details.
- description str
- description of VM sizing policy.
- memory
Vm
Sizing Policy Memory Args Configures memory policy; see Memory below for details.
Note: Previously, it was incorrectly stated that the
org
argument was required. In fact, it is not, and it has been deprecated in the resource schema. To preserve compatibility until the next release, though, the parameter is still parsed, but ignored.- name str
- The name of VM sizing policy.
- org str
- The name of organization to use - Deprecated and unneeded: will be ignored if used
- vm_
sizing_ strpolicy_ id
- cpu Property Map
- Configures cpu policy; see Cpu below for details.
- description String
- description of VM sizing policy.
- memory Property Map
Configures memory policy; see Memory below for details.
Note: Previously, it was incorrectly stated that the
org
argument was required. In fact, it is not, and it has been deprecated in the resource schema. To preserve compatibility until the next release, though, the parameter is still parsed, but ignored.- name String
- The name of VM sizing policy.
- org String
- The name of organization to use - Deprecated and unneeded: will be ignored if used
- vm
Sizing StringPolicy Id
Outputs
All input properties are implicitly available as output properties. Additionally, the VmSizingPolicy 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 VmSizingPolicy Resource
Get an existing VmSizingPolicy 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?: VmSizingPolicyState, opts?: CustomResourceOptions): VmSizingPolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cpu: Optional[VmSizingPolicyCpuArgs] = None,
description: Optional[str] = None,
memory: Optional[VmSizingPolicyMemoryArgs] = None,
name: Optional[str] = None,
org: Optional[str] = None,
vm_sizing_policy_id: Optional[str] = None) -> VmSizingPolicy
func GetVmSizingPolicy(ctx *Context, name string, id IDInput, state *VmSizingPolicyState, opts ...ResourceOption) (*VmSizingPolicy, error)
public static VmSizingPolicy Get(string name, Input<string> id, VmSizingPolicyState? state, CustomResourceOptions? opts = null)
public static VmSizingPolicy get(String name, Output<String> id, VmSizingPolicyState state, CustomResourceOptions options)
resources: _: type: vcd:VmSizingPolicy get: id: ${id}
- 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
Vm
Sizing Policy Cpu - Configures cpu policy; see Cpu below for details.
- Description string
- description of VM sizing policy.
- Memory
Vm
Sizing Policy Memory Configures memory policy; see Memory below for details.
Note: Previously, it was incorrectly stated that the
org
argument was required. In fact, it is not, and it has been deprecated in the resource schema. To preserve compatibility until the next release, though, the parameter is still parsed, but ignored.- Name string
- The name of VM sizing policy.
- Org string
- The name of organization to use - Deprecated and unneeded: will be ignored if used
- Vm
Sizing stringPolicy Id
- Cpu
Vm
Sizing Policy Cpu Args - Configures cpu policy; see Cpu below for details.
- Description string
- description of VM sizing policy.
- Memory
Vm
Sizing Policy Memory Args Configures memory policy; see Memory below for details.
Note: Previously, it was incorrectly stated that the
org
argument was required. In fact, it is not, and it has been deprecated in the resource schema. To preserve compatibility until the next release, though, the parameter is still parsed, but ignored.- Name string
- The name of VM sizing policy.
- Org string
- The name of organization to use - Deprecated and unneeded: will be ignored if used
- Vm
Sizing stringPolicy Id
- cpu
Vm
Sizing Policy Cpu - Configures cpu policy; see Cpu below for details.
- description String
- description of VM sizing policy.
- memory
Vm
Sizing Policy Memory Configures memory policy; see Memory below for details.
Note: Previously, it was incorrectly stated that the
org
argument was required. In fact, it is not, and it has been deprecated in the resource schema. To preserve compatibility until the next release, though, the parameter is still parsed, but ignored.- name String
- The name of VM sizing policy.
- org String
- The name of organization to use - Deprecated and unneeded: will be ignored if used
- vm
Sizing StringPolicy Id
- cpu
Vm
Sizing Policy Cpu - Configures cpu policy; see Cpu below for details.
- description string
- description of VM sizing policy.
- memory
Vm
Sizing Policy Memory Configures memory policy; see Memory below for details.
Note: Previously, it was incorrectly stated that the
org
argument was required. In fact, it is not, and it has been deprecated in the resource schema. To preserve compatibility until the next release, though, the parameter is still parsed, but ignored.- name string
- The name of VM sizing policy.
- org string
- The name of organization to use - Deprecated and unneeded: will be ignored if used
- vm
Sizing stringPolicy Id
- cpu
Vm
Sizing Policy Cpu Args - Configures cpu policy; see Cpu below for details.
- description str
- description of VM sizing policy.
- memory
Vm
Sizing Policy Memory Args Configures memory policy; see Memory below for details.
Note: Previously, it was incorrectly stated that the
org
argument was required. In fact, it is not, and it has been deprecated in the resource schema. To preserve compatibility until the next release, though, the parameter is still parsed, but ignored.- name str
- The name of VM sizing policy.
- org str
- The name of organization to use - Deprecated and unneeded: will be ignored if used
- vm_
sizing_ strpolicy_ id
- cpu Property Map
- Configures cpu policy; see Cpu below for details.
- description String
- description of VM sizing policy.
- memory Property Map
Configures memory policy; see Memory below for details.
Note: Previously, it was incorrectly stated that the
org
argument was required. In fact, it is not, and it has been deprecated in the resource schema. To preserve compatibility until the next release, though, the parameter is still parsed, but ignored.- name String
- The name of VM sizing policy.
- org String
- The name of organization to use - Deprecated and unneeded: will be ignored if used
- vm
Sizing StringPolicy Id
Supporting Types
VmSizingPolicyCpu, VmSizingPolicyCpuArgs
- Cores
Per stringSocket - The number of cores per socket for a VM. This is a VM hardware configuration. The number of vCPUs that is defined in the VM sizing policy must be divisible by the number of cores per socket. If the number of vCPUs is not divisible by the number of cores per socket, the number of cores per socket becomes invalid.
- Count string
- Defines the number of vCPUs configured for a VM. This is a VM hardware configuration. When a tenant assigns the VM sizing policy to a VM, this count becomes the configured number of vCPUs for the VM.
- Limit
In stringMhz - Defines the CPU limit in MHz for a VM. If not defined in the VDC compute policy, CPU limit is equal to the vCPU speed multiplied by the number of vCPUs. -1 means unlimited
- Reservation
Guarantee string - Defines how much of the CPU resources of a VM are reserved. The allocated CPU for a VM equals the number of vCPUs times the vCPU speed in MHz. The value of the attribute ranges between 0 and one. Value of 0 CPU reservation guarantee defines no CPU reservation. Value of 1 defines 100% of CPU reserved.
- string
- Defines the number of CPU shares for a VM. Shares specify the relative importance of a VM within a virtual data center. If a VM has twice as many shares of CPU as another VM, it is entitled to consume twice as much CPU when these two virtual machines are competing for resources. If not defined in the VDC compute policy, normal shares are applied to the VM.
- Speed
In stringMhz - Defines the vCPU speed of a core in MHz.
- Cores
Per stringSocket - The number of cores per socket for a VM. This is a VM hardware configuration. The number of vCPUs that is defined in the VM sizing policy must be divisible by the number of cores per socket. If the number of vCPUs is not divisible by the number of cores per socket, the number of cores per socket becomes invalid.
- Count string
- Defines the number of vCPUs configured for a VM. This is a VM hardware configuration. When a tenant assigns the VM sizing policy to a VM, this count becomes the configured number of vCPUs for the VM.
- Limit
In stringMhz - Defines the CPU limit in MHz for a VM. If not defined in the VDC compute policy, CPU limit is equal to the vCPU speed multiplied by the number of vCPUs. -1 means unlimited
- Reservation
Guarantee string - Defines how much of the CPU resources of a VM are reserved. The allocated CPU for a VM equals the number of vCPUs times the vCPU speed in MHz. The value of the attribute ranges between 0 and one. Value of 0 CPU reservation guarantee defines no CPU reservation. Value of 1 defines 100% of CPU reserved.
- string
- Defines the number of CPU shares for a VM. Shares specify the relative importance of a VM within a virtual data center. If a VM has twice as many shares of CPU as another VM, it is entitled to consume twice as much CPU when these two virtual machines are competing for resources. If not defined in the VDC compute policy, normal shares are applied to the VM.
- Speed
In stringMhz - Defines the vCPU speed of a core in MHz.
- cores
Per StringSocket - The number of cores per socket for a VM. This is a VM hardware configuration. The number of vCPUs that is defined in the VM sizing policy must be divisible by the number of cores per socket. If the number of vCPUs is not divisible by the number of cores per socket, the number of cores per socket becomes invalid.
- count String
- Defines the number of vCPUs configured for a VM. This is a VM hardware configuration. When a tenant assigns the VM sizing policy to a VM, this count becomes the configured number of vCPUs for the VM.
- limit
In StringMhz - Defines the CPU limit in MHz for a VM. If not defined in the VDC compute policy, CPU limit is equal to the vCPU speed multiplied by the number of vCPUs. -1 means unlimited
- reservation
Guarantee String - Defines how much of the CPU resources of a VM are reserved. The allocated CPU for a VM equals the number of vCPUs times the vCPU speed in MHz. The value of the attribute ranges between 0 and one. Value of 0 CPU reservation guarantee defines no CPU reservation. Value of 1 defines 100% of CPU reserved.
- String
- Defines the number of CPU shares for a VM. Shares specify the relative importance of a VM within a virtual data center. If a VM has twice as many shares of CPU as another VM, it is entitled to consume twice as much CPU when these two virtual machines are competing for resources. If not defined in the VDC compute policy, normal shares are applied to the VM.
- speed
In StringMhz - Defines the vCPU speed of a core in MHz.
- cores
Per stringSocket - The number of cores per socket for a VM. This is a VM hardware configuration. The number of vCPUs that is defined in the VM sizing policy must be divisible by the number of cores per socket. If the number of vCPUs is not divisible by the number of cores per socket, the number of cores per socket becomes invalid.
- count string
- Defines the number of vCPUs configured for a VM. This is a VM hardware configuration. When a tenant assigns the VM sizing policy to a VM, this count becomes the configured number of vCPUs for the VM.
- limit
In stringMhz - Defines the CPU limit in MHz for a VM. If not defined in the VDC compute policy, CPU limit is equal to the vCPU speed multiplied by the number of vCPUs. -1 means unlimited
- reservation
Guarantee string - Defines how much of the CPU resources of a VM are reserved. The allocated CPU for a VM equals the number of vCPUs times the vCPU speed in MHz. The value of the attribute ranges between 0 and one. Value of 0 CPU reservation guarantee defines no CPU reservation. Value of 1 defines 100% of CPU reserved.
- string
- Defines the number of CPU shares for a VM. Shares specify the relative importance of a VM within a virtual data center. If a VM has twice as many shares of CPU as another VM, it is entitled to consume twice as much CPU when these two virtual machines are competing for resources. If not defined in the VDC compute policy, normal shares are applied to the VM.
- speed
In stringMhz - Defines the vCPU speed of a core in MHz.
- cores_
per_ strsocket - The number of cores per socket for a VM. This is a VM hardware configuration. The number of vCPUs that is defined in the VM sizing policy must be divisible by the number of cores per socket. If the number of vCPUs is not divisible by the number of cores per socket, the number of cores per socket becomes invalid.
- count str
- Defines the number of vCPUs configured for a VM. This is a VM hardware configuration. When a tenant assigns the VM sizing policy to a VM, this count becomes the configured number of vCPUs for the VM.
- limit_
in_ strmhz - Defines the CPU limit in MHz for a VM. If not defined in the VDC compute policy, CPU limit is equal to the vCPU speed multiplied by the number of vCPUs. -1 means unlimited
- reservation_
guarantee str - Defines how much of the CPU resources of a VM are reserved. The allocated CPU for a VM equals the number of vCPUs times the vCPU speed in MHz. The value of the attribute ranges between 0 and one. Value of 0 CPU reservation guarantee defines no CPU reservation. Value of 1 defines 100% of CPU reserved.
- str
- Defines the number of CPU shares for a VM. Shares specify the relative importance of a VM within a virtual data center. If a VM has twice as many shares of CPU as another VM, it is entitled to consume twice as much CPU when these two virtual machines are competing for resources. If not defined in the VDC compute policy, normal shares are applied to the VM.
- speed_
in_ strmhz - Defines the vCPU speed of a core in MHz.
- cores
Per StringSocket - The number of cores per socket for a VM. This is a VM hardware configuration. The number of vCPUs that is defined in the VM sizing policy must be divisible by the number of cores per socket. If the number of vCPUs is not divisible by the number of cores per socket, the number of cores per socket becomes invalid.
- count String
- Defines the number of vCPUs configured for a VM. This is a VM hardware configuration. When a tenant assigns the VM sizing policy to a VM, this count becomes the configured number of vCPUs for the VM.
- limit
In StringMhz - Defines the CPU limit in MHz for a VM. If not defined in the VDC compute policy, CPU limit is equal to the vCPU speed multiplied by the number of vCPUs. -1 means unlimited
- reservation
Guarantee String - Defines how much of the CPU resources of a VM are reserved. The allocated CPU for a VM equals the number of vCPUs times the vCPU speed in MHz. The value of the attribute ranges between 0 and one. Value of 0 CPU reservation guarantee defines no CPU reservation. Value of 1 defines 100% of CPU reserved.
- String
- Defines the number of CPU shares for a VM. Shares specify the relative importance of a VM within a virtual data center. If a VM has twice as many shares of CPU as another VM, it is entitled to consume twice as much CPU when these two virtual machines are competing for resources. If not defined in the VDC compute policy, normal shares are applied to the VM.
- speed
In StringMhz - Defines the vCPU speed of a core in MHz.
VmSizingPolicyMemory, VmSizingPolicyMemoryArgs
- Limit
In stringMb - Defines the memory limit in MB for a VM. If not defined in the VM sizing policy, memory limit is equal to the allocated memory for the VM.
- Reservation
Guarantee string - Defines the reserved amount of memory that is configured for a VM. The value of the attribute ranges between 0 and one. Value of 0 memory reservation guarantee defines no memory reservation. Value of 1 defines 100% of memory reserved.
- string
- Defines the number of memory shares for a VM. Shares specify the relative importance of a VM within a virtual data center. If a VM has twice as many shares of memory as another VM, it is entitled to consume twice as much memory when these two virtual machines are competing for resources. If not defined in the VDC compute policy, normal shares are applied to the VM.
- Size
In stringMb - Defines the memory configured for a VM in MB. This is a VM hardware configuration. When a tenant assigns the VM sizing policy to a VM, the VM receives the amount of memory defined by this attribute.
- Limit
In stringMb - Defines the memory limit in MB for a VM. If not defined in the VM sizing policy, memory limit is equal to the allocated memory for the VM.
- Reservation
Guarantee string - Defines the reserved amount of memory that is configured for a VM. The value of the attribute ranges between 0 and one. Value of 0 memory reservation guarantee defines no memory reservation. Value of 1 defines 100% of memory reserved.
- string
- Defines the number of memory shares for a VM. Shares specify the relative importance of a VM within a virtual data center. If a VM has twice as many shares of memory as another VM, it is entitled to consume twice as much memory when these two virtual machines are competing for resources. If not defined in the VDC compute policy, normal shares are applied to the VM.
- Size
In stringMb - Defines the memory configured for a VM in MB. This is a VM hardware configuration. When a tenant assigns the VM sizing policy to a VM, the VM receives the amount of memory defined by this attribute.
- limit
In StringMb - Defines the memory limit in MB for a VM. If not defined in the VM sizing policy, memory limit is equal to the allocated memory for the VM.
- reservation
Guarantee String - Defines the reserved amount of memory that is configured for a VM. The value of the attribute ranges between 0 and one. Value of 0 memory reservation guarantee defines no memory reservation. Value of 1 defines 100% of memory reserved.
- String
- Defines the number of memory shares for a VM. Shares specify the relative importance of a VM within a virtual data center. If a VM has twice as many shares of memory as another VM, it is entitled to consume twice as much memory when these two virtual machines are competing for resources. If not defined in the VDC compute policy, normal shares are applied to the VM.
- size
In StringMb - Defines the memory configured for a VM in MB. This is a VM hardware configuration. When a tenant assigns the VM sizing policy to a VM, the VM receives the amount of memory defined by this attribute.
- limit
In stringMb - Defines the memory limit in MB for a VM. If not defined in the VM sizing policy, memory limit is equal to the allocated memory for the VM.
- reservation
Guarantee string - Defines the reserved amount of memory that is configured for a VM. The value of the attribute ranges between 0 and one. Value of 0 memory reservation guarantee defines no memory reservation. Value of 1 defines 100% of memory reserved.
- string
- Defines the number of memory shares for a VM. Shares specify the relative importance of a VM within a virtual data center. If a VM has twice as many shares of memory as another VM, it is entitled to consume twice as much memory when these two virtual machines are competing for resources. If not defined in the VDC compute policy, normal shares are applied to the VM.
- size
In stringMb - Defines the memory configured for a VM in MB. This is a VM hardware configuration. When a tenant assigns the VM sizing policy to a VM, the VM receives the amount of memory defined by this attribute.
- limit_
in_ strmb - Defines the memory limit in MB for a VM. If not defined in the VM sizing policy, memory limit is equal to the allocated memory for the VM.
- reservation_
guarantee str - Defines the reserved amount of memory that is configured for a VM. The value of the attribute ranges between 0 and one. Value of 0 memory reservation guarantee defines no memory reservation. Value of 1 defines 100% of memory reserved.
- str
- Defines the number of memory shares for a VM. Shares specify the relative importance of a VM within a virtual data center. If a VM has twice as many shares of memory as another VM, it is entitled to consume twice as much memory when these two virtual machines are competing for resources. If not defined in the VDC compute policy, normal shares are applied to the VM.
- size_
in_ strmb - Defines the memory configured for a VM in MB. This is a VM hardware configuration. When a tenant assigns the VM sizing policy to a VM, the VM receives the amount of memory defined by this attribute.
- limit
In StringMb - Defines the memory limit in MB for a VM. If not defined in the VM sizing policy, memory limit is equal to the allocated memory for the VM.
- reservation
Guarantee String - Defines the reserved amount of memory that is configured for a VM. The value of the attribute ranges between 0 and one. Value of 0 memory reservation guarantee defines no memory reservation. Value of 1 defines 100% of memory reserved.
- String
- Defines the number of memory shares for a VM. Shares specify the relative importance of a VM within a virtual data center. If a VM has twice as many shares of memory as another VM, it is entitled to consume twice as much memory when these two virtual machines are competing for resources. If not defined in the VDC compute policy, normal shares are applied to the VM.
- size
In StringMb - Defines the memory configured for a VM in MB. This is a VM hardware configuration. When a tenant assigns the VM sizing policy to a VM, the VM receives the amount of memory defined by this attribute.
Package Details
- Repository
- vcd vmware/terraform-provider-vcd
- License
- Notes
- This Pulumi package is based on the
vcd
Terraform Provider.