Partilhar via


DataShareAccountResource.GetShareSubscription Método

Definição

Obter um shareSubscription em uma conta

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shareSubscriptions/{shareSubscriptionName}
  • Operação IdShareSubscriptions_Get
public virtual Azure.Response<Azure.ResourceManager.DataShare.ShareSubscriptionResource> GetShareSubscription (string shareSubscriptionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetShareSubscription : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataShare.ShareSubscriptionResource>
override this.GetShareSubscription : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataShare.ShareSubscriptionResource>
Public Overridable Function GetShareSubscription (shareSubscriptionName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ShareSubscriptionResource)

Parâmetros

shareSubscriptionName
String

O nome do shareSubscription.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

shareSubscriptionName é nulo.

Aplica-se a