Sdílet prostřednictvím


ProviderShareSubscriptionsOperationsExtensions.ReinstateAsync Method

Definition

Reinstate share subscription in a provider share.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.ProviderShareSubscription> ReinstateAsync (this Microsoft.Azure.Management.DataShare.IProviderShareSubscriptionsOperations operations, string resourceGroupName, string accountName, string shareName, string providerShareSubscriptionId, Microsoft.Azure.Management.DataShare.Models.ProviderShareSubscription providerShareSubscription, System.Threading.CancellationToken cancellationToken = default);
static member ReinstateAsync : Microsoft.Azure.Management.DataShare.IProviderShareSubscriptionsOperations * string * string * string * string * Microsoft.Azure.Management.DataShare.Models.ProviderShareSubscription * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.ProviderShareSubscription>
<Extension()>
Public Function ReinstateAsync (operations As IProviderShareSubscriptionsOperations, resourceGroupName As String, accountName As String, shareName As String, providerShareSubscriptionId As String, providerShareSubscription As ProviderShareSubscription, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ProviderShareSubscription)

Parameters

operations
IProviderShareSubscriptionsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

accountName
String

The name of the share account.

shareName
String

The name of the share.

providerShareSubscriptionId
String

To locate shareSubscription

providerShareSubscription
ProviderShareSubscription

The provider share subscription

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Reinstate share subscription in a provider share

Applies to