Skip to main content

public_keys

Creates, updates, deletes, gets or lists a public_keys resource.

Overview

Namepublic_keys
TypeResource
Idazure.hybrid_data_manager.public_keys

Fields

The following fields are returned by SELECT queries:

The public keys.

NameDatatypeDescription
idstringId of the object.
namestringName of the object.
propertiesobjectPublic key property.
typestringType of the object.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectpublicKeyName, subscriptionId, resourceGroupName, dataManagerNameThis method gets the public keys.
list_by_data_managerselectsubscriptionId, resourceGroupName, dataManagerNameThis method gets the list view of public keys, however it will only have one element.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
dataManagerNamestringThe name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
publicKeyNamestringName of the public key.
resourceGroupNamestringThe Resource Group Name
subscriptionIdstringThe Subscription Id

SELECT examples

This method gets the public keys.

SELECT
id,
name,
properties,
type
FROM azure.hybrid_data_manager.public_keys
WHERE publicKeyName = '{{ publicKeyName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND dataManagerName = '{{ dataManagerName }}' -- required
;