@@ -266,6 +266,137 @@ public static void RenewCredentials(this IAccountsOperations operations, string
266266 ( await operations . RenewCredentialsWithHttpMessagesAsync ( resourceGroupName , accountName , null , cancellationToken ) . ConfigureAwait ( false ) ) . Dispose ( ) ;
267267 }
268268 /// <summary>
269+ /// Transitions all volumes in a VNet to a different encryption key source
270+ /// (Microsoft-managed key or Azure Key Vault). Operation fails if targeted
271+ /// volumes share encryption sibling set with volumes from another account.
272+ /// </summary>
273+ /// <param name='operations'>
274+ /// The operations group for this extension method.
275+ /// </param>
276+ /// <param name='resourceGroupName'>
277+ /// The name of the resource group. The name is case insensitive.
278+ /// </param>
279+ /// <param name='accountName'>
280+ /// The name of the NetApp account
281+ /// </param>
282+ public static AccountsTransitionToCmkHeaders TransitionToCmk ( this IAccountsOperations operations , string resourceGroupName , string accountName , EncryptionTransitionRequest body = default ( EncryptionTransitionRequest ) )
283+ {
284+ return ( ( IAccountsOperations ) operations ) . TransitionToCmkAsync ( resourceGroupName , accountName , body ) . GetAwaiter ( ) . GetResult ( ) ;
285+ }
286+
287+ /// <summary>
288+ /// Transitions all volumes in a VNet to a different encryption key source
289+ /// (Microsoft-managed key or Azure Key Vault). Operation fails if targeted
290+ /// volumes share encryption sibling set with volumes from another account.
291+ /// </summary>
292+ /// <param name='operations'>
293+ /// The operations group for this extension method.
294+ /// </param>
295+ /// <param name='resourceGroupName'>
296+ /// The name of the resource group. The name is case insensitive.
297+ /// </param>
298+ /// <param name='accountName'>
299+ /// The name of the NetApp account
300+ /// </param>
301+ /// <param name='cancellationToken'>
302+ /// The cancellation token.
303+ /// </param>
304+ public static async System . Threading . Tasks . Task < AccountsTransitionToCmkHeaders > TransitionToCmkAsync ( this IAccountsOperations operations , string resourceGroupName , string accountName , EncryptionTransitionRequest body = default ( EncryptionTransitionRequest ) , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) )
305+ {
306+ using ( var _result = await operations . TransitionToCmkWithHttpMessagesAsync ( resourceGroupName , accountName , body , null , cancellationToken ) . ConfigureAwait ( false ) )
307+ {
308+ return _result . Headers ;
309+ }
310+ }
311+ /// <summary>
312+ /// Contains data from encryption.keyVaultProperties as well as information
313+ /// about which private endpoint is used by each encryption sibling set.
314+ /// Response from this endpoint can be modified and used as request body for
315+ /// POST request.
316+ /// </summary>
317+ /// <param name='operations'>
318+ /// The operations group for this extension method.
319+ /// </param>
320+ /// <param name='resourceGroupName'>
321+ /// The name of the resource group. The name is case insensitive.
322+ /// </param>
323+ /// <param name='accountName'>
324+ /// The name of the NetApp account
325+ /// </param>
326+ public static GetKeyVaultStatusResponse GetChangeKeyVaultInformation ( this IAccountsOperations operations , string resourceGroupName , string accountName )
327+ {
328+ return ( ( IAccountsOperations ) operations ) . GetChangeKeyVaultInformationAsync ( resourceGroupName , accountName ) . GetAwaiter ( ) . GetResult ( ) ;
329+ }
330+
331+ /// <summary>
332+ /// Contains data from encryption.keyVaultProperties as well as information
333+ /// about which private endpoint is used by each encryption sibling set.
334+ /// Response from this endpoint can be modified and used as request body for
335+ /// POST request.
336+ /// </summary>
337+ /// <param name='operations'>
338+ /// The operations group for this extension method.
339+ /// </param>
340+ /// <param name='resourceGroupName'>
341+ /// The name of the resource group. The name is case insensitive.
342+ /// </param>
343+ /// <param name='accountName'>
344+ /// The name of the NetApp account
345+ /// </param>
346+ /// <param name='cancellationToken'>
347+ /// The cancellation token.
348+ /// </param>
349+ public static async System . Threading . Tasks . Task < GetKeyVaultStatusResponse > GetChangeKeyVaultInformationAsync ( this IAccountsOperations operations , string resourceGroupName , string accountName , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) )
350+ {
351+ using ( var _result = await operations . GetChangeKeyVaultInformationWithHttpMessagesAsync ( resourceGroupName , accountName , null , cancellationToken ) . ConfigureAwait ( false ) )
352+ {
353+ return _result . Body ;
354+ }
355+ }
356+ /// <summary>
357+ /// Affects existing volumes that are encrypted with Key Vault/Managed HSM, and
358+ /// new volumes. Supports HSM to Key Vault, Key Vault to HSM, HSM to HSM and
359+ /// Key Vault to Key Vault.
360+ /// </summary>
361+ /// <param name='operations'>
362+ /// The operations group for this extension method.
363+ /// </param>
364+ /// <param name='resourceGroupName'>
365+ /// The name of the resource group. The name is case insensitive.
366+ /// </param>
367+ /// <param name='accountName'>
368+ /// The name of the NetApp account
369+ /// </param>
370+ public static AccountsChangeKeyVaultHeaders ChangeKeyVault ( this IAccountsOperations operations , string resourceGroupName , string accountName , ChangeKeyVault body = default ( ChangeKeyVault ) )
371+ {
372+ return ( ( IAccountsOperations ) operations ) . ChangeKeyVaultAsync ( resourceGroupName , accountName , body ) . GetAwaiter ( ) . GetResult ( ) ;
373+ }
374+
375+ /// <summary>
376+ /// Affects existing volumes that are encrypted with Key Vault/Managed HSM, and
377+ /// new volumes. Supports HSM to Key Vault, Key Vault to HSM, HSM to HSM and
378+ /// Key Vault to Key Vault.
379+ /// </summary>
380+ /// <param name='operations'>
381+ /// The operations group for this extension method.
382+ /// </param>
383+ /// <param name='resourceGroupName'>
384+ /// The name of the resource group. The name is case insensitive.
385+ /// </param>
386+ /// <param name='accountName'>
387+ /// The name of the NetApp account
388+ /// </param>
389+ /// <param name='cancellationToken'>
390+ /// The cancellation token.
391+ /// </param>
392+ public static async System . Threading . Tasks . Task < AccountsChangeKeyVaultHeaders > ChangeKeyVaultAsync ( this IAccountsOperations operations , string resourceGroupName , string accountName , ChangeKeyVault body = default ( ChangeKeyVault ) , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) )
393+ {
394+ using ( var _result = await operations . ChangeKeyVaultWithHttpMessagesAsync ( resourceGroupName , accountName , body , null , cancellationToken ) . ConfigureAwait ( false ) )
395+ {
396+ return _result . Headers ;
397+ }
398+ }
399+ /// <summary>
269400 /// Create or update the specified NetApp account within the resource group
270401 /// </summary>
271402 /// <param name='operations'>
@@ -420,6 +551,137 @@ public static void BeginRenewCredentials(this IAccountsOperations operations, st
420551 ( await operations . BeginRenewCredentialsWithHttpMessagesAsync ( resourceGroupName , accountName , null , cancellationToken ) . ConfigureAwait ( false ) ) . Dispose ( ) ;
421552 }
422553 /// <summary>
554+ /// Transitions all volumes in a VNet to a different encryption key source
555+ /// (Microsoft-managed key or Azure Key Vault). Operation fails if targeted
556+ /// volumes share encryption sibling set with volumes from another account.
557+ /// </summary>
558+ /// <param name='operations'>
559+ /// The operations group for this extension method.
560+ /// </param>
561+ /// <param name='resourceGroupName'>
562+ /// The name of the resource group. The name is case insensitive.
563+ /// </param>
564+ /// <param name='accountName'>
565+ /// The name of the NetApp account
566+ /// </param>
567+ public static AccountsTransitionToCmkHeaders BeginTransitionToCmk ( this IAccountsOperations operations , string resourceGroupName , string accountName , EncryptionTransitionRequest body = default ( EncryptionTransitionRequest ) )
568+ {
569+ return ( ( IAccountsOperations ) operations ) . BeginTransitionToCmkAsync ( resourceGroupName , accountName , body ) . GetAwaiter ( ) . GetResult ( ) ;
570+ }
571+
572+ /// <summary>
573+ /// Transitions all volumes in a VNet to a different encryption key source
574+ /// (Microsoft-managed key or Azure Key Vault). Operation fails if targeted
575+ /// volumes share encryption sibling set with volumes from another account.
576+ /// </summary>
577+ /// <param name='operations'>
578+ /// The operations group for this extension method.
579+ /// </param>
580+ /// <param name='resourceGroupName'>
581+ /// The name of the resource group. The name is case insensitive.
582+ /// </param>
583+ /// <param name='accountName'>
584+ /// The name of the NetApp account
585+ /// </param>
586+ /// <param name='cancellationToken'>
587+ /// The cancellation token.
588+ /// </param>
589+ public static async System . Threading . Tasks . Task < AccountsTransitionToCmkHeaders > BeginTransitionToCmkAsync ( this IAccountsOperations operations , string resourceGroupName , string accountName , EncryptionTransitionRequest body = default ( EncryptionTransitionRequest ) , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) )
590+ {
591+ using ( var _result = await operations . BeginTransitionToCmkWithHttpMessagesAsync ( resourceGroupName , accountName , body , null , cancellationToken ) . ConfigureAwait ( false ) )
592+ {
593+ return _result . Headers ;
594+ }
595+ }
596+ /// <summary>
597+ /// Contains data from encryption.keyVaultProperties as well as information
598+ /// about which private endpoint is used by each encryption sibling set.
599+ /// Response from this endpoint can be modified and used as request body for
600+ /// POST request.
601+ /// </summary>
602+ /// <param name='operations'>
603+ /// The operations group for this extension method.
604+ /// </param>
605+ /// <param name='resourceGroupName'>
606+ /// The name of the resource group. The name is case insensitive.
607+ /// </param>
608+ /// <param name='accountName'>
609+ /// The name of the NetApp account
610+ /// </param>
611+ public static GetKeyVaultStatusResponse BeginGetChangeKeyVaultInformation ( this IAccountsOperations operations , string resourceGroupName , string accountName )
612+ {
613+ return ( ( IAccountsOperations ) operations ) . BeginGetChangeKeyVaultInformationAsync ( resourceGroupName , accountName ) . GetAwaiter ( ) . GetResult ( ) ;
614+ }
615+
616+ /// <summary>
617+ /// Contains data from encryption.keyVaultProperties as well as information
618+ /// about which private endpoint is used by each encryption sibling set.
619+ /// Response from this endpoint can be modified and used as request body for
620+ /// POST request.
621+ /// </summary>
622+ /// <param name='operations'>
623+ /// The operations group for this extension method.
624+ /// </param>
625+ /// <param name='resourceGroupName'>
626+ /// The name of the resource group. The name is case insensitive.
627+ /// </param>
628+ /// <param name='accountName'>
629+ /// The name of the NetApp account
630+ /// </param>
631+ /// <param name='cancellationToken'>
632+ /// The cancellation token.
633+ /// </param>
634+ public static async System . Threading . Tasks . Task < GetKeyVaultStatusResponse > BeginGetChangeKeyVaultInformationAsync ( this IAccountsOperations operations , string resourceGroupName , string accountName , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) )
635+ {
636+ using ( var _result = await operations . BeginGetChangeKeyVaultInformationWithHttpMessagesAsync ( resourceGroupName , accountName , null , cancellationToken ) . ConfigureAwait ( false ) )
637+ {
638+ return _result . Body ;
639+ }
640+ }
641+ /// <summary>
642+ /// Affects existing volumes that are encrypted with Key Vault/Managed HSM, and
643+ /// new volumes. Supports HSM to Key Vault, Key Vault to HSM, HSM to HSM and
644+ /// Key Vault to Key Vault.
645+ /// </summary>
646+ /// <param name='operations'>
647+ /// The operations group for this extension method.
648+ /// </param>
649+ /// <param name='resourceGroupName'>
650+ /// The name of the resource group. The name is case insensitive.
651+ /// </param>
652+ /// <param name='accountName'>
653+ /// The name of the NetApp account
654+ /// </param>
655+ public static AccountsChangeKeyVaultHeaders BeginChangeKeyVault ( this IAccountsOperations operations , string resourceGroupName , string accountName , ChangeKeyVault body = default ( ChangeKeyVault ) )
656+ {
657+ return ( ( IAccountsOperations ) operations ) . BeginChangeKeyVaultAsync ( resourceGroupName , accountName , body ) . GetAwaiter ( ) . GetResult ( ) ;
658+ }
659+
660+ /// <summary>
661+ /// Affects existing volumes that are encrypted with Key Vault/Managed HSM, and
662+ /// new volumes. Supports HSM to Key Vault, Key Vault to HSM, HSM to HSM and
663+ /// Key Vault to Key Vault.
664+ /// </summary>
665+ /// <param name='operations'>
666+ /// The operations group for this extension method.
667+ /// </param>
668+ /// <param name='resourceGroupName'>
669+ /// The name of the resource group. The name is case insensitive.
670+ /// </param>
671+ /// <param name='accountName'>
672+ /// The name of the NetApp account
673+ /// </param>
674+ /// <param name='cancellationToken'>
675+ /// The cancellation token.
676+ /// </param>
677+ public static async System . Threading . Tasks . Task < AccountsChangeKeyVaultHeaders > BeginChangeKeyVaultAsync ( this IAccountsOperations operations , string resourceGroupName , string accountName , ChangeKeyVault body = default ( ChangeKeyVault ) , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) )
678+ {
679+ using ( var _result = await operations . BeginChangeKeyVaultWithHttpMessagesAsync ( resourceGroupName , accountName , body , null , cancellationToken ) . ConfigureAwait ( false ) )
680+ {
681+ return _result . Headers ;
682+ }
683+ }
684+ /// <summary>
423685 /// List and describe all NetApp accounts in the subscription.
424686 /// </summary>
425687 /// <param name='operations'>
0 commit comments