Partager via


DataProductResource.RotateKeyAsync Method

Definition

Initiate key rotation on Data Product.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkAnalytics/dataProducts/{dataProductName}/rotateKey
  • Operation Id: DataProducts_RotateKey
  • Default Api Version: 2023-11-15
  • Resource: DataProductResource
public virtual System.Threading.Tasks.Task<Azure.Response> RotateKeyAsync (Azure.ResourceManager.NetworkAnalytics.Models.NetworkAnalyticsKeyVaultContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member RotateKeyAsync : Azure.ResourceManager.NetworkAnalytics.Models.NetworkAnalyticsKeyVaultContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.RotateKeyAsync : Azure.ResourceManager.NetworkAnalytics.Models.NetworkAnalyticsKeyVaultContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function RotateKeyAsync (content As NetworkAnalyticsKeyVaultContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

content
NetworkAnalyticsKeyVaultContent

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to