1. Packages
  2. Vcd Provider
  3. API Docs
  4. VmSizingPolicy
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

vcd.VmSizingPolicy

Explore with Pulumi AI

vcd logo
vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware

    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 VmSizingPolicyCpu
    Configures cpu policy; see Cpu below for details.
    Description string
    description of VM sizing policy.
    Memory VmSizingPolicyMemory

    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

    Deprecated: Deprecated

    VmSizingPolicyId string
    Cpu VmSizingPolicyCpuArgs
    Configures cpu policy; see Cpu below for details.
    Description string
    description of VM sizing policy.
    Memory VmSizingPolicyMemoryArgs

    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

    Deprecated: Deprecated

    VmSizingPolicyId string
    cpu VmSizingPolicyCpu
    Configures cpu policy; see Cpu below for details.
    description String
    description of VM sizing policy.
    memory VmSizingPolicyMemory

    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

    Deprecated: Deprecated

    vmSizingPolicyId String
    cpu VmSizingPolicyCpu
    Configures cpu policy; see Cpu below for details.
    description string
    description of VM sizing policy.
    memory VmSizingPolicyMemory

    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

    Deprecated: Deprecated

    vmSizingPolicyId string
    cpu VmSizingPolicyCpuArgs
    Configures cpu policy; see Cpu below for details.
    description str
    description of VM sizing policy.
    memory VmSizingPolicyMemoryArgs

    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

    Deprecated: Deprecated

    vm_sizing_policy_id str
    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

    Deprecated: Deprecated

    vmSizingPolicyId String

    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.
    The following state arguments are supported:
    Cpu VmSizingPolicyCpu
    Configures cpu policy; see Cpu below for details.
    Description string
    description of VM sizing policy.
    Memory VmSizingPolicyMemory

    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

    Deprecated: Deprecated

    VmSizingPolicyId string
    Cpu VmSizingPolicyCpuArgs
    Configures cpu policy; see Cpu below for details.
    Description string
    description of VM sizing policy.
    Memory VmSizingPolicyMemoryArgs

    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

    Deprecated: Deprecated

    VmSizingPolicyId string
    cpu VmSizingPolicyCpu
    Configures cpu policy; see Cpu below for details.
    description String
    description of VM sizing policy.
    memory VmSizingPolicyMemory

    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

    Deprecated: Deprecated

    vmSizingPolicyId String
    cpu VmSizingPolicyCpu
    Configures cpu policy; see Cpu below for details.
    description string
    description of VM sizing policy.
    memory VmSizingPolicyMemory

    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

    Deprecated: Deprecated

    vmSizingPolicyId string
    cpu VmSizingPolicyCpuArgs
    Configures cpu policy; see Cpu below for details.
    description str
    description of VM sizing policy.
    memory VmSizingPolicyMemoryArgs

    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

    Deprecated: Deprecated

    vm_sizing_policy_id str
    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

    Deprecated: Deprecated

    vmSizingPolicyId String

    Supporting Types

    VmSizingPolicyCpu, VmSizingPolicyCpuArgs

    CoresPerSocket string
    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.
    LimitInMhz string
    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
    ReservationGuarantee 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.
    Shares 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.
    SpeedInMhz string
    Defines the vCPU speed of a core in MHz.
    CoresPerSocket string
    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.
    LimitInMhz string
    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
    ReservationGuarantee 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.
    Shares 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.
    SpeedInMhz string
    Defines the vCPU speed of a core in MHz.
    coresPerSocket String
    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.
    limitInMhz String
    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
    reservationGuarantee 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.
    shares 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.
    speedInMhz String
    Defines the vCPU speed of a core in MHz.
    coresPerSocket string
    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.
    limitInMhz string
    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
    reservationGuarantee 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.
    shares 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.
    speedInMhz string
    Defines the vCPU speed of a core in MHz.
    cores_per_socket str
    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_mhz str
    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.
    shares 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_mhz str
    Defines the vCPU speed of a core in MHz.
    coresPerSocket String
    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.
    limitInMhz String
    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
    reservationGuarantee 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.
    shares 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.
    speedInMhz String
    Defines the vCPU speed of a core in MHz.

    VmSizingPolicyMemory, VmSizingPolicyMemoryArgs

    LimitInMb string
    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.
    ReservationGuarantee 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.
    Shares 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.
    SizeInMb string
    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.
    LimitInMb string
    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.
    ReservationGuarantee 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.
    Shares 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.
    SizeInMb string
    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.
    limitInMb String
    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.
    reservationGuarantee 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.
    shares 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.
    sizeInMb String
    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.
    limitInMb string
    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.
    reservationGuarantee 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.
    shares 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.
    sizeInMb string
    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_mb str
    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.
    shares 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_mb str
    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.
    limitInMb String
    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.
    reservationGuarantee 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.
    shares 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.
    sizeInMb String
    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.
    vcd logo
    vcd 3.14.1 published on Monday, Apr 14, 2025 by vmware