ArcSettingResource.GeneratePasswordAsync(CancellationToken) 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.
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.