Delen via


HybridDataManagerResource.GetHybridDataPublicKey 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 Azure.Response<Azure.ResourceManager.HybridData.HybridDataPublicKeyResource> GetHybridDataPublicKey (string publicKeyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHybridDataPublicKey : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridData.HybridDataPublicKeyResource>
override this.GetHybridDataPublicKey : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridData.HybridDataPublicKeyResource>
Public Overridable Function GetHybridDataPublicKey (publicKeyName As String, Optional cancellationToken As CancellationToken = Nothing) As 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