1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. getAlerts
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.DataSafe.getAlerts

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

This data source provides the list of Alerts in Oracle Cloud Infrastructure Data Safe service.

Gets a list of all alerts.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testAlerts = oci.DataSafe.getAlerts({
    compartmentId: compartmentId,
    accessLevel: alertAccessLevel,
    compartmentIdInSubtree: alertCompartmentIdInSubtree,
    fields: alertField,
    id: alertId,
    scimQuery: alertScimQuery,
});
Copy
import pulumi
import pulumi_oci as oci

test_alerts = oci.DataSafe.get_alerts(compartment_id=compartment_id,
    access_level=alert_access_level,
    compartment_id_in_subtree=alert_compartment_id_in_subtree,
    fields=alert_field,
    id=alert_id,
    scim_query=alert_scim_query)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/datasafe"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datasafe.GetAlerts(ctx, &datasafe.GetAlertsArgs{
			CompartmentId:          compartmentId,
			AccessLevel:            pulumi.StringRef(alertAccessLevel),
			CompartmentIdInSubtree: pulumi.BoolRef(alertCompartmentIdInSubtree),
			Fields:                 alertField,
			Id:                     pulumi.StringRef(alertId),
			ScimQuery:              pulumi.StringRef(alertScimQuery),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testAlerts = Oci.DataSafe.GetAlerts.Invoke(new()
    {
        CompartmentId = compartmentId,
        AccessLevel = alertAccessLevel,
        CompartmentIdInSubtree = alertCompartmentIdInSubtree,
        Fields = alertField,
        Id = alertId,
        ScimQuery = alertScimQuery,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DataSafeFunctions;
import com.pulumi.oci.DataSafe.inputs.GetAlertsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testAlerts = DataSafeFunctions.getAlerts(GetAlertsArgs.builder()
            .compartmentId(compartmentId)
            .accessLevel(alertAccessLevel)
            .compartmentIdInSubtree(alertCompartmentIdInSubtree)
            .fields(alertField)
            .id(alertId)
            .scimQuery(alertScimQuery)
            .build());

    }
}
Copy
variables:
  testAlerts:
    fn::invoke:
      function: oci:DataSafe:getAlerts
      arguments:
        compartmentId: ${compartmentId}
        accessLevel: ${alertAccessLevel}
        compartmentIdInSubtree: ${alertCompartmentIdInSubtree}
        fields: ${alertField}
        id: ${alertId}
        scimQuery: ${alertScimQuery}
Copy

Using getAlerts

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAlerts(args: GetAlertsArgs, opts?: InvokeOptions): Promise<GetAlertsResult>
function getAlertsOutput(args: GetAlertsOutputArgs, opts?: InvokeOptions): Output<GetAlertsResult>
Copy
def get_alerts(access_level: Optional[str] = None,
               compartment_id: Optional[str] = None,
               compartment_id_in_subtree: Optional[bool] = None,
               fields: Optional[Sequence[str]] = None,
               filters: Optional[Sequence[_datasafe.GetAlertsFilter]] = None,
               id: Optional[str] = None,
               scim_query: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetAlertsResult
def get_alerts_output(access_level: Optional[pulumi.Input[str]] = None,
               compartment_id: Optional[pulumi.Input[str]] = None,
               compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None,
               fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
               filters: Optional[pulumi.Input[Sequence[pulumi.Input[_datasafe.GetAlertsFilterArgs]]]] = None,
               id: Optional[pulumi.Input[str]] = None,
               scim_query: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetAlertsResult]
Copy
func GetAlerts(ctx *Context, args *GetAlertsArgs, opts ...InvokeOption) (*GetAlertsResult, error)
func GetAlertsOutput(ctx *Context, args *GetAlertsOutputArgs, opts ...InvokeOption) GetAlertsResultOutput
Copy

> Note: This function is named GetAlerts in the Go SDK.

public static class GetAlerts 
{
    public static Task<GetAlertsResult> InvokeAsync(GetAlertsArgs args, InvokeOptions? opts = null)
    public static Output<GetAlertsResult> Invoke(GetAlertsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAlertsResult> getAlerts(GetAlertsArgs args, InvokeOptions options)
public static Output<GetAlertsResult> getAlerts(GetAlertsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:DataSafe/getAlerts:getAlerts
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

CompartmentId This property is required. string
A filter to return only resources that match the specified compartment OCID.
AccessLevel string
Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
CompartmentIdInSubtree bool
Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
Fields List<string>
Specifies a subset of fields to be returned in the response.
Filters Changes to this property will trigger replacement. List<GetAlertsFilter>
Id string
A filter to return alert by it's OCID.
ScimQuery string

The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)

Example: | query=(timeCreated ge '2021-06-04T01-00-26') and (targetNames eq 'target_1') query=(featureDetails.userName eq "user") and (targetNames eq "target_1") Supported fields: severity status alertType targetIds targetNames operationTime lifecycleState displayName timeCreated timeUpdated featureDetails.* (* can be any field in nestedStrMap in Feature Attributes in Alert Summary. For example - userName,object,clientHostname,osUserName,clientIPs,clientId,commandText,commandParam,clientProgram,objectType,targetOwner)

CompartmentId This property is required. string
A filter to return only resources that match the specified compartment OCID.
AccessLevel string
Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
CompartmentIdInSubtree bool
Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
Fields []string
Specifies a subset of fields to be returned in the response.
Filters Changes to this property will trigger replacement. []GetAlertsFilter
Id string
A filter to return alert by it's OCID.
ScimQuery string

The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)

Example: | query=(timeCreated ge '2021-06-04T01-00-26') and (targetNames eq 'target_1') query=(featureDetails.userName eq "user") and (targetNames eq "target_1") Supported fields: severity status alertType targetIds targetNames operationTime lifecycleState displayName timeCreated timeUpdated featureDetails.* (* can be any field in nestedStrMap in Feature Attributes in Alert Summary. For example - userName,object,clientHostname,osUserName,clientIPs,clientId,commandText,commandParam,clientProgram,objectType,targetOwner)

compartmentId This property is required. String
A filter to return only resources that match the specified compartment OCID.
accessLevel String
Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
compartmentIdInSubtree Boolean
Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
fields List<String>
Specifies a subset of fields to be returned in the response.
filters Changes to this property will trigger replacement. List<GetAlertsFilter>
id String
A filter to return alert by it's OCID.
scimQuery String

The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)

Example: | query=(timeCreated ge '2021-06-04T01-00-26') and (targetNames eq 'target_1') query=(featureDetails.userName eq "user") and (targetNames eq "target_1") Supported fields: severity status alertType targetIds targetNames operationTime lifecycleState displayName timeCreated timeUpdated featureDetails.* (* can be any field in nestedStrMap in Feature Attributes in Alert Summary. For example - userName,object,clientHostname,osUserName,clientIPs,clientId,commandText,commandParam,clientProgram,objectType,targetOwner)

compartmentId This property is required. string
A filter to return only resources that match the specified compartment OCID.
accessLevel string
Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
compartmentIdInSubtree boolean
Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
fields string[]
Specifies a subset of fields to be returned in the response.
filters Changes to this property will trigger replacement. GetAlertsFilter[]
id string
A filter to return alert by it's OCID.
scimQuery string

The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)

Example: | query=(timeCreated ge '2021-06-04T01-00-26') and (targetNames eq 'target_1') query=(featureDetails.userName eq "user") and (targetNames eq "target_1") Supported fields: severity status alertType targetIds targetNames operationTime lifecycleState displayName timeCreated timeUpdated featureDetails.* (* can be any field in nestedStrMap in Feature Attributes in Alert Summary. For example - userName,object,clientHostname,osUserName,clientIPs,clientId,commandText,commandParam,clientProgram,objectType,targetOwner)

compartment_id This property is required. str
A filter to return only resources that match the specified compartment OCID.
access_level str
Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
compartment_id_in_subtree bool
Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
fields Sequence[str]
Specifies a subset of fields to be returned in the response.
filters Changes to this property will trigger replacement. Sequence[datasafe.GetAlertsFilter]
id str
A filter to return alert by it's OCID.
scim_query str

The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)

Example: | query=(timeCreated ge '2021-06-04T01-00-26') and (targetNames eq 'target_1') query=(featureDetails.userName eq "user") and (targetNames eq "target_1") Supported fields: severity status alertType targetIds targetNames operationTime lifecycleState displayName timeCreated timeUpdated featureDetails.* (* can be any field in nestedStrMap in Feature Attributes in Alert Summary. For example - userName,object,clientHostname,osUserName,clientIPs,clientId,commandText,commandParam,clientProgram,objectType,targetOwner)

compartmentId This property is required. String
A filter to return only resources that match the specified compartment OCID.
accessLevel String
Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.
compartmentIdInSubtree Boolean
Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned. Depends on the 'accessLevel' setting.
fields List<String>
Specifies a subset of fields to be returned in the response.
filters Changes to this property will trigger replacement. List<Property Map>
id String
A filter to return alert by it's OCID.
scimQuery String

The scimQuery query parameter accepts filter expressions that use the syntax described in Section 3.2.2.2 of the System for Cross-Domain Identity Management (SCIM) specification, which is available at RFC3339. In SCIM filtering expressions, text, date, and time values must be enclosed in quotation marks, with date and time values using ISO-8601 format. (Numeric and boolean values should not be quoted.)

Example: | query=(timeCreated ge '2021-06-04T01-00-26') and (targetNames eq 'target_1') query=(featureDetails.userName eq "user") and (targetNames eq "target_1") Supported fields: severity status alertType targetIds targetNames operationTime lifecycleState displayName timeCreated timeUpdated featureDetails.* (* can be any field in nestedStrMap in Feature Attributes in Alert Summary. For example - userName,object,clientHostname,osUserName,clientIPs,clientId,commandText,commandParam,clientProgram,objectType,targetOwner)

getAlerts Result

The following output properties are available:

AlertCollections List<GetAlertsAlertCollection>
The list of alert_collection.
CompartmentId string
The OCID of the compartment that contains the alert.
AccessLevel string
CompartmentIdInSubtree bool
Fields List<string>
Filters List<GetAlertsFilter>
Id string
The OCID of the alert.
ScimQuery string
AlertCollections []GetAlertsAlertCollection
The list of alert_collection.
CompartmentId string
The OCID of the compartment that contains the alert.
AccessLevel string
CompartmentIdInSubtree bool
Fields []string
Filters []GetAlertsFilter
Id string
The OCID of the alert.
ScimQuery string
alertCollections List<GetAlertsAlertCollection>
The list of alert_collection.
compartmentId String
The OCID of the compartment that contains the alert.
accessLevel String
compartmentIdInSubtree Boolean
fields List<String>
filters List<GetAlertsFilter>
id String
The OCID of the alert.
scimQuery String
alertCollections GetAlertsAlertCollection[]
The list of alert_collection.
compartmentId string
The OCID of the compartment that contains the alert.
accessLevel string
compartmentIdInSubtree boolean
fields string[]
filters GetAlertsFilter[]
id string
The OCID of the alert.
scimQuery string
alert_collections Sequence[datasafe.GetAlertsAlertCollection]
The list of alert_collection.
compartment_id str
The OCID of the compartment that contains the alert.
access_level str
compartment_id_in_subtree bool
fields Sequence[str]
filters Sequence[datasafe.GetAlertsFilter]
id str
The OCID of the alert.
scim_query str
alertCollections List<Property Map>
The list of alert_collection.
compartmentId String
The OCID of the compartment that contains the alert.
accessLevel String
compartmentIdInSubtree Boolean
fields List<String>
filters List<Property Map>
id String
The OCID of the alert.
scimQuery String

Supporting Types

GetAlertsAlertCollection

Items This property is required. List<GetAlertsAlertCollectionItem>
Items This property is required. []GetAlertsAlertCollectionItem
items This property is required. List<GetAlertsAlertCollectionItem>
items This property is required. GetAlertsAlertCollectionItem[]
items This property is required. List<Property Map>

GetAlertsAlertCollectionItem

AlertId This property is required. string
AlertPolicyRuleKey This property is required. string
The key of the rule of alert policy that triggered alert.
AlertPolicyRuleName This property is required. string
The display name of the rule of alert policy that triggered alert.
AlertType This property is required. string
Type of the alert. Indicates the Data Safe feature triggering the alert.
Comment This property is required. string
A comment for the alert. Entered by the user.
CompartmentId This property is required. string
A filter to return only resources that match the specified compartment OCID.
DefinedTags This property is required. Dictionary<string, string>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
Description This property is required. string
The description of the alert.
DisplayName This property is required. string
The display name of the alert.
FeatureDetails This property is required. Dictionary<string, string>
Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
FreeformTags This property is required. Dictionary<string, string>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
Id This property is required. string
A filter to return alert by it's OCID.
Operation This property is required. string
The operation (event) that triggered alert.
OperationStatus This property is required. string
The result of the operation (event) that triggered alert.
OperationTime This property is required. string
Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
PolicyId This property is required. string
The OCID of the policy that triggered alert.
ResourceName This property is required. string
The resource endpoint that triggered the alert.
Severity This property is required. string
Severity level of the alert.
State This property is required. string
The current state of the alert.
Status This property is required. string
The status of the alert.
SystemTags This property is required. 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 This property is required. List<string>
Array of OCIDs of the target database which are associated with the alert.
TargetNames This property is required. List<string>
Array of names of the target database.
TimeCreated This property is required. string
Creation date and time of the alert, in the format defined by RFC3339.
TimeUpdated This property is required. string
Last date and time the alert was updated, in the format defined by RFC3339.
AlertId This property is required. string
AlertPolicyRuleKey This property is required. string
The key of the rule of alert policy that triggered alert.
AlertPolicyRuleName This property is required. string
The display name of the rule of alert policy that triggered alert.
AlertType This property is required. string
Type of the alert. Indicates the Data Safe feature triggering the alert.
Comment This property is required. string
A comment for the alert. Entered by the user.
CompartmentId This property is required. string
A filter to return only resources that match the specified compartment OCID.
DefinedTags This property is required. map[string]string
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
Description This property is required. string
The description of the alert.
DisplayName This property is required. string
The display name of the alert.
FeatureDetails This property is required. map[string]string
Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
FreeformTags This property is required. map[string]string
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
Id This property is required. string
A filter to return alert by it's OCID.
Operation This property is required. string
The operation (event) that triggered alert.
OperationStatus This property is required. string
The result of the operation (event) that triggered alert.
OperationTime This property is required. string
Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
PolicyId This property is required. string
The OCID of the policy that triggered alert.
ResourceName This property is required. string
The resource endpoint that triggered the alert.
Severity This property is required. string
Severity level of the alert.
State This property is required. string
The current state of the alert.
Status This property is required. string
The status of the alert.
SystemTags This property is required. 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 This property is required. []string
Array of OCIDs of the target database which are associated with the alert.
TargetNames This property is required. []string
Array of names of the target database.
TimeCreated This property is required. string
Creation date and time of the alert, in the format defined by RFC3339.
TimeUpdated This property is required. string
Last date and time the alert was updated, in the format defined by RFC3339.
alertId This property is required. String
alertPolicyRuleKey This property is required. String
The key of the rule of alert policy that triggered alert.
alertPolicyRuleName This property is required. String
The display name of the rule of alert policy that triggered alert.
alertType This property is required. String
Type of the alert. Indicates the Data Safe feature triggering the alert.
comment This property is required. String
A comment for the alert. Entered by the user.
compartmentId This property is required. String
A filter to return only resources that match the specified compartment OCID.
definedTags This property is required. Map<String,String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
description This property is required. String
The description of the alert.
displayName This property is required. String
The display name of the alert.
featureDetails This property is required. Map<String,String>
Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
freeformTags This property is required. Map<String,String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
id This property is required. String
A filter to return alert by it's OCID.
operation This property is required. String
The operation (event) that triggered alert.
operationStatus This property is required. String
The result of the operation (event) that triggered alert.
operationTime This property is required. String
Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
policyId This property is required. String
The OCID of the policy that triggered alert.
resourceName This property is required. String
The resource endpoint that triggered the alert.
severity This property is required. String
Severity level of the alert.
state This property is required. String
The current state of the alert.
status This property is required. String
The status of the alert.
systemTags This property is required. 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 This property is required. List<String>
Array of OCIDs of the target database which are associated with the alert.
targetNames This property is required. List<String>
Array of names of the target database.
timeCreated This property is required. String
Creation date and time of the alert, in the format defined by RFC3339.
timeUpdated This property is required. String
Last date and time the alert was updated, in the format defined by RFC3339.
alertId This property is required. string
alertPolicyRuleKey This property is required. string
The key of the rule of alert policy that triggered alert.
alertPolicyRuleName This property is required. string
The display name of the rule of alert policy that triggered alert.
alertType This property is required. string
Type of the alert. Indicates the Data Safe feature triggering the alert.
comment This property is required. string
A comment for the alert. Entered by the user.
compartmentId This property is required. string
A filter to return only resources that match the specified compartment OCID.
definedTags This property is required. {[key: string]: string}
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
description This property is required. string
The description of the alert.
displayName This property is required. string
The display name of the alert.
featureDetails This property is required. {[key: string]: string}
Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
freeformTags This property is required. {[key: string]: string}
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
id This property is required. string
A filter to return alert by it's OCID.
operation This property is required. string
The operation (event) that triggered alert.
operationStatus This property is required. string
The result of the operation (event) that triggered alert.
operationTime This property is required. string
Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
policyId This property is required. string
The OCID of the policy that triggered alert.
resourceName This property is required. string
The resource endpoint that triggered the alert.
severity This property is required. string
Severity level of the alert.
state This property is required. string
The current state of the alert.
status This property is required. string
The status of the alert.
systemTags This property is required. {[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 This property is required. string[]
Array of OCIDs of the target database which are associated with the alert.
targetNames This property is required. string[]
Array of names of the target database.
timeCreated This property is required. string
Creation date and time of the alert, in the format defined by RFC3339.
timeUpdated This property is required. string
Last date and time the alert was updated, in the format defined by RFC3339.
alert_id This property is required. str
alert_policy_rule_key This property is required. str
The key of the rule of alert policy that triggered alert.
alert_policy_rule_name This property is required. str
The display name of the rule of alert policy that triggered alert.
alert_type This property is required. str
Type of the alert. Indicates the Data Safe feature triggering the alert.
comment This property is required. str
A comment for the alert. Entered by the user.
compartment_id This property is required. str
A filter to return only resources that match the specified compartment OCID.
defined_tags This property is required. Mapping[str, str]
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
description This property is required. str
The description of the alert.
display_name This property is required. str
The display name of the alert.
feature_details This property is required. Mapping[str, str]
Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
freeform_tags This property is required. Mapping[str, str]
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
id This property is required. str
A filter to return alert by it's OCID.
operation This property is required. str
The operation (event) that triggered alert.
operation_status This property is required. str
The result of the operation (event) that triggered alert.
operation_time This property is required. str
Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
policy_id This property is required. str
The OCID of the policy that triggered alert.
resource_name This property is required. str
The resource endpoint that triggered the alert.
severity This property is required. str
Severity level of the alert.
state This property is required. str
The current state of the alert.
status This property is required. str
The status of the alert.
system_tags This property is required. 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 This property is required. Sequence[str]
Array of OCIDs of the target database which are associated with the alert.
target_names This property is required. Sequence[str]
Array of names of the target database.
time_created This property is required. str
Creation date and time of the alert, in the format defined by RFC3339.
time_updated This property is required. str
Last date and time the alert was updated, in the format defined by RFC3339.
alertId This property is required. String
alertPolicyRuleKey This property is required. String
The key of the rule of alert policy that triggered alert.
alertPolicyRuleName This property is required. String
The display name of the rule of alert policy that triggered alert.
alertType This property is required. String
Type of the alert. Indicates the Data Safe feature triggering the alert.
comment This property is required. String
A comment for the alert. Entered by the user.
compartmentId This property is required. String
A filter to return only resources that match the specified compartment OCID.
definedTags This property is required. Map<String>
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
description This property is required. String
The description of the alert.
displayName This property is required. String
The display name of the alert.
featureDetails This property is required. Map<String>
Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
freeformTags This property is required. Map<String>
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example: {"Department": "Finance"}
id This property is required. String
A filter to return alert by it's OCID.
operation This property is required. String
The operation (event) that triggered alert.
operationStatus This property is required. String
The result of the operation (event) that triggered alert.
operationTime This property is required. String
Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
policyId This property is required. String
The OCID of the policy that triggered alert.
resourceName This property is required. String
The resource endpoint that triggered the alert.
severity This property is required. String
Severity level of the alert.
state This property is required. String
The current state of the alert.
status This property is required. String
The status of the alert.
systemTags This property is required. 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 This property is required. List<String>
Array of OCIDs of the target database which are associated with the alert.
targetNames This property is required. List<String>
Array of names of the target database.
timeCreated This property is required. String
Creation date and time of the alert, in the format defined by RFC3339.
timeUpdated This property is required. String
Last date and time the alert was updated, in the format defined by RFC3339.

GetAlertsFilter

Name This property is required. string
Values This property is required. List<string>
Regex bool
Name This property is required. string
Values This property is required. []string
Regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean
name This property is required. string
values This property is required. string[]
regex boolean
name This property is required. str
values This property is required. Sequence[str]
regex bool
name This property is required. String
values This property is required. List<String>
regex Boolean

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi