Viewing docs for Oracle Cloud Infrastructure v5.2.0
published on Thursday, Oct 1, 2026 by Pulumi
published on Thursday, Oct 1, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v5.2.0
published on Thursday, Oct 1, 2026 by Pulumi
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 dictionarydata "oci_oci_get_cluster_health_diagnosis_store" "name" {
# arguments
}The following arguments are supported:
- Diagnosis
Store stringId - The OCID of the Diagnosis.
- Diagnosis
Store stringId - The OCID of the Diagnosis.
- diagnosis_
store_ stringid - The OCID of the Diagnosis.
- diagnosis
Store StringId - The OCID of the Diagnosis.
- diagnosis
Store stringId - The OCID of the Diagnosis.
- diagnosis_
store_ strid - The OCID of the Diagnosis.
- diagnosis
Store StringId - The OCID of the Diagnosis.
getClusterHealthDiagnosisStore Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment.
- 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"} - Diagnosis
Store stringId - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- 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.
- Last
Accepted stringRequest Token - The last accepted request token.
- Last
Completed stringRequest Token - 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 stringBucket - The name of the object store bucket.
- Object
Store stringNamespace - The namespace of the object store.
- State string
- The current state of the Diagnosis.
- Dictionary<string, 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
- Compartment
Id string - The OCID of the compartment.
- 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"} - Diagnosis
Store stringId - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- 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.
- Last
Accepted stringRequest Token - The last accepted request token.
- Last
Completed stringRequest Token - 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 stringBucket - The name of the object store bucket.
- Object
Store stringNamespace - The namespace of the object store.
- State string
- The current state of the Diagnosis.
- map[string]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
- compartment_
id string - The OCID of the compartment.
- 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_ stringid - display_
name string - A user-friendly name. Does not have to be unique, and it's changeable.
- 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_ stringrequest_ token - The last accepted request token.
- last_
completed_ stringrequest_ token - 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_ stringbucket - The name of the object store bucket.
- object_
store_ stringnamespace - The namespace of the object store.
- state string
- The current state of the Diagnosis.
- 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
- compartment
Id String - The OCID of the compartment.
- 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"} - diagnosis
Store StringId - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- 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.
- last
Accepted StringRequest Token - The last accepted request token.
- last
Completed StringRequest Token - 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 StringBucket - The name of the object store bucket.
- object
Store StringNamespace - The namespace of the object store.
- state String
- The current state of the Diagnosis.
- Map<String,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
- compartment
Id string - The OCID of the compartment.
- {[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"} - diagnosis
Store stringId - display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- {[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.
- last
Accepted stringRequest Token - The last accepted request token.
- last
Completed stringRequest Token - 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 stringBucket - The name of the object store bucket.
- object
Store stringNamespace - The namespace of the object store.
- state string
- The current state of the Diagnosis.
- {[key: string]: 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
- compartment_
id str - The OCID of the compartment.
- 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_ strid - display_
name str - A user-friendly name. Does not have to be unique, and it's changeable.
- 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_ strrequest_ token - The last accepted request token.
- last_
completed_ strrequest_ token - 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_ strbucket - The name of the object store bucket.
- object_
store_ strnamespace - The namespace of the object store.
- state str
- The current state of the Diagnosis.
- 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
- compartment
Id String - The OCID of the compartment.
- 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 StringId - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- 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 StringRequest Token - The last accepted request token.
- last
Completed StringRequest Token - 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 StringBucket - The name of the object store bucket.
- object
Store StringNamespace - The namespace of the object store.
- state String
- The current state of the Diagnosis.
- 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
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 v5.2.0
published on Thursday, Oct 1, 2026 by Pulumi
published on Thursday, Oct 1, 2026 by Pulumi