Skip to main content

vw_offers

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

Overview

Namevw_offers
TypeView
Idazure_stack.subscriptions_admin.vw_offers

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
id as id,
name as name,
location as location,
type as type,
tags as tags,
JSON_EXTRACT(properties, '$.name') as "name",
JSON_EXTRACT(properties, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.description') as "description",
JSON_EXTRACT(properties, '$.externalReferenceId') as "external_reference_id",
JSON_EXTRACT(properties, '$.state') as "state",
JSON_EXTRACT(properties, '$.subscriptionCount') as "subscription_count",
JSON_EXTRACT(properties, '$.maxSubscriptionsPerAccount') as "max_subscriptions_per_account",
JSON_EXTRACT(properties, '$.basePlanIds') as "base_plan_ids",
JSON_EXTRACT(properties, '$.addonPlans') as "addon_plans",
subscriptionId,
resourceGroupName,
offer
FROM azure_stack.subscriptions_admin.offers
WHERE subscriptionId = 'replace-me';