Dela via


CosmosDBSqlTriggerResourceInfo Class

Definition

Cosmos DB SQL trigger resource object.

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

Constructors

CosmosDBSqlTriggerResourceInfo(String)

Initializes a new instance of CosmosDBSqlTriggerResourceInfo.

Properties

Body

Body of the Trigger.

TriggerName

Name of the Cosmos DB SQL trigger.

TriggerOperation

The operation the trigger is associated with.

TriggerType

Type of the Trigger.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CosmosDBSqlTriggerResourceInfo>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBSqlTriggerResourceInfo>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBSqlTriggerResourceInfo>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBSqlTriggerResourceInfo>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBSqlTriggerResourceInfo>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to