1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. DataccVmInstance
Viewing docs for Oracle Cloud Infrastructure v4.21.0
published on Monday, Aug 24, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v4.21.0
published on Monday, Aug 24, 2026 by Pulumi

    This resource provides the Vm Instance resource in Oracle Cloud Infrastructure Datacc service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/

    Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datacc

    Create an VM instance on Database Infrastructure using the specified details.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testVmInstance = new oci.oci.DataccVmInstance("test_vm_instance", {
        compartmentId: compartmentId,
        cpusEnabled: Number(vmInstanceCpusEnabled),
        infrastructureId: testInfrastructure.id,
        sshPublicKeys: vmInstanceSshPublicKeys,
        bootStorageSizeInGbs: vmInstanceBootStorageSizeInGbs,
        dataStorageSizeInGb: vmInstanceDataStorageSizeInGb,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        description: vmInstanceDescription,
        displayName: vmInstanceDisplayName,
        dnsServers: vmInstanceDnsServers,
        domainName: testDomain.name,
        freeformTags: {
            "bar-key": "value",
        },
        gateway: vmInstanceGateway,
        hostname: vmInstanceHostname,
        imageId: testImage.id,
        ipAddress: vmInstanceIpAddress,
        memorySizeInGbs: vmInstanceMemorySizeInGbs,
        metadata: vmInstanceMetadata,
        netmask: vmInstanceNetmask,
        ntpServers: vmInstanceNtpServers,
        serverId: testServer.id,
        systemTags: vmInstanceSystemTags,
        timeZone: vmInstanceTimeZone,
        userdata: vmInstanceUserdata,
        vlanId: testVlan.id,
        vmNetworkId: testVmNetwork.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_vm_instance = oci.oci.DataccVmInstance("test_vm_instance",
        compartment_id=compartment_id,
        cpus_enabled=int(vm_instance_cpus_enabled),
        infrastructure_id=test_infrastructure["id"],
        ssh_public_keys=vm_instance_ssh_public_keys,
        boot_storage_size_in_gbs=vm_instance_boot_storage_size_in_gbs,
        data_storage_size_in_gb=vm_instance_data_storage_size_in_gb,
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        description=vm_instance_description,
        display_name=vm_instance_display_name,
        dns_servers=vm_instance_dns_servers,
        domain_name=test_domain["name"],
        freeform_tags={
            "bar-key": "value",
        },
        gateway=vm_instance_gateway,
        hostname=vm_instance_hostname,
        image_id=test_image["id"],
        ip_address=vm_instance_ip_address,
        memory_size_in_gbs=vm_instance_memory_size_in_gbs,
        metadata=vm_instance_metadata,
        netmask=vm_instance_netmask,
        ntp_servers=vm_instance_ntp_servers,
        server_id=test_server["id"],
        system_tags=vm_instance_system_tags,
        time_zone=vm_instance_time_zone,
        userdata=vm_instance_userdata,
        vlan_id=test_vlan["id"],
        vm_network_id=test_vm_network["id"])
    
    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.NewDataccVmInstance(ctx, "test_vm_instance", &oci.DataccVmInstanceArgs{
    			CompartmentId:        pulumi.Any(compartmentId),
    			CpusEnabled:          pulumi.Any(vmInstanceCpusEnabled),
    			InfrastructureId:     pulumi.Any(testInfrastructure.Id),
    			SshPublicKeys:        pulumi.Any(vmInstanceSshPublicKeys),
    			BootStorageSizeInGbs: pulumi.Any(vmInstanceBootStorageSizeInGbs),
    			DataStorageSizeInGb:  pulumi.Any(vmInstanceDataStorageSizeInGb),
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			Description: pulumi.Any(vmInstanceDescription),
    			DisplayName: pulumi.Any(vmInstanceDisplayName),
    			DnsServers:  pulumi.Any(vmInstanceDnsServers),
    			DomainName:  pulumi.Any(testDomain.Name),
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			Gateway:         pulumi.Any(vmInstanceGateway),
    			Hostname:        pulumi.Any(vmInstanceHostname),
    			ImageId:         pulumi.Any(testImage.Id),
    			IpAddress:       pulumi.Any(vmInstanceIpAddress),
    			MemorySizeInGbs: pulumi.Any(vmInstanceMemorySizeInGbs),
    			Metadata:        pulumi.Any(vmInstanceMetadata),
    			Netmask:         pulumi.Any(vmInstanceNetmask),
    			NtpServers:      pulumi.Any(vmInstanceNtpServers),
    			ServerId:        pulumi.Any(testServer.Id),
    			SystemTags:      pulumi.Any(vmInstanceSystemTags),
    			TimeZone:        pulumi.Any(vmInstanceTimeZone),
    			Userdata:        pulumi.Any(vmInstanceUserdata),
    			VlanId:          pulumi.Any(testVlan.Id),
    			VmNetworkId:     pulumi.Any(testVmNetwork.Id),
    		})
    		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 testVmInstance = new Oci.Oci.DataccVmInstance("test_vm_instance", new()
        {
            CompartmentId = compartmentId,
            CpusEnabled = vmInstanceCpusEnabled,
            InfrastructureId = testInfrastructure.Id,
            SshPublicKeys = vmInstanceSshPublicKeys,
            BootStorageSizeInGbs = vmInstanceBootStorageSizeInGbs,
            DataStorageSizeInGb = vmInstanceDataStorageSizeInGb,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = vmInstanceDescription,
            DisplayName = vmInstanceDisplayName,
            DnsServers = vmInstanceDnsServers,
            DomainName = testDomain.Name,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            Gateway = vmInstanceGateway,
            Hostname = vmInstanceHostname,
            ImageId = testImage.Id,
            IpAddress = vmInstanceIpAddress,
            MemorySizeInGbs = vmInstanceMemorySizeInGbs,
            Metadata = vmInstanceMetadata,
            Netmask = vmInstanceNetmask,
            NtpServers = vmInstanceNtpServers,
            ServerId = testServer.Id,
            SystemTags = vmInstanceSystemTags,
            TimeZone = vmInstanceTimeZone,
            Userdata = vmInstanceUserdata,
            VlanId = testVlan.Id,
            VmNetworkId = testVmNetwork.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.DataccVmInstance;
    import com.pulumi.oci.oci.DataccVmInstanceArgs;
    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) {
            var testVmInstance = new DataccVmInstance("testVmInstance", DataccVmInstanceArgs.builder()
                .compartmentId(compartmentId)
                .cpusEnabled(vmInstanceCpusEnabled)
                .infrastructureId(testInfrastructure.id())
                .sshPublicKeys(vmInstanceSshPublicKeys)
                .bootStorageSizeInGbs(vmInstanceBootStorageSizeInGbs)
                .dataStorageSizeInGb(vmInstanceDataStorageSizeInGb)
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .description(vmInstanceDescription)
                .displayName(vmInstanceDisplayName)
                .dnsServers(vmInstanceDnsServers)
                .domainName(testDomain.name())
                .freeformTags(Map.of("bar-key", "value"))
                .gateway(vmInstanceGateway)
                .hostname(vmInstanceHostname)
                .imageId(testImage.id())
                .ipAddress(vmInstanceIpAddress)
                .memorySizeInGbs(vmInstanceMemorySizeInGbs)
                .metadata(vmInstanceMetadata)
                .netmask(vmInstanceNetmask)
                .ntpServers(vmInstanceNtpServers)
                .serverId(testServer.id())
                .systemTags(vmInstanceSystemTags)
                .timeZone(vmInstanceTimeZone)
                .userdata(vmInstanceUserdata)
                .vlanId(testVlan.id())
                .vmNetworkId(testVmNetwork.id())
                .build());
    
        }
    }
    
    resources:
      testVmInstance:
        type: oci:oci:DataccVmInstance
        name: test_vm_instance
        properties:
          compartmentId: ${compartmentId}
          cpusEnabled: ${vmInstanceCpusEnabled}
          infrastructureId: ${testInfrastructure.id}
          sshPublicKeys: ${vmInstanceSshPublicKeys}
          bootStorageSizeInGbs: ${vmInstanceBootStorageSizeInGbs}
          dataStorageSizeInGb: ${vmInstanceDataStorageSizeInGb}
          definedTags:
            foo-namespace.bar-key: value
          description: ${vmInstanceDescription}
          displayName: ${vmInstanceDisplayName}
          dnsServers: ${vmInstanceDnsServers}
          domainName: ${testDomain.name}
          freeformTags:
            bar-key: value
          gateway: ${vmInstanceGateway}
          hostname: ${vmInstanceHostname}
          imageId: ${testImage.id}
          ipAddress: ${vmInstanceIpAddress}
          memorySizeInGbs: ${vmInstanceMemorySizeInGbs}
          metadata: ${vmInstanceMetadata}
          netmask: ${vmInstanceNetmask}
          ntpServers: ${vmInstanceNtpServers}
          serverId: ${testServer.id}
          systemTags: ${vmInstanceSystemTags}
          timeZone: ${vmInstanceTimeZone}
          userdata: ${vmInstanceUserdata}
          vlanId: ${testVlan.id}
          vmNetworkId: ${testVmNetwork.id}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    resource "oci_oci_dataccvminstance" "test_vm_instance" {
      compartment_id           = compartmentId
      cpus_enabled             = vmInstanceCpusEnabled
      infrastructure_id        = testInfrastructure.id
      ssh_public_keys          = vmInstanceSshPublicKeys
      boot_storage_size_in_gbs = vmInstanceBootStorageSizeInGbs
      data_storage_size_in_gb  = vmInstanceDataStorageSizeInGb
      defined_tags = {
        "foo-namespace.bar-key" = "value"
      }
      description  = vmInstanceDescription
      display_name = vmInstanceDisplayName
      dns_servers  = vmInstanceDnsServers
      domain_name  = testDomain.name
      freeform_tags = {
        "bar-key" = "value"
      }
      gateway            = vmInstanceGateway
      hostname           = vmInstanceHostname
      image_id           = testImage.id
      ip_address         = vmInstanceIpAddress
      memory_size_in_gbs = vmInstanceMemorySizeInGbs
      metadata           = vmInstanceMetadata
      netmask            = vmInstanceNetmask
      ntp_servers        = vmInstanceNtpServers
      server_id          = testServer.id
      system_tags        = vmInstanceSystemTags
      time_zone          = vmInstanceTimeZone
      userdata           = vmInstanceUserdata
      vlan_id            = testVlan.id
      vm_network_id      = testVmNetwork.id
    }
    

    Create DataccVmInstance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DataccVmInstance(name: string, args: DataccVmInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def DataccVmInstance(resource_name: str,
                         args: DataccVmInstanceArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def DataccVmInstance(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         infrastructure_id: Optional[str] = None,
                         compartment_id: Optional[str] = None,
                         cpus_enabled: Optional[int] = None,
                         ssh_public_keys: Optional[Sequence[str]] = None,
                         image_id: Optional[str] = None,
                         memory_size_in_gbs: Optional[float] = None,
                         display_name: Optional[str] = None,
                         dns_servers: Optional[Sequence[str]] = None,
                         domain_name: Optional[str] = None,
                         freeform_tags: Optional[Mapping[str, str]] = None,
                         gateway: Optional[str] = None,
                         hostname: Optional[str] = None,
                         boot_storage_size_in_gbs: Optional[float] = None,
                         defined_tags: Optional[Mapping[str, str]] = None,
                         ip_address: Optional[str] = None,
                         description: Optional[str] = None,
                         metadata: Optional[Mapping[str, str]] = None,
                         netmask: Optional[str] = None,
                         ntp_servers: Optional[Sequence[str]] = None,
                         server_id: Optional[str] = None,
                         data_storage_size_in_gb: Optional[float] = None,
                         system_tags: Optional[Mapping[str, str]] = None,
                         time_zone: Optional[str] = None,
                         userdata: Optional[str] = None,
                         vlan_id: Optional[str] = None,
                         vm_network_id: Optional[str] = None)
    func NewDataccVmInstance(ctx *Context, name string, args DataccVmInstanceArgs, opts ...ResourceOption) (*DataccVmInstance, error)
    public DataccVmInstance(string name, DataccVmInstanceArgs args, CustomResourceOptions? opts = null)
    public DataccVmInstance(String name, DataccVmInstanceArgs args)
    public DataccVmInstance(String name, DataccVmInstanceArgs args, CustomResourceOptions options)
    
    type: oci:oci:DataccVmInstance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_oci_datacc_vm_instance" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DataccVmInstanceArgs
    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 DataccVmInstanceArgs
    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 DataccVmInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DataccVmInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DataccVmInstanceArgs
    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 dataccVmInstanceResource = new Oci.Oci.DataccVmInstance("dataccVmInstanceResource", new()
    {
        InfrastructureId = "string",
        CompartmentId = "string",
        CpusEnabled = 0,
        SshPublicKeys = new[]
        {
            "string",
        },
        ImageId = "string",
        MemorySizeInGbs = 0.0,
        DisplayName = "string",
        DnsServers = new[]
        {
            "string",
        },
        DomainName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        Gateway = "string",
        Hostname = "string",
        BootStorageSizeInGbs = 0.0,
        DefinedTags = 
        {
            { "string", "string" },
        },
        IpAddress = "string",
        Description = "string",
        Metadata = 
        {
            { "string", "string" },
        },
        Netmask = "string",
        NtpServers = new[]
        {
            "string",
        },
        ServerId = "string",
        DataStorageSizeInGb = 0.0,
        SystemTags = 
        {
            { "string", "string" },
        },
        TimeZone = "string",
        Userdata = "string",
        VlanId = "string",
        VmNetworkId = "string",
    });
    
    example, err := oci.NewDataccVmInstance(ctx, "dataccVmInstanceResource", &oci.DataccVmInstanceArgs{
    	InfrastructureId: pulumi.String("string"),
    	CompartmentId:    pulumi.String("string"),
    	CpusEnabled:      pulumi.Int(0),
    	SshPublicKeys: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ImageId:         pulumi.String("string"),
    	MemorySizeInGbs: pulumi.Float64(0),
    	DisplayName:     pulumi.String("string"),
    	DnsServers: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	DomainName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Gateway:              pulumi.String("string"),
    	Hostname:             pulumi.String("string"),
    	BootStorageSizeInGbs: pulumi.Float64(0),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IpAddress:   pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Metadata: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Netmask: pulumi.String("string"),
    	NtpServers: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ServerId:            pulumi.String("string"),
    	DataStorageSizeInGb: pulumi.Float64(0),
    	SystemTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	TimeZone:    pulumi.String("string"),
    	Userdata:    pulumi.String("string"),
    	VlanId:      pulumi.String("string"),
    	VmNetworkId: pulumi.String("string"),
    })
    
    resource "oci_oci_datacc_vm_instance" "dataccVmInstanceResource" {
      lifecycle {
        create_before_destroy = true
      }
      infrastructure_id  = "string"
      compartment_id     = "string"
      cpus_enabled       = 0
      ssh_public_keys    = ["string"]
      image_id           = "string"
      memory_size_in_gbs = 0
      display_name       = "string"
      dns_servers        = ["string"]
      domain_name        = "string"
      freeform_tags = {
        "string" = "string"
      }
      gateway                  = "string"
      hostname                 = "string"
      boot_storage_size_in_gbs = 0
      defined_tags = {
        "string" = "string"
      }
      ip_address  = "string"
      description = "string"
      metadata = {
        "string" = "string"
      }
      netmask                 = "string"
      ntp_servers             = ["string"]
      server_id               = "string"
      data_storage_size_in_gb = 0
      system_tags = {
        "string" = "string"
      }
      time_zone     = "string"
      userdata      = "string"
      vlan_id       = "string"
      vm_network_id = "string"
    }
    
    var dataccVmInstanceResource = new DataccVmInstance("dataccVmInstanceResource", DataccVmInstanceArgs.builder()
        .infrastructureId("string")
        .compartmentId("string")
        .cpusEnabled(0)
        .sshPublicKeys("string")
        .imageId("string")
        .memorySizeInGbs(0.0)
        .displayName("string")
        .dnsServers("string")
        .domainName("string")
        .freeformTags(Map.of("string", "string"))
        .gateway("string")
        .hostname("string")
        .bootStorageSizeInGbs(0.0)
        .definedTags(Map.of("string", "string"))
        .ipAddress("string")
        .description("string")
        .metadata(Map.of("string", "string"))
        .netmask("string")
        .ntpServers("string")
        .serverId("string")
        .dataStorageSizeInGb(0.0)
        .systemTags(Map.of("string", "string"))
        .timeZone("string")
        .userdata("string")
        .vlanId("string")
        .vmNetworkId("string")
        .build());
    
    datacc_vm_instance_resource = oci.oci.DataccVmInstance("dataccVmInstanceResource",
        infrastructure_id="string",
        compartment_id="string",
        cpus_enabled=0,
        ssh_public_keys=["string"],
        image_id="string",
        memory_size_in_gbs=float(0),
        display_name="string",
        dns_servers=["string"],
        domain_name="string",
        freeform_tags={
            "string": "string",
        },
        gateway="string",
        hostname="string",
        boot_storage_size_in_gbs=float(0),
        defined_tags={
            "string": "string",
        },
        ip_address="string",
        description="string",
        metadata={
            "string": "string",
        },
        netmask="string",
        ntp_servers=["string"],
        server_id="string",
        data_storage_size_in_gb=float(0),
        system_tags={
            "string": "string",
        },
        time_zone="string",
        userdata="string",
        vlan_id="string",
        vm_network_id="string")
    
    const dataccVmInstanceResource = new oci.oci.DataccVmInstance("dataccVmInstanceResource", {
        infrastructureId: "string",
        compartmentId: "string",
        cpusEnabled: 0,
        sshPublicKeys: ["string"],
        imageId: "string",
        memorySizeInGbs: 0,
        displayName: "string",
        dnsServers: ["string"],
        domainName: "string",
        freeformTags: {
            string: "string",
        },
        gateway: "string",
        hostname: "string",
        bootStorageSizeInGbs: 0,
        definedTags: {
            string: "string",
        },
        ipAddress: "string",
        description: "string",
        metadata: {
            string: "string",
        },
        netmask: "string",
        ntpServers: ["string"],
        serverId: "string",
        dataStorageSizeInGb: 0,
        systemTags: {
            string: "string",
        },
        timeZone: "string",
        userdata: "string",
        vlanId: "string",
        vmNetworkId: "string",
    });
    
    type: oci:oci:DataccVmInstance
    properties:
        bootStorageSizeInGbs: 0
        compartmentId: string
        cpusEnabled: 0
        dataStorageSizeInGb: 0
        definedTags:
            string: string
        description: string
        displayName: string
        dnsServers:
            - string
        domainName: string
        freeformTags:
            string: string
        gateway: string
        hostname: string
        imageId: string
        infrastructureId: string
        ipAddress: string
        memorySizeInGbs: 0
        metadata:
            string: string
        netmask: string
        ntpServers:
            - string
        serverId: string
        sshPublicKeys:
            - string
        systemTags:
            string: string
        timeZone: string
        userdata: string
        vlanId: string
        vmNetworkId: string
    

    DataccVmInstance 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 DataccVmInstance resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment containing the VM instance.
    CpusEnabled int
    The number of CPU cores enabled for each VM instance.
    InfrastructureId string
    The OCID of the Database Infrastructure.
    SshPublicKeys List<string>
    List of public key used for SSH access to the VM instance.
    BootStorageSizeInGbs double
    Boot storage memory to be allocated in GBs.
    DataStorageSizeInGb double
    (Updatable) Data storage to be allocated in GBs.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) VM instance description.
    DisplayName string
    (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
    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>
    (Updatable) 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.
    ImageId string
    The OCID of the VM custom instance uploaded.
    IpAddress string
    The IP address of the 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 IP addresses. Maximum of 3 allowed.
    ServerId string
    The OCID of the compute node on which VM instance should be launched.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    (Updatable) The OCID of the compartment containing the VM instance.
    CpusEnabled int
    The number of CPU cores enabled for each VM instance.
    InfrastructureId string
    The OCID of the Database Infrastructure.
    SshPublicKeys []string
    List of public key used for SSH access to the VM instance.
    BootStorageSizeInGbs float64
    Boot storage memory to be allocated in GBs.
    DataStorageSizeInGb float64
    (Updatable) Data storage to be allocated in GBs.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) VM instance description.
    DisplayName string
    (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
    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
    (Updatable) 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.
    ImageId string
    The OCID of the VM custom instance uploaded.
    IpAddress string
    The IP address of the 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 IP addresses. Maximum of 3 allowed.
    ServerId string
    The OCID of the compute node on which VM instance should be launched.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id string
    (Updatable) The OCID of the compartment containing the VM instance.
    cpus_enabled number
    The number of CPU cores enabled for each VM instance.
    infrastructure_id string
    The OCID of the Database Infrastructure.
    ssh_public_keys list(string)
    List of public key used for SSH access to the VM instance.
    boot_storage_size_in_gbs number
    Boot storage memory to be allocated in GBs.
    data_storage_size_in_gb number
    (Updatable) Data storage to be allocated in GBs.
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) VM instance description.
    display_name string
    (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
    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)
    (Updatable) 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.
    image_id string
    The OCID of the VM custom instance uploaded.
    ip_address string
    The IP address of the 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 IP addresses. Maximum of 3 allowed.
    server_id string
    The OCID of the compute node on which VM instance should be launched.
    system_tags map(string)
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment containing the VM instance.
    cpusEnabled Integer
    The number of CPU cores enabled for each VM instance.
    infrastructureId String
    The OCID of the Database Infrastructure.
    sshPublicKeys List<String>
    List of public key used for SSH access to the VM instance.
    bootStorageSizeInGbs Double
    Boot storage memory to be allocated in GBs.
    dataStorageSizeInGb Double
    (Updatable) Data storage to be allocated in GBs.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) VM instance description.
    displayName String
    (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
    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>
    (Updatable) 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.
    imageId String
    The OCID of the VM custom instance uploaded.
    ipAddress String
    The IP address of the 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 IP addresses. Maximum of 3 allowed.
    serverId String
    The OCID of the compute node on which VM instance should be launched.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    (Updatable) The OCID of the compartment containing the VM instance.
    cpusEnabled number
    The number of CPU cores enabled for each VM instance.
    infrastructureId string
    The OCID of the Database Infrastructure.
    sshPublicKeys string[]
    List of public key used for SSH access to the VM instance.
    bootStorageSizeInGbs number
    Boot storage memory to be allocated in GBs.
    dataStorageSizeInGb number
    (Updatable) Data storage to be allocated in GBs.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) VM instance description.
    displayName string
    (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
    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}
    (Updatable) 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.
    imageId string
    The OCID of the VM custom instance uploaded.
    ipAddress string
    The IP address of the 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 IP addresses. Maximum of 3 allowed.
    serverId string
    The OCID of the compute node on which VM instance should be launched.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    (Updatable) The OCID of the compartment containing the VM instance.
    cpus_enabled int
    The number of CPU cores enabled for each VM instance.
    infrastructure_id str
    The OCID of the Database Infrastructure.
    ssh_public_keys Sequence[str]
    List of public key used for SSH access to the VM instance.
    boot_storage_size_in_gbs float
    Boot storage memory to be allocated in GBs.
    data_storage_size_in_gb float
    (Updatable) Data storage to be allocated in GBs.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) VM instance description.
    display_name str
    (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
    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]
    (Updatable) 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.
    image_id str
    The OCID of the VM custom instance uploaded.
    ip_address str
    The IP address of the 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 IP addresses. Maximum of 3 allowed.
    server_id str
    The OCID of the compute node on which VM instance should be launched.
    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_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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment containing the VM instance.
    cpusEnabled Number
    The number of CPU cores enabled for each VM instance.
    infrastructureId String
    The OCID of the Database Infrastructure.
    sshPublicKeys List<String>
    List of public key used for SSH access to the VM instance.
    bootStorageSizeInGbs Number
    Boot storage memory to be allocated in GBs.
    dataStorageSizeInGb Number
    (Updatable) Data storage to be allocated in GBs.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) VM instance description.
    displayName String
    (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
    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>
    (Updatable) 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.
    imageId String
    The OCID of the VM custom instance uploaded.
    ipAddress String
    The IP address of the 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 IP addresses. Maximum of 3 allowed.
    serverId String
    The OCID of the compute node on which VM instance should be launched.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DataccVmInstance resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Lifecycle state details of the VM instance.
    State string
    The current state of the VM instance.
    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails string
    Lifecycle state details of the VM instance.
    State string
    The current state of the VM instance.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycle_details string
    Lifecycle state details of the VM instance.
    state string
    The current state of the VM instance.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Lifecycle state details of the VM instance.
    state String
    The current state of the VM instance.
    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.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails string
    Lifecycle state details of the VM instance.
    state string
    The current state of the VM instance.
    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.
    id str
    The provider-assigned unique ID for this managed resource.
    lifecycle_details str
    Lifecycle state details of the VM instance.
    state str
    The current state of the VM instance.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails String
    Lifecycle state details of the VM instance.
    state String
    The current state of the VM instance.
    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.

    Look up Existing DataccVmInstance Resource

    Get an existing DataccVmInstance 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?: DataccVmInstanceState, opts?: CustomResourceOptions): DataccVmInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            boot_storage_size_in_gbs: Optional[float] = None,
            compartment_id: Optional[str] = None,
            cpus_enabled: Optional[int] = None,
            data_storage_size_in_gb: Optional[float] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            dns_servers: Optional[Sequence[str]] = None,
            domain_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            gateway: Optional[str] = None,
            hostname: Optional[str] = None,
            image_id: Optional[str] = None,
            infrastructure_id: Optional[str] = None,
            ip_address: Optional[str] = None,
            lifecycle_details: Optional[str] = None,
            memory_size_in_gbs: Optional[float] = None,
            metadata: Optional[Mapping[str, str]] = None,
            netmask: Optional[str] = None,
            ntp_servers: Optional[Sequence[str]] = None,
            server_id: Optional[str] = None,
            ssh_public_keys: Optional[Sequence[str]] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            time_zone: Optional[str] = None,
            userdata: Optional[str] = None,
            vlan_id: Optional[str] = None,
            vm_network_id: Optional[str] = None) -> DataccVmInstance
    func GetDataccVmInstance(ctx *Context, name string, id IDInput, state *DataccVmInstanceState, opts ...ResourceOption) (*DataccVmInstance, error)
    public static DataccVmInstance Get(string name, Input<string> id, DataccVmInstanceState? state, CustomResourceOptions? opts = null)
    public static DataccVmInstance get(String name, Output<String> id, DataccVmInstanceState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:DataccVmInstance    get:      id: ${id}
    import {
      to = oci_oci_datacc_vm_instance.example
      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:
    BootStorageSizeInGbs double
    Boot storage memory to be allocated in GBs.
    CompartmentId string
    (Updatable) The OCID of the compartment containing the VM instance.
    CpusEnabled int
    The number of CPU cores enabled for each VM instance.
    DataStorageSizeInGb double
    (Updatable) Data storage to be allocated in GBs.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) VM instance description.
    DisplayName string
    (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
    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>
    (Updatable) 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.
    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 IP 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
    The current state of the VM instance.
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    BootStorageSizeInGbs float64
    Boot storage memory to be allocated in GBs.
    CompartmentId string
    (Updatable) The OCID of the compartment containing the VM instance.
    CpusEnabled int
    The number of CPU cores enabled for each VM instance.
    DataStorageSizeInGb float64
    (Updatable) Data storage to be allocated in GBs.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    (Updatable) VM instance description.
    DisplayName string
    (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
    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
    (Updatable) 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.
    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 IP 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
    The current state of the VM instance.
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    boot_storage_size_in_gbs number
    Boot storage memory to be allocated in GBs.
    compartment_id string
    (Updatable) The OCID of the compartment containing the VM instance.
    cpus_enabled number
    The number of CPU cores enabled for each VM instance.
    data_storage_size_in_gb number
    (Updatable) Data storage to be allocated in GBs.
    defined_tags map(string)
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) VM instance description.
    display_name string
    (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
    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)
    (Updatable) 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.
    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 IP 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
    The current state of the VM instance.
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bootStorageSizeInGbs Double
    Boot storage memory to be allocated in GBs.
    compartmentId String
    (Updatable) The OCID of the compartment containing the VM instance.
    cpusEnabled Integer
    The number of CPU cores enabled for each VM instance.
    dataStorageSizeInGb Double
    (Updatable) Data storage to be allocated in GBs.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) VM instance description.
    displayName String
    (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
    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>
    (Updatable) 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.
    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 IP 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
    The current state of the VM instance.
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bootStorageSizeInGbs number
    Boot storage memory to be allocated in GBs.
    compartmentId string
    (Updatable) The OCID of the compartment containing the VM instance.
    cpusEnabled number
    The number of CPU cores enabled for each VM instance.
    dataStorageSizeInGb number
    (Updatable) Data storage to be allocated in GBs.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    (Updatable) VM instance description.
    displayName string
    (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
    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}
    (Updatable) 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.
    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 IP 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
    The current state of the VM instance.
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    boot_storage_size_in_gbs float
    Boot storage memory to be allocated in GBs.
    compartment_id str
    (Updatable) The OCID of the compartment containing the VM instance.
    cpus_enabled int
    The number of CPU cores enabled for each VM instance.
    data_storage_size_in_gb float
    (Updatable) Data storage to be allocated in GBs.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    (Updatable) VM instance description.
    display_name str
    (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
    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]
    (Updatable) 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.
    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 IP 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
    The current state of the VM instance.
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    bootStorageSizeInGbs Number
    Boot storage memory to be allocated in GBs.
    compartmentId String
    (Updatable) The OCID of the compartment containing the VM instance.
    cpusEnabled Number
    The number of CPU cores enabled for each VM instance.
    dataStorageSizeInGb Number
    (Updatable) Data storage to be allocated in GBs.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    (Updatable) VM instance description.
    displayName String
    (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
    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>
    (Updatable) 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.
    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 IP 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
    The current state of the VM instance.
    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.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Import

    VmInstances can be imported using the id, e.g.

    $ pulumi import oci:oci/dataccVmInstance:DataccVmInstance test_vm_instance "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.21.0
    published on Monday, Aug 24, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial