vw_open_shift_clusters
Creates, updates, deletes, gets or lists a vw_open_shift_clusters
resource.
Overview
Name | vw_open_shift_clusters |
Type | View |
Id | azure_isv.openshift_clusters.vw_open_shift_clusters |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
location as location,
tags as tags,
systemData as system_data,
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.clusterProfile') as "cluster_profile",
JSON_EXTRACT(properties, '$.consoleProfile') as "console_profile",
JSON_EXTRACT(properties, '$.servicePrincipalProfile') as "service_principal_profile",
JSON_EXTRACT(properties, '$.networkProfile') as "network_profile",
JSON_EXTRACT(properties, '$.masterProfile') as "master_profile",
JSON_EXTRACT(properties, '$.workerProfiles') as "worker_profiles",
JSON_EXTRACT(properties, '$.workerProfilesStatus') as "worker_profiles_status",
JSON_EXTRACT(properties, '$.apiserverProfile') as "apiserver_profile",
JSON_EXTRACT(properties, '$.ingressProfiles') as "ingress_profiles",
subscriptionId,
resourceGroupName,
resourceName
FROM azure_isv.openshift_clusters.open_shift_clusters
WHERE subscriptionId = 'replace-me';
SELECT
location as location,
tags as tags,
systemData as system_data,
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.clusterProfile') as "cluster_profile",
json_extract_path_text(properties, '$.consoleProfile') as "console_profile",
json_extract_path_text(properties, '$.servicePrincipalProfile') as "service_principal_profile",
json_extract_path_text(properties, '$.networkProfile') as "network_profile",
json_extract_path_text(properties, '$.masterProfile') as "master_profile",
json_extract_path_text(properties, '$.workerProfiles') as "worker_profiles",
json_extract_path_text(properties, '$.workerProfilesStatus') as "worker_profiles_status",
json_extract_path_text(properties, '$.apiserverProfile') as "apiserver_profile",
json_extract_path_text(properties, '$.ingressProfiles') as "ingress_profiles",
subscriptionId,
resourceGroupName,
resourceName
FROM azure_isv.openshift_clusters.open_shift_clusters
WHERE subscriptionId = 'replace-me';