IWithChildResource<ParentT>.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.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)
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 definition.
Applies to
WithTrigger(String, String, TriggerType, TriggerOperation, CreateUpdateOptions)
Specifies a trigger.
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)
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 definition.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET