ProviderShareSubscriptionsOperationsExtensions.RevokeAsync Method

Definition

Revoke share subscription in a provider share.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.ProviderShareSubscription> RevokeAsync (this Microsoft.Azure.Management.DataShare.IProviderShareSubscriptionsOperations operations, string resourceGroupName, string accountName, string shareName, string providerShareSubscriptionId, System.Threading.CancellationToken cancellationToken = default);
static member RevokeAsync : Microsoft.Azure.Management.DataShare.IProviderShareSubscriptionsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.ProviderShareSubscription>
<Extension()>
Public Function RevokeAsync (operations As IProviderShareSubscriptionsOperations, resourceGroupName As String, accountName As String, shareName As String, providerShareSubscriptionId As String, 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

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Revoke share subscription in a provider share

Applies to