Skip to main content

horizon_db_pools

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

Overview

Namehorizon_db_pools
TypeResource
Idazure.horizon_db.horizon_db_pools

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
createModestringThe create mode for the pool. Known values are: "Create" and "Update". (Create, Update)
locationstringThe location of the HorizonDb pool.
provisioningStatestringThe provisioning state of the pool. Known values are: "Succeeded", "Failed", "Canceled", "InProgress", and "Provisioning". (Succeeded, Failed, Canceled, InProgress, Provisioning)
replicaCountintegerNumber of replicas in the pool.
statestringCurrent state of the pool. Known values are: "Ready", "Dropping", "Disabled", "Starting", "Stopping", "Stopped", "Updating", and "Healthy". (Ready, Dropping, Disabled, Starting, Stopping, Stopped, Updating, Healthy)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
versionstringThe version of the HorizonDb pool.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, cluster_name, pool_name, subscription_idGets information about a HorizonDb pool.
listselectresource_group_name, cluster_name, subscription_idLists all HorizonDb pools in a cluster.

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
cluster_namestringThe name of the HorizonDb cluster. Required.
pool_namestringThe name of the HorizonDb pool. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Gets information about a HorizonDb pool.

SELECT
id,
name,
createMode,
location,
provisioningState,
replicaCount,
state,
systemData,
tags,
type,
version
FROM azure.horizon_db.horizon_db_pools
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND cluster_name = '{{ cluster_name }}' -- required
AND pool_name = '{{ pool_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;