Sdílet prostřednictvím


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