Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • Машинное обучение
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Истории успеха
    • Тарифы Yandex Cloud
    • Промоакции и free tier
    • Правила тарификации
  • Документация
  • Блог
Проект Яндекса
© 2025 ООО «Яндекс.Облако»
Yandex Cloud Billing
  • Начало работы
  • Управление доступом
  • Правила тарификации
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
        • Get
        • List
  • Аудитные логи Audit Trails

В этой статье:

  • HTTP request
  • Path parameters
  • Query parameters
  • Response
  • PricingVersion
  • PricingExpression
  • Rate
  1. Справочник API
  2. REST (англ.)
  3. Sku
  4. Get

Billing API, REST: Sku.Get

Статья создана
Yandex Cloud
Обновлена 26 ноября 2024 г.
  • HTTP request
  • Path parameters
  • Query parameters
  • Response
  • PricingVersion
  • PricingExpression
  • Rate

Returns the specified SKU.

HTTP requestHTTP request

GET https://billing.api.cloud.yandex.net/billing/v1/skus/{id}

Path parametersPath parameters

Field

Description

id

string

Required field. ID of the SKU to return.
To get the SKU ID, use SkuService.List request.

Query parametersQuery parameters

Field

Description

currency

string

Required field. Currency of the SKU.
Can be one of the following:

  • RUB
  • USD
  • KZT

billingAccountId

string

Optional ID of the billing account.
If specified, contract prices for a particular billing account are included in the response.
To get the billing account ID, use BillingAccountService.List request.

ResponseResponse

HTTP Code: 200 - OK

{
  "id": "string",
  "name": "string",
  "description": "string",
  "serviceId": "string",
  "pricingUnit": "string",
  "pricingVersions": [
    {
      "type": "string",
      "effectiveTime": "string",
      "pricingExpressions": [
        {
          "rates": [
            {
              "startPricingQuantity": "string",
              "unitPrice": "string",
              "currency": "string"
            }
          ]
        }
      ]
    }
  ]
}

A Stock keeping unit resource.

Field

Description

id

string

ID of the SKU.

name

string

Name of the SKU.

description

string

Description of the sku.

serviceId

string

ID of the service that sku belongs to.

pricingUnit

string

Pricing unit of the SKU, e.g. core*hour, gbyte*hour.

pricingVersions[]

PricingVersion

List of pricing versions.

PricingVersionPricingVersion

Pricing version of the SKU.
Defines current and past prices for the sku.

Field

Description

type

enum (PricingVersionType)

Type of the pricing version.

  • PRICING_VERSION_TYPE_UNSPECIFIED
  • STREET_PRICE: Regular price.
  • CONTRACT_PRICE: Price is overridden by a contract. Defined in the scope of a billing account.

effectiveTime

string (date-time)

Timestamp pricing version is active since inclusive.
The pricing version is active until next pricing version effective time exclusive.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

pricingExpressions[]

PricingExpression

List of pricing expressions.

PricingExpressionPricingExpression

Pricing expression of the pricing version.
Defines price for the sku.

Field

Description

rates[]

Rate

List of rates.

RateRate

Rate of the pricing expression.
Define unit price for pricing quantity interval.

Field

Description

startPricingQuantity

string

Start of the pricing quantity interval. The end of the interval is the start pricing quantity of the next rate.

unitPrice

string

Unit price for the pricing quantity interval.

currency

string

Currency of the unit price.
Can be one of the following:

  • RUB
  • USD
  • KZT

Была ли статья полезна?

Предыдущая
Overview
Следующая
List
Проект Яндекса
© 2025 ООО «Яндекс.Облако»