TriggerClient.GetTriggerAsync(String, String, CancellationToken) Method

Definition

Gets a trigger.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.Artifacts.Models.TriggerResource>> GetTriggerAsync (string triggerName, string ifNoneMatch = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetTriggerAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.Artifacts.Models.TriggerResource>>
override this.GetTriggerAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.Analytics.Synapse.Artifacts.Models.TriggerResource>>
Public Overridable Function GetTriggerAsync (triggerName As String, Optional ifNoneMatch As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TriggerResource))

Parameters

triggerName
System.String

The trigger name.

ifNoneMatch
System.String

ETag of the trigger entity. Should only be specified for get. If the ETag matches the existing entity tag, or if * was provided, then no content will be returned.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response<TriggerResource>>

Applies to