vw_agent_pools
Creates, updates, deletes, gets or lists a vw_agent_pools
resource.
Overview
Name | vw_agent_pools |
Type | View |
Id | azure.hybrid_aks.vw_agent_pools |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
tags as tags,
extendedLocation as extended_location,
JSON_EXTRACT(properties, '$.osType') as "os_type",
JSON_EXTRACT(properties, '$.osSKU') as "os_sku",
JSON_EXTRACT(properties, '$.nodeLabels') as "node_labels",
JSON_EXTRACT(properties, '$.nodeTaints') as "node_taints",
JSON_EXTRACT(properties, '$.maxCount') as "max_count",
JSON_EXTRACT(properties, '$.minCount') as "min_count",
JSON_EXTRACT(properties, '$.enableAutoScaling') as "enable_auto_scaling",
JSON_EXTRACT(properties, '$.maxPods') as "max_pods",
JSON_EXTRACT(properties, '$.count') as "count",
JSON_EXTRACT(properties, '$.vmSize') as "vm_size",
JSON_EXTRACT(properties, '$.kubernetesVersion') as "kubernetes_version",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.status') as "status",
connectedClusterResourceUri,
agentPoolName
FROM azure.hybrid_aks.agent_pools
WHERE connectedClusterResourceUri = 'replace-me';
SELECT
tags as tags,
extendedLocation as extended_location,
json_extract_path_text(properties, '$.osType') as "os_type",
json_extract_path_text(properties, '$.osSKU') as "os_sku",
json_extract_path_text(properties, '$.nodeLabels') as "node_labels",
json_extract_path_text(properties, '$.nodeTaints') as "node_taints",
json_extract_path_text(properties, '$.maxCount') as "max_count",
json_extract_path_text(properties, '$.minCount') as "min_count",
json_extract_path_text(properties, '$.enableAutoScaling') as "enable_auto_scaling",
json_extract_path_text(properties, '$.maxPods') as "max_pods",
json_extract_path_text(properties, '$.count') as "count",
json_extract_path_text(properties, '$.vmSize') as "vm_size",
json_extract_path_text(properties, '$.kubernetesVersion') as "kubernetes_version",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.status') as "status",
connectedClusterResourceUri,
agentPoolName
FROM azure.hybrid_aks.agent_pools
WHERE connectedClusterResourceUri = 'replace-me';