ProviderShareSubscriptionResource.AdjustAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The provider share subscription.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
data
is null.