oci.DataSafe.Alert
Explore with Pulumi AI
This resource provides the Alert resource in Oracle Cloud Infrastructure Data Safe service.
Updates the status of the specified alert.
Create Alert Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Alert(name: string, args: AlertArgs, opts?: CustomResourceOptions);
@overload
def Alert(resource_name: str,
args: AlertArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Alert(resource_name: str,
opts: Optional[ResourceOptions] = None,
alert_id: Optional[str] = None,
comment: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
status: Optional[str] = None)
func NewAlert(ctx *Context, name string, args AlertArgs, opts ...ResourceOption) (*Alert, error)
public Alert(string name, AlertArgs args, CustomResourceOptions? opts = null)
type: oci:DataSafe:Alert
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AlertArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AlertArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AlertArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AlertArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AlertArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var alertResource = new Oci.DataSafe.Alert("alertResource", new()
{
AlertId = "string",
Comment = "string",
CompartmentId = "string",
DefinedTags =
{
{ "string", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
Status = "string",
});
example, err := DataSafe.NewAlert(ctx, "alertResource", &DataSafe.AlertArgs{
AlertId: pulumi.String("string"),
Comment: pulumi.String("string"),
CompartmentId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Status: pulumi.String("string"),
})
var alertResource = new Alert("alertResource", AlertArgs.builder()
.alertId("string")
.comment("string")
.compartmentId("string")
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.status("string")
.build());
alert_resource = oci.data_safe.Alert("alertResource",
alert_id="string",
comment="string",
compartment_id="string",
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
},
status="string")
const alertResource = new oci.datasafe.Alert("alertResource", {
alertId: "string",
comment: "string",
compartmentId: "string",
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
status: "string",
});
type: oci:DataSafe:Alert
properties:
alertId: string
comment: string
compartmentId: string
definedTags:
string: string
freeformTags:
string: string
status: string
Alert Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Alert resource accepts the following input properties:
- Alert
Id string - The OCID of alert.
- Comment string
- (Updatable) A comment can be entered to track the alert changes done by the user.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the alert.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Dictionary<string, string>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Status string
(Updatable) The status of the alert.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Alert
Id string - The OCID of alert.
- Comment string
- (Updatable) A comment can be entered to track the alert changes done by the user.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the alert.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- map[string]string
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Status string
(Updatable) The status of the alert.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- alert
Id String - The OCID of alert.
- comment String
- (Updatable) A comment can be entered to track the alert changes done by the user.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the alert.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Map<String,String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- status String
(Updatable) The status of the alert.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- alert
Id string - The OCID of alert.
- comment string
- (Updatable) A comment can be entered to track the alert changes done by the user.
- compartment
Id string - (Updatable) The OCID of the compartment that contains the alert.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- {[key: string]: string}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- status string
(Updatable) The status of the alert.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- alert_
id str - The OCID of alert.
- comment str
- (Updatable) A comment can be entered to track the alert changes done by the user.
- compartment_
id str - (Updatable) The OCID of the compartment that contains the alert.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Mapping[str, str]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- status str
(Updatable) The status of the alert.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- alert
Id String - The OCID of alert.
- comment String
- (Updatable) A comment can be entered to track the alert changes done by the user.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the alert.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Map<String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- status String
(Updatable) The status of the alert.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
Outputs
All input properties are implicitly available as output properties. Additionally, the Alert resource produces the following output properties:
- Alert
Policy stringRule Key - The key of the rule of alert policy that triggered alert.
- Alert
Policy stringRule Name - The display name of the rule of alert policy that triggered alert.
- Alert
Type string - Type of the alert. Indicates the Data Safe feature triggering the alert.
- Description string
- The description of the alert.
- Display
Name string - The display name of the alert.
- Feature
Details Dictionary<string, string> - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- Id string
- The provider-assigned unique ID for this managed resource.
- Operation string
- The operation (event) that triggered alert.
- 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.
- 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"}
- 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
Policy stringRule Key - The key of the rule of alert policy that triggered alert.
- Alert
Policy stringRule Name - The display name of the rule of alert policy that triggered alert.
- Alert
Type string - Type of the alert. Indicates the Data Safe feature triggering the alert.
- Description string
- The description of the alert.
- Display
Name string - The display name of the alert.
- Feature
Details map[string]string - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- Id string
- The provider-assigned unique ID for this managed resource.
- Operation string
- The operation (event) that triggered alert.
- 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.
- 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"}
- 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
Policy StringRule Key - The key of the rule of alert policy that triggered alert.
- alert
Policy StringRule Name - The display name of the rule of alert policy that triggered alert.
- alert
Type String - Type of the alert. Indicates the Data Safe feature triggering the alert.
- description String
- The description of the alert.
- display
Name String - The display name of the alert.
- feature
Details Map<String,String> - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- id String
- The provider-assigned unique ID for this managed resource.
- operation String
- The operation (event) that triggered alert.
- 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.
- 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"}
- 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
Policy stringRule Key - The key of the rule of alert policy that triggered alert.
- alert
Policy stringRule Name - The display name of the rule of alert policy that triggered alert.
- alert
Type string - Type of the alert. Indicates the Data Safe feature triggering the alert.
- description string
- The description of the alert.
- display
Name string - The display name of the alert.
- feature
Details {[key: string]: string} - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- id string
- The provider-assigned unique ID for this managed resource.
- operation string
- The operation (event) that triggered alert.
- 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.
- {[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"}
- 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_
policy_ strrule_ key - The key of the rule of alert policy that triggered alert.
- alert_
policy_ strrule_ name - The display name of the rule of alert policy that triggered alert.
- alert_
type str - Type of the alert. Indicates the Data Safe feature triggering the alert.
- description str
- The description of the alert.
- display_
name str - The display name of the alert.
- feature_
details Mapping[str, str] - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- id str
- The provider-assigned unique ID for this managed resource.
- operation str
- The operation (event) that triggered alert.
- operation_
status str - The result of the operation (event) that triggered alert.
- operation_
time str - Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
- policy_
id str - The OCID of the policy that triggered alert.
- resource_
name str - The resource endpoint that triggered the alert.
- severity str
- Severity level of the alert.
- state str
- The current state of the alert.
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target_
ids Sequence[str] - Array of OCIDs of the target database which are associated with the alert.
- target_
names Sequence[str] - Array of names of the target database.
- time_
created str - Creation date and time of the alert, in the format defined by RFC3339.
- time_
updated str - Last date and time the alert was updated, in the format defined by RFC3339.
- alert
Policy StringRule Key - The key of the rule of alert policy that triggered alert.
- alert
Policy StringRule Name - The display name of the rule of alert policy that triggered alert.
- alert
Type String - Type of the alert. Indicates the Data Safe feature triggering the alert.
- description String
- The description of the alert.
- display
Name String - The display name of the alert.
- feature
Details Map<String> - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- id String
- The provider-assigned unique ID for this managed resource.
- operation String
- The operation (event) that triggered alert.
- 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.
- 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"}
- 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.
Look up Existing Alert Resource
Get an existing Alert resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AlertState, opts?: CustomResourceOptions): Alert
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alert_id: Optional[str] = None,
alert_policy_rule_key: Optional[str] = None,
alert_policy_rule_name: Optional[str] = None,
alert_type: Optional[str] = None,
comment: Optional[str] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
feature_details: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
operation: Optional[str] = None,
operation_status: Optional[str] = None,
operation_time: Optional[str] = None,
policy_id: Optional[str] = None,
resource_name: Optional[str] = None,
severity: Optional[str] = None,
state: Optional[str] = None,
status: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
target_ids: Optional[Sequence[str]] = None,
target_names: Optional[Sequence[str]] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> Alert
func GetAlert(ctx *Context, name string, id IDInput, state *AlertState, opts ...ResourceOption) (*Alert, error)
public static Alert Get(string name, Input<string> id, AlertState? state, CustomResourceOptions? opts = null)
public static Alert get(String name, Output<String> id, AlertState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Alert
Id string - The OCID of alert.
- Alert
Policy stringRule Key - The key of the rule of alert policy that triggered alert.
- Alert
Policy stringRule Name - The display name of the rule of alert policy that triggered alert.
- Alert
Type 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.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the alert.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- The description of the alert.
- Display
Name string - The display name of the alert.
- Feature
Details Dictionary<string, string> - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- Dictionary<string, string>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Operation string
- The operation (event) that triggered alert.
- 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
(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
- 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"}
- 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 - The OCID of alert.
- Alert
Policy stringRule Key - The key of the rule of alert policy that triggered alert.
- Alert
Policy stringRule Name - The display name of the rule of alert policy that triggered alert.
- Alert
Type 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.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the alert.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- Description string
- The description of the alert.
- Display
Name string - The display name of the alert.
- Feature
Details map[string]string - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- map[string]string
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- Operation string
- The operation (event) that triggered alert.
- 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
(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
- 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"}
- 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 - The OCID of alert.
- alert
Policy StringRule Key - The key of the rule of alert policy that triggered alert.
- alert
Policy StringRule Name - The display name of the rule of alert policy that triggered alert.
- alert
Type 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.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the alert.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- The description of the alert.
- display
Name String - The display name of the alert.
- feature
Details Map<String,String> - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- Map<String,String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- operation String
- The operation (event) that triggered alert.
- 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
(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
- 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"}
- 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 - The OCID of alert.
- alert
Policy stringRule Key - The key of the rule of alert policy that triggered alert.
- alert
Policy stringRule Name - The display name of the rule of alert policy that triggered alert.
- alert
Type 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.
- compartment
Id string - (Updatable) The OCID of the compartment that contains the alert.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description string
- The description of the alert.
- display
Name string - The display name of the alert.
- feature
Details {[key: string]: string} - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- {[key: string]: string}
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- operation string
- The operation (event) that triggered alert.
- 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
(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
- {[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"}
- 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 - The OCID of alert.
- alert_
policy_ strrule_ key - The key of the rule of alert policy that triggered alert.
- alert_
policy_ strrule_ name - The display name of the rule of alert policy that triggered alert.
- alert_
type str - Type of the alert. Indicates the Data Safe feature triggering the alert.
- comment str
- (Updatable) A comment can be entered to track the alert changes done by the user.
- compartment_
id str - (Updatable) The OCID of the compartment that contains the alert.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description str
- The description of the alert.
- display_
name str - The display name of the alert.
- feature_
details Mapping[str, str] - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- Mapping[str, str]
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- operation str
- The operation (event) that triggered alert.
- operation_
status str - The result of the operation (event) that triggered alert.
- operation_
time str - Creation date and time of the operation that triggered alert, in the format defined by RFC3339.
- policy_
id str - The OCID of the policy that triggered alert.
- resource_
name str - The resource endpoint that triggered the alert.
- severity str
- Severity level of the alert.
- state str
- The current state of the alert.
- status str
(Updatable) The status of the alert.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Mapping[str, str]
- System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example:
{"orcl-cloud.free-tier-retained": "true"}
- target_
ids Sequence[str] - Array of OCIDs of the target database which are associated with the alert.
- target_
names Sequence[str] - Array of names of the target database.
- time_
created str - Creation date and time of the alert, in the format defined by RFC3339.
- time_
updated str - Last date and time the alert was updated, in the format defined by RFC3339.
- alert
Id String - The OCID of alert.
- alert
Policy StringRule Key - The key of the rule of alert policy that triggered alert.
- alert
Policy StringRule Name - The display name of the rule of alert policy that triggered alert.
- alert
Type 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.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the alert.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example:
{"Operations.CostCenter": "42"}
- description String
- The description of the alert.
- display
Name String - The display name of the alert.
- feature
Details Map<String> - Map that contains maps of values. Example:
{"Operations": {"CostCenter": "42"}}
- Map<String>
- (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags Example:
{"Department": "Finance"}
- operation String
- The operation (event) that triggered alert.
- 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
(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
- 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"}
- 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.
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.