Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
published on Wednesday, Aug 26, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
published on Wednesday, Aug 26, 2026 by Pulumi
This data source provides the list of Instances in Oracle Cloud Infrastructure Ddfs service.
Gets a list of Instances.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testInstances = oci.oci.getDdfsInstances({
compartmentId: compartmentId,
displayName: instanceDisplayName,
id: instanceId,
state: instanceState,
});
import pulumi
import pulumi_oci as oci
test_instances = oci.oci.get_ddfs_instances(compartment_id=compartment_id,
display_name=instance_display_name,
id=instance_id,
state=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.GetDdfsInstances(ctx, &oci.GetDdfsInstancesArgs{
CompartmentId: pulumi.StringRef(compartmentId),
DisplayName: pulumi.StringRef(instanceDisplayName),
Id: pulumi.StringRef(instanceId),
State: pulumi.StringRef(instanceState),
}, 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 testInstances = Oci.Oci.GetDdfsInstances.Invoke(new()
{
CompartmentId = compartmentId,
DisplayName = instanceDisplayName,
Id = instanceId,
State = instanceState,
});
});
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.GetDdfsInstancesArgs;
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 testInstances = OciFunctions.getDdfsInstances(GetDdfsInstancesArgs.builder()
.compartmentId(compartmentId)
.displayName(instanceDisplayName)
.id(instanceId)
.state(instanceState)
.build());
}
}
variables:
testInstances:
fn::invoke:
function: oci:oci:getDdfsInstances
arguments:
compartmentId: ${compartmentId}
displayName: ${instanceDisplayName}
id: ${instanceId}
state: ${instanceState}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_oci_getddfsinstances" "testInstances" {
compartment_id = compartmentId
display_name = instanceDisplayName
id = instanceId
state = instanceState
}
Using getDdfsInstances
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 getDdfsInstances(args: GetDdfsInstancesArgs, opts?: InvokeOptions): Promise<GetDdfsInstancesResult>
function getDdfsInstancesOutput(args: GetDdfsInstancesOutputArgs, opts?: InvokeOutputOptions): Output<GetDdfsInstancesResult>def get_ddfs_instances(compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetDdfsInstancesFilter]] = None,
id: Optional[str] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDdfsInstancesResult
def get_ddfs_instances_output(compartment_id: pulumi.Input[Optional[str]] = None,
display_name: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetDdfsInstancesFilterArgs]]]] = None,
id: pulumi.Input[Optional[str]] = None,
state: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetDdfsInstancesResult]func GetDdfsInstances(ctx *Context, args *GetDdfsInstancesArgs, opts ...InvokeOption) (*GetDdfsInstancesResult, error)
func GetDdfsInstancesOutput(ctx *Context, args *GetDdfsInstancesOutputArgs, opts ...InvokeOption) GetDdfsInstancesResultOutput> Note: This function is named GetDdfsInstances in the Go SDK.
public static class GetDdfsInstances
{
public static Task<GetDdfsInstancesResult> InvokeAsync(GetDdfsInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetDdfsInstancesResult> Invoke(GetDdfsInstancesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetDdfsInstancesResult> Invoke(GetDdfsInstancesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetDdfsInstancesResult> getDdfsInstances(GetDdfsInstancesArgs args, InvokeOptions options)
public static Output<GetDdfsInstancesResult> getDdfsInstances(GetDdfsInstancesArgs args, InvokeOptions options)
public static Output<GetDdfsInstancesResult> getDdfsInstances(GetDdfsInstancesArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:oci/getDdfsInstances:getDdfsInstances
arguments:
# arguments dictionarydata "oci_oci_get_ddfs_instances" "name" {
# arguments
}The following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
List<Get
Ddfs Instances Filter> - Id string
- The OCID of the Instance.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
[]Get
Ddfs Instances Filter - Id string
- The OCID of the Instance.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment_
id string - The OCID of the compartment in which to list resources.
- display_
name string - A filter to return only resources that match the given display name exactly.
- filters list(object)
- id string
- The OCID of the Instance.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
List<Get
Ddfs Instances Filter> - id String
- The OCID of the Instance.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id string - The OCID of the compartment in which to list resources.
- display
Name string - A filter to return only resources that match the given display name exactly.
- filters
Get
Ddfs Instances Filter[] - id string
- The OCID of the Instance.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment_
id str - The OCID of the compartment in which to list resources.
- display_
name str - A filter to return only resources that match the given display name exactly.
- filters
Sequence[Get
Ddfs Instances Filter] - id str
- The OCID of the Instance.
- state str
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- compartment
Id String - The OCID of the compartment in which to list resources.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
- id String
- The OCID of the Instance.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
getDdfsInstances Result
The following output properties are available:
- Instance
Collections List<GetDdfs Instances Instance Collection> - The list of instance_collection.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Filters
List<Get
Ddfs Instances Filter> - Id string
- The OCID of the Instance.
- State string
- The current state of the Instance.
- Instance
Collections []GetDdfs Instances Instance Collection - The list of instance_collection.
- Compartment
Id string - The OCID of the compartment.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Filters
[]Get
Ddfs Instances Filter - Id string
- The OCID of the Instance.
- State string
- The current state of the Instance.
- instance_
collections list(object) - The list of instance_collection.
- compartment_
id string - The OCID of the compartment.
- display_
name string - A user-friendly name. Does not have to be unique, and it's changeable.
- filters list(object)
- id string
- The OCID of the Instance.
- state string
- The current state of the Instance.
- instance
Collections List<GetDdfs Instances Instance Collection> - The list of instance_collection.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
List<Get
Ddfs Instances Filter> - id String
- The OCID of the Instance.
- state String
- The current state of the Instance.
- instance
Collections GetDdfs Instances Instance Collection[] - The list of instance_collection.
- compartment
Id string - The OCID of the compartment.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
Get
Ddfs Instances Filter[] - id string
- The OCID of the Instance.
- state string
- The current state of the Instance.
- instance_
collections Sequence[GetDdfs Instances Instance Collection] - The list of instance_collection.
- compartment_
id str - The OCID of the compartment.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
Sequence[Get
Ddfs Instances Filter] - id str
- The OCID of the Instance.
- state str
- The current state of the Instance.
- instance
Collections List<Property Map> - The list of instance_collection.
- compartment
Id String - The OCID of the compartment.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- filters List<Property Map>
- id String
- The OCID of the Instance.
- state String
- The current state of the Instance.
Supporting Types
GetDdfsInstancesFilter
GetDdfsInstancesInstanceCollection
GetDdfsInstancesInstanceCollectionItem
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - A filter to return only resources that match the given display name exactly.
- Fhir
Service stringEndpoint - The HTTPS endpoint for the instance's Fast Healthcare Interoperability Resources (FHIR) service. Example:
https://example.ddfs.oraclecloud.com/api/fhir - Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the Instance.
- Idcs
Url string - The Oracle Identity Cloud Service (IDCS) URL for the identity domain associated with the instance. Use the IDCS tenant URL from your identity domain configuration. Example:
https://idcs-1234567890.identity.oraclecloud.com - Lifecycle
Details string - A message that describes the current state of the Instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Public
Ip string - The public IP address for the instance's FHIR service endpoint.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Dictionary<string, string>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.example-key": "example-value"} - Time
Created string - The date and time the Instance was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the Instance was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- Compartment
Id string - The OCID of the compartment in which to list resources.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - Display
Name string - A filter to return only resources that match the given display name exactly.
- Fhir
Service stringEndpoint - The HTTPS endpoint for the instance's Fast Healthcare Interoperability Resources (FHIR) service. Example:
https://example.ddfs.oraclecloud.com/api/fhir - map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - Id string
- The OCID of the Instance.
- Idcs
Url string - The Oracle Identity Cloud Service (IDCS) URL for the identity domain associated with the instance. Use the IDCS tenant URL from your identity domain configuration. Example:
https://idcs-1234567890.identity.oraclecloud.com - Lifecycle
Details string - A message that describes the current state of the Instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- Public
Ip string - The public IP address for the instance's FHIR service endpoint.
- State string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- map[string]string
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.example-key": "example-value"} - Time
Created string - The date and time the Instance was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - Time
Updated string - The date and time the Instance was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment_
id string - The OCID of the compartment in which to list resources.
- map(string)
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display_
name string - A filter to return only resources that match the given display name exactly.
- fhir_
service_ stringendpoint - The HTTPS endpoint for the instance's Fast Healthcare Interoperability Resources (FHIR) service. Example:
https://example.ddfs.oraclecloud.com/api/fhir - map(string)
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id string
- The OCID of the Instance.
- idcs_
url string - The Oracle Identity Cloud Service (IDCS) URL for the identity domain associated with the instance. Use the IDCS tenant URL from your identity domain configuration. Example:
https://idcs-1234567890.identity.oraclecloud.com - lifecycle_
details string - A message that describes the current state of the Instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- public_
ip string - The public IP address for the instance's FHIR service endpoint.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- map(string)
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.example-key": "example-value"} - time_
created string - The date and time the Instance was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time_
updated string - The date and time the Instance was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the compartment in which to list resources.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - A filter to return only resources that match the given display name exactly.
- fhir
Service StringEndpoint - The HTTPS endpoint for the instance's Fast Healthcare Interoperability Resources (FHIR) service. Example:
https://example.ddfs.oraclecloud.com/api/fhir - Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the Instance.
- idcs
Url String - The Oracle Identity Cloud Service (IDCS) URL for the identity domain associated with the instance. Use the IDCS tenant URL from your identity domain configuration. Example:
https://idcs-1234567890.identity.oraclecloud.com - lifecycle
Details String - A message that describes the current state of the Instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- public
Ip String - The public IP address for the instance's FHIR service endpoint.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Map<String,String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.example-key": "example-value"} - time
Created String - The date and time the Instance was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the Instance was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id string - The OCID of the compartment in which to list resources.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name string - A filter to return only resources that match the given display name exactly.
- fhir
Service stringEndpoint - The HTTPS endpoint for the instance's Fast Healthcare Interoperability Resources (FHIR) service. Example:
https://example.ddfs.oraclecloud.com/api/fhir - {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id string
- The OCID of the Instance.
- idcs
Url string - The Oracle Identity Cloud Service (IDCS) URL for the identity domain associated with the instance. Use the IDCS tenant URL from your identity domain configuration. Example:
https://idcs-1234567890.identity.oraclecloud.com - lifecycle
Details string - A message that describes the current state of the Instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- public
Ip string - The public IP address for the instance's FHIR service endpoint.
- state string
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- {[key: string]: string}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.example-key": "example-value"} - time
Created string - The date and time the Instance was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated string - The date and time the Instance was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment_
id str - The OCID of the compartment in which to list resources.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display_
name str - A filter to return only resources that match the given display name exactly.
- fhir_
service_ strendpoint - The HTTPS endpoint for the instance's Fast Healthcare Interoperability Resources (FHIR) service. Example:
https://example.ddfs.oraclecloud.com/api/fhir - Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id str
- The OCID of the Instance.
- idcs_
url str - The Oracle Identity Cloud Service (IDCS) URL for the identity domain associated with the instance. Use the IDCS tenant URL from your identity domain configuration. Example:
https://idcs-1234567890.identity.oraclecloud.com - lifecycle_
details str - A message that describes the current state of the Instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- public_
ip str - The public IP address for the instance's FHIR service endpoint.
- state str
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.example-key": "example-value"} - time_
created str - The date and time the Instance was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time_
updated str - The date and time the Instance was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
- compartment
Id String - The OCID of the compartment in which to list resources.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"Operations.CostCenter": "42"} - display
Name String - A filter to return only resources that match the given display name exactly.
- fhir
Service StringEndpoint - The HTTPS endpoint for the instance's Fast Healthcare Interoperability Resources (FHIR) service. Example:
https://example.ddfs.oraclecloud.com/api/fhir - Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example:
{"Department": "Finance"} - id String
- The OCID of the Instance.
- idcs
Url String - The Oracle Identity Cloud Service (IDCS) URL for the identity domain associated with the instance. Use the IDCS tenant URL from your identity domain configuration. Example:
https://idcs-1234567890.identity.oraclecloud.com - lifecycle
Details String - A message that describes the current state of the Instance in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
- public
Ip String - The public IP address for the instance's FHIR service endpoint.
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
- Map<String>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.example-key": "example-value"} - time
Created String - The date and time the Instance was created, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z - time
Updated String - The date and time the Instance was updated, in the format defined by RFC 3339. Example:
2016-08-25T21:10:29.600Z
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.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
published on Wednesday, Aug 26, 2026 by Pulumi