Dela via


SecurityContactPropertiesNotificationsByRole Class

Definition

Defines whether to send email notifications from Microsoft Defender for Cloud to persons with specific RBAC roles on the subscription.

public class SecurityContactPropertiesNotificationsByRole
public class SecurityContactPropertiesNotificationsByRole : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.Models.SecurityContactPropertiesNotificationsByRole>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.Models.SecurityContactPropertiesNotificationsByRole>
type SecurityContactPropertiesNotificationsByRole = class
type SecurityContactPropertiesNotificationsByRole = class
    interface IJsonModel<SecurityContactPropertiesNotificationsByRole>
    interface IPersistableModel<SecurityContactPropertiesNotificationsByRole>
Public Class SecurityContactPropertiesNotificationsByRole
Public Class SecurityContactPropertiesNotificationsByRole
Implements IJsonModel(Of SecurityContactPropertiesNotificationsByRole), IPersistableModel(Of SecurityContactPropertiesNotificationsByRole)
Inheritance
SecurityContactPropertiesNotificationsByRole
Implements

Constructors

SecurityContactPropertiesNotificationsByRole()

Initializes a new instance of SecurityContactPropertiesNotificationsByRole.

Properties

Roles

Defines which RBAC roles will get email notifications from Microsoft Defender for Cloud. List of allowed RBAC roles:.

State

Defines whether to send email notifications from AMicrosoft Defender for Cloud to persons with specific RBAC roles on the subscription.

Explicit Interface Implementations

IJsonModel<SecurityContactPropertiesNotificationsByRole>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SecurityContactPropertiesNotificationsByRole>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecurityContactPropertiesNotificationsByRole>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecurityContactPropertiesNotificationsByRole>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SecurityContactPropertiesNotificationsByRole>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to