共用方式為


ProviderShareSubscriptionResource.Adjust 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 Azure.Response<Azure.ResourceManager.DataShare.ProviderShareSubscriptionResource> Adjust (Azure.ResourceManager.DataShare.ProviderShareSubscriptionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member Adjust : Azure.ResourceManager.DataShare.ProviderShareSubscriptionData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataShare.ProviderShareSubscriptionResource>
override this.Adjust : Azure.ResourceManager.DataShare.ProviderShareSubscriptionData * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DataShare.ProviderShareSubscriptionResource>
Public Overridable Function Adjust (data As ProviderShareSubscriptionData, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ProviderShareSubscriptionResource)

Parameters

data
ProviderShareSubscriptionData

The provider share subscription.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to