oci.DataSafe.getAlerts
Explore with Pulumi AI
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,
});
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)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/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
})
}
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,
});
});
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());
}
}
variables:
testAlerts:
fn::invoke:
Function: oci:DataSafe:getAlerts
Arguments:
compartmentId: ${compartmentId}
accessLevel: ${alertAccessLevel}
compartmentIdInSubtree: ${alertCompartmentIdInSubtree}
fields: ${alertField}
id: ${alertId}
scimQuery: ${alertScimQuery}
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>
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]
func GetAlerts(ctx *Context, args *GetAlertsArgs, opts ...InvokeOption) (*GetAlertsResult, error)
func GetAlertsOutput(ctx *Context, args *GetAlertsOutputArgs, opts ...InvokeOption) GetAlertsResultOutput
> 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)
}
public static CompletableFuture<GetAlertsResult> getAlerts(GetAlertsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DataSafe/getAlerts:getAlerts
arguments:
# arguments dictionary
The following arguments are supported:
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Access
Level 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.
- Compartment
Id boolIn Subtree - 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
List<Get
Alerts Filter> - Id string
- A filter to return alert by it's OCID.
- Scim
Query 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 string - A filter to return only resources that match the specified compartment OCID.
- Access
Level 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.
- Compartment
Id boolIn Subtree - 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
[]Get
Alerts Filter - Id string
- A filter to return alert by it's OCID.
- Scim
Query 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 String - A filter to return only resources that match the specified compartment OCID.
- access
Level 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.
- compartment
Id BooleanIn Subtree - 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
List<Get
Alerts Filter> - id String
- A filter to return alert by it's OCID.
- scim
Query 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 string - A filter to return only resources that match the specified compartment OCID.
- access
Level 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.
- compartment
Id booleanIn Subtree - 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
Get
Alerts Filter[] - id string
- A filter to return alert by it's OCID.
- scim
Query 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 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_ boolin_ subtree - 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
Sequence[datasafe.
Get Alerts Filter] - 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)
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- access
Level 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.
- compartment
Id BooleanIn Subtree - 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 List<Property Map>
- id String
- A filter to return alert by it's OCID.
- scim
Query 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:
- Alert
Collections List<GetAlerts Alert Collection> - The list of alert_collection.
- Compartment
Id string - The OCID of the compartment that contains the alert.
- Access
Level string - Compartment
Id boolIn Subtree - Fields List<string>
- Filters
List<Get
Alerts Filter> - Id string
- The OCID of the alert.
- Scim
Query string
- Alert
Collections []GetAlerts Alert Collection - The list of alert_collection.
- Compartment
Id string - The OCID of the compartment that contains the alert.
- Access
Level string - Compartment
Id boolIn Subtree - Fields []string
- Filters
[]Get
Alerts Filter - Id string
- The OCID of the alert.
- Scim
Query string
- alert
Collections List<GetAlerts Alert Collection> - The list of alert_collection.
- compartment
Id String - The OCID of the compartment that contains the alert.
- access
Level String - compartment
Id BooleanIn Subtree - fields List<String>
- filters
List<Get
Alerts Filter> - id String
- The OCID of the alert.
- scim
Query String
- alert
Collections GetAlerts Alert Collection[] - The list of alert_collection.
- compartment
Id string - The OCID of the compartment that contains the alert.
- access
Level string - compartment
Id booleanIn Subtree - fields string[]
- filters
Get
Alerts Filter[] - id string
- The OCID of the alert.
- scim
Query string
- alert_
collections Sequence[datasafe.Get Alerts Alert Collection] - The list of alert_collection.
- compartment_
id str - The OCID of the compartment that contains the alert.
- access_
level str - compartment_
id_ boolin_ subtree - fields Sequence[str]
- filters
Sequence[datasafe.
Get Alerts Filter] - id str
- The OCID of the alert.
- scim_
query str
- alert
Collections List<Property Map> - The list of alert_collection.
- compartment
Id String - The OCID of the compartment that contains the alert.
- access
Level String - compartment
Id BooleanIn Subtree - fields List<String>
- filters List<Property Map>
- id String
- The OCID of the alert.
- scim
Query String
Supporting Types
GetAlertsAlertCollection
GetAlertsAlertCollectionItem
- Alert
Id string - Alert
Type string - Type of the alert. Indicates the Data Safe feature triggering the alert.
- Comment string
- A comment for the alert. Entered by the user.
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- Dictionary<string, object>
- 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.
- Display
Name string - The display name of the alert.
- Feature
Details Dictionary<string, object> - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- Dictionary<string, object>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Id string
- A filter to return alert by it's OCID.
- Operation string
- The operation (event) that triggered alert.
- Operation
Status string - The result of the operation (event) that triggered alert.
- Operation
Time string - Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
- Policy
Id string - The OCID of the policy that triggered alert.
- Resource
Name 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
- The status of the alert.
- 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"}
- Target
Ids List<string> - Array of OCIDs of the target database which are associated with the alert.
- Target
Names List<string> - Array of names of the target database.
- Time
Created string - Creation date and time of the alert, in the format defined by RFC3339.
- Time
Updated string - Last date and time the alert was updated, in the format defined by RFC3339.
- Alert
Id string - Alert
Type string - Type of the alert. Indicates the Data Safe feature triggering the alert.
- Comment string
- A comment for the alert. Entered by the user.
- Compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- map[string]interface{}
- 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.
- Display
Name string - The display name of the alert.
- Feature
Details map[string]interface{} - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- map[string]interface{}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Id string
- A filter to return alert by it's OCID.
- Operation string
- The operation (event) that triggered alert.
- Operation
Status string - The result of the operation (event) that triggered alert.
- Operation
Time string - Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
- Policy
Id string - The OCID of the policy that triggered alert.
- Resource
Name 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
- The status of the alert.
- 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"}
- Target
Ids []string - Array of OCIDs of the target database which are associated with the alert.
- Target
Names []string - Array of names of the target database.
- Time
Created string - Creation date and time of the alert, in the format defined by RFC3339.
- Time
Updated string - Last date and time the alert was updated, in the format defined by RFC3339.
- alert
Id String - alert
Type String - Type of the alert. Indicates the Data Safe feature triggering the alert.
- comment String
- A comment for the alert. Entered by the user.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- Map<String,Object>
- 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.
- display
Name String - The display name of the alert.
- feature
Details Map<String,Object> - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- Map<String,Object>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id String
- A filter to return alert by it's OCID.
- operation String
- The operation (event) that triggered alert.
- operation
Status String - The result of the operation (event) that triggered alert.
- operation
Time String - Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
- policy
Id String - The OCID of the policy that triggered alert.
- resource
Name 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
- The status of the alert.
- 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"}
- target
Ids List<String> - Array of OCIDs of the target database which are associated with the alert.
- target
Names List<String> - Array of names of the target database.
- time
Created String - Creation date and time of the alert, in the format defined by RFC3339.
- time
Updated String - Last date and time the alert was updated, in the format defined by RFC3339.
- alert
Id string - alert
Type string - Type of the alert. Indicates the Data Safe feature triggering the alert.
- comment string
- A comment for the alert. Entered by the user.
- compartment
Id string - A filter to return only resources that match the specified compartment OCID.
- {[key: string]: any}
- 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.
- display
Name string - The display name of the alert.
- feature
Details {[key: string]: any} - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- {[key: string]: any}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id string
- A filter to return alert by it's OCID.
- operation string
- The operation (event) that triggered alert.
- operation
Status string - The result of the operation (event) that triggered alert.
- operation
Time string - Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
- policy
Id string - The OCID of the policy that triggered alert.
- resource
Name 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
- The status of the alert.
- {[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"}
- target
Ids string[] - Array of OCIDs of the target database which are associated with the alert.
- target
Names string[] - Array of names of the target database.
- time
Created string - Creation date and time of the alert, in the format defined by RFC3339.
- time
Updated string - Last date and time the alert was updated, in the format defined by RFC3339.
- alert_
id str - alert_
type str - Type of the alert. Indicates the Data Safe feature triggering the alert.
- comment str
- A comment for the alert. Entered by the user.
- compartment_
id str - A filter to return only resources that match the specified compartment OCID.
- Mapping[str, Any]
- 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"}}
- Mapping[str, Any]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id str
- A filter to return alert by it's OCID.
- 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
- The status of the alert.
- 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.
- alert
Id String - alert
Type String - Type of the alert. Indicates the Data Safe feature triggering the alert.
- comment String
- A comment for the alert. Entered by the user.
- compartment
Id String - A filter to return only resources that match the specified compartment OCID.
- Map<Any>
- 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.
- display
Name String - The display name of the alert.
- feature
Details Map<Any> - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- Map<Any>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- id String
- A filter to return alert by it's OCID.
- operation String
- The operation (event) that triggered alert.
- operation
Status String - The result of the operation (event) that triggered alert.
- operation
Time String - Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
- policy
Id String - The OCID of the policy that triggered alert.
- resource
Name 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
- The status of the alert.
- 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"}
- target
Ids List<String> - Array of OCIDs of the target database which are associated with the alert.
- target
Names List<String> - Array of names of the target database.
- time
Created String - Creation date and time of the alert, in the format defined by RFC3339.
- time
Updated String - Last date and time the alert was updated, in the format defined by RFC3339.
GetAlertsFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.