共用方式為


ResourceConnectorApplianceResource.GetKeys(String, CancellationToken) 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 Azure.Response<Azure.ResourceManager.ResourceConnector.Models.ApplianceClusterUserKeysResult> GetKeys (string artifactType = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetKeys : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResourceConnector.Models.ApplianceClusterUserKeysResult>
override this.GetKeys : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ResourceConnector.Models.ApplianceClusterUserKeysResult>
Public Overridable Function GetKeys (Optional artifactType As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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