public_keys
Creates, updates, deletes, gets or lists a public_keys resource.
Overview
| Name | public_keys |
| Type | Resource |
| Id | azure.hybrid_data_manager.public_keys |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_data_manager
The public keys.
| Name | Datatype | Description |
|---|---|---|
id | string | Id of the object. |
name | string | Name of the object. |
properties | object | Public key property. |
type | string | Type of the object. |
The list of public keys.
| Name | Datatype | Description |
|---|---|---|
id | string | Id of the object. |
name | string | Name of the object. |
properties | object | Public key property. |
type | string | Type of the object. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | publicKeyName, subscriptionId, resourceGroupName, dataManagerName | This method gets the public keys. | |
list_by_data_manager | select | subscriptionId, resourceGroupName, dataManagerName | This 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.
| Name | Datatype | Description |
|---|---|---|
dataManagerName | string | The 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 |
publicKeyName | string | Name of the public key. |
resourceGroupName | string | The Resource Group Name |
subscriptionId | string | The Subscription Id |
SELECT examples
- get
- list_by_data_manager
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
;
This method gets the list view of public keys, however it will only have one element.
SELECT
id,
name,
properties,
type
FROM azure.hybrid_data_manager.public_keys
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND dataManagerName = '{{ dataManagerName }}' -- required
;