1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. getDdfsInstance
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi

    This data source provides details about a specific Instance resource in Oracle Cloud Infrastructure Ddfs service.

    Gets information about an Instance.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testInstance = oci.oci.getDdfsInstance({
        instanceId: testInstanceOciDdfsInstance.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_instance = oci.oci.get_ddfs_instance(instance_id=test_instance_oci_ddfs_instance["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.LookupDdfsInstance(ctx, &oci.LookupDdfsInstanceArgs{
    			InstanceId: testInstanceOciDdfsInstance.Id,
    		}, 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 testInstance = Oci.Oci.GetDdfsInstance.Invoke(new()
        {
            InstanceId = testInstanceOciDdfsInstance.Id,
        });
    
    });
    
    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.GetDdfsInstanceArgs;
    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 testInstance = OciFunctions.getDdfsInstance(GetDdfsInstanceArgs.builder()
                .instanceId(testInstanceOciDdfsInstance.id())
                .build());
    
        }
    }
    
    variables:
      testInstance:
        fn::invoke:
          function: oci:oci:getDdfsInstance
          arguments:
            instanceId: ${testInstanceOciDdfsInstance.id}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_oci_getddfsinstance" "testInstance" {
      instance_id = testInstanceOciDdfsInstance.id
    }
    

    Using getDdfsInstance

    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 getDdfsInstance(args: GetDdfsInstanceArgs, opts?: InvokeOptions): Promise<GetDdfsInstanceResult>
    function getDdfsInstanceOutput(args: GetDdfsInstanceOutputArgs, opts?: InvokeOutputOptions): Output<GetDdfsInstanceResult>
    def get_ddfs_instance(instance_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetDdfsInstanceResult
    def get_ddfs_instance_output(instance_id: pulumi.Input[Optional[str]] = None,
                          opts: Optional[InvokeOutputOptions] = None) -> Output[GetDdfsInstanceResult]
    func LookupDdfsInstance(ctx *Context, args *LookupDdfsInstanceArgs, opts ...InvokeOption) (*LookupDdfsInstanceResult, error)
    func LookupDdfsInstanceOutput(ctx *Context, args *LookupDdfsInstanceOutputArgs, opts ...InvokeOption) LookupDdfsInstanceResultOutput

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

    public static class GetDdfsInstance 
    {
        public static Task<GetDdfsInstanceResult> InvokeAsync(GetDdfsInstanceArgs args, InvokeOptions? opts = null)
        public static Output<GetDdfsInstanceResult> Invoke(GetDdfsInstanceInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetDdfsInstanceResult> Invoke(GetDdfsInstanceInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetDdfsInstanceResult> getDdfsInstance(GetDdfsInstanceArgs args, InvokeOptions options)
    public static Output<GetDdfsInstanceResult> getDdfsInstance(GetDdfsInstanceArgs args, InvokeOptions options)
    public static Output<GetDdfsInstanceResult> getDdfsInstance(GetDdfsInstanceArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:oci/getDdfsInstance:getDdfsInstance
      arguments:
        # arguments dictionary
    data "oci_oci_get_ddfs_instance" "name" {
        # arguments
    }

    The following arguments are supported:

    InstanceId string
    The OCID of the Instance.
    InstanceId string
    The OCID of the Instance.
    instance_id string
    The OCID of the Instance.
    instanceId String
    The OCID of the Instance.
    instanceId string
    The OCID of the Instance.
    instance_id str
    The OCID of the Instance.
    instanceId String
    The OCID of the Instance.

    getDdfsInstance Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment.
    DefinedTags 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"}
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FhirServiceEndpoint string
    The HTTPS endpoint for the instance's Fast Healthcare Interoperability Resources (FHIR) service. Example: https://example.ddfs.oraclecloud.com/api/fhir
    FreeformTags 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.
    IdcsUrl 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
    InstanceId string
    LifecycleDetails 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.
    PublicIp string
    The public IP address for the instance's FHIR service endpoint.
    State string
    The current state of the Instance.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.example-key": "example-value"}
    TimeCreated string
    The date and time the Instance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Instance was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    CompartmentId string
    The OCID of the compartment.
    DefinedTags 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"}
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    FhirServiceEndpoint string
    The HTTPS endpoint for the instance's Fast Healthcare Interoperability Resources (FHIR) service. Example: https://example.ddfs.oraclecloud.com/api/fhir
    FreeformTags 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.
    IdcsUrl 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
    InstanceId string
    LifecycleDetails 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.
    PublicIp string
    The public IP address for the instance's FHIR service endpoint.
    State string
    The current state of the Instance.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.example-key": "example-value"}
    TimeCreated string
    The date and time the Instance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated 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.
    defined_tags 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 user-friendly name. Does not have to be unique, and it's changeable.
    fhir_service_endpoint string
    The HTTPS endpoint for the instance's Fast Healthcare Interoperability Resources (FHIR) service. Example: https://example.ddfs.oraclecloud.com/api/fhir
    freeform_tags 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
    instance_id string
    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
    The current state of the Instance.
    system_tags 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
    compartmentId String
    The OCID of the compartment.
    definedTags 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"}
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    fhirServiceEndpoint String
    The HTTPS endpoint for the instance's Fast Healthcare Interoperability Resources (FHIR) service. Example: https://example.ddfs.oraclecloud.com/api/fhir
    freeformTags 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.
    idcsUrl 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
    instanceId String
    lifecycleDetails 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.
    publicIp String
    The public IP address for the instance's FHIR service endpoint.
    state String
    The current state of the Instance.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.example-key": "example-value"}
    timeCreated String
    The date and time the Instance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Instance was updated, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    compartmentId string
    The OCID of the compartment.
    definedTags {[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"}
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    fhirServiceEndpoint string
    The HTTPS endpoint for the instance's Fast Healthcare Interoperability Resources (FHIR) service. Example: https://example.ddfs.oraclecloud.com/api/fhir
    freeformTags {[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.
    idcsUrl 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
    instanceId string
    lifecycleDetails 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.
    publicIp string
    The public IP address for the instance's FHIR service endpoint.
    state string
    The current state of the Instance.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.example-key": "example-value"}
    timeCreated string
    The date and time the Instance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated 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.
    defined_tags 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 user-friendly name. Does not have to be unique, and it's changeable.
    fhir_service_endpoint str
    The HTTPS endpoint for the instance's Fast Healthcare Interoperability Resources (FHIR) service. Example: https://example.ddfs.oraclecloud.com/api/fhir
    freeform_tags 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
    instance_id str
    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
    The current state of the Instance.
    system_tags 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
    compartmentId String
    The OCID of the compartment.
    definedTags 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"}
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    fhirServiceEndpoint String
    The HTTPS endpoint for the instance's Fast Healthcare Interoperability Resources (FHIR) service. Example: https://example.ddfs.oraclecloud.com/api/fhir
    freeformTags 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.
    idcsUrl 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
    instanceId String
    lifecycleDetails 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.
    publicIp String
    The public IP address for the instance's FHIR service endpoint.
    state String
    The current state of the Instance.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.example-key": "example-value"}
    timeCreated String
    The date and time the Instance was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated 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 oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.22.0
    published on Wednesday, Aug 26, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial