组织配置文件清单引用

Creating organization profiles programmatically requires a manifest, written in YAML (https://yaml.org/spec/ (https://yaml.org/spec/)). Use the information provided here to learn about the parameters available in an organization profile manifest.

组织配置文件清单

#
# Organization profile manifest
#
title: <organization_profile_title>
description: <organization_profile_description>
contact: <organization_profile_contact>
approver_contact: <organization_profile_approver_contacts>
allowed_publishers:
  access:
      - account: account_name1
        roles: [<roles_list>]
      - account: account_name2
logo: <organization_profile_logo_urn>

组织配置文件字段

组织列表中的参数允许您为特定的组织列表创建组织配置文件。确定了必填字段和可选字段。

title (Required)

String. The organization profile title. This field represents the Provider domain. It’s shown under the Organization Listing and as a filter option under Providers in an Internal Marketplace.

. . .
title: "Title"
. . .
description (Required)

字符串。组织配置文件的描述。

. . .
description: "Description"
. . .
contact (Required)

字符串。组织配置文件所有者的电子邮件地址。

. . .
contact: "contact@snowflake.com"
. . .
approver_contact (Required)

字符串。组织配置文件的电子邮件地址。

以下是格式的示例:

. . .
approver_contact: "approver_contact@snowflake.com"
. . .
allowed_publishers (Optional)

The accounts that are allowed to publish the listing associated with the organization profile. You must specify the following with allowed_publishers:

  • access: A list of accounts allowed to publish the listing associated with the organization profile. To allow all accounts to publish the listing associated with the organization profile, use all_internal_accounts: "true". To specify a list of roles within the current account that can access a profile, use roles.

    Note

    You can only assign specific roles in the current account.

以下是格式的示例:

. . .
allowed_publishers:
  access:
    - account: "account_name1"
      roles: ['PUBLIC']
    - account: "account_name2"
. . .
logo (Optional)

String. The URN for the organization profile icon or emoji. Use the following format to specify a logo: logo: “urn:icon:<name>:<color>”

下表列出了可用的图标:

IconNameIconName
aiblocks
bookcalendar
classificationcode
computedataengineering
diamondenergy
environmenticon_forecasting
geargovernment
healthmedicinehealthscience
languagelegal
loudspeakermachinelearning
marketplaceinternalpackage
personalinfopin
pinbuildingpindata
pinglobepinmap
publicscale
shieldlocksport
teamtransportation
travelweather
writinghand

可用的徽标颜色包括:

  • 默认(灰色)
  • 蓝色
  • 紫色
  • 粉红色
  • 橙色
  • 浅绿色

以下是格式的示例:

. . .
logo: "urn:icon:shieldlock:blue"
. . .