ProviderShareSubscriptionResource.AdjustAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}/shares/{shareName}/providerShareSubscriptions/{providerShareSubscriptionId}/adjust
  • Operation Id: ProviderShareSubscriptions_Adjust
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.ProviderShareSubscriptionResource>> AdjustAsync (Azure.ResourceManager.DataShare.ProviderShareSubscriptionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member AdjustAsync : Azure.ResourceManager.DataShare.ProviderShareSubscriptionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.ProviderShareSubscriptionResource>>
override this.AdjustAsync : Azure.ResourceManager.DataShare.ProviderShareSubscriptionData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataShare.ProviderShareSubscriptionResource>>
Public Overridable Function AdjustAsync (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