IWithChildResource.WithTrigger Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithTrigger(String, SqlTriggerResource, CreateUpdateOptions) |
Specifies a trigger. |
WithTrigger(String, String, TriggerType, TriggerOperation, CreateUpdateOptions) |
Specifies a trigger. |
WithTrigger(String, SqlTriggerResource, CreateUpdateOptions)
Specifies a trigger.
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
Parameters
- name
- String
The name of the trigger.
- resource
- SqlTriggerResource
The trigger resource, no need to specify id.
- options
- CreateUpdateOptions
The options for the trigger.
Returns
The next stage of the update.
Applies to
WithTrigger(String, String, TriggerType, TriggerOperation, CreateUpdateOptions)
Specifies a trigger.
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
Parameters
- name
- String
The name of the trigger.
- body
- String
The trigger body.
- triggerType
- TriggerType
The trigger type.
- triggerOperation
- TriggerOperation
The trigger operation.
- options
- CreateUpdateOptions
The options for the trigger.
Returns
The next stage of the update.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET