Class AlertsUpdateDetails
The details to update alerts in the specified compartment.
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class AlertsUpdateDetails
Properties
CompartmentId
Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that contains the alerts. |
Remarks
Required
Status
Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(StringEnumConverter))]
public AlertStatus? Status { get; set; }
Property Value
Type | Description |
---|---|
AlertStatus? | The status of the alert. |
Remarks
Required
TargetId
Declaration
[JsonProperty(PropertyName = "targetId")]
public string TargetId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the target database associated with the alerts. |