Class MulticloudAlert
A multicloud Alert
Inherited Members
Namespace: Oci.MulticloudService.Models
Assembly: OCI.DotNetSDK.Multicloud.dll
Syntax
public class MulticloudAlert
Properties
AdditionalParameters
Declaration
[JsonProperty(PropertyName = "additionalParameters")]
public Dictionary<string, string> AdditionalParameters { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> | Alert-specific contextual parameters. |
AlertId
Declaration
[JsonProperty(PropertyName = "alertId")]
public string AlertId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | External or human-friendly alert identifier. |
AlertStatus
Declaration
[Required(ErrorMessage = "AlertStatus is required.")]
[JsonProperty(PropertyName = "alertStatus")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MulticloudAlert.AlertStatusEnum? AlertStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| MulticloudAlert.AlertStatusEnum? | Current acknowledgment status of the alert. |
Remarks
Required
AlertType
Declaration
[Required(ErrorMessage = "AlertType is required.")]
[JsonProperty(PropertyName = "alertType")]
public string AlertType { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Type/category of the alert (e.g. IAM_POLICY_GAP, TAG_INCONSISTENCY). |
Remarks
Required
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Root Compartment The OCID (TenantId) associated with the alert. |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace.
For more information, see Resource Tags.
|
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Description of the alert and its purpose. |
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Human-readable name of the alert. |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
| Type | Description |
|---|---|
| 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.
|
FunctionType
Declaration
[Required(ErrorMessage = "FunctionType is required.")]
[JsonProperty(PropertyName = "functionType")]
public string FunctionType { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Internal service or function type generating the alert (e.g. ORP, ODBG_NETWORK, BILLING, OBSERVABILITY). |
Remarks
Required
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the multicloud alert. |
Remarks
Required
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MulticloudAlert.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
| Type | Description |
|---|---|
| MulticloudAlert.LifecycleStateEnum? | The current state of the Multicloud Network Alert. |
ResourceId
Declaration
[JsonProperty(PropertyName = "resourceId")]
public string ResourceId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the affected resource. |
ResourceType
Declaration
[JsonProperty(PropertyName = "resourceType")]
public string ResourceType { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Type of the affected resource (e.g. ADBD). |
Severity
Declaration
[Required(ErrorMessage = "Severity is required.")]
[JsonProperty(PropertyName = "severity")]
[JsonConverter(typeof(ResponseEnumConverter))]
public MulticloudAlert.SeverityEnum? Severity { get; set; }
Property Value
| Type | Description |
|---|---|
| MulticloudAlert.SeverityEnum? | Severity of the alert. |
Remarks
Required
Source
Declaration
[JsonProperty(PropertyName = "source")]
public string Source { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Source subsystem that generated the alert. (Azure Tag Validation) |
SourceRegion
Declaration
[JsonProperty(PropertyName = "sourceRegion")]
public string SourceRegion { get; set; }
Property Value
| Type | Description |
|---|---|
| string | OCI region where the alert originated (e.g. us-phoenix-1) |
SubscriptionId
Declaration
[JsonProperty(PropertyName = "subscriptionId")]
public string SubscriptionId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The OCID of the multicloud subscription. |
SubscriptionType
Declaration
[JsonProperty(PropertyName = "subscriptionType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SubscriptionType? SubscriptionType { get; set; }
Property Value
| Type | Description |
|---|---|
| SubscriptionType? | Oracle Cloud Infrastructure Subscription Type. |
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, Dictionary<string, object>> | System tags for this resource. Each key is predefined and scoped to a namespace.
|
TimeCreated
Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | Timestamp when the alert was created. |
Remarks
Required
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime? | Timestamp when the alert was last updated. |