定价方案清单参考

以编程方式创建 Snowflake 定价方案需要使用以 YAML (https://yaml.org/spec/ (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>
Copy

定价方案参数

定价方案清单中的参数允许您创建满足特定业务要求的定价方案。标明了必填参数和可选参数。

pricing_plan_display_name

必填。字符串。对提供商和使用者可见的定价方案名称。

currency

必填。字符串。定价方案的三字母货币代码。默认为 USD。

pricing_model

必填。字符串。定价方案的定价模式。可用值为 FLAT_FEE 和 USAGE_BASED。有关定价模式的更多信息,请参阅 付费列表定价模式

usage_details

可选。定义定价方案使用限制。您可以指定以下可选参数。

长整型。使用者在不支付月费的情况下可以进行的查询次数。

billing_events

可选。定义使用者计费事件。您可以指定以下可选参数。

字符串。计费类别名称。

compute_pool_surcharge

可选。定义计算池使用费率。您可以指定以下可选参数。

字符串。计算池附加费用类型。可接受的值为 HOUR 或 CREDIT。

base_fee

必填。双精度。定价方案每月固定费用。

billing_duration

必填。长整型。定价方案的期限(以月为单位)。

sales_motion

必填。字符串。定价方案类型。可接受的值为 SELF_SERVE 和 TALK_TO_SALES。

comment

可选。字符串。仅对提供商可见的定价方案信息。

元数据

可选。提供其他定价方案信息。您可以指定以下可选参数。

字符串。定价方案的描述。

visibility

必填。字符串。定义定价方案可见性。可接受的值为 VISIBLE 和 HIDDEN。

contract_type

必填。字符串。定价方案合同类型。可接受的值为 SUBSCRIPTION 和 LIMITED_TIME。

contract_duration_months

必填。长整型。定价方案合同期限(以月为单位)。

语言: 中文