vw_offers
Creates, updates, deletes, gets or lists a vw_offers
resource.
Overview
Name | vw_offers |
Type | View |
Id | azure_stack.azure_stack_hci.vw_offers |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.publisherId') as "publisher_id",
JSON_EXTRACT(properties, '$.content') as "content",
JSON_EXTRACT(properties, '$.contentVersion') as "content_version",
JSON_EXTRACT(properties, '$.skuMappings') as "sku_mappings",
subscriptionId,
resourceGroupName,
clusterName,
publisherName,
offerName
FROM azure_stack.azure_stack_hci.offers
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND clusterName = 'replace-me';
SELECT
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.publisherId') as "publisher_id",
json_extract_path_text(properties, '$.content') as "content",
json_extract_path_text(properties, '$.contentVersion') as "content_version",
json_extract_path_text(properties, '$.skuMappings') as "sku_mappings",
subscriptionId,
resourceGroupName,
clusterName,
publisherName,
offerName
FROM azure_stack.azure_stack_hci.offers
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND clusterName = 'replace-me';