1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. Alert
Oracle Cloud Infrastructure v2.15.0 published on Thursday, Oct 31, 2024 by Pulumi

oci.DataSafe.Alert

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.15.0 published on Thursday, Oct 31, 2024 by Pulumi

    This resource provides the Alert resource in Oracle Cloud Infrastructure Data Safe service.

    Updates the status of the specified alert.

    Create Alert Resource

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

    Constructor syntax

    new Alert(name: string, args: AlertArgs, opts?: CustomResourceOptions);
    @overload
    def Alert(resource_name: str,
              args: AlertArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Alert(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              alert_id: Optional[str] = None,
              comment: Optional[str] = None,
              compartment_id: Optional[str] = None,
              defined_tags: Optional[Mapping[str, str]] = None,
              freeform_tags: Optional[Mapping[str, str]] = None,
              status: Optional[str] = None)
    func NewAlert(ctx *Context, name string, args AlertArgs, opts ...ResourceOption) (*Alert, error)
    public Alert(string name, AlertArgs args, CustomResourceOptions? opts = null)
    public Alert(String name, AlertArgs args)
    public Alert(String name, AlertArgs args, CustomResourceOptions options)
    
    type: oci:DataSafe:Alert
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AlertArgs
    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 AlertArgs
    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 AlertArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AlertArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AlertArgs
    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 alertResource = new Oci.DataSafe.Alert("alertResource", new()
    {
        AlertId = "string",
        Comment = "string",
        CompartmentId = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        Status = "string",
    });
    
    example, err := DataSafe.NewAlert(ctx, "alertResource", &DataSafe.AlertArgs{
    	AlertId:       pulumi.String("string"),
    	Comment:       pulumi.String("string"),
    	CompartmentId: pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Status: pulumi.String("string"),
    })
    
    var alertResource = new Alert("alertResource", AlertArgs.builder()
        .alertId("string")
        .comment("string")
        .compartmentId("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .status("string")
        .build());
    
    alert_resource = oci.data_safe.Alert("alertResource",
        alert_id="string",
        comment="string",
        compartment_id="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        status="string")
    
    const alertResource = new oci.datasafe.Alert("alertResource", {
        alertId: "string",
        comment: "string",
        compartmentId: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        status: "string",
    });
    
    type: oci:DataSafe:Alert
    properties:
        alertId: string
        comment: string
        compartmentId: string
        definedTags:
            string: string
        freeformTags:
            string: string
        status: string
    

    Alert Resource Properties

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

    Inputs

    The Alert resource accepts the following input properties:

    AlertId string
    The OCID of alert.
    Comment string
    (Updatable) A comment can be entered to track the alert changes done by the user.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the alert.
    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"}
    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"}
    Status string

    (Updatable) The status of the alert.

    ** 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

    AlertId string
    The OCID of alert.
    Comment string
    (Updatable) A comment can be entered to track the alert changes done by the user.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the alert.
    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"}
    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"}
    Status string

    (Updatable) The status of the alert.

    ** 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

    alertId String
    The OCID of alert.
    comment String
    (Updatable) A comment can be entered to track the alert changes done by the user.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the alert.
    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"}
    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"}
    status String

    (Updatable) The status of the alert.

    ** 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

    alertId string
    The OCID of alert.
    comment string
    (Updatable) A comment can be entered to track the alert changes done by the user.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the alert.
    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"}
    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"}
    status string

    (Updatable) The status of the alert.

    ** 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

    alert_id str
    The OCID of alert.
    comment str
    (Updatable) A comment can be entered to track the alert changes done by the user.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the alert.
    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"}
    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"}
    status str

    (Updatable) The status of the alert.

    ** 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

    alertId String
    The OCID of alert.
    comment String
    (Updatable) A comment can be entered to track the alert changes done by the user.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the alert.
    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"}
    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"}
    status String

    (Updatable) The status of the alert.

    ** 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 Alert resource produces the following output properties:

    AlertPolicyRuleKey string
    The key of the rule of alert policy that triggered alert.
    AlertPolicyRuleName string
    The display name of the rule of alert policy that triggered alert.
    AlertType string
    Type of the alert. Indicates the Data Safe feature triggering the alert.
    Description string
    The description of the alert.
    DisplayName string
    The display name of the alert.
    FeatureDetails Dictionary<string, string>
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    Id string
    The provider-assigned unique ID for this managed resource.
    Operation string
    The operation (event) that triggered alert.
    OperationStatus string
    The result of the operation (event) that triggered alert.
    OperationTime string
    Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
    PolicyId string
    The OCID of the policy that triggered alert.
    ResourceName string
    The resource endpoint that triggered the alert.
    Severity string
    Severity level of the alert.
    State string
    The current state of the alert.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetIds List<string>
    Array of OCIDs of the target database which are associated with the alert.
    TargetNames List<string>
    Array of names of the target database.
    TimeCreated string
    Creation date and time of the alert, in the format defined by RFC3339.
    TimeUpdated string
    Last date and time the alert was updated, in the format defined by RFC3339.
    AlertPolicyRuleKey string
    The key of the rule of alert policy that triggered alert.
    AlertPolicyRuleName string
    The display name of the rule of alert policy that triggered alert.
    AlertType string
    Type of the alert. Indicates the Data Safe feature triggering the alert.
    Description string
    The description of the alert.
    DisplayName string
    The display name of the alert.
    FeatureDetails map[string]string
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    Id string
    The provider-assigned unique ID for this managed resource.
    Operation string
    The operation (event) that triggered alert.
    OperationStatus string
    The result of the operation (event) that triggered alert.
    OperationTime string
    Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
    PolicyId string
    The OCID of the policy that triggered alert.
    ResourceName string
    The resource endpoint that triggered the alert.
    Severity string
    Severity level of the alert.
    State string
    The current state of the alert.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetIds []string
    Array of OCIDs of the target database which are associated with the alert.
    TargetNames []string
    Array of names of the target database.
    TimeCreated string
    Creation date and time of the alert, in the format defined by RFC3339.
    TimeUpdated string
    Last date and time the alert was updated, in the format defined by RFC3339.
    alertPolicyRuleKey String
    The key of the rule of alert policy that triggered alert.
    alertPolicyRuleName String
    The display name of the rule of alert policy that triggered alert.
    alertType String
    Type of the alert. Indicates the Data Safe feature triggering the alert.
    description String
    The description of the alert.
    displayName String
    The display name of the alert.
    featureDetails Map<String,String>
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    id String
    The provider-assigned unique ID for this managed resource.
    operation String
    The operation (event) that triggered alert.
    operationStatus String
    The result of the operation (event) that triggered alert.
    operationTime String
    Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
    policyId String
    The OCID of the policy that triggered alert.
    resourceName String
    The resource endpoint that triggered the alert.
    severity String
    Severity level of the alert.
    state String
    The current state of the alert.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetIds List<String>
    Array of OCIDs of the target database which are associated with the alert.
    targetNames List<String>
    Array of names of the target database.
    timeCreated String
    Creation date and time of the alert, in the format defined by RFC3339.
    timeUpdated String
    Last date and time the alert was updated, in the format defined by RFC3339.
    alertPolicyRuleKey string
    The key of the rule of alert policy that triggered alert.
    alertPolicyRuleName string
    The display name of the rule of alert policy that triggered alert.
    alertType string
    Type of the alert. Indicates the Data Safe feature triggering the alert.
    description string
    The description of the alert.
    displayName string
    The display name of the alert.
    featureDetails {[key: string]: string}
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    id string
    The provider-assigned unique ID for this managed resource.
    operation string
    The operation (event) that triggered alert.
    operationStatus string
    The result of the operation (event) that triggered alert.
    operationTime string
    Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
    policyId string
    The OCID of the policy that triggered alert.
    resourceName string
    The resource endpoint that triggered the alert.
    severity string
    Severity level of the alert.
    state string
    The current state of the alert.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetIds string[]
    Array of OCIDs of the target database which are associated with the alert.
    targetNames string[]
    Array of names of the target database.
    timeCreated string
    Creation date and time of the alert, in the format defined by RFC3339.
    timeUpdated string
    Last date and time the alert was updated, in the format defined by RFC3339.
    alert_policy_rule_key str
    The key of the rule of alert policy that triggered alert.
    alert_policy_rule_name str
    The display name of the rule of alert policy that triggered alert.
    alert_type str
    Type of the alert. Indicates the Data Safe feature triggering the alert.
    description str
    The description of the alert.
    display_name str
    The display name of the alert.
    feature_details Mapping[str, str]
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    id str
    The provider-assigned unique ID for this managed resource.
    operation str
    The operation (event) that triggered alert.
    operation_status str
    The result of the operation (event) that triggered alert.
    operation_time str
    Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
    policy_id str
    The OCID of the policy that triggered alert.
    resource_name str
    The resource endpoint that triggered the alert.
    severity str
    Severity level of the alert.
    state str
    The current state of the alert.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    target_ids Sequence[str]
    Array of OCIDs of the target database which are associated with the alert.
    target_names Sequence[str]
    Array of names of the target database.
    time_created str
    Creation date and time of the alert, in the format defined by RFC3339.
    time_updated str
    Last date and time the alert was updated, in the format defined by RFC3339.
    alertPolicyRuleKey String
    The key of the rule of alert policy that triggered alert.
    alertPolicyRuleName String
    The display name of the rule of alert policy that triggered alert.
    alertType String
    Type of the alert. Indicates the Data Safe feature triggering the alert.
    description String
    The description of the alert.
    displayName String
    The display name of the alert.
    featureDetails Map<String>
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    id String
    The provider-assigned unique ID for this managed resource.
    operation String
    The operation (event) that triggered alert.
    operationStatus String
    The result of the operation (event) that triggered alert.
    operationTime String
    Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
    policyId String
    The OCID of the policy that triggered alert.
    resourceName String
    The resource endpoint that triggered the alert.
    severity String
    Severity level of the alert.
    state String
    The current state of the alert.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetIds List<String>
    Array of OCIDs of the target database which are associated with the alert.
    targetNames List<String>
    Array of names of the target database.
    timeCreated String
    Creation date and time of the alert, in the format defined by RFC3339.
    timeUpdated String
    Last date and time the alert was updated, in the format defined by RFC3339.

    Look up Existing Alert Resource

    Get an existing Alert 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?: AlertState, opts?: CustomResourceOptions): Alert
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alert_id: Optional[str] = None,
            alert_policy_rule_key: Optional[str] = None,
            alert_policy_rule_name: Optional[str] = None,
            alert_type: Optional[str] = None,
            comment: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            feature_details: Optional[Mapping[str, str]] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            operation: Optional[str] = None,
            operation_status: Optional[str] = None,
            operation_time: Optional[str] = None,
            policy_id: Optional[str] = None,
            resource_name: Optional[str] = None,
            severity: Optional[str] = None,
            state: Optional[str] = None,
            status: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            target_ids: Optional[Sequence[str]] = None,
            target_names: Optional[Sequence[str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None) -> Alert
    func GetAlert(ctx *Context, name string, id IDInput, state *AlertState, opts ...ResourceOption) (*Alert, error)
    public static Alert Get(string name, Input<string> id, AlertState? state, CustomResourceOptions? opts = null)
    public static Alert get(String name, Output<String> id, AlertState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    AlertId string
    The OCID of alert.
    AlertPolicyRuleKey string
    The key of the rule of alert policy that triggered alert.
    AlertPolicyRuleName string
    The display name of the rule of alert policy that triggered alert.
    AlertType string
    Type of the alert. Indicates the Data Safe feature triggering the alert.
    Comment string
    (Updatable) A comment can be entered to track the alert changes done by the user.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the alert.
    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"}
    Description string
    The description of the alert.
    DisplayName string
    The display name of the alert.
    FeatureDetails Dictionary<string, string>
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    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"}
    Operation string
    The operation (event) that triggered alert.
    OperationStatus string
    The result of the operation (event) that triggered alert.
    OperationTime string
    Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
    PolicyId string
    The OCID of the policy that triggered alert.
    ResourceName string
    The resource endpoint that triggered the alert.
    Severity string
    Severity level of the alert.
    State string
    The current state of the alert.
    Status string

    (Updatable) The status of the alert.

    ** 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

    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetIds List<string>
    Array of OCIDs of the target database which are associated with the alert.
    TargetNames List<string>
    Array of names of the target database.
    TimeCreated string
    Creation date and time of the alert, in the format defined by RFC3339.
    TimeUpdated string
    Last date and time the alert was updated, in the format defined by RFC3339.
    AlertId string
    The OCID of alert.
    AlertPolicyRuleKey string
    The key of the rule of alert policy that triggered alert.
    AlertPolicyRuleName string
    The display name of the rule of alert policy that triggered alert.
    AlertType string
    Type of the alert. Indicates the Data Safe feature triggering the alert.
    Comment string
    (Updatable) A comment can be entered to track the alert changes done by the user.
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the alert.
    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"}
    Description string
    The description of the alert.
    DisplayName string
    The display name of the alert.
    FeatureDetails map[string]string
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    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"}
    Operation string
    The operation (event) that triggered alert.
    OperationStatus string
    The result of the operation (event) that triggered alert.
    OperationTime string
    Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
    PolicyId string
    The OCID of the policy that triggered alert.
    ResourceName string
    The resource endpoint that triggered the alert.
    Severity string
    Severity level of the alert.
    State string
    The current state of the alert.
    Status string

    (Updatable) The status of the alert.

    ** 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

    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetIds []string
    Array of OCIDs of the target database which are associated with the alert.
    TargetNames []string
    Array of names of the target database.
    TimeCreated string
    Creation date and time of the alert, in the format defined by RFC3339.
    TimeUpdated string
    Last date and time the alert was updated, in the format defined by RFC3339.
    alertId String
    The OCID of alert.
    alertPolicyRuleKey String
    The key of the rule of alert policy that triggered alert.
    alertPolicyRuleName String
    The display name of the rule of alert policy that triggered alert.
    alertType String
    Type of the alert. Indicates the Data Safe feature triggering the alert.
    comment String
    (Updatable) A comment can be entered to track the alert changes done by the user.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the alert.
    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"}
    description String
    The description of the alert.
    displayName String
    The display name of the alert.
    featureDetails Map<String,String>
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    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"}
    operation String
    The operation (event) that triggered alert.
    operationStatus String
    The result of the operation (event) that triggered alert.
    operationTime String
    Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
    policyId String
    The OCID of the policy that triggered alert.
    resourceName String
    The resource endpoint that triggered the alert.
    severity String
    Severity level of the alert.
    state String
    The current state of the alert.
    status String

    (Updatable) The status of the alert.

    ** 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

    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetIds List<String>
    Array of OCIDs of the target database which are associated with the alert.
    targetNames List<String>
    Array of names of the target database.
    timeCreated String
    Creation date and time of the alert, in the format defined by RFC3339.
    timeUpdated String
    Last date and time the alert was updated, in the format defined by RFC3339.
    alertId string
    The OCID of alert.
    alertPolicyRuleKey string
    The key of the rule of alert policy that triggered alert.
    alertPolicyRuleName string
    The display name of the rule of alert policy that triggered alert.
    alertType string
    Type of the alert. Indicates the Data Safe feature triggering the alert.
    comment string
    (Updatable) A comment can be entered to track the alert changes done by the user.
    compartmentId string
    (Updatable) The OCID of the compartment that contains the alert.
    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"}
    description string
    The description of the alert.
    displayName string
    The display name of the alert.
    featureDetails {[key: string]: string}
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    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"}
    operation string
    The operation (event) that triggered alert.
    operationStatus string
    The result of the operation (event) that triggered alert.
    operationTime string
    Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
    policyId string
    The OCID of the policy that triggered alert.
    resourceName string
    The resource endpoint that triggered the alert.
    severity string
    Severity level of the alert.
    state string
    The current state of the alert.
    status string

    (Updatable) The status of the alert.

    ** 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

    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetIds string[]
    Array of OCIDs of the target database which are associated with the alert.
    targetNames string[]
    Array of names of the target database.
    timeCreated string
    Creation date and time of the alert, in the format defined by RFC3339.
    timeUpdated string
    Last date and time the alert was updated, in the format defined by RFC3339.
    alert_id str
    The OCID of alert.
    alert_policy_rule_key str
    The key of the rule of alert policy that triggered alert.
    alert_policy_rule_name str
    The display name of the rule of alert policy that triggered alert.
    alert_type str
    Type of the alert. Indicates the Data Safe feature triggering the alert.
    comment str
    (Updatable) A comment can be entered to track the alert changes done by the user.
    compartment_id str
    (Updatable) The OCID of the compartment that contains the alert.
    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"}
    description str
    The description of the alert.
    display_name str
    The display name of the alert.
    feature_details Mapping[str, str]
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    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"}
    operation str
    The operation (event) that triggered alert.
    operation_status str
    The result of the operation (event) that triggered alert.
    operation_time str
    Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
    policy_id str
    The OCID of the policy that triggered alert.
    resource_name str
    The resource endpoint that triggered the alert.
    severity str
    Severity level of the alert.
    state str
    The current state of the alert.
    status str

    (Updatable) The status of the alert.

    ** 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

    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    target_ids Sequence[str]
    Array of OCIDs of the target database which are associated with the alert.
    target_names Sequence[str]
    Array of names of the target database.
    time_created str
    Creation date and time of the alert, in the format defined by RFC3339.
    time_updated str
    Last date and time the alert was updated, in the format defined by RFC3339.
    alertId String
    The OCID of alert.
    alertPolicyRuleKey String
    The key of the rule of alert policy that triggered alert.
    alertPolicyRuleName String
    The display name of the rule of alert policy that triggered alert.
    alertType String
    Type of the alert. Indicates the Data Safe feature triggering the alert.
    comment String
    (Updatable) A comment can be entered to track the alert changes done by the user.
    compartmentId String
    (Updatable) The OCID of the compartment that contains the alert.
    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"}
    description String
    The description of the alert.
    displayName String
    The display name of the alert.
    featureDetails Map<String>
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    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"}
    operation String
    The operation (event) that triggered alert.
    operationStatus String
    The result of the operation (event) that triggered alert.
    operationTime String
    Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
    policyId String
    The OCID of the policy that triggered alert.
    resourceName String
    The resource endpoint that triggered the alert.
    severity String
    Severity level of the alert.
    state String
    The current state of the alert.
    status String

    (Updatable) The status of the alert.

    ** 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

    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetIds List<String>
    Array of OCIDs of the target database which are associated with the alert.
    targetNames List<String>
    Array of names of the target database.
    timeCreated String
    Creation date and time of the alert, in the format defined by RFC3339.
    timeUpdated String
    Last date and time the alert was updated, in the format defined by RFC3339.

    Import

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

    $ pulumi import oci:DataSafe/alert:Alert test_alert "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
    Oracle Cloud Infrastructure v2.15.0 published on Thursday, Oct 31, 2024 by Pulumi