Snowsight에서 요금제 생성 및 관리¶
전제 조건¶
공급자 프로필. 공급자 프로필 설정하기 섹션을 참조하십시오.
게시된 목록. `새 목록 만들기`_를 참조하세요.
목록을 결제할 수 있는 계정. 목록의 요금을 받도록 Stripe 설정하기 섹션을 참조하십시오.
필수 권한¶
ACCOUNTADMIN 역할 또는 공급자 권한이 부여된 역할을 사용해야 합니다. `목록 작업의 필수 권한<https://other-docs.snowflake.com/collaboration/provider-becoming#label-permissions-required-for-working-with-listings-and-shares>`_을 참조하세요.
Create a pricing plan¶
아래 단계에 따라 요금제가 있는 새 목록을 생성합니다.
Follow the steps for sharing data on the Snowflake Marketplace.
After you add a data product to your share, in the Access type dropdown, select Paid listing.
A Pricing section and a Trial (optional) section are added to the listing page.
Pricing 섹션에서 Add pricing plans 을 선택합니다.
The Create pricing plan page opens.
Settings 페이지에서 요금제의 이름을 지정한 다음 :ui:`Next`를 선택합니다.
You can optionally specify a product SKU for the pricing plan.
On the Pricing details page, select a pricing model for the plan:
If you select Flat-fee, specify the access fee price and the billing frequency (monthly or annually) for the plan.
If you select Usage-based, specify the monthly access fee, the price per query, and the maximum monthly charge.
Next 를 선택합니다.
요금제 요약을 검토한 다음, :ui:`Done`을 선택합니다.
선택 사항: 다른 요금제를 추가하려면 :ui:`Add pricing plan`을 선택한 다음, 이전 단계를 반복합니다.
Submit for approval » :ui:`Publish once approved`를 선택하여 목록을 게시합니다. 게시된 목록만 컨슈머에게 제공할 수 있습니다.
특정 목록에 대한 추가 요금제를 생성하려면 목록을 선택하고 Pricing plans 탭을 선택한 다음, :ui:`+ Create pricing plan`을 선택합니다.
Create a pricing plan manifest reference named PRICING_PLAN_1.
참고
요금제 이름은 대문자여야 합니다.
display_name: Default pricing plan display name currency: USD pricing_model: FLAT_FEE base_fee: 100.0 billing_duration_months: 1 sales_motion: SELF_SERVE comment: Comment for the pricing plan metadata: description: Pricing plan description price: $100 / unit button_text: Buy Now value_propositions: - val 1 - val 2 visibility: VISIBLE contract_type: LIMITED_TIME contract_duration_months: 12 state: PUBLISHED
요금제가 포함된 :doc:`목록 매니페스트 참조</progaccess/listing-manifest-reference>`를 생성합니다.
title: my_listing subtitle: Subtitle for my_listing description: Description for my_listing listing_terms: type: OFFLINE targets: regions: PUBLIC.AWS_US_EAST_1 usage_examples: - title: this is a test sql description: Simple example query: select * pricing_plans: - name: PRICING_PLAN_1 type: FILE path: pricingPlans/PRICING_PLAN_1.yaml
요금제 및 목록 매니페스트 참조 파일을 스테이징합니다.
PUT file:///local/path/to/PRICING_PLAN_1.yaml @DB.SCHEMA.STAGE/pricingPlans/PRICING_PLAN_1 SOURCE_COMPRESSION=NONE AUTO_COMPRESS=FALSE OVERWRITE=TRUE; PUT file:///local/path/to/manifest.yaml @DB.SCHEMA.STAGE/listings/my_manifest SOURCE_COMPRESSION=NONE AUTO_COMPRESS=FALSE OVERWRITE=TRUE;
스테이지에 업로드된 매니페스트 파일을 사용하는 목록을 생성합니다.
CREATE EXTERNAL LISTING my_listing FROM @DB.SCHEMA.STAGE/listings/my_manifest REVIEW = TRUE PUBLISH = FALSE;
유료 목록에 요금제 추가¶
The steps below add a pricing plan to an existing listing.
Snowsight 에 로그인합니다.
In the navigation menu, select Marketplace » Provider Studio.
오른쪽 창에서 Listings 탭을 클릭합니다.
요금제를 첨부할 유료 목록을 선택합니다.
The Pricing plans tab for the listing opens.
Click + Create pricing plan.
Settings 페이지에서 요금제의 이름을 지정한 다음 :ui:`Next`를 선택합니다.
You can optionally specify a product SKU for the pricing plan.
Next 을 클릭합니다.
On the Pricing details page, select a pricing model for the plan:
If you select Flat-fee, specify the access fee price and the billing frequency (monthly or annually) for the plan.
If you select Usage-based, specify the monthly access fee, the price per query, and the maximum monthly charge.
Next 를 선택합니다.
요금제 요약을 검토한 다음, :ui:`Done`을 선택합니다.
선택 사항: 다른 요금제를 추가하려면 :ui:`Add pricing plan`을 선택한 다음, 이전 단계를 반복합니다.
요금제 매니페스트 참조 파일을 생성하고 PRICING_PLAN_1.yaml로 저장합니다.
display_name: Default pricing plan display name currency: USD pricing_model: FLAT_FEE base_fee: 100.0 billing_duration_months: 1 sales_motion: SELF_SERVE comment: Comment for the pricing plan metadata: description: Pricing plan description price: $100 / unit button_text: Buy Now value_propositions: - val 1 - val 2 visibility: VISIBLE contract_type: LIMITED_TIME contract_duration_months: 12 state: PUBLISHED
목록의 라이브 버전을 생성하고 목록 매니페스트 참조를 다운로드합니다.
ALTER LISTING my_listing ADD LIVE VERSION FROM LAST; GET snow://listing/my_listing/versions/live/manifest.yml file:///Users/my_username/
Add the pricing plan to the listing manifest reference.
참고
요금제 이름은 대문자여야 합니다.
pricing_plans: - name: PRICING_PLAN_1 type: FILE path: pricingPlans/PRICING_PLAN_1.yaml
요금제 및 목록 매니페스트 참조 파일을 업로드하고 변경 사항을 커밋합니다.
PUT file:///Users/my_username/PRICING_PLAN_1.yaml snow://listing/my_listing/versions/live/pricingPlans AUTO_COMPRESS = false; PUT file:///Users/my_username/manifest.yml snow://listing/my_listing/versions/live AUTO_COMPRESS = false; ALTER LISTING my_listing COMMIT;
목록에서 요금제를 확인하려면 SHOW PRICING PLANS 명령을 실행합니다.
SHOW PRICING PLANS IN LISTING my_listing;
요금제 편집¶
기존 요금제를 편집하려면 아래 단계를 따릅니다.
참고
요금제 편집 내용이 컨슈머에게 표시되는 데 최대 10분이 걸릴 수 있습니다.
목록의 라이브 버전을 생성하고 요금제 매니페스트 참조를 다운로드합니다.
ALTER LISTING my_listing ADD LIVE VERSION FROM LAST; GET snow://listing/my_listing/versions/live/pricingPlans/PRICING_PLAN_1.yml file:///Users/my_username/
Edit the pricing plan manifest reference.
요금제 및 목록 매니페스트 참조 파일을 업로드하고 변경 사항을 커밋합니다.
PUT file:///Users/my_username/PRICING_PLAN_1.yaml snow://listing/my_listing/versions/live/pricingPlans AUTO_COMPRESS = false; ALTER LISTING my_listing COMMIT;
요금제 세부 정보 보기¶
목록의 요금제에 대한 세부 정보를 보려면 SHOW PRICING PLANS 명령을 실행합니다.
SHOW PRICING PLANS IN LISTING my_listing;
