ResourceConnectorApplianceResource.GetKeysAsync 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.
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
- Default Api Version: 2022-10-27
- Resource: ResourceConnectorApplianceResource
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.