vw_cloud_services
Creates, updates, deletes, gets or lists a vw_cloud_services
resource.
Overview
Name | vw_cloud_services |
Type | View |
Id | azure.compute.vw_cloud_services |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
systemData as system_data,
zones as zones,
JSON_EXTRACT(properties, '$.packageUrl') as "package_url",
JSON_EXTRACT(properties, '$.configuration') as "configuration",
JSON_EXTRACT(properties, '$.configurationUrl') as "configuration_url",
JSON_EXTRACT(properties, '$.startCloudService') as "start_cloud_service",
JSON_EXTRACT(properties, '$.allowModelOverride') as "allow_model_override",
JSON_EXTRACT(properties, '$.upgradeMode') as "upgrade_mode",
JSON_EXTRACT(properties, '$.roleProfile') as "role_profile",
JSON_EXTRACT(properties, '$.osProfile') as "os_profile",
JSON_EXTRACT(properties, '$.networkProfile') as "network_profile",
JSON_EXTRACT(properties, '$.extensionProfile') as "extension_profile",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.uniqueId') as "unique_id",
subscriptionId,
resourceGroupName,
cloudServiceName
FROM azure.compute.cloud_services
WHERE subscriptionId = 'replace-me';
SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
systemData as system_data,
zones as zones,
json_extract_path_text(properties, '$.packageUrl') as "package_url",
json_extract_path_text(properties, '$.configuration') as "configuration",
json_extract_path_text(properties, '$.configurationUrl') as "configuration_url",
json_extract_path_text(properties, '$.startCloudService') as "start_cloud_service",
json_extract_path_text(properties, '$.allowModelOverride') as "allow_model_override",
json_extract_path_text(properties, '$.upgradeMode') as "upgrade_mode",
json_extract_path_text(properties, '$.roleProfile') as "role_profile",
json_extract_path_text(properties, '$.osProfile') as "os_profile",
json_extract_path_text(properties, '$.networkProfile') as "network_profile",
json_extract_path_text(properties, '$.extensionProfile') as "extension_profile",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.uniqueId') as "unique_id",
subscriptionId,
resourceGroupName,
cloudServiceName
FROM azure.compute.cloud_services
WHERE subscriptionId = 'replace-me';