Share via


StorageAccountLocalUserResource.RegeneratePasswordAsync Method

Definition

Regenerate the local user SSH password.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/regeneratePassword
  • Operation Id: LocalUsers_RegeneratePassword
  • Default Api Version: 2023-05-01
  • Resource: StorageAccountLocalUserResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.Models.LocalUserRegeneratePasswordResult>> RegeneratePasswordAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member RegeneratePasswordAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.Models.LocalUserRegeneratePasswordResult>>
override this.RegeneratePasswordAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.Models.LocalUserRegeneratePasswordResult>>
Public Overridable Function RegeneratePasswordAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of LocalUserRegeneratePasswordResult))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to