価格設定プランマニフェストリファレンス¶
プログラムでSnowflake価格設定プランを作成するには、YAML(https://yaml.org/spec/)で記述されたマニフェストが必要です。ここで提供される情報を使用して、価格設定プランのマニフェストで使用可能なパラメーターについて学習してください。
価格設定プランマニフェスト¶
#
# Pricing plan manifest
#
pricing_plan_display_name: <pricing_plan_name>
currency: <three_letter_currency_code>
pricing_model: <pricing_plan_pricing_model>
usage_details:
  free_units: <number_of_free_monthly_queries>
  free_unit_kind: <free_unit_kind>
  usage_unit_price: <price_per_unit>
  usage_unit_kind: <usage_unit_kind>
  max_fee: <maximum_fee_per_month>
billing_events:
   class: <class_name>
   display_name: <billing_event_display_name>
   billing_quantity: <price_per_unit>
   billing_unit: <display_units>
   description: <description_for_the_billing_event>
compute_pool_surcharge:
   surcharge_type: <surcharge_type>
   compute_pool_rates:
    - identifier_type: <compute_pool_type>
      identifier_name: <compute_pool_name>
      surcharge_price: <price_per_credit>
      description: <compute_pool_rate_description>
    - identifier_type: <compute_pool_type>
      identifier_name: <compute_pool_name>
      surcharge_price: <price_per_credit>
      description: <compute_pool_rate_description>
base_fee: <monthly_fixed_fee>
billing_duration: <billing_duration_in_months>
sales_motion: <pricing_plan_type>
comment: <a_note_visible_only_to_the_provider>
metadata:
  description: <pricing_plan_description>
  price_prefix: <pricing_plan_prefix>
  pricing_unit: <|sf-web-interface|_pricing_plan_pricing_unit>
  button_text: <|sf-web-interface|_button_text>
  index: <|sf-web-interface|_pricing_plan_index>
  value_propositions: <pricing_plan_value_proposition>
visibility: <pricing_plan_visibility>
#
# Default offer fields
#
contract_type: <pricing plan contract type>
contract_duration_months: <pricing plan contract duration>
価格設定プランのパラメーター¶
価格設定プランマニフェスト内のパラメーターを使用すると、特定のビジネス要件を満たす価格設定プランを作成できます。必須およびオプションのパラメーターが識別されます。
- pricing_plan_display_name
 必須です。文字列。プロバイダーとコンシューマーに表示される価格設定プラン名。
- currency
 必須です。文字列。価格設定プランの3文字の通貨コード。デフォルトは USD です。
- pricing_model
 必須です。文字列。価格設定プランの価格設定モデル。利用可能な値はFLAT_FEEおよびUSAGE_BASEDです。価格設定モデルの詳細については、`有料リストの価格設定モデル`_をご参照ください。
- usage_details
 オプション。価格設定プランの使用制限を定義します。次のオプションパラメーターを指定できます。
Long。コンシューマーが月額使用料を負担せずに実行できるクエリの数。
文字列。無料の単位の種類。有効な値はQUERYです。
Double。単位あたりの価格の種類。
文字列。使用単位のタイプ。有効な値はQUERYです。
Double。コンシューマーへの毎月請求の最大料金。有効な値はQUERYです。
- billing_events
 オプション。コンシューマーの請求イベントを定義します。次のオプションパラメーターを指定できます。
文字列。請求クラス名。
文字列。請求イベント名。
Double。単位あたりの価格。
文字列。表示する請求単位。
文字列。請求イベントの説明。
- compute_pool_surcharge
 オプション。コンピューティングプールの使用レートを定義します。次のオプションパラメーターを指定できます。
文字列。コンピューティングプールの追加料金の種類。受け入れられる値はHOURまたはCREDITです。
文字列。コンピューティングプールアクセスの料金を定義します。次のパラメーターを指定できます。
文字列。コンピューティングプールの識別子の種類。有効な値はCOMPUTE_POOL_NAMEです。
文字列。コンピューティングプールの識別子名。この値は、アプリで使用されるコンピューティングプールの名前と同一である必要があります。
Double。値がCREDITの場合、コンピューティングプールクレジットあたりの価格。値がHOURの場合、コンピューティング時間あたりの価格。コンピュートノードが開始または再開されると、最小5分に相当するSnowflakeクレジットが消費されます。コンピュートノードが開始または再開された後、ウェアハウスとコンピューティングノードは秒単位で課金され、整数秒単位に切り上げられます。
文字列。コンピューティングプールの説明。
- base_fee
 必須です。Double。価格設定プランの月額固定料金。
- billing_duration
 必須です。Long。価格設定プランの期間(月単位)。
- sales_motion
 必須です。文字列。価格設定プランの種類。受け入れられる値はSELF_SERVEおよびTALK_TO_SALESです。
- comment
 オプション。文字列。プロバイダーのみに表示される価格設定プラン情報。
- metadata
 オプション。追加の価格設定プラン情報を提供します。次のオプションパラメーターを指定できます。
- visibility
 必須です。文字列。価格設定プランの可視性を定義します。受け入れられる値はVISIBLEおよびHIDDENです。
- contract_type
 必須です。文字列。価格設定プランの契約タイプ。受け入れられる値はSUBSCRIPTIONおよびLIMITED_TIMEです。
- contract_duration_months
 必須です。Long。価格設定プランの契約期間(月単位)。