NetAppAccountResource.TransitionToCmkAsync 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.
Transitions all volumes in a VNet to a different encryption key source (Microsoft-managed key or Azure Key Vault). Operation fails if targeted volumes share encryption sibling set with volumes from another account.
- Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/transitiontocmk.
- Operation Id. : NetAppAccounts_TransitionToCmk.
- Default Api Version. : 2026-04-15-preview.
- Resource. : NetAppAccountResource.
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> TransitionToCmkAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.NetApp.Models.NetAppEncryptionTransitionContent content = default, System.Threading.CancellationToken cancellationToken = default);
abstract member TransitionToCmkAsync : Azure.WaitUntil * Azure.ResourceManager.NetApp.Models.NetAppEncryptionTransitionContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.TransitionToCmkAsync : Azure.WaitUntil * Azure.ResourceManager.NetApp.Models.NetAppEncryptionTransitionContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function TransitionToCmkAsync (waitUntil As WaitUntil, Optional content As NetAppEncryptionTransitionContent = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)
Parameters
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
The required parameters to perform encryption transition.
- cancellationToken
- CancellationToken
The cancellation token to use.