为最近过期的域名续期

<ph type="x-smartling-placeholder">

本页介绍了如何为已过期的 过去 30 天的数据

如要为您的域名续期,请完成以下步骤。

gcloud

使用 gcloud domains registrations renew-domain 命令

gcloud domains registrations renew-domain DOMAIN_NAME \
    [--yearly-price=YEARLY_PRICE]

替换以下内容:

  • DOMAIN_NAME:您的注册网域的名称 例如 example.app
  • YEARLY_PRICE:年价格,后跟 货币代码(例如 12.00 USD)。--yearly-price 是可选标志。如果省略此标志,gcloud CLI 会提示您 确认年度价格。有关价格的信息,请参阅 Cloud Domains 价格

API

使用 registrations.renewDomain 方法

  POST https://domains.googleapis.com/v1/projects/PROJECT_ID/locations/global/registrations/DOMAIN_NAME:renewDomain
  {
    "yearlyPrice": {
      "currencyCode": "CURRENCY_CODE",
      "units": NUMBER_OF_UNITS
    }
  }

替换以下内容:

  • PROJECT_ID:您的项目的名称
  • DOMAIN_NAME:您要迁移的网域的名称 续订
  • CURRENCY_CODE:定义的货币代码(由 3 个字母组成) (符合 ISO 4217 标准),例如 USD
  • NUMBER_OF_UNITS:单位的年度价格。对于 例如,如果 currencyCodeUSD,则一个单位等于 一美元。有关定价的信息 请参阅 Cloud Domains 价格

后续步骤