NetworkFabricResource.RotatePasswordsAsync 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.
Creates new passwords, then updates the Terminal Server and Network Devices to use the new passwords.
Note that disabled devices cannot be updated and must be resynchronized with the new passwords once they are enabled.
Fails if any of the devices could not be updated with the new password. Failed devices should be resynchronized with the new passwords once possible.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkFabrics/{networkFabricName}/rotatePasswords
- Operation Id: NetworkFabrics_RotatePasswords
- Default Api Version: 2025-07-15
- Resource: NetworkFabricResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkFabricRotatePasswordsResult>> RotatePasswordsAsync(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member RotatePasswordsAsync : Azure.WaitUntil * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkFabricRotatePasswordsResult>>
override this.RotatePasswordsAsync : Azure.WaitUntil * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkFabricRotatePasswordsResult>>
Public Overridable Function RotatePasswordsAsync (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of NetworkFabricRotatePasswordsResult))
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.
- cancellationToken
- CancellationToken
The cancellation token to use.