共用方式為


ProviderShareSubscriptionResource.ReinstateAsync Method

Definition

Reinstate share subscription in a provider share

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}/reinstate
  • Operation Id: ProviderShareSubscriptions_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))

Parameters

data
ProviderShareSubscriptionData

The provider share subscription.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to