Delen via


HybridDataManagerResource.GetHybridDataPublicKeyAsync Method

Definition

This method gets the public keys.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}/publicKeys/{publicKeyName}
  • Operation Id: PublicKeys_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridData.HybridDataPublicKeyResource>> GetHybridDataPublicKeyAsync (string publicKeyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHybridDataPublicKeyAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridData.HybridDataPublicKeyResource>>
override this.GetHybridDataPublicKeyAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridData.HybridDataPublicKeyResource>>
Public Overridable Function GetHybridDataPublicKeyAsync (publicKeyName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HybridDataPublicKeyResource))

Parameters

publicKeyName
String

Name of the public key.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

publicKeyName is an empty string, and was expected to be non-empty.

publicKeyName is null.

Applies to