Compartir a través de


DataShareTriggerCollection.GetAsync(String, CancellationToken) Método

Definición

Obtener un desencadenador en una suscripción de shareSubscription

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}/triggers/{triggerName}
  • IdTriggers_Get de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareTriggerResource>> GetAsync (string triggerName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareTriggerResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.DataShareTriggerResource>>
Public Overridable Function GetAsync (triggerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DataShareTriggerResource))

Parámetros

triggerName
String

El nombre del desencadenador.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

triggerName es una cadena vacía y se espera que no esté vacía.

triggerName es null.

Se aplica a