使用自动履行

When you configure a listing and make it available in a region other than your local region, or when you share a private listing with consumer accounts in another region, you can enable auto-fulfillment. See Region availability (Marketplace listings only).

Enable auto-fulfillment for your account

Note

Auto-fulfillment isn’t available on trial accounts.

To enable auto-fulfillment for your account, use the SYSTEM$ENABLE_GLOBAL_DATA_SHARING_FOR_ACCOUNT system function.

You must use the ORGADMIN role to call this system function.

SELECT SYSTEM$ENABLE_GLOBAL_DATA_SHARING_FOR_ACCOUNT(
  '<account_name>'
  );

其中:

account_name

Specifies the name of the account in which to enable users with the ACCOUNTADMIN role to manage Cross-Cloud Auto-Fulfillment. For more information, see Finding the organization and account name for an account.

Note

To disable auto-fulfillment for an account, use the SYSTEM$DISABLE_GLOBAL_DATA_SHARING_FOR_ACCOUNT system function. To check whether auto-fulfillment is enabled for an account, use the SYSTEM$IS_GLOBAL_DATA_SHARING_ENABLED_FOR_ACCOUNT system function.

Required privileges to perform auto-fulfillment tasks

在继续使用 Snowsight 或 SQL 之前,请确保您拥有设置自动履行所需的权限。

要执行自动履行任务,您必须使用以下角色之一:

  • ORGADMIN 角色。
  • The ACCOUNTADMIN role after auto-fulfillment is enabled on an account.
  • A custom role that has been granted the MANAGE LISTING AUTO FULFILLMENT privilege by a user with the ACCOUNTADMIN role with delegated privileges.

您使用的所有角色还必须具有列表的 OWNERSHIP 或者 MODIFY 权限。

Now that you understand the required privileges, you can configure auto-fulfillment for your listing. See Set up auto-fulfillment for more information. Keep in mind that you must add a data product to your listing before you can set up auto-fulfillment. Also, the steps to set up auto-fulfillment differ depending on the data product you offer and how you make your listing available.