共用方式為


ArcSettingResource.GeneratePasswordAsync(CancellationToken) Method

Definition

Generate password for arc settings.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/clusters/{clusterName}/arcSettings/{arcSettingName}/generatePassword
  • Operation Id: ArcSettings_GeneratePassword
  • Default Api Version: 2024-04-01
  • Resource: ArcSettingResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.Models.ArcPasswordCredential>> GeneratePasswordAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GeneratePasswordAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.Models.ArcPasswordCredential>>
override this.GeneratePasswordAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Hci.Models.ArcPasswordCredential>>
Public Overridable Function GeneratePasswordAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ArcPasswordCredential))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to