1. Packages
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. getDataccVmInstances
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi

    This data source provides the list of Vm Instances in Oracle Cloud Infrastructure Datacc service.

    Obtain a list of VM instances.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testVmInstances = oci.oci.getDataccVmInstances({
        compartmentId: compartmentId,
        baseServerId: testBaseServer.id,
        displayName: vmInstanceDisplayName,
        infrastructureId: testInfrastructure.id,
        states: vmInstanceState,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_vm_instances = oci.oci.get_datacc_vm_instances(compartment_id=compartment_id,
        base_server_id=test_base_server["id"],
        display_name=vm_instance_display_name,
        infrastructure_id=test_infrastructure["id"],
        states=vm_instance_state)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.GetDataccVmInstances(ctx, &oci.GetDataccVmInstancesArgs{
    			CompartmentId:    compartmentId,
    			BaseServerId:     pulumi.StringRef(testBaseServer.Id),
    			DisplayName:      pulumi.StringRef(vmInstanceDisplayName),
    			InfrastructureId: pulumi.StringRef(testInfrastructure.Id),
    			States:           pulumi.ToArray(vmInstanceState),
    		}, 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 testVmInstances = Oci.Oci.GetDataccVmInstances.Invoke(new()
        {
            CompartmentId = compartmentId,
            BaseServerId = testBaseServer.Id,
            DisplayName = vmInstanceDisplayName,
            InfrastructureId = testInfrastructure.Id,
            States = vmInstanceState,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.OciFunctions;
    import com.pulumi.oci.oci.inputs.GetDataccVmInstancesArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 testVmInstances = OciFunctions.getDataccVmInstances(GetDataccVmInstancesArgs.builder()
                .compartmentId(compartmentId)
                .baseServerId(testBaseServer.id())
                .displayName(vmInstanceDisplayName)
                .infrastructureId(testInfrastructure.id())
                .states(vmInstanceState)
                .build());
    
        }
    }
    
    variables:
      testVmInstances:
        fn::invoke:
          function: oci:oci:getDataccVmInstances
          arguments:
            compartmentId: ${compartmentId}
            baseServerId: ${testBaseServer.id}
            displayName: ${vmInstanceDisplayName}
            infrastructureId: ${testInfrastructure.id}
            states: ${vmInstanceState}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_oci_getdataccvminstances" "testVmInstances" {
      compartment_id    = compartmentId
      base_server_id    = testBaseServer.id
      display_name      = vmInstanceDisplayName
      infrastructure_id = testInfrastructure.id
      states            = vmInstanceState
    }
    

    Using getDataccVmInstances

    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 getDataccVmInstances(args: GetDataccVmInstancesArgs, opts?: InvokeOptions): Promise<GetDataccVmInstancesResult>
    function getDataccVmInstancesOutput(args: GetDataccVmInstancesOutputArgs, opts?: InvokeOptions): Output<GetDataccVmInstancesResult>
    def get_datacc_vm_instances(base_server_id: Optional[str] = None,
                                compartment_id: Optional[str] = None,
                                display_name: Optional[str] = None,
                                filters: Optional[Sequence[GetDataccVmInstancesFilter]] = None,
                                infrastructure_id: Optional[str] = None,
                                states: Optional[Sequence[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> GetDataccVmInstancesResult
    def get_datacc_vm_instances_output(base_server_id: pulumi.Input[Optional[str]] = None,
                                compartment_id: pulumi.Input[Optional[str]] = None,
                                display_name: pulumi.Input[Optional[str]] = None,
                                filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetDataccVmInstancesFilterArgs]]]] = None,
                                infrastructure_id: pulumi.Input[Optional[str]] = None,
                                states: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetDataccVmInstancesResult]
    func GetDataccVmInstances(ctx *Context, args *GetDataccVmInstancesArgs, opts ...InvokeOption) (*GetDataccVmInstancesResult, error)
    func GetDataccVmInstancesOutput(ctx *Context, args *GetDataccVmInstancesOutputArgs, opts ...InvokeOption) GetDataccVmInstancesResultOutput

    > Note: This function is named GetDataccVmInstances in the Go SDK.

    public static class GetDataccVmInstances 
    {
        public static Task<GetDataccVmInstancesResult> InvokeAsync(GetDataccVmInstancesArgs args, InvokeOptions? opts = null)
        public static Output<GetDataccVmInstancesResult> Invoke(GetDataccVmInstancesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDataccVmInstancesResult> getDataccVmInstances(GetDataccVmInstancesArgs args, InvokeOptions options)
    public static Output<GetDataccVmInstancesResult> getDataccVmInstances(GetDataccVmInstancesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:oci/getDataccVmInstances:getDataccVmInstances
      arguments:
        # arguments dictionary
    data "oci_oci_get_datacc_vm_instances" "name" {
        # arguments
    }

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    BaseServerId string
    The OCID of the Database Infrastructure Server Id.
    DisplayName string
    A filter to return resources that match the entire display name given. The match is case sensitive.
    Filters List<GetDataccVmInstancesFilter>
    InfrastructureId string
    The OCID of the Database Infrastructure.
    States List<string>
    A filter to return resources that match the specified lifecycle state.
    CompartmentId string
    The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    BaseServerId string
    The OCID of the Database Infrastructure Server Id.
    DisplayName string
    A filter to return resources that match the entire display name given. The match is case sensitive.
    Filters []GetDataccVmInstancesFilter
    InfrastructureId string
    The OCID of the Database Infrastructure.
    States []string
    A filter to return resources that match the specified lifecycle state.
    compartment_id string
    The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    base_server_id string
    The OCID of the Database Infrastructure Server Id.
    display_name string
    A filter to return resources that match the entire display name given. The match is case sensitive.
    filters list(object)
    infrastructure_id string
    The OCID of the Database Infrastructure.
    states list(string)
    A filter to return resources that match the specified lifecycle state.
    compartmentId String
    The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    baseServerId String
    The OCID of the Database Infrastructure Server Id.
    displayName String
    A filter to return resources that match the entire display name given. The match is case sensitive.
    filters List<GetDataccVmInstancesFilter>
    infrastructureId String
    The OCID of the Database Infrastructure.
    states List<String>
    A filter to return resources that match the specified lifecycle state.
    compartmentId string
    The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    baseServerId string
    The OCID of the Database Infrastructure Server Id.
    displayName string
    A filter to return resources that match the entire display name given. The match is case sensitive.
    filters GetDataccVmInstancesFilter[]
    infrastructureId string
    The OCID of the Database Infrastructure.
    states string[]
    A filter to return resources that match the specified lifecycle state.
    compartment_id str
    The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    base_server_id str
    The OCID of the Database Infrastructure Server Id.
    display_name str
    A filter to return resources that match the entire display name given. The match is case sensitive.
    filters Sequence[GetDataccVmInstancesFilter]
    infrastructure_id str
    The OCID of the Database Infrastructure.
    states Sequence[str]
    A filter to return resources that match the specified lifecycle state.
    compartmentId String
    The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    baseServerId String
    The OCID of the Database Infrastructure Server Id.
    displayName String
    A filter to return resources that match the entire display name given. The match is case sensitive.
    filters List<Property Map>
    infrastructureId String
    The OCID of the Database Infrastructure.
    states List<String>
    A filter to return resources that match the specified lifecycle state.

    getDataccVmInstances Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment containing the VM instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    VmInstanceCollections List<GetDataccVmInstancesVmInstanceCollection>
    The list of vm_instance_collection.
    BaseServerId string
    DisplayName string
    VM instance display name. This name does not have to be unique, and is changeable.
    Filters List<GetDataccVmInstancesFilter>
    InfrastructureId string
    The OCID of the Database Infrastructure.
    States List<string>
    The current state of the VM instance.
    CompartmentId string
    The OCID of the compartment containing the VM instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    VmInstanceCollections []GetDataccVmInstancesVmInstanceCollection
    The list of vm_instance_collection.
    BaseServerId string
    DisplayName string
    VM instance display name. This name does not have to be unique, and is changeable.
    Filters []GetDataccVmInstancesFilter
    InfrastructureId string
    The OCID of the Database Infrastructure.
    States []string
    The current state of the VM instance.
    compartment_id string
    The OCID of the compartment containing the VM instance.
    id string
    The provider-assigned unique ID for this managed resource.
    vm_instance_collections list(object)
    The list of vm_instance_collection.
    base_server_id string
    display_name string
    VM instance display name. This name does not have to be unique, and is changeable.
    filters list(object)
    infrastructure_id string
    The OCID of the Database Infrastructure.
    states list(string)
    The current state of the VM instance.
    compartmentId String
    The OCID of the compartment containing the VM instance.
    id String
    The provider-assigned unique ID for this managed resource.
    vmInstanceCollections List<GetDataccVmInstancesVmInstanceCollection>
    The list of vm_instance_collection.
    baseServerId String
    displayName String
    VM instance display name. This name does not have to be unique, and is changeable.
    filters List<GetDataccVmInstancesFilter>
    infrastructureId String
    The OCID of the Database Infrastructure.
    states List<String>
    The current state of the VM instance.
    compartmentId string
    The OCID of the compartment containing the VM instance.
    id string
    The provider-assigned unique ID for this managed resource.
    vmInstanceCollections GetDataccVmInstancesVmInstanceCollection[]
    The list of vm_instance_collection.
    baseServerId string
    displayName string
    VM instance display name. This name does not have to be unique, and is changeable.
    filters GetDataccVmInstancesFilter[]
    infrastructureId string
    The OCID of the Database Infrastructure.
    states string[]
    The current state of the VM instance.
    compartment_id str
    The OCID of the compartment containing the VM instance.
    id str
    The provider-assigned unique ID for this managed resource.
    vm_instance_collections Sequence[GetDataccVmInstancesVmInstanceCollection]
    The list of vm_instance_collection.
    base_server_id str
    display_name str
    VM instance display name. This name does not have to be unique, and is changeable.
    filters Sequence[GetDataccVmInstancesFilter]
    infrastructure_id str
    The OCID of the Database Infrastructure.
    states Sequence[str]
    The current state of the VM instance.
    compartmentId String
    The OCID of the compartment containing the VM instance.
    id String
    The provider-assigned unique ID for this managed resource.
    vmInstanceCollections List<Property Map>
    The list of vm_instance_collection.
    baseServerId String
    displayName String
    VM instance display name. This name does not have to be unique, and is changeable.
    filters List<Property Map>
    infrastructureId String
    The OCID of the Database Infrastructure.
    states List<String>
    The current state of the VM instance.

    Supporting Types

    GetDataccVmInstancesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name string
    values list(string)
    regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    GetDataccVmInstancesVmInstanceCollection

    GetDataccVmInstancesVmInstanceCollectionItem

    BootStorageSizeInGbs double
    Boot storage memory to be allocated in GBs.
    CompartmentId string
    The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    CpusEnabled int
    The number of CPU cores enabled for each VM instance.
    DataStorageSizeInGb double
    Data storage to be allocated in GBs.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    VM instance description.
    DisplayName string
    A filter to return resources that match the entire display name given. The match is case sensitive.
    DnsServers List<string>
    The list of DNS server IP addresses. Maximum of 3 allowed.
    DomainName string
    The domain name of the VM instance.
    FreeformTags Dictionary<string, string>
    Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: {"bar-key": "value"}
    Gateway string
    The gateway IP address of the VM instance network.
    Hostname string
    The host name of the instance.
    Id string
    The OCID of the VM instance.
    ImageId string
    The OCID of the VM custom instance uploaded.
    InfrastructureId string
    The OCID of the Database Infrastructure.
    IpAddress string
    The IP address of the instance.
    LifecycleDetails string
    Lifecycle state details of the VM instance.
    MemorySizeInGbs double
    The memory to be allocated in GBs.
    Metadata Dictionary<string, string>
    Custom metadata key/value pairs which can be used to:

    • Provide information to Cloud-Init to be used for various system initialization tasks.
    • Provide additional information which is exposed inside the instance context and can be queried or referenced by user-data scripts for dynamic configuration.
    Netmask string
    The netmask of the VM instance network.
    NtpServers List<string>
    The list of NTP server addresses. Maximum of 3 allowed.
    ServerId string
    The OCID of the compute node on which VM instance should be launched.
    SshPublicKeys List<string>
    List of public key used for SSH access to the VM instance.
    State string
    A filter to return resources that match the specified lifecycle state.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time that the VM instance was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time that the VM instance was last updated. An RFC3339 formatted datetime string.
    TimeZone string
    The time zone to use for the VM instance.
    Userdata string
    Base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the Cloud-Init Documentation.
    VlanId string
    The network VLAN ID.
    VmNetworkId string
    The OCID of the VM Network.
    BootStorageSizeInGbs float64
    Boot storage memory to be allocated in GBs.
    CompartmentId string
    The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    CpusEnabled int
    The number of CPU cores enabled for each VM instance.
    DataStorageSizeInGb float64
    Data storage to be allocated in GBs.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    VM instance description.
    DisplayName string
    A filter to return resources that match the entire display name given. The match is case sensitive.
    DnsServers []string
    The list of DNS server IP addresses. Maximum of 3 allowed.
    DomainName string
    The domain name of the VM instance.
    FreeformTags map[string]string
    Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: {"bar-key": "value"}
    Gateway string
    The gateway IP address of the VM instance network.
    Hostname string
    The host name of the instance.
    Id string
    The OCID of the VM instance.
    ImageId string
    The OCID of the VM custom instance uploaded.
    InfrastructureId string
    The OCID of the Database Infrastructure.
    IpAddress string
    The IP address of the instance.
    LifecycleDetails string
    Lifecycle state details of the VM instance.
    MemorySizeInGbs float64
    The memory to be allocated in GBs.
    Metadata map[string]string
    Custom metadata key/value pairs which can be used to:

    • Provide information to Cloud-Init to be used for various system initialization tasks.
    • Provide additional information which is exposed inside the instance context and can be queried or referenced by user-data scripts for dynamic configuration.
    Netmask string
    The netmask of the VM instance network.
    NtpServers []string
    The list of NTP server addresses. Maximum of 3 allowed.
    ServerId string
    The OCID of the compute node on which VM instance should be launched.
    SshPublicKeys []string
    List of public key used for SSH access to the VM instance.
    State string
    A filter to return resources that match the specified lifecycle state.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time that the VM instance was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time that the VM instance was last updated. An RFC3339 formatted datetime string.
    TimeZone string
    The time zone to use for the VM instance.
    Userdata string
    Base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the Cloud-Init Documentation.
    VlanId string
    The network VLAN ID.
    VmNetworkId string
    The OCID of the VM Network.
    boot_storage_size_in_gbs number
    Boot storage memory to be allocated in GBs.
    compartment_id string
    The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    cpus_enabled number
    The number of CPU cores enabled for each VM instance.
    data_storage_size_in_gb number
    Data storage to be allocated in GBs.
    defined_tags map(string)
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    VM instance description.
    display_name string
    A filter to return resources that match the entire display name given. The match is case sensitive.
    dns_servers list(string)
    The list of DNS server IP addresses. Maximum of 3 allowed.
    domain_name string
    The domain name of the VM instance.
    freeform_tags map(string)
    Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: {"bar-key": "value"}
    gateway string
    The gateway IP address of the VM instance network.
    hostname string
    The host name of the instance.
    id string
    The OCID of the VM instance.
    image_id string
    The OCID of the VM custom instance uploaded.
    infrastructure_id string
    The OCID of the Database Infrastructure.
    ip_address string
    The IP address of the instance.
    lifecycle_details string
    Lifecycle state details of the VM instance.
    memory_size_in_gbs number
    The memory to be allocated in GBs.
    metadata map(string)
    Custom metadata key/value pairs which can be used to:

    • Provide information to Cloud-Init to be used for various system initialization tasks.
    • Provide additional information which is exposed inside the instance context and can be queried or referenced by user-data scripts for dynamic configuration.
    netmask string
    The netmask of the VM instance network.
    ntp_servers list(string)
    The list of NTP server addresses. Maximum of 3 allowed.
    server_id string
    The OCID of the compute node on which VM instance should be launched.
    ssh_public_keys list(string)
    List of public key used for SSH access to the VM instance.
    state string
    A filter to return resources that match the specified lifecycle state.
    system_tags map(string)
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The time that the VM instance was created. An RFC3339 formatted datetime string.
    time_updated string
    The time that the VM instance was last updated. An RFC3339 formatted datetime string.
    time_zone string
    The time zone to use for the VM instance.
    userdata string
    Base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the Cloud-Init Documentation.
    vlan_id string
    The network VLAN ID.
    vm_network_id string
    The OCID of the VM Network.
    bootStorageSizeInGbs Double
    Boot storage memory to be allocated in GBs.
    compartmentId String
    The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    cpusEnabled Integer
    The number of CPU cores enabled for each VM instance.
    dataStorageSizeInGb Double
    Data storage to be allocated in GBs.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    VM instance description.
    displayName String
    A filter to return resources that match the entire display name given. The match is case sensitive.
    dnsServers List<String>
    The list of DNS server IP addresses. Maximum of 3 allowed.
    domainName String
    The domain name of the VM instance.
    freeformTags Map<String,String>
    Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: {"bar-key": "value"}
    gateway String
    The gateway IP address of the VM instance network.
    hostname String
    The host name of the instance.
    id String
    The OCID of the VM instance.
    imageId String
    The OCID of the VM custom instance uploaded.
    infrastructureId String
    The OCID of the Database Infrastructure.
    ipAddress String
    The IP address of the instance.
    lifecycleDetails String
    Lifecycle state details of the VM instance.
    memorySizeInGbs Double
    The memory to be allocated in GBs.
    metadata Map<String,String>
    Custom metadata key/value pairs which can be used to:

    • Provide information to Cloud-Init to be used for various system initialization tasks.
    • Provide additional information which is exposed inside the instance context and can be queried or referenced by user-data scripts for dynamic configuration.
    netmask String
    The netmask of the VM instance network.
    ntpServers List<String>
    The list of NTP server addresses. Maximum of 3 allowed.
    serverId String
    The OCID of the compute node on which VM instance should be launched.
    sshPublicKeys List<String>
    List of public key used for SSH access to the VM instance.
    state String
    A filter to return resources that match the specified lifecycle state.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time that the VM instance was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time that the VM instance was last updated. An RFC3339 formatted datetime string.
    timeZone String
    The time zone to use for the VM instance.
    userdata String
    Base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the Cloud-Init Documentation.
    vlanId String
    The network VLAN ID.
    vmNetworkId String
    The OCID of the VM Network.
    bootStorageSizeInGbs number
    Boot storage memory to be allocated in GBs.
    compartmentId string
    The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    cpusEnabled number
    The number of CPU cores enabled for each VM instance.
    dataStorageSizeInGb number
    Data storage to be allocated in GBs.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    VM instance description.
    displayName string
    A filter to return resources that match the entire display name given. The match is case sensitive.
    dnsServers string[]
    The list of DNS server IP addresses. Maximum of 3 allowed.
    domainName string
    The domain name of the VM instance.
    freeformTags {[key: string]: string}
    Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: {"bar-key": "value"}
    gateway string
    The gateway IP address of the VM instance network.
    hostname string
    The host name of the instance.
    id string
    The OCID of the VM instance.
    imageId string
    The OCID of the VM custom instance uploaded.
    infrastructureId string
    The OCID of the Database Infrastructure.
    ipAddress string
    The IP address of the instance.
    lifecycleDetails string
    Lifecycle state details of the VM instance.
    memorySizeInGbs number
    The memory to be allocated in GBs.
    metadata {[key: string]: string}
    Custom metadata key/value pairs which can be used to:

    • Provide information to Cloud-Init to be used for various system initialization tasks.
    • Provide additional information which is exposed inside the instance context and can be queried or referenced by user-data scripts for dynamic configuration.
    netmask string
    The netmask of the VM instance network.
    ntpServers string[]
    The list of NTP server addresses. Maximum of 3 allowed.
    serverId string
    The OCID of the compute node on which VM instance should be launched.
    sshPublicKeys string[]
    List of public key used for SSH access to the VM instance.
    state string
    A filter to return resources that match the specified lifecycle state.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time that the VM instance was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time that the VM instance was last updated. An RFC3339 formatted datetime string.
    timeZone string
    The time zone to use for the VM instance.
    userdata string
    Base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the Cloud-Init Documentation.
    vlanId string
    The network VLAN ID.
    vmNetworkId string
    The OCID of the VM Network.
    boot_storage_size_in_gbs float
    Boot storage memory to be allocated in GBs.
    compartment_id str
    The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    cpus_enabled int
    The number of CPU cores enabled for each VM instance.
    data_storage_size_in_gb float
    Data storage to be allocated in GBs.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    VM instance description.
    display_name str
    A filter to return resources that match the entire display name given. The match is case sensitive.
    dns_servers Sequence[str]
    The list of DNS server IP addresses. Maximum of 3 allowed.
    domain_name str
    The domain name of the VM instance.
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: {"bar-key": "value"}
    gateway str
    The gateway IP address of the VM instance network.
    hostname str
    The host name of the instance.
    id str
    The OCID of the VM instance.
    image_id str
    The OCID of the VM custom instance uploaded.
    infrastructure_id str
    The OCID of the Database Infrastructure.
    ip_address str
    The IP address of the instance.
    lifecycle_details str
    Lifecycle state details of the VM instance.
    memory_size_in_gbs float
    The memory to be allocated in GBs.
    metadata Mapping[str, str]
    Custom metadata key/value pairs which can be used to:

    • Provide information to Cloud-Init to be used for various system initialization tasks.
    • Provide additional information which is exposed inside the instance context and can be queried or referenced by user-data scripts for dynamic configuration.
    netmask str
    The netmask of the VM instance network.
    ntp_servers Sequence[str]
    The list of NTP server addresses. Maximum of 3 allowed.
    server_id str
    The OCID of the compute node on which VM instance should be launched.
    ssh_public_keys Sequence[str]
    List of public key used for SSH access to the VM instance.
    state str
    A filter to return resources that match the specified lifecycle state.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The time that the VM instance was created. An RFC3339 formatted datetime string.
    time_updated str
    The time that the VM instance was last updated. An RFC3339 formatted datetime string.
    time_zone str
    The time zone to use for the VM instance.
    userdata str
    Base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the Cloud-Init Documentation.
    vlan_id str
    The network VLAN ID.
    vm_network_id str
    The OCID of the VM Network.
    bootStorageSizeInGbs Number
    Boot storage memory to be allocated in GBs.
    compartmentId String
    The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
    cpusEnabled Number
    The number of CPU cores enabled for each VM instance.
    dataStorageSizeInGb Number
    Data storage to be allocated in GBs.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    VM instance description.
    displayName String
    A filter to return resources that match the entire display name given. The match is case sensitive.
    dnsServers List<String>
    The list of DNS server IP addresses. Maximum of 3 allowed.
    domainName String
    The domain name of the VM instance.
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example: {"bar-key": "value"}
    gateway String
    The gateway IP address of the VM instance network.
    hostname String
    The host name of the instance.
    id String
    The OCID of the VM instance.
    imageId String
    The OCID of the VM custom instance uploaded.
    infrastructureId String
    The OCID of the Database Infrastructure.
    ipAddress String
    The IP address of the instance.
    lifecycleDetails String
    Lifecycle state details of the VM instance.
    memorySizeInGbs Number
    The memory to be allocated in GBs.
    metadata Map<String>
    Custom metadata key/value pairs which can be used to:

    • Provide information to Cloud-Init to be used for various system initialization tasks.
    • Provide additional information which is exposed inside the instance context and can be queried or referenced by user-data scripts for dynamic configuration.
    netmask String
    The netmask of the VM instance network.
    ntpServers List<String>
    The list of NTP server addresses. Maximum of 3 allowed.
    serverId String
    The OCID of the compute node on which VM instance should be launched.
    sshPublicKeys List<String>
    List of public key used for SSH access to the VM instance.
    state String
    A filter to return resources that match the specified lifecycle state.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time that the VM instance was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time that the VM instance was last updated. An RFC3339 formatted datetime string.
    timeZone String
    The time zone to use for the VM instance.
    userdata String
    Base64-encoded data to be used by Cloud-Init to run custom scripts or provide custom Cloud-Init configuration. For information about how to take advantage of user data, see the Cloud-Init Documentation.
    vlanId String
    The network VLAN ID.
    vmNetworkId String
    The OCID of the VM Network.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.20.0
    published on Wednesday, Jul 15, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial