NetworkDeviceResource.ResyncPasswords(WaitUntil, CancellationToken) Method

Definition

Updates the Network Device to use the latest passwords. Does not generate new passwords. Allows network devices missed during a previous password rotation to be brought back into sync.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/resyncPasswords
  • Operation Id: NetworkDevices_ResyncPasswords
  • Default Api Version: 2025-07-15
  • Resource: NetworkDeviceResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkDeviceResyncPasswordsResult> ResyncPasswords(Azure.WaitUntil waitUntil, System.Threading.CancellationToken cancellationToken = default);
abstract member ResyncPasswords : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkDeviceResyncPasswordsResult>
override this.ResyncPasswords : Azure.WaitUntil * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ManagedNetworkFabric.Models.NetworkDeviceResyncPasswordsResult>
Public Overridable Function ResyncPasswords (waitUntil As WaitUntil, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of NetworkDeviceResyncPasswordsResult)

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.

Returns

Applies to