SecurityAlertsSuppressionRuleData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing the SecurityAlertsSuppressionRule data model. Describes the suppression rule
public class SecurityAlertsSuppressionRuleData : Azure.ResourceManager.Models.ResourceData
public class SecurityAlertsSuppressionRuleData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.SecurityAlertsSuppressionRuleData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.SecurityAlertsSuppressionRuleData>
type SecurityAlertsSuppressionRuleData = class
inherit ResourceData
type SecurityAlertsSuppressionRuleData = class
inherit ResourceData
interface IJsonModel<SecurityAlertsSuppressionRuleData>
interface IPersistableModel<SecurityAlertsSuppressionRuleData>
Public Class SecurityAlertsSuppressionRuleData
Inherits ResourceData
Public Class SecurityAlertsSuppressionRuleData
Inherits ResourceData
Implements IJsonModel(Of SecurityAlertsSuppressionRuleData), IPersistableModel(Of SecurityAlertsSuppressionRuleData)
- Inheritance
- Implements
Constructors
SecurityAlertsSuppressionRuleData() |
Initializes a new instance of SecurityAlertsSuppressionRuleData. |
Properties
AlertType |
Type of the alert to automatically suppress. For all alert types, use '*'. |
Comment |
Any comment regarding the rule. |
ExpireOn |
Expiration date of the rule, if value is not provided or provided as null there will no expiration at all. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
LastModifiedOn |
The last time this rule was modified. |
Name |
The name of the resource. (Inherited from ResourceData) |
Reason |
The reason for dismissing the alert. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
State |
Possible states of the rule. |
SuppressionAlertsScopeAllOf |
All the conditions inside need to be true in order to suppress the alert. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Explicit Interface Implementations
IJsonModel<SecurityAlertsSuppressionRuleData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<SecurityAlertsSuppressionRuleData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<SecurityAlertsSuppressionRuleData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<SecurityAlertsSuppressionRuleData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<SecurityAlertsSuppressionRuleData>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET