Freigeben über


IWithChildResource.WithTrigger Methode

Definition

Überlädt

WithTrigger(String, SqlTriggerResource, CreateUpdateOptions)

Gibt einen Trigger an.

WithTrigger(String, String, TriggerType, TriggerOperation, CreateUpdateOptions)

Gibt einen Trigger an.

WithTrigger(String, SqlTriggerResource, CreateUpdateOptions)

Gibt einen Trigger an.

public Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Update.IUpdate WithTrigger (string name, Microsoft.Azure.Management.CosmosDB.Fluent.Models.SqlTriggerResource resource, Microsoft.Azure.Management.CosmosDB.Fluent.Models.CreateUpdateOptions options = default);
abstract member WithTrigger : string * Microsoft.Azure.Management.CosmosDB.Fluent.Models.SqlTriggerResource * Microsoft.Azure.Management.CosmosDB.Fluent.Models.CreateUpdateOptions -> Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Update.IUpdate
Public Function WithTrigger (name As String, resource As SqlTriggerResource, Optional options As CreateUpdateOptions = Nothing) As IUpdate

Parameter

name
String

Der Name des Triggers.

resource
SqlTriggerResource

Die Triggerressource, die keine ID angeben muss.

options
CreateUpdateOptions

Die Optionen für den Trigger.

Gibt zurück

Die nächste Phase des Updates.

Gilt für:

WithTrigger(String, String, TriggerType, TriggerOperation, CreateUpdateOptions)

Gibt einen Trigger an.

public Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Update.IUpdate WithTrigger (string name, string body, Microsoft.Azure.Management.CosmosDB.Fluent.Models.TriggerType triggerType, Microsoft.Azure.Management.CosmosDB.Fluent.Models.TriggerOperation triggerOperation, Microsoft.Azure.Management.CosmosDB.Fluent.Models.CreateUpdateOptions options = default);
abstract member WithTrigger : string * string * Microsoft.Azure.Management.CosmosDB.Fluent.Models.TriggerType * Microsoft.Azure.Management.CosmosDB.Fluent.Models.TriggerOperation * Microsoft.Azure.Management.CosmosDB.Fluent.Models.CreateUpdateOptions -> Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Update.IUpdate
Public Function WithTrigger (name As String, body As String, triggerType As TriggerType, triggerOperation As TriggerOperation, Optional options As CreateUpdateOptions = Nothing) As IUpdate

Parameter

name
String

Der Name des Triggers.

body
String

Der Triggertext.

triggerType
TriggerType

Den Triggertyp:

triggerOperation
TriggerOperation

Der Triggervorgang.

options
CreateUpdateOptions

Die Optionen für den Trigger.

Gibt zurück

Die nächste Phase des Updates.

Gilt für: