Partilhar via


ProviderShareSubscriptionResource.ReinstateAsync Método

Definição

Restabelecer a 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}/reinstate
  • Operação IdProviderShareSubscriptions_Reinstate
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.ProviderShareSubscriptionResource>> ReinstateAsync (Azure.ResourceManager.DataShare.ProviderShareSubscriptionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member ReinstateAsync : Azure.ResourceManager.DataShare.ProviderShareSubscriptionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.ProviderShareSubscriptionResource>>
override this.ReinstateAsync : Azure.ResourceManager.DataShare.ProviderShareSubscriptionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.ProviderShareSubscriptionResource>>
Public Overridable Function ReinstateAsync (data As ProviderShareSubscriptionData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ProviderShareSubscriptionResource))

Parâmetros

data
ProviderShareSubscriptionData

A assinatura de compartilhamento do provedor.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

data é nulo.

Aplica-se a