Compartir a través de


DataShareResource.GetProviderShareSubscriptionAsync Método

Definición

Obtención de una suscripción de recurso compartido en un recurso compartido de proveedor

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

Parámetros

providerShareSubscriptionId
String

Para buscar shareSubscription.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

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

providerShareSubscriptionId es null.

Se aplica a