Share via


ResourceConnectorApplianceResource.GetKeysAsync Method

Definition

Returns the cluster customer credentials for the dedicated appliance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ResourceConnector/appliances/{resourceName}/listkeys
  • Operation Id: Appliances_ListKeys
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceConnector.Models.ApplianceClusterUserKeysResult>> GetKeysAsync (string artifactType = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeysAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceConnector.Models.ApplianceClusterUserKeysResult>>
override this.GetKeysAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ResourceConnector.Models.ApplianceClusterUserKeysResult>>
Public Overridable Function GetKeysAsync (Optional artifactType As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApplianceClusterUserKeysResult))

Parameters

artifactType
String

This sets the type of artifact being returned, when empty no artifact endpoint is returned.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to