Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
published on Wednesday, Jul 15, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
published on Wednesday, Jul 15, 2026 by Pulumi
This data source provides the list of Vm Instances in Oracle Cloud Infrastructure Datacc service.
Obtain a list of VM instances.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVmInstances = oci.oci.getDataccVmInstances({
compartmentId: compartmentId,
baseServerId: testBaseServer.id,
displayName: vmInstanceDisplayName,
infrastructureId: testInfrastructure.id,
states: vmInstanceState,
});
import pulumi
import pulumi_oci as oci
test_vm_instances = oci.oci.get_datacc_vm_instances(compartment_id=compartment_id,
base_server_id=test_base_server["id"],
display_name=vm_instance_display_name,
infrastructure_id=test_infrastructure["id"],
states=vm_instance_state)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/oci"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := oci.GetDataccVmInstances(ctx, &oci.GetDataccVmInstancesArgs{
CompartmentId: compartmentId,
BaseServerId: pulumi.StringRef(testBaseServer.Id),
DisplayName: pulumi.StringRef(vmInstanceDisplayName),
InfrastructureId: pulumi.StringRef(testInfrastructure.Id),
States: pulumi.ToArray(vmInstanceState),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testVmInstances = Oci.Oci.GetDataccVmInstances.Invoke(new()
{
CompartmentId = compartmentId,
BaseServerId = testBaseServer.Id,
DisplayName = vmInstanceDisplayName,
InfrastructureId = testInfrastructure.Id,
States = vmInstanceState,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.oci.OciFunctions;
import com.pulumi.oci.oci.inputs.GetDataccVmInstancesArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testVmInstances = OciFunctions.getDataccVmInstances(GetDataccVmInstancesArgs.builder()
.compartmentId(compartmentId)
.baseServerId(testBaseServer.id())
.displayName(vmInstanceDisplayName)
.infrastructureId(testInfrastructure.id())
.states(vmInstanceState)
.build());
}
}
variables:
testVmInstances:
fn::invoke:
function: oci:oci:getDataccVmInstances
arguments:
compartmentId: ${compartmentId}
baseServerId: ${testBaseServer.id}
displayName: ${vmInstanceDisplayName}
infrastructureId: ${testInfrastructure.id}
states: ${vmInstanceState}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_oci_getdataccvminstances" "testVmInstances" {
compartment_id = compartmentId
base_server_id = testBaseServer.id
display_name = vmInstanceDisplayName
infrastructure_id = testInfrastructure.id
states = vmInstanceState
}
Using getDataccVmInstances
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDataccVmInstances(args: GetDataccVmInstancesArgs, opts?: InvokeOptions): Promise<GetDataccVmInstancesResult>
function getDataccVmInstancesOutput(args: GetDataccVmInstancesOutputArgs, opts?: InvokeOptions): Output<GetDataccVmInstancesResult>def get_datacc_vm_instances(base_server_id: Optional[str] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetDataccVmInstancesFilter]] = None,
infrastructure_id: Optional[str] = None,
states: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetDataccVmInstancesResult
def get_datacc_vm_instances_output(base_server_id: pulumi.Input[Optional[str]] = None,
compartment_id: pulumi.Input[Optional[str]] = None,
display_name: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetDataccVmInstancesFilterArgs]]]] = None,
infrastructure_id: pulumi.Input[Optional[str]] = None,
states: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDataccVmInstancesResult]func GetDataccVmInstances(ctx *Context, args *GetDataccVmInstancesArgs, opts ...InvokeOption) (*GetDataccVmInstancesResult, error)
func GetDataccVmInstancesOutput(ctx *Context, args *GetDataccVmInstancesOutputArgs, opts ...InvokeOption) GetDataccVmInstancesResultOutput> Note: This function is named GetDataccVmInstances in the Go SDK.
public static class GetDataccVmInstances
{
public static Task<GetDataccVmInstancesResult> InvokeAsync(GetDataccVmInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetDataccVmInstancesResult> Invoke(GetDataccVmInstancesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDataccVmInstancesResult> getDataccVmInstances(GetDataccVmInstancesArgs args, InvokeOptions options)
public static Output<GetDataccVmInstancesResult> getDataccVmInstances(GetDataccVmInstancesArgs args, InvokeOptions options)
fn::invoke:
function: oci:oci/getDataccVmInstances:getDataccVmInstances
arguments:
# arguments dictionarydata "oci_oci_get_datacc_vm_instances" "name" {
# arguments
}The following arguments are supported:
- Compartment
Id string - The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
- Base
Server stringId - The OCID of the Database Infrastructure Server Id.
- Display
Name string - A filter to return resources that match the entire display name given. The match is case sensitive.
- Filters
List<Get
Datacc Vm Instances Filter> - Infrastructure
Id string - The OCID of the Database Infrastructure.
- States List<string>
- A filter to return resources that match the specified lifecycle state.
- Compartment
Id string - The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
- Base
Server stringId - The OCID of the Database Infrastructure Server Id.
- Display
Name string - A filter to return resources that match the entire display name given. The match is case sensitive.
- Filters
[]Get
Datacc Vm Instances Filter - Infrastructure
Id string - The OCID of the Database Infrastructure.
- States []string
- A filter to return resources that match the specified lifecycle state.
- compartment_
id string - The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
- base_
server_ stringid - The OCID of the Database Infrastructure Server Id.
- display_
name string - A filter to return resources that match the entire display name given. The match is case sensitive.
- filters list(object)
- infrastructure_
id string - The OCID of the Database Infrastructure.
- states list(string)
- A filter to return resources that match the specified lifecycle state.
- compartment
Id String - The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
- base
Server StringId - The OCID of the Database Infrastructure Server Id.
- display
Name String - A filter to return resources that match the entire display name given. The match is case sensitive.
- filters
List<Get
Datacc Vm Instances Filter> - infrastructure
Id String - The OCID of the Database Infrastructure.
- states List<String>
- A filter to return resources that match the specified lifecycle state.
- compartment
Id string - The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
- base
Server stringId - The OCID of the Database Infrastructure Server Id.
- display
Name string - A filter to return resources that match the entire display name given. The match is case sensitive.
- filters
Get
Datacc Vm Instances Filter[] - infrastructure
Id string - The OCID of the Database Infrastructure.
- states string[]
- A filter to return resources that match the specified lifecycle state.
- compartment_
id str - The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
- base_
server_ strid - The OCID of the Database Infrastructure Server Id.
- display_
name str - A filter to return resources that match the entire display name given. The match is case sensitive.
- filters
Sequence[Get
Datacc Vm Instances Filter] - infrastructure_
id str - The OCID of the Database Infrastructure.
- states Sequence[str]
- A filter to return resources that match the specified lifecycle state.
- compartment
Id String - The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
- base
Server StringId - The OCID of the Database Infrastructure Server Id.
- display
Name String - A filter to return resources that match the entire display name given. The match is case sensitive.
- filters List<Property Map>
- infrastructure
Id String - The OCID of the Database Infrastructure.
- states List<String>
- A filter to return resources that match the specified lifecycle state.
getDataccVmInstances Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment containing the VM instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Vm
Instance List<GetCollections Datacc Vm Instances Vm Instance Collection> - The list of vm_instance_collection.
- Base
Server stringId - Display
Name string - VM instance display name. This name does not have to be unique, and is changeable.
- Filters
List<Get
Datacc Vm Instances Filter> - Infrastructure
Id string - The OCID of the Database Infrastructure.
- States List<string>
- The current state of the VM instance.
- Compartment
Id string - The OCID of the compartment containing the VM instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Vm
Instance []GetCollections Datacc Vm Instances Vm Instance Collection - The list of vm_instance_collection.
- Base
Server stringId - Display
Name string - VM instance display name. This name does not have to be unique, and is changeable.
- Filters
[]Get
Datacc Vm Instances Filter - Infrastructure
Id string - The OCID of the Database Infrastructure.
- States []string
- The current state of the VM instance.
- compartment_
id string - The OCID of the compartment containing the VM instance.
- id string
- The provider-assigned unique ID for this managed resource.
- vm_
instance_ list(object)collections - The list of vm_instance_collection.
- base_
server_ stringid - display_
name string - VM instance display name. This name does not have to be unique, and is changeable.
- filters list(object)
- infrastructure_
id string - The OCID of the Database Infrastructure.
- states list(string)
- The current state of the VM instance.
- compartment
Id String - The OCID of the compartment containing the VM instance.
- id String
- The provider-assigned unique ID for this managed resource.
- vm
Instance List<GetCollections Datacc Vm Instances Vm Instance Collection> - The list of vm_instance_collection.
- base
Server StringId - display
Name String - VM instance display name. This name does not have to be unique, and is changeable.
- filters
List<Get
Datacc Vm Instances Filter> - infrastructure
Id String - The OCID of the Database Infrastructure.
- states List<String>
- The current state of the VM instance.
- compartment
Id string - The OCID of the compartment containing the VM instance.
- id string
- The provider-assigned unique ID for this managed resource.
- vm
Instance GetCollections Datacc Vm Instances Vm Instance Collection[] - The list of vm_instance_collection.
- base
Server stringId - display
Name string - VM instance display name. This name does not have to be unique, and is changeable.
- filters
Get
Datacc Vm Instances Filter[] - infrastructure
Id string - The OCID of the Database Infrastructure.
- states string[]
- The current state of the VM instance.
- compartment_
id str - The OCID of the compartment containing the VM instance.
- id str
- The provider-assigned unique ID for this managed resource.
- vm_
instance_ Sequence[Getcollections Datacc Vm Instances Vm Instance Collection] - The list of vm_instance_collection.
- base_
server_ strid - display_
name str - VM instance display name. This name does not have to be unique, and is changeable.
- filters
Sequence[Get
Datacc Vm Instances Filter] - infrastructure_
id str - The OCID of the Database Infrastructure.
- states Sequence[str]
- The current state of the VM instance.
- compartment
Id String - The OCID of the compartment containing the VM instance.
- id String
- The provider-assigned unique ID for this managed resource.
- vm
Instance List<Property Map>Collections - The list of vm_instance_collection.
- base
Server StringId - display
Name String - VM instance display name. This name does not have to be unique, and is changeable.
- filters List<Property Map>
- infrastructure
Id String - The OCID of the Database Infrastructure.
- states List<String>
- The current state of the VM instance.
Supporting Types
GetDataccVmInstancesFilter
GetDataccVmInstancesVmInstanceCollection
GetDataccVmInstancesVmInstanceCollectionItem
- Boot
Storage doubleSize In Gbs - Boot storage memory to be allocated in GBs.
- Compartment
Id string - The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
- Cpus
Enabled int - The number of CPU cores enabled for each VM instance.
- Data
Storage doubleSize In Gb - Data storage to be allocated in GBs.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Description string
- VM instance description.
- Display
Name string - A filter to return resources that match the entire display name given. The match is case sensitive.
- Dns
Servers List<string> - The list of DNS server IP addresses. Maximum of 3 allowed.
- Domain
Name string - The domain name of the VM instance.
- Dictionary<string, string>
- Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example:
{"bar-key": "value"} - Gateway string
- The gateway IP address of the VM instance network.
- Hostname string
- The host name of the instance.
- Id string
- The OCID of the VM instance.
- 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 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
- A filter to return resources that match the specified lifecycle state.
- 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.
- Boot
Storage float64Size In Gbs - Boot storage memory to be allocated in GBs.
- Compartment
Id string - The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
- Cpus
Enabled int - The number of CPU cores enabled for each VM instance.
- Data
Storage float64Size In Gb - Data storage to be allocated in GBs.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Description string
- VM instance description.
- Display
Name string - A filter to return resources that match the entire display name given. The match is case sensitive.
- 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
- Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example:
{"bar-key": "value"} - Gateway string
- The gateway IP address of the VM instance network.
- Hostname string
- The host name of the instance.
- Id string
- The OCID of the VM instance.
- Image
Id string - The OCID of the VM custom instance uploaded.
- Infrastructure
Id string - The OCID of the Database Infrastructure.
- Ip
Address string - The IP address of the instance.
- Lifecycle
Details string - Lifecycle state details of the VM instance.
- Memory
Size 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 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
- A filter to return resources that match the specified lifecycle state.
- 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.
- boot_
storage_ numbersize_ in_ gbs - Boot storage memory to be allocated in GBs.
- compartment_
id string - The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
- cpus_
enabled number - The number of CPU cores enabled for each VM instance.
- data_
storage_ numbersize_ in_ gb - Data storage to be allocated in GBs.
- map(string)
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description string
- VM instance description.
- display_
name string - A filter to return resources that match the entire display name given. The match is case sensitive.
- dns_
servers list(string) - The list of DNS server IP addresses. Maximum of 3 allowed.
- domain_
name string - The domain name of the VM instance.
- map(string)
- Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example:
{"bar-key": "value"} - gateway string
- The gateway IP address of the VM instance network.
- hostname string
- The host name of the instance.
- id string
- The OCID of the VM instance.
- image_
id string - The OCID of the VM custom instance uploaded.
- infrastructure_
id string - The OCID of the Database Infrastructure.
- ip_
address string - The IP address of the instance.
- lifecycle_
details string - Lifecycle state details of the VM instance.
- memory_
size_ 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 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
- A filter to return resources that match the specified lifecycle state.
- 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.
- boot
Storage DoubleSize In Gbs - Boot storage memory to be allocated in GBs.
- compartment
Id String - The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
- cpus
Enabled Integer - The number of CPU cores enabled for each VM instance.
- data
Storage DoubleSize In Gb - Data storage to be allocated in GBs.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description String
- VM instance description.
- display
Name String - A filter to return resources that match the entire display name given. The match is case sensitive.
- dns
Servers List<String> - The list of DNS server IP addresses. Maximum of 3 allowed.
- domain
Name String - The domain name of the VM instance.
- Map<String,String>
- Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example:
{"bar-key": "value"} - gateway String
- The gateway IP address of the VM instance network.
- hostname String
- The host name of the instance.
- id String
- The OCID of the VM instance.
- 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 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
- A filter to return resources that match the specified lifecycle state.
- 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.
- boot
Storage numberSize In Gbs - Boot storage memory to be allocated in GBs.
- compartment
Id string - The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
- cpus
Enabled number - The number of CPU cores enabled for each VM instance.
- data
Storage numberSize In Gb - Data storage to be allocated in GBs.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description string
- VM instance description.
- display
Name string - A filter to return resources that match the entire display name given. The match is case sensitive.
- 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}
- Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example:
{"bar-key": "value"} - gateway string
- The gateway IP address of the VM instance network.
- hostname string
- The host name of the instance.
- id string
- The OCID of the VM instance.
- image
Id string - The OCID of the VM custom instance uploaded.
- infrastructure
Id string - The OCID of the Database Infrastructure.
- ip
Address string - The IP address of the instance.
- lifecycle
Details string - Lifecycle state details of the VM instance.
- memory
Size 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 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
- A filter to return resources that match the specified lifecycle state.
- {[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.
- boot_
storage_ floatsize_ in_ gbs - Boot storage memory to be allocated in GBs.
- compartment_
id str - The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
- cpus_
enabled int - The number of CPU cores enabled for each VM instance.
- data_
storage_ floatsize_ in_ gb - Data storage to be allocated in GBs.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description str
- VM instance description.
- display_
name str - A filter to return resources that match the entire display name given. The match is case sensitive.
- dns_
servers Sequence[str] - The list of DNS server IP addresses. Maximum of 3 allowed.
- domain_
name str - The domain name of the VM instance.
- Mapping[str, str]
- Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example:
{"bar-key": "value"} - gateway str
- The gateway IP address of the VM instance network.
- hostname str
- The host name of the instance.
- id str
- The OCID of the VM instance.
- image_
id str - The OCID of the VM custom instance uploaded.
- infrastructure_
id str - The OCID of the Database Infrastructure.
- ip_
address str - The IP address of the instance.
- lifecycle_
details str - Lifecycle state details of the VM instance.
- memory_
size_ 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 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
- A filter to return resources that match the specified lifecycle state.
- 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.
- boot
Storage NumberSize In Gbs - Boot storage memory to be allocated in GBs.
- compartment
Id String - The OCID of the compartment. For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided, it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
- cpus
Enabled Number - The number of CPU cores enabled for each VM instance.
- data
Storage NumberSize In Gb - Data storage to be allocated in GBs.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description String
- VM instance description.
- display
Name String - A filter to return resources that match the entire display name given. The match is case sensitive.
- dns
Servers List<String> - The list of DNS server IP addresses. Maximum of 3 allowed.
- domain
Name String - The domain name of the VM instance.
- Map<String>
- Simple key-value pair that is applied without any predefined name, type or scope. This tag option exists for cross-compatibility only. Example:
{"bar-key": "value"} - gateway String
- The gateway IP address of the VM instance network.
- hostname String
- The host name of the instance.
- id String
- The OCID of the VM instance.
- image
Id String - The OCID of the VM custom instance uploaded.
- infrastructure
Id String - The OCID of the Database Infrastructure.
- ip
Address String - The IP address of the instance.
- lifecycle
Details String - Lifecycle state details of the VM instance.
- memory
Size 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 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
- A filter to return resources that match the specified lifecycle state.
- 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.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.20.0
published on Wednesday, Jul 15, 2026 by Pulumi
published on Wednesday, Jul 15, 2026 by Pulumi