Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
This data source provides the list of Dedicated Vm Host Shapes in Oracle Cloud Infrastructure Core service.
Lists the shapes that can be used to launch a dedicated virtual machine host within the specified compartment.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDedicatedVmHostShapes = oci.Core.getDedicatedVmHostShapes({
compartmentId: compartmentId,
availabilityDomain: dedicatedVmHostShapeAvailabilityDomain,
instanceShapeName: dedicatedVmHostShapeInstanceShapeName,
});
import pulumi
import pulumi_oci as oci
test_dedicated_vm_host_shapes = oci.Core.get_dedicated_vm_host_shapes(compartment_id=compartment_id,
availability_domain=dedicated_vm_host_shape_availability_domain,
instance_shape_name=dedicated_vm_host_shape_instance_shape_name)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := core.GetDedicatedVmHostShapes(ctx, &core.GetDedicatedVmHostShapesArgs{
CompartmentId: compartmentId,
AvailabilityDomain: pulumi.StringRef(dedicatedVmHostShapeAvailabilityDomain),
InstanceShapeName: pulumi.StringRef(dedicatedVmHostShapeInstanceShapeName),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDedicatedVmHostShapes = Oci.Core.GetDedicatedVmHostShapes.Invoke(new()
{
CompartmentId = compartmentId,
AvailabilityDomain = dedicatedVmHostShapeAvailabilityDomain,
InstanceShapeName = dedicatedVmHostShapeInstanceShapeName,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetDedicatedVmHostShapesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testDedicatedVmHostShapes = CoreFunctions.getDedicatedVmHostShapes(GetDedicatedVmHostShapesArgs.builder()
.compartmentId(compartmentId)
.availabilityDomain(dedicatedVmHostShapeAvailabilityDomain)
.instanceShapeName(dedicatedVmHostShapeInstanceShapeName)
.build());
}
}
variables:
testDedicatedVmHostShapes:
fn::invoke:
function: oci:Core:getDedicatedVmHostShapes
arguments:
compartmentId: ${compartmentId}
availabilityDomain: ${dedicatedVmHostShapeAvailabilityDomain}
instanceShapeName: ${dedicatedVmHostShapeInstanceShapeName}
Using getDedicatedVmHostShapes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDedicatedVmHostShapes(args: GetDedicatedVmHostShapesArgs, opts?: InvokeOptions): Promise<GetDedicatedVmHostShapesResult>
function getDedicatedVmHostShapesOutput(args: GetDedicatedVmHostShapesOutputArgs, opts?: InvokeOptions): Output<GetDedicatedVmHostShapesResult>def get_dedicated_vm_host_shapes(availability_domain: Optional[str] = None,
compartment_id: Optional[str] = None,
filters: Optional[Sequence[GetDedicatedVmHostShapesFilter]] = None,
instance_shape_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDedicatedVmHostShapesResult
def get_dedicated_vm_host_shapes_output(availability_domain: Optional[pulumi.Input[str]] = None,
compartment_id: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDedicatedVmHostShapesFilterArgs]]]] = None,
instance_shape_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDedicatedVmHostShapesResult]func GetDedicatedVmHostShapes(ctx *Context, args *GetDedicatedVmHostShapesArgs, opts ...InvokeOption) (*GetDedicatedVmHostShapesResult, error)
func GetDedicatedVmHostShapesOutput(ctx *Context, args *GetDedicatedVmHostShapesOutputArgs, opts ...InvokeOption) GetDedicatedVmHostShapesResultOutput> Note: This function is named GetDedicatedVmHostShapes in the Go SDK.
public static class GetDedicatedVmHostShapes
{
public static Task<GetDedicatedVmHostShapesResult> InvokeAsync(GetDedicatedVmHostShapesArgs args, InvokeOptions? opts = null)
public static Output<GetDedicatedVmHostShapesResult> Invoke(GetDedicatedVmHostShapesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDedicatedVmHostShapesResult> getDedicatedVmHostShapes(GetDedicatedVmHostShapesArgs args, InvokeOptions options)
public static Output<GetDedicatedVmHostShapesResult> getDedicatedVmHostShapes(GetDedicatedVmHostShapesArgs args, InvokeOptions options)
fn::invoke:
function: oci:Core/getDedicatedVmHostShapes:getDedicatedVmHostShapes
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment.
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1 - Filters
List<Get
Dedicated Vm Host Shapes Filter> - Instance
Shape stringName - The name for the instance's shape.
- Compartment
Id string - The OCID of the compartment.
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1 - Filters
[]Get
Dedicated Vm Host Shapes Filter - Instance
Shape stringName - The name for the instance's shape.
- compartment
Id String - The OCID of the compartment.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1 - filters
List<Get
Dedicated Vm Host Shapes Filter> - instance
Shape StringName - The name for the instance's shape.
- compartment
Id string - The OCID of the compartment.
- availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1 - filters
Get
Dedicated Vm Host Shapes Filter[] - instance
Shape stringName - The name for the instance's shape.
- compartment_
id str - The OCID of the compartment.
- availability_
domain str - The name of the availability domain. Example:
Uocm:PHX-AD-1 - filters
Sequence[Get
Dedicated Vm Host Shapes Filter] - instance_
shape_ strname - The name for the instance's shape.
- compartment
Id String - The OCID of the compartment.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1 - filters List<Property Map>
- instance
Shape StringName - The name for the instance's shape.
getDedicatedVmHostShapes Result
The following output properties are available:
- Compartment
Id string - Dedicated
Vm List<GetHost Shapes Dedicated Vm Host Shapes Dedicated Vm Host Shape> - The list of dedicated_vm_host_shapes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Availability
Domain string - The shape's availability domain.
- Filters
List<Get
Dedicated Vm Host Shapes Filter> - Instance
Shape stringName
- Compartment
Id string - Dedicated
Vm []GetHost Shapes Dedicated Vm Host Shapes Dedicated Vm Host Shape - The list of dedicated_vm_host_shapes.
- Id string
- The provider-assigned unique ID for this managed resource.
- Availability
Domain string - The shape's availability domain.
- Filters
[]Get
Dedicated Vm Host Shapes Filter - Instance
Shape stringName
- compartment
Id String - dedicated
Vm List<GetHost Shapes Dedicated Vm Host Shapes Dedicated Vm Host Shape> - The list of dedicated_vm_host_shapes.
- id String
- The provider-assigned unique ID for this managed resource.
- availability
Domain String - The shape's availability domain.
- filters
List<Get
Dedicated Vm Host Shapes Filter> - instance
Shape StringName
- compartment
Id string - dedicated
Vm GetHost Shapes Dedicated Vm Host Shapes Dedicated Vm Host Shape[] - The list of dedicated_vm_host_shapes.
- id string
- The provider-assigned unique ID for this managed resource.
- availability
Domain string - The shape's availability domain.
- filters
Get
Dedicated Vm Host Shapes Filter[] - instance
Shape stringName
- compartment_
id str - dedicated_
vm_ Sequence[Gethost_ shapes Dedicated Vm Host Shapes Dedicated Vm Host Shape] - The list of dedicated_vm_host_shapes.
- id str
- The provider-assigned unique ID for this managed resource.
- availability_
domain str - The shape's availability domain.
- filters
Sequence[Get
Dedicated Vm Host Shapes Filter] - instance_
shape_ strname
- compartment
Id String - dedicated
Vm List<Property Map>Host Shapes - The list of dedicated_vm_host_shapes.
- id String
- The provider-assigned unique ID for this managed resource.
- availability
Domain String - The shape's availability domain.
- filters List<Property Map>
- instance
Shape StringName
Supporting Types
GetDedicatedVmHostShapesDedicatedVmHostShape
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1 - Capacity
Configs List<GetDedicated Vm Host Shapes Dedicated Vm Host Shape Capacity Config> - A list of capacity configs that are supported by this dedicated VM host shape.
- Dedicated
Vm stringHost Shape - The name of the dedicated VM host shape. You can enumerate all available shapes by calling ListDedicatedVmHostShapes.
- Availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1 - Capacity
Configs []GetDedicated Vm Host Shapes Dedicated Vm Host Shape Capacity Config - A list of capacity configs that are supported by this dedicated VM host shape.
- Dedicated
Vm stringHost Shape - The name of the dedicated VM host shape. You can enumerate all available shapes by calling ListDedicatedVmHostShapes.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1 - capacity
Configs List<GetDedicated Vm Host Shapes Dedicated Vm Host Shape Capacity Config> - A list of capacity configs that are supported by this dedicated VM host shape.
- dedicated
Vm StringHost Shape - The name of the dedicated VM host shape. You can enumerate all available shapes by calling ListDedicatedVmHostShapes.
- availability
Domain string - The name of the availability domain. Example:
Uocm:PHX-AD-1 - capacity
Configs GetDedicated Vm Host Shapes Dedicated Vm Host Shape Capacity Config[] - A list of capacity configs that are supported by this dedicated VM host shape.
- dedicated
Vm stringHost Shape - The name of the dedicated VM host shape. You can enumerate all available shapes by calling ListDedicatedVmHostShapes.
- availability_
domain str - The name of the availability domain. Example:
Uocm:PHX-AD-1 - capacity_
configs Sequence[GetDedicated Vm Host Shapes Dedicated Vm Host Shape Capacity Config] - A list of capacity configs that are supported by this dedicated VM host shape.
- dedicated_
vm_ strhost_ shape - The name of the dedicated VM host shape. You can enumerate all available shapes by calling ListDedicatedVmHostShapes.
- availability
Domain String - The name of the availability domain. Example:
Uocm:PHX-AD-1 - capacity
Configs List<Property Map> - A list of capacity configs that are supported by this dedicated VM host shape.
- dedicated
Vm StringHost Shape - The name of the dedicated VM host shape. You can enumerate all available shapes by calling ListDedicatedVmHostShapes.
GetDedicatedVmHostShapesDedicatedVmHostShapeCapacityConfig
- Capacity
Bins List<GetDedicated Vm Host Shapes Dedicated Vm Host Shape Capacity Config Capacity Bin> - A list of total CPU and memory per capacity bucket.
- Capacity
Config stringName - The name of each capacity config.
- Is
Default bool - Whether this capacity config is the default config.
- Supported
Capabilities List<GetDedicated Vm Host Shapes Dedicated Vm Host Shape Capacity Config Supported Capability> - Specifies the capabilities that the Dedicated Virtual Machine Host (DVMH) Shape or Virtual Machine Instance Shape could support.
- Capacity
Bins []GetDedicated Vm Host Shapes Dedicated Vm Host Shape Capacity Config Capacity Bin - A list of total CPU and memory per capacity bucket.
- Capacity
Config stringName - The name of each capacity config.
- Is
Default bool - Whether this capacity config is the default config.
- Supported
Capabilities []GetDedicated Vm Host Shapes Dedicated Vm Host Shape Capacity Config Supported Capability - Specifies the capabilities that the Dedicated Virtual Machine Host (DVMH) Shape or Virtual Machine Instance Shape could support.
- capacity
Bins List<GetDedicated Vm Host Shapes Dedicated Vm Host Shape Capacity Config Capacity Bin> - A list of total CPU and memory per capacity bucket.
- capacity
Config StringName - The name of each capacity config.
- is
Default Boolean - Whether this capacity config is the default config.
- supported
Capabilities List<GetDedicated Vm Host Shapes Dedicated Vm Host Shape Capacity Config Supported Capability> - Specifies the capabilities that the Dedicated Virtual Machine Host (DVMH) Shape or Virtual Machine Instance Shape could support.
- capacity
Bins GetDedicated Vm Host Shapes Dedicated Vm Host Shape Capacity Config Capacity Bin[] - A list of total CPU and memory per capacity bucket.
- capacity
Config stringName - The name of each capacity config.
- is
Default boolean - Whether this capacity config is the default config.
- supported
Capabilities GetDedicated Vm Host Shapes Dedicated Vm Host Shape Capacity Config Supported Capability[] - Specifies the capabilities that the Dedicated Virtual Machine Host (DVMH) Shape or Virtual Machine Instance Shape could support.
- capacity_
bins Sequence[GetDedicated Vm Host Shapes Dedicated Vm Host Shape Capacity Config Capacity Bin] - A list of total CPU and memory per capacity bucket.
- capacity_
config_ strname - The name of each capacity config.
- is_
default bool - Whether this capacity config is the default config.
- supported_
capabilities Sequence[GetDedicated Vm Host Shapes Dedicated Vm Host Shape Capacity Config Supported Capability] - Specifies the capabilities that the Dedicated Virtual Machine Host (DVMH) Shape or Virtual Machine Instance Shape could support.
- capacity
Bins List<Property Map> - A list of total CPU and memory per capacity bucket.
- capacity
Config StringName - The name of each capacity config.
- is
Default Boolean - Whether this capacity config is the default config.
- supported
Capabilities List<Property Map> - Specifies the capabilities that the Dedicated Virtual Machine Host (DVMH) Shape or Virtual Machine Instance Shape could support.
GetDedicatedVmHostShapesDedicatedVmHostShapeCapacityConfigCapacityBin
- Capacity
Index int - Zero-based index for the corresponding capacity bucket.
- Supported
Shapes List<string> - List of VMI shapes supported on each capacity bucket.
- Total
Memory doubleIn Gbs - The total memory of the capacity bucket, in GBs.
- Total
Ocpus double - The total OCPUs of the capacity bucket.
- Capacity
Index int - Zero-based index for the corresponding capacity bucket.
- Supported
Shapes []string - List of VMI shapes supported on each capacity bucket.
- Total
Memory float64In Gbs - The total memory of the capacity bucket, in GBs.
- Total
Ocpus float64 - The total OCPUs of the capacity bucket.
- capacity
Index Integer - Zero-based index for the corresponding capacity bucket.
- supported
Shapes List<String> - List of VMI shapes supported on each capacity bucket.
- total
Memory DoubleIn Gbs - The total memory of the capacity bucket, in GBs.
- total
Ocpus Double - The total OCPUs of the capacity bucket.
- capacity
Index number - Zero-based index for the corresponding capacity bucket.
- supported
Shapes string[] - List of VMI shapes supported on each capacity bucket.
- total
Memory numberIn Gbs - The total memory of the capacity bucket, in GBs.
- total
Ocpus number - The total OCPUs of the capacity bucket.
- capacity_
index int - Zero-based index for the corresponding capacity bucket.
- supported_
shapes Sequence[str] - List of VMI shapes supported on each capacity bucket.
- total_
memory_ floatin_ gbs - The total memory of the capacity bucket, in GBs.
- total_
ocpus float - The total OCPUs of the capacity bucket.
- capacity
Index Number - Zero-based index for the corresponding capacity bucket.
- supported
Shapes List<String> - List of VMI shapes supported on each capacity bucket.
- total
Memory NumberIn Gbs - The total memory of the capacity bucket, in GBs.
- total
Ocpus Number - The total OCPUs of the capacity bucket.
GetDedicatedVmHostShapesDedicatedVmHostShapeCapacityConfigSupportedCapability
- Is
Memory boolEncryption Supported - Whether the DVMH shape could support confidential VMs or the VM instance shape could be confidential.
- Is
Memory boolEncryption Supported - Whether the DVMH shape could support confidential VMs or the VM instance shape could be confidential.
- is
Memory BooleanEncryption Supported - Whether the DVMH shape could support confidential VMs or the VM instance shape could be confidential.
- is
Memory booleanEncryption Supported - Whether the DVMH shape could support confidential VMs or the VM instance shape could be confidential.
- is_
memory_ boolencryption_ supported - Whether the DVMH shape could support confidential VMs or the VM instance shape could be confidential.
- is
Memory BooleanEncryption Supported - Whether the DVMH shape could support confidential VMs or the VM instance shape could be confidential.
GetDedicatedVmHostShapesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.11.1 published on Friday, Nov 14, 2025 by Pulumi
