Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi
This data source provides the list of Diagnosis Stores in Oracle Cloud Infrastructure Cluster Health service.
Gets a list of Diagnosis Stores.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDiagnosisStores = oci.oci.getClusterHealthDiagnosisStores({
compartmentId: compartmentId,
diagnosisStoreId: testDiagnosisStore.id,
displayName: diagnosisStoreDisplayName,
state: diagnosisStoreState,
});
import pulumi
import pulumi_oci as oci
test_diagnosis_stores = oci.oci.get_cluster_health_diagnosis_stores(compartment_id=compartment_id,
diagnosis_store_id=test_diagnosis_store["id"],
display_name=diagnosis_store_display_name,
state=diagnosis_store_state)
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.GetClusterHealthDiagnosisStores(ctx, &oci.GetClusterHealthDiagnosisStoresArgs{
CompartmentId: pulumi.StringRef(compartmentId),
DiagnosisStoreId: pulumi.StringRef(testDiagnosisStore.Id),
DisplayName: pulumi.StringRef(diagnosisStoreDisplayName),
State: pulumi.StringRef(diagnosisStoreState),
}, 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 testDiagnosisStores = Oci.Oci.GetClusterHealthDiagnosisStores.Invoke(new()
{
CompartmentId = compartmentId,
DiagnosisStoreId = testDiagnosisStore.Id,
DisplayName = diagnosisStoreDisplayName,
State = diagnosisStoreState,
});
});
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.GetClusterHealthDiagnosisStoresArgs;
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 testDiagnosisStores = OciFunctions.getClusterHealthDiagnosisStores(GetClusterHealthDiagnosisStoresArgs.builder()
.compartmentId(compartmentId)
.diagnosisStoreId(testDiagnosisStore.get("id"))
.displayName(diagnosisStoreDisplayName)
.state(diagnosisStoreState)
.build());
}
}
variables:
testDiagnosisStores:
fn::invoke:
function: oci:oci:getClusterHealthDiagnosisStores
arguments:
compartmentId: ${compartmentId}
diagnosisStoreId: ${testDiagnosisStore.id}
displayName: ${diagnosisStoreDisplayName}
state: ${diagnosisStoreState}
terraform {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_oci_cluster_health_diagnosis_stores" "testDiagnosisStores" {
compartment_id = compartmentId
diagnosis_store_id = testDiagnosisStore.id
display_name = diagnosisStoreDisplayName
state = diagnosisStoreState
}
Using getClusterHealthDiagnosisStores
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 getClusterHealthDiagnosisStores(args: GetClusterHealthDiagnosisStoresArgs, opts?: InvokeOptions): Promise<GetClusterHealthDiagnosisStoresResult>
function getClusterHealthDiagnosisStoresOutput(args: GetClusterHealthDiagnosisStoresOutputArgs, opts?: InvokeOutputOptions): Output<GetClusterHealthDiagnosisStoresResult>def get_cluster_health_diagnosis_stores(compartment_id: Optional[str] = None,
diagnosis_store_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetClusterHealthDiagnosisStoresFilter]] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClusterHealthDiagnosisStoresResult
def get_cluster_health_diagnosis_stores_output(compartment_id: pulumi.Input[Optional[str]] = None,
diagnosis_store_id: pulumi.Input[Optional[str]] = None,
display_name: pulumi.Input[Optional[str]] = None,
filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetClusterHealthDiagnosisStoresFilterArgs]]]] = None,
state: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetClusterHealthDiagnosisStoresResult]func GetClusterHealthDiagnosisStores(ctx *Context, args *GetClusterHealthDiagnosisStoresArgs, opts ...InvokeOption) (*GetClusterHealthDiagnosisStoresResult, error)
func GetClusterHealthDiagnosisStoresOutput(ctx *Context, args *GetClusterHealthDiagnosisStoresOutputArgs, opts ...InvokeOption) GetClusterHealthDiagnosisStoresResultOutput> Note: This function is named GetClusterHealthDiagnosisStores in the Go SDK.
public static class GetClusterHealthDiagnosisStores
{
public static Task<GetClusterHealthDiagnosisStoresResult> InvokeAsync(GetClusterHealthDiagnosisStoresArgs args, InvokeOptions? opts = null)
public static Output<GetClusterHealthDiagnosisStoresResult> Invoke(GetClusterHealthDiagnosisStoresInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetClusterHealthDiagnosisStoresResult> Invoke(GetClusterHealthDiagnosisStoresInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetClusterHealthDiagnosisStoresResult> getClusterHealthDiagnosisStores(GetClusterHealthDiagnosisStoresArgs args, InvokeOptions options)
public static Output<GetClusterHealthDiagnosisStoresResult> getClusterHealthDiagnosisStores(GetClusterHealthDiagnosisStoresArgs args, InvokeOptions options)
public static Output<GetClusterHealthDiagnosisStoresResult> getClusterHealthDiagnosisStores(GetClusterHealthDiagnosisStoresArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:oci/getClusterHealthDiagnosisStores:getClusterHealthDiagnosisStores
arguments:
# arguments dictionarydata "oci_oci_get_cluster_health_diagnosis_stores" "name" {
# arguments
}The following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Diagnosis
Store stringId - The OCID of the Diagnosis.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
List<Get
Cluster Health Diagnosis Stores Filter> - 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.
- Diagnosis
Store stringId - The OCID of the Diagnosis.
- Display
Name string - A filter to return only resources that match the given display name exactly.
- Filters
[]Get
Cluster Health Diagnosis Stores Filter - 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.
- diagnosis_
store_ stringid - The OCID of the Diagnosis.
- display_
name string - A filter to return only resources that match the given display name exactly.
- filters list(object)
- 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.
- diagnosis
Store StringId - The OCID of the Diagnosis.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters
List<Get
Cluster Health Diagnosis Stores Filter> - 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.
- diagnosis
Store stringId - The OCID of the Diagnosis.
- display
Name string - A filter to return only resources that match the given display name exactly.
- filters
Get
Cluster Health Diagnosis Stores Filter[] - 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.
- diagnosis_
store_ strid - The OCID of the Diagnosis.
- display_
name str - A filter to return only resources that match the given display name exactly.
- filters
Sequence[Get
Cluster Health Diagnosis Stores Filter] - 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.
- diagnosis
Store StringId - The OCID of the Diagnosis.
- display
Name String - A filter to return only resources that match the given display name exactly.
- filters List<Property Map>
- state String
- A filter to return only resources that match the given lifecycle state. The state value is case-insensitive.
getClusterHealthDiagnosisStores Result
The following output properties are available:
- Diagnosis
Store List<GetCollections Cluster Health Diagnosis Stores Diagnosis Store Collection> - The list of diagnosis_store_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Compartment
Id string - The OCID of the compartment.
- Diagnosis
Store stringId - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Filters
List<Get
Cluster Health Diagnosis Stores Filter> - State string
- The current state of the Diagnosis.
- Diagnosis
Store []GetCollections Cluster Health Diagnosis Stores Diagnosis Store Collection - The list of diagnosis_store_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Compartment
Id string - The OCID of the compartment.
- Diagnosis
Store stringId - Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- Filters
[]Get
Cluster Health Diagnosis Stores Filter - State string
- The current state of the Diagnosis.
- diagnosis_
store_ list(object)collections - The list of diagnosis_store_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- compartment_
id string - The OCID of the compartment.
- diagnosis_
store_ stringid - display_
name string - A user-friendly name. Does not have to be unique, and it's changeable.
- filters list(object)
- state string
- The current state of the Diagnosis.
- diagnosis
Store List<GetCollections Cluster Health Diagnosis Stores Diagnosis Store Collection> - The list of diagnosis_store_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartment
Id String - The OCID of the compartment.
- diagnosis
Store StringId - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
List<Get
Cluster Health Diagnosis Stores Filter> - state String
- The current state of the Diagnosis.
- diagnosis
Store GetCollections Cluster Health Diagnosis Stores Diagnosis Store Collection[] - The list of diagnosis_store_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- compartment
Id string - The OCID of the compartment.
- diagnosis
Store stringId - display
Name string - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
Get
Cluster Health Diagnosis Stores Filter[] - state string
- The current state of the Diagnosis.
- diagnosis_
store_ Sequence[Getcollections Cluster Health Diagnosis Stores Diagnosis Store Collection] - The list of diagnosis_store_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- compartment_
id str - The OCID of the compartment.
- diagnosis_
store_ strid - display_
name str - A user-friendly name. Does not have to be unique, and it's changeable.
- filters
Sequence[Get
Cluster Health Diagnosis Stores Filter] - state str
- The current state of the Diagnosis.
- diagnosis
Store List<Property Map>Collections - The list of diagnosis_store_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- compartment
Id String - The OCID of the compartment.
- diagnosis
Store StringId - display
Name String - A user-friendly name. Does not have to be unique, and it's changeable.
- filters List<Property Map>
- state String
- The current state of the Diagnosis.
Supporting Types
GetClusterHealthDiagnosisStoresDiagnosisStoreCollection
GetClusterHealthDiagnosisStoresDiagnosisStoreCollectionItem
- 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.
- 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
- 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.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 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.
- 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
- 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.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 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.
- 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
- 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.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 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.
- 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
- 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.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 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.
- {[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
- 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.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 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.
- 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
- 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.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 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.
- 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
- 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.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
GetClusterHealthDiagnosisStoresFilter
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.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi