共用方式為


SecurityAlertResourceIdentifier Class

Definition

A resource identifier for an alert which can be used to direct the alert to the right product exposure group (tenant, workspace, subscription etc.). Please note SecurityAlertResourceIdentifier is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AzureResourceIdentifier and LogAnalyticsIdentifier.

public abstract class SecurityAlertResourceIdentifier
[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.SecurityCenter.Models.UnknownAlertResourceIdentifier))]
public abstract class SecurityAlertResourceIdentifier : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.SecurityCenter.Models.SecurityAlertResourceIdentifier>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.SecurityCenter.Models.SecurityAlertResourceIdentifier>
type SecurityAlertResourceIdentifier = class
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.SecurityCenter.Models.UnknownAlertResourceIdentifier))>]
type SecurityAlertResourceIdentifier = class
    interface IJsonModel<SecurityAlertResourceIdentifier>
    interface IPersistableModel<SecurityAlertResourceIdentifier>
Public MustInherit Class SecurityAlertResourceIdentifier
Public MustInherit Class SecurityAlertResourceIdentifier
Implements IJsonModel(Of SecurityAlertResourceIdentifier), IPersistableModel(Of SecurityAlertResourceIdentifier)
Inheritance
SecurityAlertResourceIdentifier
Derived
Attributes
Implements

Constructors

SecurityAlertResourceIdentifier()

Initializes a new instance of SecurityAlertResourceIdentifier.

Explicit Interface Implementations

IJsonModel<SecurityAlertResourceIdentifier>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SecurityAlertResourceIdentifier>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SecurityAlertResourceIdentifier>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SecurityAlertResourceIdentifier>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SecurityAlertResourceIdentifier>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to