Partilhar via


DataShareResource.GetProviderShareSubscriptionAsync Método

Definição

Obter assinatura de compartilhamento em um compartilhamento de provedor

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}
  • Operação IdProviderShareSubscriptions_GetByShare
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 localizar shareSubscription.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

providerShareSubscriptionId é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

providerShareSubscriptionId é nulo.

Aplica-se a