1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. Alert
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.DataSafe.Alert

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 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, Any]] = None,
              freeform_tags: Optional[Mapping[str, Any]] = 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.

    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", "any" },
        },
        FreeformTags = 
        {
            { "string", "any" },
        },
        Status = "string",
    });
    
    example, err := DataSafe.NewAlert(ctx, "alertResource", &DataSafe.AlertArgs{
    	AlertId:       pulumi.String("string"),
    	Comment:       pulumi.String("string"),
    	CompartmentId: pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Status: pulumi.String("string"),
    })
    
    var alertResource = new Alert("alertResource", AlertArgs.builder()        
        .alertId("string")
        .comment("string")
        .compartmentId("string")
        .definedTags(Map.of("string", "any"))
        .freeformTags(Map.of("string", "any"))
        .status("string")
        .build());
    
    alert_resource = oci.data_safe.Alert("alertResource",
        alert_id="string",
        comment="string",
        compartment_id="string",
        defined_tags={
            "string": "any",
        },
        freeform_tags={
            "string": "any",
        },
        status="string")
    
    const alertResource = new oci.datasafe.Alert("alertResource", {
        alertId: "string",
        comment: "string",
        compartmentId: "string",
        definedTags: {
            string: "any",
        },
        freeformTags: {
            string: "any",
        },
        status: "string",
    });
    
    type: oci:DataSafe:Alert
    properties:
        alertId: string
        comment: string
        compartmentId: string
        definedTags:
            string: any
        freeformTags:
            string: any
        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, object>
    (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, object>
    (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]interface{}
    (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]interface{}
    (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,Object>
    (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,Object>
    (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]: any}
    (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]: any}
    (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, Any]
    (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, Any]
    (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<Any>
    (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<Any>
    (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:

    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, object>
    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, object>
    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.
    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]interface{}
    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]interface{}
    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.
    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,Object>
    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,Object>
    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.
    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]: any}
    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]: any}
    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_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, Any]
    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, Any]
    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.
    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<Any>
    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<Any>
    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_type: Optional[str] = None,
            comment: Optional[str] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            feature_details: Optional[Mapping[str, Any]] = None,
            freeform_tags: Optional[Mapping[str, Any]] = 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, Any]] = 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.
    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, object>
    (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, object>
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    FreeformTags Dictionary<string, object>
    (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, object>
    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.
    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]interface{}
    (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]interface{}
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    FreeformTags map[string]interface{}
    (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]interface{}
    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.
    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,Object>
    (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,Object>
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    freeformTags Map<String,Object>
    (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,Object>
    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.
    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]: any}
    (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]: any}
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    freeformTags {[key: string]: any}
    (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]: any}
    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_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, Any]
    (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, Any]
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    freeform_tags Mapping[str, Any]
    (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, Any]
    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.
    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<Any>
    (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<Any>
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    freeformTags Map<Any>
    (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<Any>
    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 v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi