Snowsightでの価格設定プランの作成と管理¶
前提条件¶
プロバイダープロファイル。プロバイダープロファイルの設定 をご参照ください。
公開されたリスト。`新しいリストの作成`_をご参照ください。
リストの支払いを可能にするアカウント。リストの支払いを受け取るStripeの設定 をご参照ください。
必要な権限¶
ACCOUNTADMINロールまたはプロバイダー権限が付与されているロールを使用する必要があります。`リストを操作するために必要な権限<https://other-docs.snowflake.com/collaboration/provider-becoming#label-permissions-required-for-working-with-listings-and-shares>`_をご参照ください。
Create a pricing plan¶
料金プランで新しいリストを作成するには、以下の手順に従ってください。
Follow the steps for sharing data on the Snowflake Marketplace.
After you add a data product to your share, in the Access type dropdown, select Paid listing.
A Pricing section and a Trial (optional) section are added to the listing page.
Pricing セクションで、 Add pricing plans を選択します。
The Create pricing plan page opens.
Settings ページでプランの名前を指定し、 Next を選択します。
You can optionally specify a product SKU for the pricing plan.
On the Pricing details page, select a pricing model for the plan:
If you select Flat-fee, specify the access fee price and the billing frequency (monthly or annually) for the plan.
If you select Usage-based, specify the monthly access fee, the price per query, and the maximum monthly charge.
Next を選択します。
価格設定プランの概要を精査してから、:ui:`Done`を選択します。
オプション:別の価格設定プランを追加するには、:ui:`Add pricing plan`を選択し、前のステップを繰り返します。
Submit for approval » :ui:`Publish once approved`を選択肢、リストを公開します。公開されたリストのみをコンシューマーに提供できます。
特定のリストの追加価格設定プランを作成する場合は、リストを選択し、:ui:`Pricing plans`タブで、:ui:`+ Create pricing plan`を選択します。
Create a pricing plan manifest reference named PRICING_PLAN_1.
注釈
料金プラン名は大文字である必要があります。
display_name: Default pricing plan display name currency: USD pricing_model: FLAT_FEE base_fee: 100.0 billing_duration_months: 1 sales_motion: SELF_SERVE comment: Comment for the pricing plan metadata: description: Pricing plan description price: $100 / unit button_text: Buy Now value_propositions: - val 1 - val 2 visibility: VISIBLE contract_type: LIMITED_TIME contract_duration_months: 12 state: PUBLISHED
料金プランを含む リストマニフェストリファレンス を作成します。
title: my_listing subtitle: Subtitle for my_listing description: Description for my_listing listing_terms: type: OFFLINE targets: regions: PUBLIC.AWS_US_EAST_1 usage_examples: - title: this is a test sql description: Simple example query: select * pricing_plans: - name: PRICING_PLAN_1 type: FILE path: pricingPlans/PRICING_PLAN_1.yaml
料金プランとリストのマニフェストリファレンスファイルをステージングします。
PUT file:///local/path/to/PRICING_PLAN_1.yaml @DB.SCHEMA.STAGE/pricingPlans/PRICING_PLAN_1 SOURCE_COMPRESSION=NONE AUTO_COMPRESS=FALSE OVERWRITE=TRUE; PUT file:///local/path/to/manifest.yaml @DB.SCHEMA.STAGE/listings/my_manifest SOURCE_COMPRESSION=NONE AUTO_COMPRESS=FALSE OVERWRITE=TRUE;
ステージにアップロードされたマニフェストファイルを使用するリストを作成します。
CREATE EXTERNAL LISTING my_listing FROM @DB.SCHEMA.STAGE/listings/my_manifest REVIEW = TRUE PUBLISH = FALSE;
有料リストへの価格設定プランの追加¶
The steps below add a pricing plan to an existing listing.
Snowsight にサインインします。
In the navigation menu, select Marketplace » Provider Studio.
右側のペインで、 Listings タブをクリックします。
価格設定プランを添付する有料リストを選択します。
The Pricing plans tab for the listing opens.
Click + Create pricing plan.
Settings ページでプランの名前を指定し、 Next を選択します。
You can optionally specify a product SKU for the pricing plan.
Next をクリックします。
On the Pricing details page, select a pricing model for the plan:
If you select Flat-fee, specify the access fee price and the billing frequency (monthly or annually) for the plan.
If you select Usage-based, specify the monthly access fee, the price per query, and the maximum monthly charge.
Next を選択します。
価格設定プランの概要を精査してから、:ui:`Done`を選択します。
オプション:別の価格設定プランを追加するには、:ui:`Add pricing plan`を選択し、前のステップを繰り返します。
料金プランのマニフェスト参照ファイルを作成し、PRICING_PLAN_1.yamlとして保存します。
display_name: Default pricing plan display name currency: USD pricing_model: FLAT_FEE base_fee: 100.0 billing_duration_months: 1 sales_motion: SELF_SERVE comment: Comment for the pricing plan metadata: description: Pricing plan description price: $100 / unit button_text: Buy Now value_propositions: - val 1 - val 2 visibility: VISIBLE contract_type: LIMITED_TIME contract_duration_months: 12 state: PUBLISHED
リストのライブバージョンを作成し、リストマニフェストリファレンスをダウンロードします。
ALTER LISTING my_listing ADD LIVE VERSION FROM LAST; GET snow://listing/my_listing/versions/live/manifest.yml file:///Users/my_username/
Add the pricing plan to the listing manifest reference.
注釈
料金プラン名は大文字である必要があります。
pricing_plans: - name: PRICING_PLAN_1 type: FILE path: pricingPlans/PRICING_PLAN_1.yaml
料金プランとリストマニフェストリファレンスファイルをアップロードし、変更をコミットします。
PUT file:///Users/my_username/PRICING_PLAN_1.yaml snow://listing/my_listing/versions/live/pricingPlans AUTO_COMPRESS = false; PUT file:///Users/my_username/manifest.yml snow://listing/my_listing/versions/live AUTO_COMPRESS = false; ALTER LISTING my_listing COMMIT;
リストで料金プランを表示するには、 SHOW PRICING PLANS コマンドを実行します。
SHOW PRICING PLANS IN LISTING my_listing;
価格設定プランの編集¶
既存の料金プランを編集するには、次の手順に従ってください。
注釈
価格設定プランの編集結果がコンシューマーに表示されるまでに最大10分かかる場合があります。
リストのライブバージョンを作成し、料金プランのマニフェストリファレンスをダウンロードします。
ALTER LISTING my_listing ADD LIVE VERSION FROM LAST; GET snow://listing/my_listing/versions/live/pricingPlans/PRICING_PLAN_1.yml file:///Users/my_username/
Edit the pricing plan manifest reference.
料金プランとリストマニフェストリファレンスファイルをアップロードし、変更をコミットします。
PUT file:///Users/my_username/PRICING_PLAN_1.yaml snow://listing/my_listing/versions/live/pricingPlans AUTO_COMPRESS = false; ALTER LISTING my_listing COMMIT;
料金プランの詳細の表示¶
リストで料金プランの詳細を確認するには、 SHOW PRICING PLANS コマンドを実行します。
SHOW PRICING PLANS IN LISTING my_listing;
