published on Monday, Aug 24, 2026 by Pulumi
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:
- Compartment
Id string - (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 string - The OCID of the Database Infrastructure.
- Ssh
Public List<string>Keys - List of public key used for SSH access to the VM instance.
- Boot
Storage doubleSize In Gbs - Boot storage memory to be allocated in GBs.
- Data
Storage doubleSize In Gb - (Updatable) Data storage to be allocated in GBs.
- 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.
- 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.
- 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.
- Image
Id string - The OCID of the VM custom instance uploaded.
- Ip
Address string - The IP address of the instance.
- Memory
Size doubleIn Gbs - 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.
- 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.
- Dictionary<string, 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 stringId 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 int - The number of CPU cores enabled for each VM instance.
- Infrastructure
Id string - The OCID of the Database Infrastructure.
- Ssh
Public []stringKeys - List of public key used for SSH access to the VM instance.
- Boot
Storage float64Size In Gbs - Boot storage memory to be allocated in GBs.
- Data
Storage float64Size In Gb - (Updatable) Data storage to be allocated in GBs.
- 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.
- Display
Name string - (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
- Dns
Servers []string - The list of DNS server IP addresses. Maximum of 3 allowed.
- Domain
Name string - The domain name of the VM instance.
- 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.
- Image
Id string - The OCID of the VM custom instance uploaded.
- Ip
Address string - The IP address of the instance.
- Memory
Size float64In Gbs - 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.
- Ntp
Servers []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.
- map[string]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 stringId 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_ list(string)keys - List of public key used for SSH access to the VM instance.
- boot_
storage_ numbersize_ in_ gbs - Boot storage memory to be allocated in GBs.
- data_
storage_ numbersize_ in_ gb - (Updatable) Data storage to be allocated in GBs.
- 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.
- 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_ numberin_ gbs - 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.
- 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_ stringid 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 Integer - The number of CPU cores enabled for each VM instance.
- infrastructure
Id String - The OCID of the Database Infrastructure.
- ssh
Public List<String>Keys - List of public key used for SSH access to the VM instance.
- boot
Storage DoubleSize In Gbs - Boot storage memory to be allocated in GBs.
- data
Storage DoubleSize In Gb - (Updatable) Data storage to be allocated in GBs.
- 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.
- 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.
- 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.
- image
Id String - The OCID of the VM custom instance uploaded.
- ip
Address String - The IP address of the instance.
- memory
Size DoubleIn Gbs - 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.
- 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.
- Map<String,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 StringId 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 string[]Keys - List of public key used for SSH access to the VM instance.
- boot
Storage numberSize In Gbs - Boot storage memory to be allocated in GBs.
- data
Storage numberSize In Gb - (Updatable) Data storage to be allocated in GBs.
- {[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.
- display
Name string - (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
- dns
Servers string[] - The list of DNS server IP addresses. Maximum of 3 allowed.
- domain
Name string - The domain name of the VM instance.
- {[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.
- image
Id string - The OCID of the VM custom instance uploaded.
- ip
Address string - The IP address of the instance.
- memory
Size numberIn Gbs - 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.
- ntp
Servers 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.
- {[key: string]: 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 stringId 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_ Sequence[str]keys - List of public key used for SSH access to the VM instance.
- boot_
storage_ floatsize_ in_ gbs - Boot storage memory to be allocated in GBs.
- data_
storage_ floatsize_ in_ gb - (Updatable) Data storage to be allocated in GBs.
- 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.
- 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_ floatin_ gbs - 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.
- 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_ strid 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 List<String>Keys - List of public key used for SSH access to the VM instance.
- boot
Storage NumberSize In Gbs - Boot storage memory to be allocated in GBs.
- data
Storage NumberSize In Gb - (Updatable) Data storage to be allocated in GBs.
- 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.
- 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 NumberIn Gbs - 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.
- 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 StringId 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.
- 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.
- 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.
- 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.
- 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.
- 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 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.
- 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.
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) -> DataccVmInstancefunc 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.
- Boot
Storage doubleSize In Gbs - Boot storage memory to be allocated in GBs.
- Compartment
Id string - (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 doubleSize In Gb - (Updatable) Data storage to be allocated in GBs.
- 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.
- 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.
- 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.
- 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 doubleIn Gbs - 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.
- 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 List<string>Keys - List of public key used for SSH access to the VM instance.
- State string
- The current state of the VM instance.
- Dictionary<string, 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 stringId 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 float64Size In Gbs - Boot storage memory to be allocated in GBs.
- Compartment
Id string - (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 float64Size In Gb - (Updatable) Data storage to be allocated in GBs.
- 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.
- Display
Name string - (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
- Dns
Servers []string - The list of DNS server IP addresses. Maximum of 3 allowed.
- Domain
Name string - The domain name of the VM instance.
- 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.
- 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 float64In Gbs - 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.
- Ntp
Servers []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 []stringKeys - List of public key used for SSH access to the VM instance.
- State string
- The current state of the VM instance.
- map[string]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 stringId 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_ numbersize_ in_ gbs - 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_ numbersize_ in_ gb - (Updatable) Data storage to be allocated in GBs.
- 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.
- 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_ numberin_ gbs - 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_ list(string)keys - List of public key used for SSH access to the VM instance.
- state string
- The current state of the VM instance.
- 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_ stringid 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 DoubleSize In Gbs - Boot storage memory to be allocated in GBs.
- compartment
Id String - (Updatable) The OCID of the compartment containing the VM instance.
- cpus
Enabled Integer - The number of CPU cores enabled for each VM instance.
- data
Storage DoubleSize In Gb - (Updatable) Data storage to be allocated in GBs.
- 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.
- 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.
- 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.
- 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 DoubleIn Gbs - 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.
- 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 List<String>Keys - List of public key used for SSH access to the VM instance.
- state String
- The current state of the VM instance.
- Map<String,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 StringId 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 numberSize In Gbs - 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 numberSize In Gb - (Updatable) Data storage to be allocated in GBs.
- {[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.
- display
Name string - (Updatable) VM instance display name. This name does not have to be unique, and is changeable.
- dns
Servers string[] - The list of DNS server IP addresses. Maximum of 3 allowed.
- domain
Name string - The domain name of the VM instance.
- {[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.
- 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 numberIn Gbs - 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.
- ntp
Servers 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 string[]Keys - List of public key used for SSH access to the VM instance.
- state string
- The current state of the VM instance.
- {[key: string]: 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 stringId 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_ floatsize_ in_ gbs - 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_ floatsize_ in_ gb - (Updatable) Data storage to be allocated in GBs.
- 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.
- 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_ floatin_ gbs - 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_ Sequence[str]keys - List of public key used for SSH access to the VM instance.
- state str
- The current state of the VM instance.
- 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_ strid 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 NumberSize In Gbs - 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 NumberSize In Gb - (Updatable) Data storage to be allocated in GBs.
- 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.
- 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 NumberIn Gbs - 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 List<String>Keys - List of public key used for SSH access to the VM instance.
- state String
- The current state of the VM instance.
- 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 StringId 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
ociTerraform Provider.
published on Monday, Aug 24, 2026 by Pulumi