Freigeben über


IWithChildResource<ParentT>.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.Definition.IWithAttach<ParentT> 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.Definition.IWithAttach<'ParentT>
Public Function WithTrigger (name As String, resource As SqlTriggerResource, Optional options As CreateUpdateOptions = Nothing) As IWithAttach(Of ParentT)

Parameter

name
String

Der Name des Triggers.

resource
SqlTriggerResource

Die Triggerressource, es muss keine ID angegeben werden.

options
CreateUpdateOptions

Die Optionen für den Trigger.

Gibt zurück

Die nächste Phase der Definition.

Gilt für:

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

Gibt einen Trigger an.

public Microsoft.Azure.Management.CosmosDB.Fluent.SqlContainer.Definition.IWithAttach<ParentT> 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.Definition.IWithAttach<'ParentT>
Public Function WithTrigger (name As String, body As String, triggerType As TriggerType, triggerOperation As TriggerOperation, Optional options As CreateUpdateOptions = Nothing) As IWithAttach(Of ParentT)

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 der Definition.

Gilt für: