共用方式為


ClustersOperationsExtensions.RotateDiskEncryptionKeyAsync Method

Definition

Rotate disk encryption key of the specified HDInsight cluster.

public static System.Threading.Tasks.Task RotateDiskEncryptionKeyAsync (this Microsoft.Azure.Management.HDInsight.IClustersOperations operations, string resourceGroupName, string clusterName, Microsoft.Azure.Management.HDInsight.Models.ClusterDiskEncryptionParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member RotateDiskEncryptionKeyAsync : Microsoft.Azure.Management.HDInsight.IClustersOperations * string * string * Microsoft.Azure.Management.HDInsight.Models.ClusterDiskEncryptionParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function RotateDiskEncryptionKeyAsync (operations As IClustersOperations, resourceGroupName As String, clusterName As String, parameters As ClusterDiskEncryptionParameters, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IClustersOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

clusterName
String

The name of the cluster.

parameters
ClusterDiskEncryptionParameters

The parameters for the disk encryption operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to