Compartir a través de


DataShareAccountResource.GetShareSubscriptionAsync Método

Definición

Obtener una suscripción de shareSubscription en una cuenta

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

Parámetros

shareSubscriptionName
String

Nombre de shareSubscription.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

shareSubscriptionName es una cadena vacía y se esperaba que no estuviera vacía.

shareSubscriptionName es null.

Se aplica a