SHOW PRICING PLANS¶
Lists visible and hidden pricing plans.
Syntax¶
SHOW PRICING PLANS [ LIKE '<pattern>' ] IN LISTING <listing>
Parameters¶
LIKE 'pattern'
Optionally filters the command output by object name. The filter uses case-insensitive pattern matching, with support for SQL wildcard characters (
%
and_
).For example, the following patterns return the same results:
... LIKE '%testing%' ...
... LIKE '%TESTING%' ...
. Default: No value (no filtering is applied to the output).
IN LISTING listing
The listing associated with the pricing plan you want shown.
Output¶
The command output provides pricing plan properties and metadata in the following columns:
Column |
Description |
---|---|
|
The pricing plan display name. |
|
Pricing plan status, one of:
|
|
The pricing plan name visible to providers. |
|
The pricing plan currency code. |
|
The pricing plan pricing model, one of:
|
|
The pricing plan usage details. |
|
The pricing plan base fee. |
|
The pricing plan billing duration in months. |
|
The pricing plan sales method, one of:
|
|
Comments about the pricing plan added by the provider. |
|
The pricing plan metadata added by the provider. |
|
The pricing plan visibility, one of:
|
|
The pricing plan contract type, one of:
|
|
The pricing plan duration in months. |
|
The date and time the pricing plan was last updated. |
Usage notes¶
You can show a pricing plan only if the listing exists and has a DRAFT or PUBLISHED status.
You can show a pricing plan only if you use a role that has the Global CREATE LISTING privilege.
Examples¶
Show all the pricing plans with names that start with mypricingplan
in listing mylisting
:
SHOW PRICING PLANS LIKE 'MYPRICINGPLAN%' IN LISTING 'MYLISTING';