1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. oci
  6. ClusterHealthDiagnosisStore
Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi

    This resource provides the Diagnosis Store resource in Oracle Cloud Infrastructure Cluster Health service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/

    Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/cluster_health

    Creates a Diagnosis Store.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDiagnosisStore = new oci.oci.ClusterHealthDiagnosisStore("test_diagnosis_store", {
        compartmentId: compartmentId,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        displayName: diagnosisStoreDisplayName,
        freeformTags: {
            Department: "Finance",
        },
        objectStoreBucket: diagnosisStoreObjectStoreBucket,
        objectStoreNamespace: diagnosisStoreObjectStoreNamespace,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_diagnosis_store = oci.oci.ClusterHealthDiagnosisStore("test_diagnosis_store",
        compartment_id=compartment_id,
        defined_tags={
            "Operations.CostCenter": "42",
        },
        display_name=diagnosis_store_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        object_store_bucket=diagnosis_store_object_store_bucket,
        object_store_namespace=diagnosis_store_object_store_namespace)
    
    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.NewClusterHealthDiagnosisStore(ctx, "test_diagnosis_store", &oci.ClusterHealthDiagnosisStoreArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			DisplayName: pulumi.Any(diagnosisStoreDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			ObjectStoreBucket:    pulumi.Any(diagnosisStoreObjectStoreBucket),
    			ObjectStoreNamespace: pulumi.Any(diagnosisStoreObjectStoreNamespace),
    		})
    		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 = new Oci.Oci.ClusterHealthDiagnosisStore("test_diagnosis_store", new()
        {
            CompartmentId = compartmentId,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            DisplayName = diagnosisStoreDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            ObjectStoreBucket = diagnosisStoreObjectStoreBucket,
            ObjectStoreNamespace = diagnosisStoreObjectStoreNamespace,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.oci.ClusterHealthDiagnosisStore;
    import com.pulumi.oci.oci.ClusterHealthDiagnosisStoreArgs;
    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) {
            var testDiagnosisStore = new ClusterHealthDiagnosisStore("testDiagnosisStore", ClusterHealthDiagnosisStoreArgs.builder()
                .compartmentId(compartmentId)
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .displayName(diagnosisStoreDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .objectStoreBucket(diagnosisStoreObjectStoreBucket)
                .objectStoreNamespace(diagnosisStoreObjectStoreNamespace)
                .build());
    
        }
    }
    
    resources:
      testDiagnosisStore:
        type: oci:oci:ClusterHealthDiagnosisStore
        name: test_diagnosis_store
        properties:
          compartmentId: ${compartmentId}
          definedTags:
            Operations.CostCenter: '42'
          displayName: ${diagnosisStoreDisplayName}
          freeformTags:
            Department: Finance
          objectStoreBucket: ${diagnosisStoreObjectStoreBucket}
          objectStoreNamespace: ${diagnosisStoreObjectStoreNamespace}
    
    terraform {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    resource "oci_oci_cluster_health_diagnosis_store" "test_diagnosis_store" {
      lifecycle {
        create_before_destroy = true
      }
      compartment_id = compartmentId
      defined_tags = {
        "Operations.CostCenter" = "42"
      }
      display_name = diagnosisStoreDisplayName
      freeform_tags = {
        "Department" = "Finance"
      }
      object_store_bucket    = diagnosisStoreObjectStoreBucket
      object_store_namespace = diagnosisStoreObjectStoreNamespace
    }
    

    Create ClusterHealthDiagnosisStore Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ClusterHealthDiagnosisStore(name: string, args: ClusterHealthDiagnosisStoreArgs, opts?: CustomResourceOptions);
    @overload
    def ClusterHealthDiagnosisStore(resource_name: str,
                                    args: ClusterHealthDiagnosisStoreArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def ClusterHealthDiagnosisStore(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    compartment_id: Optional[str] = None,
                                    defined_tags: Optional[Mapping[str, str]] = None,
                                    display_name: Optional[str] = None,
                                    freeform_tags: Optional[Mapping[str, str]] = None,
                                    object_store_bucket: Optional[str] = None,
                                    object_store_namespace: Optional[str] = None)
    func NewClusterHealthDiagnosisStore(ctx *Context, name string, args ClusterHealthDiagnosisStoreArgs, opts ...ResourceOption) (*ClusterHealthDiagnosisStore, error)
    public ClusterHealthDiagnosisStore(string name, ClusterHealthDiagnosisStoreArgs args, CustomResourceOptions? opts = null)
    public ClusterHealthDiagnosisStore(String name, ClusterHealthDiagnosisStoreArgs args)
    public ClusterHealthDiagnosisStore(String name, ClusterHealthDiagnosisStoreArgs args, CustomResourceOptions options)
    
    type: oci:oci:ClusterHealthDiagnosisStore
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "oci_oci_cluster_health_diagnosis_store" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ClusterHealthDiagnosisStoreArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ClusterHealthDiagnosisStoreArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ClusterHealthDiagnosisStoreArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClusterHealthDiagnosisStoreArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClusterHealthDiagnosisStoreArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var clusterHealthDiagnosisStoreResource = new Oci.Oci.ClusterHealthDiagnosisStore("clusterHealthDiagnosisStoreResource", new()
    {
        CompartmentId = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        ObjectStoreBucket = "string",
        ObjectStoreNamespace = "string",
    });
    
    example, err := oci.NewClusterHealthDiagnosisStore(ctx, "clusterHealthDiagnosisStoreResource", &oci.ClusterHealthDiagnosisStoreArgs{
    	CompartmentId: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	ObjectStoreBucket:    pulumi.String("string"),
    	ObjectStoreNamespace: pulumi.String("string"),
    })
    
    resource "oci_oci_cluster_health_diagnosis_store" "clusterHealthDiagnosisStoreResource" {
      lifecycle {
        create_before_destroy = true
      }
      compartment_id = "string"
      defined_tags = {
        "string" = "string"
      }
      display_name = "string"
      freeform_tags = {
        "string" = "string"
      }
      object_store_bucket    = "string"
      object_store_namespace = "string"
    }
    
    var clusterHealthDiagnosisStoreResource = new ClusterHealthDiagnosisStore("clusterHealthDiagnosisStoreResource", ClusterHealthDiagnosisStoreArgs.builder()
        .compartmentId("string")
        .definedTags(Map.of("string", "string"))
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .objectStoreBucket("string")
        .objectStoreNamespace("string")
        .build());
    
    cluster_health_diagnosis_store_resource = oci.oci.ClusterHealthDiagnosisStore("clusterHealthDiagnosisStoreResource",
        compartment_id="string",
        defined_tags={
            "string": "string",
        },
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        object_store_bucket="string",
        object_store_namespace="string")
    
    const clusterHealthDiagnosisStoreResource = new oci.oci.ClusterHealthDiagnosisStore("clusterHealthDiagnosisStoreResource", {
        compartmentId: "string",
        definedTags: {
            string: "string",
        },
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        objectStoreBucket: "string",
        objectStoreNamespace: "string",
    });
    
    type: oci:oci:ClusterHealthDiagnosisStore
    properties:
        compartmentId: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        objectStoreBucket: string
        objectStoreNamespace: string
    

    ClusterHealthDiagnosisStore Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ClusterHealthDiagnosisStore resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment to create the Diagnosis in.
    DefinedTags Dictionary<string, string>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    ObjectStoreBucket string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    ObjectStoreNamespace string

    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    (Updatable) The OCID of the compartment to create the Diagnosis in.
    DefinedTags map[string]string
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) 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"}
    ObjectStoreBucket string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    ObjectStoreNamespace string

    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id string
    (Updatable) The OCID of the compartment to create the Diagnosis in.
    defined_tags map(string)
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags map(string)
    (Updatable) 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"}
    object_store_bucket string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    object_store_namespace string

    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment to create the Diagnosis in.
    definedTags Map<String,String>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) 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"}
    objectStoreBucket String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    objectStoreNamespace String

    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    (Updatable) The OCID of the compartment to create the Diagnosis in.
    definedTags {[key: string]: string}
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    objectStoreBucket string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    objectStoreNamespace string

    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    (Updatable) The OCID of the compartment to create the Diagnosis in.
    defined_tags Mapping[str, str]
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    object_store_bucket str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    object_store_namespace str

    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment to create the Diagnosis in.
    definedTags Map<String>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) 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"}
    objectStoreBucket String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    objectStoreNamespace String

    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ClusterHealthDiagnosisStore resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    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
    Id string
    The provider-assigned unique ID for this managed resource.
    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.
    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
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    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
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    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
    id string
    The provider-assigned unique ID for this managed resource.
    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.
    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
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    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
    id String
    The provider-assigned unique ID for this managed resource.
    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.
    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

    Look up Existing ClusterHealthDiagnosisStore Resource

    Get an existing ClusterHealthDiagnosisStore resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ClusterHealthDiagnosisStoreState, opts?: CustomResourceOptions): ClusterHealthDiagnosisStore
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            last_accepted_request_token: Optional[str] = None,
            last_completed_request_token: Optional[str] = None,
            lifecycle_details: Optional[str] = None,
            object_store_bucket: Optional[str] = None,
            object_store_namespace: Optional[str] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> ClusterHealthDiagnosisStore
    func GetClusterHealthDiagnosisStore(ctx *Context, name string, id IDInput, state *ClusterHealthDiagnosisStoreState, opts ...ResourceOption) (*ClusterHealthDiagnosisStore, error)
    public static ClusterHealthDiagnosisStore Get(string name, Input<string> id, ClusterHealthDiagnosisStoreState? state, CustomResourceOptions? opts = null)
    public static ClusterHealthDiagnosisStore get(String name, Output<String> id, ClusterHealthDiagnosisStoreState state, CustomResourceOptions options)
    resources:  _:    type: oci:oci:ClusterHealthDiagnosisStore    get:      id: ${id}
    import {
      to = oci_oci_cluster_health_diagnosis_store.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The OCID of the compartment to create the Diagnosis in.
    DefinedTags Dictionary<string, string>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) 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"}
    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    ObjectStoreNamespace string

    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    (Updatable) The OCID of the compartment to create the Diagnosis in.
    DefinedTags map[string]string
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) 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"}
    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    ObjectStoreNamespace string

    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    (Updatable) The OCID of the compartment to create the Diagnosis in.
    defined_tags map(string)
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags map(string)
    (Updatable) 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"}
    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    object_store_namespace string

    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    (Updatable) The OCID of the compartment to create the Diagnosis in.
    definedTags Map<String,String>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) 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"}
    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    objectStoreNamespace String

    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    (Updatable) The OCID of the compartment to create the Diagnosis in.
    definedTags {[key: string]: string}
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) 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"}
    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    objectStoreNamespace string

    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    (Updatable) The OCID of the compartment to create the Diagnosis in.
    defined_tags Mapping[str, str]
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) 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"}
    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    object_store_namespace str

    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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
    (Updatable) The OCID of the compartment to create the Diagnosis in.
    definedTags Map<String>
    (Updatable) 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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) 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"}
    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
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    objectStoreNamespace String

    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    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

    Import

    DiagnosisStores can be imported using the id, e.g.

    $ pulumi import oci:oci/clusterHealthDiagnosisStore:ClusterHealthDiagnosisStore test_diagnosis_store "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.3.1
    published on Tuesday, Oct 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial