要约清单引用

以编程方式创建 Snowflake 要约需要一个清单文件,该清单文件使用 YAML 编写(https://yaml.org/spec/ (https://yaml.org/spec/))。请使用此处提供的信息来了解要约清单中可用的参数。

要约清单

#
# Offer manifest
#
access_start_date_preference: <preferred_offer_start_date>
comment: <offer_comments>
contract_type: <contract_type>
contract_duration_months: <the_contract_duration_in_months>
invoice_end_time: <invoice_end_date_and_time>
invoice_start_date_preference: <preferred_invoice_start_date>
invoice_start_time: <invoice_start_time>
is_default: <is_a_default_offer_included_with_the_pricing_plane>
offer_display_name: <offer_display_name>
offer_expiration_time: <offer_expiration_time>
payment_terms:
  payment_type: <pricing_plan_payment_method>
  installment_schedule: <pricing_plan_installment_schedule>
  allowed_payment_methods: <allowed_payment_methods>
pricing_plan_name: <the_pricing_plan_name>
access_end_time: <listing_access_end_time>
access_start_time: <listing_access_start_time>
discount: <the_offer_discount>
target_consumer: <offer_target_consumer>
terms_of_service:
  type: <terms_of_service_type>
  custom_link: <link_to_custom_terms_of_service>
additional_information: <additional_offer_information>
Copy

要约参数

要约清单中的参数允许您创建符合特定业务需求的要约。标明了必填参数和可选参数。

access_start_date_preference

必填。字符串。首选要约开始日期。 可接受的值为 SPECIFIC_DATE 或OFFER_ACCEPTED_DATE。

comment

可选。字符串。关于要约的评论,仅对提供商可见。

contract_type

必填。字符串。合同类型。可接受的值为 SUBSCRIPTION 或LIMITED_TIME。

contract_duration_months

必填。长整型。以月为单位的合同期限。

invoice_end_time

必填。长整型。发票结束日期和时间,以自 Unix 纪元以来的毫秒表示。

invoice_start_date_preference

必填。字符串。首选发票开始日期。可接受的值为 OFFER_ACCEPTED_DATE、SPECIFIC_DATE 或 FIRST_DAY_NEXT_MONTH。

invoice_start_time

必填。长整型。发票的创建时间。

is_default

必填。布尔。当为 TRUE 时,指定定价方案中包含默认要约。默认为 FALSE。

offer_display_name

可选。字符串。对使用者可见的要约名称。

offer_expiration_time

可选。长整型。要约到期时间。

payment_terms

必填。提供其他定价方案参数。您可以指定以下参数。

字符串。定价方案付款类型。可接受的值为 INVOICE 和 CREDIT_CARD。

pricing_plan_name

必填。字符串。定价方案名称。

access_end_time

必填。长整型。使用者失去对试用列表访问权限的时间。

access_start_time

必填。长整型。使用者可以访问列表的时间。

折扣

可选。双精度。要约折扣。

target_consumer

可选。字符串。要约的目标使用者。格式为 organization_name.account_name

terms_of_service

必填。提供其他定价套餐服务条款。您可以指定以下参数。

字符串。服务条款类型。可接受的值为 CUSTOM、DEFAULT 和 OFFLINE。

additional_information

可选。其他要约信息。

语言: 中文