ISqlContainer.GetTriggerAsync(String, CancellationToken) Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Fluent.Models.SqlTriggerGetPropertiesResource> GetTriggerAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTriggerAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.CosmosDB.Fluent.Models.SqlTriggerGetPropertiesResource>
Public Function GetTriggerAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SqlTriggerGetPropertiesResource)

Parameters

name
String

The name of the trigger.

cancellationToken
CancellationToken

Returns

The specific trigger.

Applies to