Share via


LogicWorkflowTriggerCollection.Get(String, CancellationToken) Method

Definition

Gets a workflow trigger.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/triggers/{triggerName}
  • Operation Id: WorkflowTriggers_Get
  • Default Api Version: 2019-05-01
  • Resource: LogicWorkflowTriggerResource
public virtual Azure.Response<Azure.ResourceManager.Logic.LogicWorkflowTriggerResource> Get (string triggerName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Logic.LogicWorkflowTriggerResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Logic.LogicWorkflowTriggerResource>
Public Overridable Function Get (triggerName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of LogicWorkflowTriggerResource)

Parameters

triggerName
String

The workflow trigger name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

triggerName is an empty string, and was expected to be non-empty.

triggerName is null.

Applies to