Skip to main content

vw_payment_methods

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

Overview

Namevw_payment_methods
TypeView
Idazure.billing.vw_payment_methods

Fields

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

SQL Definition

SELECT
tags as tags,
JSON_EXTRACT(properties, '$.accountHolderName') as "account_holder_name",
JSON_EXTRACT(properties, '$.displayName') as "display_name",
JSON_EXTRACT(properties, '$.expiration') as "expiration",
JSON_EXTRACT(properties, '$.family') as "family",
JSON_EXTRACT(properties, '$.lastFourDigits') as "last_four_digits",
JSON_EXTRACT(properties, '$.logos') as "logos",
JSON_EXTRACT(properties, '$.paymentMethod') as "payment_method",
JSON_EXTRACT(properties, '$.paymentMethodId') as "payment_method_id",
JSON_EXTRACT(properties, '$.paymentMethodType') as "payment_method_type",
JSON_EXTRACT(properties, '$.status') as "status",
billingAccountName,
billingProfileName,
paymentMethodName
FROM azure.billing.payment_methods
WHERE billingAccountName = 'replace-me' AND billingProfileName = 'replace-me' AND paymentMethodName = 'replace-me';