1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. getClusterHealthDiagnosisStore
Viewing docs for Oracle Cloud Infrastructure v5.2.0
published on Thursday, Oct 1, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.2.0
published on Thursday, Oct 1, 2026 by Pulumi

    This data source provides details about a specific Diagnosis Store resource in Oracle Cloud Infrastructure Cluster Health service.

    Gets information about a Diagnosis Store.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDiagnosisStore = oci.oci.getClusterHealthDiagnosisStore({
        diagnosisStoreId: testDiagnosisStoreOciClusterHealthDiagnosisStore.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_diagnosis_store = oci.oci.get_cluster_health_diagnosis_store(diagnosis_store_id=test_diagnosis_store_oci_cluster_health_diagnosis_store["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/oci"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := oci.LookupClusterHealthDiagnosisStore(ctx, &oci.LookupClusterHealthDiagnosisStoreArgs{
    			DiagnosisStoreId: testDiagnosisStoreOciClusterHealthDiagnosisStore.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 testDiagnosisStore = Oci.Oci.GetClusterHealthDiagnosisStore.Invoke(new()
        {
            DiagnosisStoreId = testDiagnosisStoreOciClusterHealthDiagnosisStore.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.GetClusterHealthDiagnosisStoreArgs;
    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 testDiagnosisStore = OciFunctions.getClusterHealthDiagnosisStore(GetClusterHealthDiagnosisStoreArgs.builder()
                .diagnosisStoreId(testDiagnosisStoreOciClusterHealthDiagnosisStore.id())
                .build());
    
        }
    }
    
    variables:
      testDiagnosisStore:
        fn::invoke:
          function: oci:oci:getClusterHealthDiagnosisStore
          arguments:
            diagnosisStoreId: ${testDiagnosisStoreOciClusterHealthDiagnosisStore.id}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_oci_getclusterhealthdiagnosisstore" "testDiagnosisStore" {
      diagnosis_store_id = testDiagnosisStoreOciClusterHealthDiagnosisStore.id
    }
    

    Using getClusterHealthDiagnosisStore

    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 getClusterHealthDiagnosisStore(args: GetClusterHealthDiagnosisStoreArgs, opts?: InvokeOptions): Promise<GetClusterHealthDiagnosisStoreResult>
    function getClusterHealthDiagnosisStoreOutput(args: GetClusterHealthDiagnosisStoreOutputArgs, opts?: InvokeOutputOptions): Output<GetClusterHealthDiagnosisStoreResult>
    def get_cluster_health_diagnosis_store(diagnosis_store_id: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetClusterHealthDiagnosisStoreResult
    def get_cluster_health_diagnosis_store_output(diagnosis_store_id: pulumi.Input[Optional[str]] = None,
                                           opts: Optional[InvokeOutputOptions] = None) -> Output[GetClusterHealthDiagnosisStoreResult]
    func LookupClusterHealthDiagnosisStore(ctx *Context, args *LookupClusterHealthDiagnosisStoreArgs, opts ...InvokeOption) (*LookupClusterHealthDiagnosisStoreResult, error)
    func LookupClusterHealthDiagnosisStoreOutput(ctx *Context, args *LookupClusterHealthDiagnosisStoreOutputArgs, opts ...InvokeOption) LookupClusterHealthDiagnosisStoreResultOutput

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

    public static class GetClusterHealthDiagnosisStore 
    {
        public static Task<GetClusterHealthDiagnosisStoreResult> InvokeAsync(GetClusterHealthDiagnosisStoreArgs args, InvokeOptions? opts = null)
        public static Output<GetClusterHealthDiagnosisStoreResult> Invoke(GetClusterHealthDiagnosisStoreInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetClusterHealthDiagnosisStoreResult> Invoke(GetClusterHealthDiagnosisStoreInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetClusterHealthDiagnosisStoreResult> getClusterHealthDiagnosisStore(GetClusterHealthDiagnosisStoreArgs args, InvokeOptions options)
    public static Output<GetClusterHealthDiagnosisStoreResult> getClusterHealthDiagnosisStore(GetClusterHealthDiagnosisStoreArgs args, InvokeOptions options)
    public static Output<GetClusterHealthDiagnosisStoreResult> getClusterHealthDiagnosisStore(GetClusterHealthDiagnosisStoreArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:oci/getClusterHealthDiagnosisStore:getClusterHealthDiagnosisStore
      arguments:
        # arguments dictionary
    data "oci_oci_get_cluster_health_diagnosis_store" "name" {
        # arguments
    }

    The following arguments are supported:

    DiagnosisStoreId string
    The OCID of the Diagnosis.
    DiagnosisStoreId string
    The OCID of the Diagnosis.
    diagnosis_store_id string
    The OCID of the Diagnosis.
    diagnosisStoreId String
    The OCID of the Diagnosis.
    diagnosisStoreId string
    The OCID of the Diagnosis.
    diagnosis_store_id str
    The OCID of the Diagnosis.
    diagnosisStoreId String
    The OCID of the Diagnosis.

    getClusterHealthDiagnosisStore 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"}
    DiagnosisStoreId string
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    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 DiagnosisStore.
    LastAcceptedRequestToken string
    The last accepted request token.
    LastCompletedRequestToken string
    The last completed request token.
    LifecycleDetails string
    A message that describes the current state of the Diagnosis in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    ObjectStoreBucket string
    The name of the object store bucket.
    ObjectStoreNamespace string
    The namespace of the object store.
    State string
    The current state of the Diagnosis.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Diagnosis Store was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Diagnosis Store 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"}
    DiagnosisStoreId string
    DisplayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    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 DiagnosisStore.
    LastAcceptedRequestToken string
    The last accepted request token.
    LastCompletedRequestToken string
    The last completed request token.
    LifecycleDetails string
    A message that describes the current state of the Diagnosis in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    ObjectStoreBucket string
    The name of the object store bucket.
    ObjectStoreNamespace string
    The namespace of the object store.
    State string
    The current state of the Diagnosis.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Diagnosis Store was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    TimeUpdated string
    The date and time the Diagnosis Store 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"}
    diagnosis_store_id string
    display_name string
    A user-friendly name. Does not have to be unique, and it's changeable.
    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 DiagnosisStore.
    last_accepted_request_token string
    The last accepted request token.
    last_completed_request_token string
    The last completed request token.
    lifecycle_details string
    A message that describes the current state of the Diagnosis in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    object_store_bucket string
    The name of the object store bucket.
    object_store_namespace string
    The namespace of the object store.
    state string
    The current state of the Diagnosis.
    system_tags map(string)
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created string
    The date and time the Diagnosis Store was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated string
    The date and time the Diagnosis Store 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"}
    diagnosisStoreId String
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    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 DiagnosisStore.
    lastAcceptedRequestToken String
    The last accepted request token.
    lastCompletedRequestToken String
    The last completed request token.
    lifecycleDetails String
    A message that describes the current state of the Diagnosis in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    objectStoreBucket String
    The name of the object store bucket.
    objectStoreNamespace String
    The namespace of the object store.
    state String
    The current state of the Diagnosis.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Diagnosis Store was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Diagnosis Store 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"}
    diagnosisStoreId string
    displayName string
    A user-friendly name. Does not have to be unique, and it's changeable.
    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 DiagnosisStore.
    lastAcceptedRequestToken string
    The last accepted request token.
    lastCompletedRequestToken string
    The last completed request token.
    lifecycleDetails string
    A message that describes the current state of the Diagnosis in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    objectStoreBucket string
    The name of the object store bucket.
    objectStoreNamespace string
    The namespace of the object store.
    state string
    The current state of the Diagnosis.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the Diagnosis Store was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated string
    The date and time the Diagnosis Store 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"}
    diagnosis_store_id str
    display_name str
    A user-friendly name. Does not have to be unique, and it's changeable.
    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 DiagnosisStore.
    last_accepted_request_token str
    The last accepted request token.
    last_completed_request_token str
    The last completed request token.
    lifecycle_details str
    A message that describes the current state of the Diagnosis in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    object_store_bucket str
    The name of the object store bucket.
    object_store_namespace str
    The namespace of the object store.
    state str
    The current state of the Diagnosis.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the Diagnosis Store was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    time_updated str
    The date and time the Diagnosis Store 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"}
    diagnosisStoreId String
    displayName String
    A user-friendly name. Does not have to be unique, and it's changeable.
    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 DiagnosisStore.
    lastAcceptedRequestToken String
    The last accepted request token.
    lastCompletedRequestToken String
    The last completed request token.
    lifecycleDetails String
    A message that describes the current state of the Diagnosis in more detail. For example, can be used to provide actionable information for a resource in the Failed state.
    objectStoreBucket String
    The name of the object store bucket.
    objectStoreNamespace String
    The namespace of the object store.
    state String
    The current state of the Diagnosis.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Diagnosis Store was created, in the format defined by RFC 3339. Example: 2016-08-25T21:10:29.600Z
    timeUpdated String
    The date and time the Diagnosis Store 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 v5.2.0
    published on Thursday, Oct 1, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial