For AI agents: A markdown version of this page is available at https://dnd37xeb23o8n.cloudfront.net/jen.gilbert/astro-base/ko/api/latest/product-catalog/list-skus.md. A documentation index is available at /llms.txt.
Language
Datadog site

SKU 나열

경고Note: This endpoint is in preview and is subject to change. If you have any feedback, contact Datadog support.
GEThttps://api.datadoghq.com/api/v2/product-catalog/skushttps://api.us3.datadoghq.com/api/v2/product-catalog/skushttps://api.us5.datadoghq.com/api/v2/product-catalog/skushttps://api.datadoghq.eu/api/v2/product-catalog/skushttps://api.ap1.datadoghq.com/api/v2/product-catalog/skushttps://api.ap2.datadoghq.com/api/v2/product-catalog/skushttps://api.uk1.datadoghq.com/api/v2/product-catalog/skushttps://api.ddog-gov.com/api/v2/product-catalog/skushttps://api.us2.ddog-gov.com/api/v2/product-catalog/skus

개요

요청을 처리하는 Datadog 사이트에 대해, 일반적으로 이용 가능한 모든 Datadog SKU와 해당 SKU에 적용되는 가격 및 할당량 메타데이터를 가져옵니다. SKU는 일반적으로 계량 약정 또는 자동 청구를 통해 청구되는 경우 사용 가능하며, 다른 단계에 있는 SKU는 반환되지 않습니다.

요금, 할당량 및 요금 책정 계층은 as_of_date에 유효했던 시점의 상태로 반환되며 as_of_date는 요청 날짜가 기본값입니다. 가격은 공개 정가이므로 계정에 대한 할인, 약정 또는 협의된 요금은 반영되지 않습니다.

각 SKU는 data의 별도 리소스이며 SKU 코드로 식별되고, 해당 코드를 기준으로 오름차순 정렬됩니다. 전체 카탈로그가 단일 응답으로 반환되므로 이 엔드포인트는 페이지별로 표시되지 않습니다.

This endpoint requires any of the following permissions:

  • billing_read
  • usage_read

OAuth apps require one of the following authorization scopes to access this endpoint: billing_read, usage_read.

인수

쿼리 문자열

이름
유형
설명
version [required]
enum

The version of the product catalog response contract to return. v1 is the latest. This is independent of the /api/v2 path segment, which is the version of the Datadog API itself.

Allowed enum values: v1
as_of_date
string

The date the returned prices, allotments, and pricing tiers are effective as of, in YYYY-MM-DD format. Defaults to the date of the request, and must not be later than it. Set it to a date in a past billing period to reconcile that period against the prices that were in effect then, rather than today.

응답

OK

Response containing the generally available SKUs and their pricing metadata.

항목
유형
설명
data [required]
[object]

The generally available SKUs, sorted by SKU code in ascending order.

코드 예시

SKU 나열
# Required query arguments
export version="v1"

# Set your Datadog site and credentials
export DD_SITE="datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/product-catalog/skus?version=${version}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Required query arguments
export version="v1"

# Set your Datadog site and credentials
export DD_SITE="us3.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/product-catalog/skus?version=${version}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Required query arguments
export version="v1"

# Set your Datadog site and credentials
export DD_SITE="us5.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/product-catalog/skus?version=${version}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Required query arguments
export version="v1"

# Set your Datadog site and credentials
export DD_SITE="datadoghq.eu"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/product-catalog/skus?version=${version}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Required query arguments
export version="v1"

# Set your Datadog site and credentials
export DD_SITE="ap1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/product-catalog/skus?version=${version}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Required query arguments
export version="v1"

# Set your Datadog site and credentials
export DD_SITE="ap2.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/product-catalog/skus?version=${version}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Required query arguments
export version="v1"

# Set your Datadog site and credentials
export DD_SITE="uk1.datadoghq.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/product-catalog/skus?version=${version}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Required query arguments
export version="v1"

# Set your Datadog site and credentials
export DD_SITE="ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/product-catalog/skus?version=${version}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"
# Required query arguments
export version="v1"

# Set your Datadog site and credentials
export DD_SITE="us2.ddog-gov.com"
# Use a Personal Access Token or Service Access Token
export DD_BEARER_TOKEN="<PERSONAL_ACCESS_TOKEN OR SERVICE_ACCESS_TOKEN>"

curl -X GET "https://api.${DD_SITE}/api/v2/product-catalog/skus?version=${version}" \
-H "Accept: application/json" \
-H "Authorization: Bearer ${DD_BEARER_TOKEN}"