Dela via


ProviderShareSubscriptionsOperationsExtensions.AdjustAsync Method

Definition

Adjust the expiration date of a share subscription in a provider share.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataShare.Models.ProviderShareSubscription> AdjustAsync (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 AdjustAsync : 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 AdjustAsync (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

Adjust a share subscription's expiration date in a provider share

Applies to