IIJ DNSプラットフォームサービスでは、DNSレコードやゾーン情報などを、
お客様が用意したプログラムから自動的に操作するためのAPI機能を提供しています。
以降、IIJ DNSプラットフォームサービスを「DPF」、DPFが提供するAPIを「DPF-API」あるいは単に「API」と表記します。
DPF-APIの利用には、DPFの契約とIIJ IDサービスの契約が必要となります。
本リファレンスマニュアルはOpenAPIに準拠しています。
このWEBページはopenapi.jsonから自動生成しています。このWEBページとopenapi.jsonの内容が異なる場合は、openapi.jsonの内容を正とします。 openapi.jsonは、上部のDownloadボタンからダウンロードできます。
DPF-APIを呼び出すためのプログラム、及びそのプログラムを稼働させるためのサーバは、お客様にてご用意ください。
お客様にご用意いただくプログラムの開発、利用、動作についてのお問い合わせは承ることができません。
以下の事項についてのお問い合わせは、弊社サポートセンターにて承ります。
IIJ DNSプラットフォームサービス オンラインマニュアル
IIJ IDサービス オンラインマニュアル
DPF-APIは、URLとHTTPリクエストヘッダ、HTTPリクエストボディでパラメータを指定して利用します。
また、IIJ IDサービスのアクセストークンと管理対象の権限設定が必要です。
| 項目 | 規格 |
|---|---|
| プロトコル | HTTP/1.1、HTTP/2(https) |
| HTTPメソッド | GET、POST、PATCH、PUT、DELETE |
| フォーマット | JSON |
| 文字コード | UTF-8 |
| タイムアウト | 300秒 |
APIリクエストの際にIIJ IDサービスによって発行されたアクセストークンをAuthorizationヘッダに指定する必要があります。
各APIにより必要となるアクセス権の範囲(許可するスコープ)が異なるのでご注意ください。
アクセストークン作成時に指定できる「許可するスコープ」は以下のとおりです。
| 許可するスコープ | 実行できるAPI |
|---|---|
| dpf_read | 参照系API |
| dpf_write | 更新系、及び参照系API |
| dpf_contract | 契約系API |
発行済のアクセストークンは、IIJ IDサービスの「アクセストークンの管理」より確認できます。
DPF-APIを利用する場合は「利用するリソースサーバ」の設定で「IIJ DNSサービスAPI」を選択してください。
アクセストークン管理方法のマニュアルはこちらを参照してください。
DPFでは、管理対象となる契約単位での参照、編集権限を細かく設定できます。
アクセストークンの許可するスコープが適切であっても、管理対象の権限が付与されていない場合はAPIを実行できません。
管理対象の権限設定のマニュアルはこちらを参照してください。
<HTTPメソッド> /dpf/<version>/<APIパス> HTTP/1.1
Host: api.dns-platform.jp
Authorization: Bearer <access_token>
Content-Type: application/json; charset=UTF-8
<HTTPリクエストボディ: JSON形式のAPI固有のパラメータ>
DPF-APIで指定するパラメータは以下のとおりです。
リクエストパラメータに同一のキーが含まれる場合の動作は保証されません。
| 共通 | 指定箇所 | パラメータ | 意味 |
|---|---|---|---|
| 共通 | HTTPメソッド | HTTPメソッド | HTTPメソッド(値:GET、POST、PATCH、PUT、DELETE) |
| 共通 | URL | version | DPF-APIバージョン(値:v1) |
| 個別 | URL | APIパス | API名称やAPI個別のパラメータの組み合わせ |
| 共通 | HTTPヘッダー | access_token | IIJ IDアクセストークン(参照:IIJ IDサービス) |
| 個別 | HTTPボディ | APIごとに異なる | JSON形式のパラメータ |
APIごとにレスポンスが異なります。
HTTPステータスコード、及びレスポンスボディによってクライアントプログラムにエラーを通知します。
{
"request_id": "782d746ac3cb46499b31708fa80e8660",
"error_type": "ParameterError",
"error_message": "There are invalid parameters.",
"error_details": [
{
"code": "invalid",
"attribute": "access_token"
}
]
}
| HTTP Status Code | error_type | error_message | code | attribute | 説明 | 対処方法 |
|---|---|---|---|---|---|---|
| 400 | ParameterError | There are invalid parameters. | invalid | access_token | 指定したアクセストークンに誤りがあります | アクセストークンを確認してください |
| 400 | ParameterError | JSON parse error occurred. | - | - | パラメータとして不正なJSON文字列が指定されました | リクエストのパラメータを確認してください |
| 400 | ParameterError | There are invalid parameters. | (API個別) | (API個別) | 不正なパラメータが指定されました | 各APIのエラーコードを確認してください |
| 404 | NotFound | Specified resource not found. | - | - | アクセスURLが正しくありません 存在しないAPIが指定されました 指定された以外のHTTPメソッドが指定されました |
左記の内容を確認してください |
| 429 | TooManyRequests | Too many requests. | - | - | 大量のAPIリクエストが送信されました | 単位時間当たりのAPIリクエスト数が多いため、リクエスト数を抑えてください |
| 500 | SystemError | System error occurred. | - | - | システム障害が発生しました | サポートセンターへお問い合わせください お問い合わせの際にリクエストの詳細時間及びrequest_idをお伝えください |
| 503 | ServiceUnavailable | Service unavailable. | - | - | メンテナンス中もしくはアクセスが集中しています | しばらく待ってから再度リクエストしてください メンテナンス内容についてはサービスオンラインでご確認ください |
| 504 | GatewayTimeout | Gateway timeout. | - | - | リクエストがタイムアウトしました | しばらく待ってから再度リクエストしてください |
DPF-APIにおけるGET以外のAPIは全て非同期APIです。
非同期APIはリクエストを受け付けると即座にレスポンスを返却しますが、
リクエストに対する実際の処理は非同期で行われます。
非同期リクエストの受け付けに成功した場合のHTTPステータスコードは202で、
返却されたレスポンスボディには、処理進捗を確認するためのURL(jobs_url)が含まれます。
このjobs_urlに対してGETリクエストをすることで進捗状況を確認できます。
進捗状況を確認した際、非同期処理が正常に終了していた場合は、
返却されたレスポンスボディには、対象リソースを取得するためのURL(resources_url)が含まれます。
このresources_urlに対してGETリクエストをすることで実行結果を確認できます。
HTTP/1.1 202 Accepted
Date: Mon, 26 Mar 20XX hh:mm:dd GMT
Content-Type: application/json; charset=utf-8
〜 略 〜
{
"request_id": "782d746ac3cb46499b31708fa80e8660",
"jobs_url": "https://api.dns-platform.jp/dpf/<version>/jobs/<request_id>"
}
GET /dpf/<version>/jobs/<request_id> HTTP/1.1
Host: api.dns-platform.jp
Authorization: Bearer <access_token>
Content-Type: application/json; charset=UTF-8
{}
HTTP/1.1 200 OK
Date: Mon, 26 Mar 202X hh:mm:dd GMT
Content-Type: application/json; charset=utf-8
〜 略 〜
{
"request_id": "782d746ac3cb46499b31708fa80e8660",
"resources_url": <resources_url>,
"status": "SUCCESSFUL"
}
通知先アカウントの設定の一覧を取得します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "resource_name": "a-1234567890-0abcd",
- "name": "name1",
- "lang": "ja",
- "props": {
- "mail": "iij-taro@example.jp",
- "phone": {
- "country_code": "",
- "number": ""
}
}
}, - {
- "resource_name": "b-1234567890-0abcd",
- "name": "name2",
- "lang": "en_US",
- "props": {
- "mail": "iij-taro@example.jp",
- "phone": {
- "country_code": "",
- "number": ""
}
}
}
]
}新しく通知先アカウントを作成します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| name required | string (CcNoticeAccountName) [ 1 .. 80 ] characters アカウント名 |
| lang required | string (CcNoticeAccountLang) Enum: "ja" "en_US" 言語設定 |
| resource_name | string (ResourceName) <= 253 characters 登録可能な文字列はこちらのホスト名の共通ルールを参照してください。 |
object (CcNoticeAccountProps) |
{- "resource_name": "a-1234567890-0abcd",
- "name": "name1",
- "lang": "ja",
- "props": {
- "mail": "iij-taro@example.jp"
}
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したCcNoticeAccountResourceNameの通知先アカウント設定を取得します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| CcNoticeAccountResourceName required | string (ResourceName) <= 253 characters GET cc_notice_accounts Schemaにおける resource_name |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "resource_name": "a-1234567890-0abcd",
- "name": "name1",
- "lang": "ja",
- "props": {
- "mail": "iij-taro@example.jp",
- "phone": {
- "country_code": "",
- "number": ""
}
}
}
}指定したCcNoticeAccountResourceNameの通知先アカウント設定を更新します。
アカウントに登録されたメールアドレスや電話番号を削除したい場合は、空文字を指定してください。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| CcNoticeAccountResourceName required | string (ResourceName) <= 253 characters GET cc_notice_accounts Schemaにおける resource_name |
| name | string (CcNoticeAccountName) [ 1 .. 80 ] characters アカウント名 |
| lang | string (CcNoticeAccountLang) Enum: "ja" "en_US" 言語設定 |
object (CcNoticeAccountProps) |
{- "name": "name1",
- "lang": "ja",
- "props": {
- "mail": "iij-taro@example.jp"
}
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したCcNoticeAccountResourceNameの通知先アカウント設定を削除します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| CcNoticeAccountResourceName required | string (ResourceName) <= 253 characters GET cc_notice_accounts Schemaにおける resource_name |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}プライマリネームサーバの設定の一覧を取得します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "id": 1234,
- "address": "192.0.2.0",
- "tsig_id": 1234,
- "enabled": 0
}, - {
- "id": 1235,
- "address": "198.51.100.0",
- "tsig_id": null,
- "enabled": 1
}
]
}新しくプライマリネームサーバを作成します。
作成できる最大件数は5件です。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| address required | string (CcPrimaryAddress) IPアドレス |
| tsig_id | integer or null <int64> (TsigId) >= 1 |
{- "tsig_id": 1234,
- "address": "192.0.2.0"
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したCcPrimaryIdのプライマリネームサーバを取得します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| CcPrimaryId required | integer <int64> (Id) >= 1 ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "id": 1234,
- "address": "192.0.2.0",
- "tsig_id": 1234,
- "enabled": 0
}
}指定したCcPrimaryIdのプライマリネームサーバを更新します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| CcPrimaryId required | integer <int64> (Id) >= 1 ID |
| tsig_id | integer or null <int64> (TsigId) >= 1 |
| address | string (CcPrimaryAddress) IPアドレス |
| enabled |
{- "enabled": 1
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したCcPrimaryIdのプライマリネームサーバを削除します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| CcPrimaryId required | integer <int64> (Id) >= 1 ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}DNS NOTIFYの設定の一覧を取得します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "id": 1234,
- "address": "192.0.2.0",
- "tsig_id": 1234
}, - {
- "id": 1235,
- "address": "198.51.100.0",
- "tsig_id": null
}
]
}新しくDNS NOFITYを作成します。
作成できる最大件数は256件です。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| address required | string (CcNotifiedServerAddress) IPアドレス |
| tsig_id | integer or null <int64> (TsigId) >= 1 |
{- "tsig_id": 1234,
- "address": "192.0.2.0"
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したCcSecNotifiedServerIdのDNS NOTIFYを取得します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| CcSecNotifiedServerId required | integer <int64> (Id) >= 1 ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "id": 1234,
- "address": "192.0.2.0",
- "tsig_id": 1234
}
}指定したCcSecNotifiedServerIdのDNS NOTIFYを更新します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| CcSecNotifiedServerId required | integer <int64> (Id) >= 1 ID |
| tsig_id | integer or null <int64> (TsigId) >= 1 |
| address | string (CcNotifiedServerAddress) IPアドレス |
{- "address": "198.51.100.0"
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したCcSecNotifiedServerIdのDNS NOTIFYを削除します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| CcSecNotifiedServerId required | integer <int64> (Id) >= 1 ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}ゾーン転送ACLの設定の一覧を取得します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "id": 1234,
- "network": "192.0.2.0/24",
- "tsig_id": 1234
}, - {
- "id": 1235,
- "network": "198.51.100.0/24",
- "tsig_id": null
}
]
}新しくゾーン転送ACLを作成します。
作成できる最大件数は10件です。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| network required | string (CcSecTransferNetwork) IPアドレス/プレフィックス長 |
| tsig_id | integer or null <int64> (TsigId) >= 1 |
{- "network": "192.0.2.0/24",
- "tsig_id": 1234
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したCcSecTransferAclIdのゾーン転送ACLを取得します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| CcSecTransferAclId required | integer <int64> (Id) >= 1 ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "id": 1234,
- "network": "192.0.2.0/24",
- "tsig_id": 1234
}
}指定したCcSecTransferAclIdのゾーン転送ACLを更新します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| CcSecTransferAclId required | integer <int64> (Id) >= 1 ID |
| tsig_id | integer or null <int64> (TsigId) >= 1 |
| network | string (CcSecTransferNetwork) IPアドレス/プレフィックス長 |
{- "network": "192.0.2.0/24",
- "tsig_id": 1234
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したCcSecTransferAclIdのゾーン転送ACLを削除します。
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| CcSecTransferAclId required | integer <int64> (Id) >= 1 ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}複数のゾーンおよびLBドメインで共通の設定内容を使用するための共通設定を操作できます。
マネージドDNSサーバの状態(managed_dns_enabled)、初期適用の共通設定(default)は以下のとおりです。
| 値 | 意味 | 備考 |
|---|---|---|
| 0 | 無効 | |
| 1 | 有効 |
| 値 | 意味 | 備考 |
|---|---|---|
| 0 | 無効 | |
| 1 | 有効 |
共通設定の一覧を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ContractId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| offset | integer <int32> (SearchOffset) [ 0 .. 10000000 ] Default: 0 |
| limit | integer <int32> (SearchLimit) [ 1 .. 10000 ] Default: 100 |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "id": 1234,
- "name": "name1",
- "managed_dns_enabled": 0,
- "default": 1,
- "description": ""
}, - {
- "id": 1235,
- "name": "name2",
- "managed_dns_enabled": 0,
- "default": 0,
- "description": ""
}
]
}新しく共通設定を作成します。
| ContractId required | string (SystemId) = 14 characters ID |
| name required | string (CommonConfigName) [ 1 .. 80 ] characters name |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
{- "name": "name",
- "description": ""
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}共通設定の件数を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ContractId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}ゾーンおよびLBドメインを新規追加した場合に、自動で適用される共通設定を切り替えます。
| ContractId required | string (SystemId) = 14 characters ID |
| common_config_id required | integer <int64> (Id) >= 1 |
{- "common_config_id": 1234
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したCommonConfigIdの共通設定を取得します。
| ContractId required | string (SystemId) = 14 characters ID |
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "id": 1234,
- "name": "name",
- "managed_dns_enabled": 0,
- "default": 1,
- "description": ""
}
}指定したCommonConfigIdの共通設定を更新します。
| ContractId required | string (SystemId) = 14 characters ID |
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| name | string (CommonConfigName) [ 1 .. 80 ] characters name |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
{- "name": "name"
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したCommonConfigIdの共通設定を削除します。
| ContractId required | string (SystemId) = 14 characters ID |
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定した共通設定と同じ内容の共通設定を別の共通設定名で作成します。
| ContractId required | string (SystemId) = 14 characters ID |
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| name required | string (CommonConfigName) [ 1 .. 80 ] characters name |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
{- "name": "name",
- "description": ""
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}マネージドDNSサーバをプライマリネームサーバとして有効もしくは無効とするかの切り替えを行えます。
| ContractId required | string (SystemId) = 14 characters ID |
| CommonConfigId required | integer <int64> (Id) >= 1 GET common_configs Schemaにおける id |
| managed_dns_enabled required |
{- "managed_dns_enabled": 1
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}DPF契約の操作ができます。
契約プラン(plan)、契約の状態(state)、お気に入りの状態(favorite)は以下のとおりです。
| 値 | 意味 | 備考 |
|---|---|---|
| 1 | ベーシック | |
| 2 | プレミアム |
| 値 | 意味 | 備考 |
|---|---|---|
| 1 | 利用開始前 | |
| 2 | 利用中 |
| 値 | 意味 | 備考 |
|---|---|---|
| 1 | 表示優先度高 | |
| 2 | 表示優先度低 |
DPF契約情報の一覧を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| offset | integer <int32> (SearchOffset) [ 0 .. 10000000 ] Default: 0 |
| limit | integer <int32> (SearchLimit) [ 1 .. 10000 ] Default: 100 |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_service_code[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_plan[] | |
| _keywords_state[] | |
| _keywords_favorite[] | |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "id": "fxxxxxxxxxxxxx",
- "service_code": "dpfxxxxxxxx",
- "state": 1,
- "favorite": 1,
- "plan": 2,
- "description": ""
}, - {
- "id": "fyyyyyyyyyyyyy",
- "service_code": "dpfyyyyyyyy",
- "state": 2,
- "favorite": 2,
- "plan": 1,
- "description": ""
}
]
}DPF契約の件数を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_service_code[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_plan[] | |
| _keywords_state[] | |
| _keywords_favorite[] | |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}指定したContractIdのDPF契約を取得します。
| ContractId required | string (SystemId) = 14 characters ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "id": "fxxxxxxxxxxxxx",
- "service_code": "dpfxxxxxxxx",
- "state": 1,
- "favorite": 1,
- "plan": 2,
- "description": ""
}
}指定したContractIdのDPF契約を更新します。
| ContractId required | string (SystemId) = 14 characters ID |
| favorite | |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
{- "favorite": 2
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したContractIdのラベルの一覧を取得します。
| ContractId required | string (SystemId) = 14 characters ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "labels": {
- "label_key_1": "label_value_1",
- "label_key_2": "label_value_2"
}
}
}指定したContractIdのラベルを一括更新します。
エラー発生時はErrorDetailsにtargetキーが付与され、問題の箇所が特定できます。
| ContractId required | string (SystemId) = 14 characters ID |
required | object [ 0 .. 10 ] properties Default: {} ラベル |
{- "labels": {
- "label_key_1": "label_value_1",
- "label_key_2": "label_value_2"
}
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}DPF契約に紐付くLBドメインの操作ができます。
LBドメインの状態(state)、お気に入りの状態(favorite)の詳細な説明は、lb_domainsを参照してください。
指定したContractIdのDPF契約に紐付くLBドメインの一覧を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
エラー発生時はErrorDetailsにtargetキーが付与され、問題の箇所が特定できます。
| ContractId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| offset | integer <int32> (SearchOffset) [ 0 .. 10000000 ] Default: 0 |
| limit | integer <int32> (SearchLimit) [ 1 .. 10000 ] Default: 100 |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_service_code[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_state[] | |
| _keywords_favorite[] | |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_common_config_id[] | Array of integers <int64> (KeywordsId) >= 0 items [ items <int64 > >= 1 ] Default: [] |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "id": "bxxxxxxxxxxxxx",
- "common_config_id": 1234,
- "service_code": "dplxxxxxxxx",
- "state": 1,
- "favorite": 1,
- "name": "lb.xxxxxxxxxxxxxxxx.x.d-16.jp.",
- "description": "",
- "rule_resource_name": "bxxxxxxxxxxxxx-xxxx-xxxxx"
}, - {
- "id": "byyyyyyyyyyyyy",
- "common_config_id": 1235,
- "service_code": "dplyyyyyyyy",
- "state": 1,
- "favorite": 2,
- "name": "lb.yyyyyyyyyyyyyyyy.y.d-16.jp.",
- "description": "",
- "rule_resource_name": "byyyyyyyyyyyyy-yyyy-yyyyy"
}
]
}指定したContractIdの共通設定を切り替えます。
エラー発生時はErrorDetailsにtargetキーが付与され、問題の箇所が特定できます。
| ContractId required | string (SystemId) = 14 characters ID |
| common_config_id required | integer <int64> (Id) >= 1 |
| lb_domain_ids required | Array of strings (SystemId) non-empty [ items = 14 characters ] GET lb_domains Schemaにおける id の配列 |
{- "common_config_id": 1234,
- "lb_domain_ids": [
- "bxxxxxxxxxxxxx",
- "byyyyyyyyyyyyy"
]
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したContractIdのDPF契約に紐付くLBドメインの件数を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
エラー発生時はErrorDetailsにtargetキーが付与され、問題の箇所が特定できます。
| ContractId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_service_code[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_state[] | |
| _keywords_favorite[] | |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_common_config_id[] | Array of integers <int64> (KeywordsId) >= 0 items [ items <int64 > >= 1 ] Default: [] |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}DPF契約を操作したログを取得できます。
取得可能なログは90日前までとなります。
操作内容(operation)、ログの種別(log_type)、処理の状態(status)は以下のとおりです。
| 値 | 意味 | 備考 |
|---|---|---|
| add_cc_primary | プライマリネームサーバ設定の作成 | |
| update_cc_primary | プライマリネームサーバ設定の更新 | |
| delete_cc_primary | プライマリネームサーバ設定の削除 | |
| add_cc_sec_notified_server | DNS NOTIFY設定の作成 | |
| update_cc_sec_notified_server | DNS NOTIFY設定の更新 | |
| delete_cc_sec_notified_server | DNS NOTIFY設定の削除 | |
| add_cc_sec_transfer_acl | ゾーン転送ACLの作成 | |
| update_cc_sec_transfer_acl | ゾーン転送ACLの更新 | |
| delete_cc_sec_transfer_acl | ゾーン転送ACLの削除 | |
| add_notification_account | 通知先アカウント設定の追加 | |
| update_notification_account | 通知先アカウント設定の更新 | |
| delete_notification_account | 通知先アカウント設定の削除 | |
| mail_notification | メール通知の実行 | |
| phone_notification | 架電通知の実行 | |
| create_common_config | 共通設定の作成 | |
| switch_default_common_config | 初期適用される共通設定の更新 | |
| update_common_config | 共通設定の更新 | |
| delete_common_config | 共通設定の削除 | |
| copy_common_config | 共通設定のコピー | |
| update_managed_dns_state | マネージドDNSサーバの状態更新 | |
| update_contract_description | DPF契約情報のコメントの更新 | |
| update_contract_favorite | DPF契約情報のお気に入り状態の更新 | |
| update_contract_labels | DPF契約情報のラベルの更新 | |
| apply_common_config | DPF契約に紐付くゾーンおよびLBドメインの共通設定の更新 | |
| create_contract_partnership | IIJ IDサービスとの連携 | |
| delete_contract_partnership | IIJ IDサービスとの連携解除 | |
| create_tsig | TSIG鍵の作成 | |
| update_tsig | TSIG鍵の更新 | |
| delete_tsig | TSIG鍵の削除 |
| 値 | 意味 | 備考 |
|---|---|---|
| service | サービス設定の操作 | |
| common_config | 共通設定の操作 | |
| notification | 通知の実行 |
| 値 | 意味 | 備考 |
|---|---|---|
| start | 処理開始 | |
| success | 処理正常終了 | |
| failure | 処理失敗 | |
| retry | リトライ |
DPF契約を操作したログの一覧を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ContractId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| offset | integer <int32> (SearchLogsOffset) [ 0 .. 9900 ] Default: 0 |
| limit | integer <int32> (SearchLogsLimit) [ 1 .. 100 ] Default: 100 |
| start_date | string <full-date> (SearchDate) Default: "" 開始日 |
| end_date | string <full-date> (SearchDate) Default: "" 終了日 |
| time_zone | string <time-numoffset> (SearchTimeZone) Default: "+00:00" タイムゾーン |
| order | string (SearchOrder) Default: "ASC" Enum: "ASC" "DESC" ソート順 |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_log_type[] | |
| _keywords_operator[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_operation[] | string (ContractsLogsOperation) Enum: "add_cc_primary" "update_cc_primary" "delete_cc_primary" "add_cc_sec_notified_server" "update_cc_sec_notified_server" "delete_cc_sec_notified_server" "add_cc_sec_transfer_acl" "update_cc_sec_transfer_acl" "delete_cc_sec_transfer_acl" "add_notification_account" "update_notification_account" "delete_notification_account" "mail_notification" "phone_notification" "create_common_config" "switch_default_common_config" "update_common_config" "delete_common_config" "copy_common_config" "update_managed_dns_state" "update_contract_description" "update_contract_favorite" "update_contract_labels" "apply_common_config" "create_contract_partnership" "delete_contract_partnership" "create_tsig" "update_tsig" "delete_tsig" 詳細説明はこちら |
| _keywords_target[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_detail[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_request_id[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_status[] |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "time": "2020-01-01T00:00:00.000+09:00",
- "log_type": "service",
- "operator": "iij-taro@example.jp",
- "operation": "update_contract_description",
- "target": "",
- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "status": "success"
}, - {
- "time": "2020-01-01T00:01:00.000+09:00",
- "log_type": "common_config",
- "operator": "iij-taro@example.jp",
- "operation": "update_common_config",
- "target": "default",
- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "status": "start"
}
]
}DPF契約を操作したログの件数を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ContractId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| start_date | string <full-date> (SearchDate) Default: "" 開始日 |
| end_date | string <full-date> (SearchDate) Default: "" 終了日 |
| time_zone | string <time-numoffset> (SearchTimeZone) Default: "+00:00" タイムゾーン |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_log_type[] | |
| _keywords_operator[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_operation[] | string (ContractsLogsOperation) Enum: "add_cc_primary" "update_cc_primary" "delete_cc_primary" "add_cc_sec_notified_server" "update_cc_sec_notified_server" "delete_cc_sec_notified_server" "add_cc_sec_transfer_acl" "update_cc_sec_transfer_acl" "delete_cc_sec_transfer_acl" "add_notification_account" "update_notification_account" "delete_notification_account" "mail_notification" "phone_notification" "create_common_config" "switch_default_common_config" "update_common_config" "delete_common_config" "copy_common_config" "update_managed_dns_state" "update_contract_description" "update_contract_favorite" "update_contract_labels" "apply_common_config" "create_contract_partnership" "delete_contract_partnership" "create_tsig" "update_tsig" "delete_tsig" 詳細説明はこちら |
| _keywords_target[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_detail[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_request_id[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_status[] |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}DPF契約の月別のQPSを取得できます。
DPF契約に紐付くゾーンおよびLBドメインの月別のQPSと、
ゾーンおよびLBドメインのクエリ数を元に集計したDPF契約の月別のQPSが取得できます。
| ContractId required | string (SystemId) = 14 characters ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "service_code": "dpfxxxxxxxx",
- "name": null,
- "values": [
- {
- "month": "2019-01",
- "qps": 0
}, - {
- "month": "2019-02",
- "qps": 10
}, - {
- "month": "2019-03",
- "qps": 20
}, - {
- "month": "2019-04",
- "qps": 30
}, - {
- "month": "2019-05",
- "qps": 40
}, - {
- "month": "2019-06",
- "qps": 50
}, - {
- "month": "2019-07",
- "qps": 60
}, - {
- "month": "2019-08",
- "qps": 70
}, - {
- "month": "2019-09",
- "qps": 80
}, - {
- "month": "2019-10",
- "qps": 90
}, - {
- "month": "2019-11",
- "qps": 110
}, - {
- "month": "2019-12",
- "qps": 120
}
]
}, - {
- "service_code": "dpmyyyyyyyy",
- "name": "name1.example.com.",
- "values": [
- {
- "month": "2019-01",
- "qps": 0
}, - {
- "month": "2019-02",
- "qps": 10
}, - {
- "month": "2019-03",
- "qps": 20
}, - {
- "month": "2019-04",
- "qps": 30
}, - {
- "month": "2019-05",
- "qps": 40
}, - {
- "month": "2019-06",
- "qps": 50
}, - {
- "month": "2019-07",
- "qps": 60
}, - {
- "month": "2019-08",
- "qps": 70
}, - {
- "month": "2019-09",
- "qps": 80
}, - {
- "month": "2019-10",
- "qps": 90
}, - {
- "month": "2019-11",
- "qps": 110
}, - {
- "month": "2019-12",
- "qps": 120
}
]
}, - {
- "service_code": "dplzzzzzzzz",
- "name": "lb.xxxxxxxxxxxxxxxx.x.d-16.jp.",
- "values": [
- {
- "month": "2019-01",
- "qps": 0
}, - {
- "month": "2019-02",
- "qps": 10
}, - {
- "month": "2019-03",
- "qps": 20
}, - {
- "month": "2019-04",
- "qps": 30
}, - {
- "month": "2019-05",
- "qps": 40
}, - {
- "month": "2019-06",
- "qps": 50
}, - {
- "month": "2019-07",
- "qps": 60
}, - {
- "month": "2019-08",
- "qps": 70
}, - {
- "month": "2019-09",
- "qps": 80
}, - {
- "month": "2019-10",
- "qps": 90
}, - {
- "month": "2019-11",
- "qps": 110
}, - {
- "month": "2019-12",
- "qps": 120
}
]
}
]
}TSIG鍵情報の一覧を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ContractId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| offset | integer <int32> (SearchOffset) [ 0 .. 10000000 ] Default: 0 |
| limit | integer <int32> (SearchLimit) [ 1 .. 10000 ] Default: 100 |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "id": 1234,
- "name": "name1.fxxxxxxxxxxxxx.d-53.net.",
- "algorithm": 0,
- "secret": "YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNTY3ODk=",
- "description": ""
}, - {
- "id": 1235,
- "name": "name2.fxxxxxxxxxxxxx.d-53.net.",
- "algorithm": 0,
- "secret": "MDEyMzU2Nzg5YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo=",
- "description": ""
}
]
}新しくTSIG鍵を作成します。
| ContractId required | string (SystemId) = 14 characters ID |
| name required | string (TsigsPostName) [ 1 .. 63 ] characters 先頭末尾がハイフン以外の[a-z0-9]とハイフンで構成された文字列が使用できます |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
{- "name": "name",
- "description": ""
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}TSIG鍵の件数を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ContractId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}指定したTsigIdのTSIG鍵を取得します。
| ContractId required | string (SystemId) = 14 characters ID |
| TsigId required | integer <int64> (Id) >= 1 ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "id": 1234,
- "name": "name.fxxxxxxxxxxxxx.d-53.net.",
- "algorithm": 0,
- "secret": "YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNTY3ODk=",
- "description": ""
}
}指定したTsigIdのTSIG鍵を更新します。
| ContractId required | string (SystemId) = 14 characters ID |
| TsigId required | integer <int64> (Id) >= 1 ID |
| description required | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
{- "description": "description"
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したTSIG鍵を使用している共通設定の一覧を取得します。
| ContractId required | string (SystemId) = 14 characters ID |
| TsigId required | integer <int64> (Id) >= 1 ID |
| offset | integer <int32> (SearchOffset) [ 0 .. 10000000 ] Default: 0 |
| limit | integer <int32> (SearchLimit) [ 1 .. 10000 ] Default: 100 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "id": 1234,
- "name": "name1",
- "managed_dns_enabled": 0,
- "default": 1,
- "description": ""
}, - {
- "id": 1235,
- "name": "name2",
- "managed_dns_enabled": 0,
- "default": 0,
- "description": ""
}
]
}指定したTSIG鍵を使用している共通設定の件数を取得します。
| ContractId required | string (SystemId) = 14 characters ID |
| TsigId required | integer <int64> (Id) >= 1 ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}DPF契約に紐付くゾーンの操作ができます。
ゾーンの状態(state)、お気に入りの状態(favorite)、ゾーンプロキシの状態(zone_proxy_enabled)の詳細な説明は、zonesを参照してください。
指定したContractIdのDPF契約に紐付くゾーンの一覧を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ContractId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| offset | integer <int32> (SearchOffset) [ 0 .. 10000000 ] Default: 0 |
| limit | integer <int32> (SearchLimit) [ 1 .. 10000 ] Default: 100 |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_service_code[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_network[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_state[] | |
| _keywords_favorite[] | |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_common_config_id[] | Array of integers <int64> (KeywordsId) >= 0 items [ items <int64 > >= 1 ] Default: [] |
| _keywords_zone_proxy_enabled[] | |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "id": "mxxxxxxxxxxxxx",
- "common_config_id": 1234,
- "service_code": "dpmxxxxxxxx",
- "state": 1,
- "favorite": 1,
- "name": "name1.example.com.",
- "network": null,
- "description": ""
}, - {
- "id": "myyyyyyyyyyyyy",
- "common_config_id": 1235,
- "service_code": "dpmyyyyyyyy",
- "state": 1,
- "favorite": 2,
- "network": null,
- "name": "name2.example.com.",
- "description": ""
}
]
}指定したContractIdの共通設定を切り替えます。
| ContractId required | string (SystemId) = 14 characters ID |
| common_config_id required | integer <int64> (Id) >= 1 |
| zone_ids required | Array of strings (SystemId) non-empty [ items = 14 characters ] |
{- "common_config_id": 1234,
- "zone_ids": [
- "mxxxxxxxxxxxxx",
- "myyyyyyyyyyyyy"
]
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したContractIdのDPF契約に紐付くゾーンの件数を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ContractId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_service_code[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_network[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_state[] | |
| _keywords_favorite[] | |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_common_config_id[] | Array of integers <int64> (KeywordsId) >= 0 items [ items <int64 > >= 1 ] Default: [] |
| _keywords_zone_proxy_enabled[] | |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}契約に紐づくゾーンのデフォルトTTLの操作ができます。
デフォルトTTLの状態(state)は以下のとおりです。
| 値 | 意味 | 備考 |
|---|---|---|
| 0 | 反映済み | |
| 3 | 更新予定 | |
| 5 | 更新前の状態 |
デフォルトTTLを更新します。
編集中レコードのゾーン反映を実行するまでは権威サーバには反映されません。
| ZoneId required | string (SystemId) = 14 characters ID |
| value required | integer (DefaultTtlValue) [ 1 .. 2147483647 ] TTL |
{- "value": 28800
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}現在DNSに登録されているデフォルトTTLと反映予定のデフォルトTTLの差分一覧を取得します。
| ZoneId required | string (SystemId) = 14 characters ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "new": {
- "value": 28800,
- "state": 3,
- "operator": "SAXXXXXXX"
}, - "old": {
- "value": 800,
- "state": 5,
- "operator": null
}
}
]
}DNSSECの操作ができます。
DNSSECの有効状態(enabled)、DNSSECの状態(state)、DSレコードの状態(ds_state)は以下のとおりです。
| 値 | 意味 | 備考 |
|---|---|---|
| 0 | 無効 | |
| 1 | 有効 |
| 値 | 意味 | 備考 |
|---|---|---|
| 0 | ゾーン公開前 | |
| 1 | 有効化作業中 | |
| 2 | 有効 | |
| 3 | 無効化作業中 | |
| 4 | 無効 |
| 値 | 意味 | 備考 |
|---|---|---|
| 0 | 公開前 | |
| 1 | DSレコード登録待ち | |
| 3 | DSレコード公開中 | |
| 4 | ロールオーバー準備中 | |
| 5 | DSレコード変更待ち | |
| 6 | DSレコード変更反映待ち | |
| 7 | DSレコード削除待ち | |
| 8 | DSレコード削除反映待ち |
DNSSECの情報を更新します。
| ZoneId required | string (SystemId) = 14 characters ID |
| enabled required |
{- "enabled": 1
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}上位のネームサーバに登録が必要なDSレコードを取得できます。
| ZoneId required | string (SystemId) = 14 characters ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "rrset": "example.com. IN DS 1234 8 2 E8.....",
- "transited_at": "2020-01-01T01:02:03.000+00:00"
}
]
}契約に紐付くゾーンを操作したログを取得できます。
取得可能なログは90日前までとなります。
操作内容(operation)、ログの種別(log_type)、処理の状態(status)は以下のとおりです。
| 値 | 意味 | 備考 |
|---|---|---|
| updating_default_ttl | デフォルトTTLの更新 | |
| dismiss_default_ttl_change | 編集中デフォルトTTLの取消 | |
| update_dnssec_configuration | DNSSEC情報の更新 | |
| begin_ksk_rollover | KSKロールオーバーの開始 | |
| adding_record | レコードの作成 | |
| updating_record | レコードの更新 | |
| deleting_record | レコードの削除 | |
| dismiss_record_change | 編集中レコードの取消 | |
| update_zone_proxy | ゾーンプロキシ設定の更新 | |
| update_zone_description | ゾーンのコメントの更新 | |
| update_zone_favorite | ゾーンのお気に入り状態の更新 | |
| update_zone_labels | ゾーンのラベルの更新 | |
| commit_zone | 編集中レコードのゾーン反映 | |
| upload_zone | ゾーンファイルのアップロード | |
| dismiss_zone_edits | 編集中レコードの一括取消 | |
| bulk_update_records | レコードの一括更新 | |
| upsert_subdomain_ns_records | サブドメインNSレコードの一括登録 | |
| create_delegations | ネームサーバ申請 |
| 値 | 意味 | 備考 |
|---|---|---|
| service | サービス設定の操作 | |
| record | レコードの操作 | |
| dnssec | DNSSEC設定の操作 |
| 値 | 意味 | 備考 |
|---|---|---|
| start | 処理開始 | |
| success | 処理正常終了 | |
| failure | 処理失敗 | |
| retry | リトライ |
ゾーンを操作したログの一覧を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ZoneId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| offset | integer <int32> (SearchLogsOffset) [ 0 .. 9900 ] Default: 0 |
| limit | integer <int32> (SearchLogsLimit) [ 1 .. 100 ] Default: 100 |
| start_date | string <full-date> (SearchDate) Default: "" 開始日 |
| end_date | string <full-date> (SearchDate) Default: "" 終了日 |
| time_zone | string <time-numoffset> (SearchTimeZone) Default: "+00:00" タイムゾーン |
| order | string (SearchOrder) Default: "ASC" Enum: "ASC" "DESC" ソート順 |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_log_type[] | |
| _keywords_operator[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_operation[] | string (ZonesLogsOperation) Enum: "updating_default_ttl" "dismiss_default_ttl_change" "update_dnssec_configuration" "begin_ksk_rollover" "adding_record" "updating_record" "deleting_record" "dismiss_record_change" "update_zone_proxy" "update_zone_description" "update_zone_favorite" "update_zone_labels" "commit_zone" "upload_zone" "dismiss_zone_edits" "bulk_update_records" "upsert_subdomain_ns_records" "create_delegations" 詳細説明はこちら |
| _keywords_target[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_detail[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_request_id[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_status[] |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "time": "2020-01-01T00:00:00.000+09:00",
- "log_type": "service",
- "operator": "iij-taro@example.jp",
- "operation": "update_zone_proxy",
- "target": "example.com.",
- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "status": "success"
}, - {
- "time": "2020-01-01T00:01:00.000+09:00",
- "log_type": "record",
- "operator": "iij-taro@example.jp",
- "operation": "updating_default_ttl",
- "target": "",
- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "status": "start"
}
]
}ゾーンを操作したログの件数を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ZoneId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| start_date | string <full-date> (SearchDate) Default: "" 開始日 |
| end_date | string <full-date> (SearchDate) Default: "" 終了日 |
| time_zone | string <time-numoffset> (SearchTimeZone) Default: "+00:00" タイムゾーン |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_log_type[] | |
| _keywords_operator[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_operation[] | string (ZonesLogsOperation) Enum: "updating_default_ttl" "dismiss_default_ttl_change" "update_dnssec_configuration" "begin_ksk_rollover" "adding_record" "updating_record" "deleting_record" "dismiss_record_change" "update_zone_proxy" "update_zone_description" "update_zone_favorite" "update_zone_labels" "commit_zone" "upload_zone" "dismiss_zone_edits" "bulk_update_records" "upsert_subdomain_ns_records" "create_delegations" 詳細説明はこちら |
| _keywords_target[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_detail[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_request_id[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_status[] |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}契約に紐付くゾーンのレコード操作ができます。
レコード操作の状態(state)は以下のとおりです。
| 値 | 意味 | 備考 |
|---|---|---|
| 0 | 反映済み | |
| 1 | 追加予定 | |
| 2 | 削除予定 | |
| 3 | 更新予定 | |
| 5 | 更新前の状態 |
レコード情報の一覧を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ZoneId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| offset | integer <int32> (SearchOffset) [ 0 .. 10000000 ] Default: 0 |
| limit | integer <int32> (SearchLimit) [ 1 .. 10000 ] Default: 100 |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_ttl[] | integer or null (RecordsTtl) [ 1 .. 2147483647 ] Default: null TTL |
| _keywords_rrtype[] | string (RecordsRrtype) Enum: "A" "AAAA" "ANAME" "CAA" "CNAME" "DS" "HTTPS" "MX" "NAPTR" "NS" "PTR" "SOA" "SRV" "SVCB" "TLSA" "TXT" レコードタイプ |
| _keywords_rdata[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_operator[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "id": "rxxxxxxxxxxxxx",
- "name": "example.com",
- "ttl": null,
- "rrtype": "SOA",
- "rdata": [
- {
- "value": "ns000.d-53.net. dns-managers.iij.ad.jp. 1 3600 600 604800 300"
}
], - "labels": {
- "label_key_1": "label_value_1",
- "label_key_2": "label_value_2"
}, - "state": 0,
- "description": "",
- "operator": null
}, - {
- "id": "ryyyyyyyyyyyyy",
- "name": "example.com",
- "ttl": null,
- "rrtype": "NS",
- "rdata": [
- {
- "value": "ns001-xxxxxxxxxxxxxxxx.x.d-53.jp."
}, - {
- "value": "ns001-xxxxxxxxxxxxxxxx.x.d-53.org."
}, - {
- "value": "ns001-xxxxxxxxxxxxxxxx.x.d-53.info."
}
], - "labels": {
- "label_key_3": "label_value_3",
- "label_key_4": "label_value_4"
}, - "state": 0,
- "description": "",
- "operator": null
}
]
}レコードを一括更新します。
編集中レコードのゾーン反映を実行するまでは権威サーバには反映されません。
| ZoneId required | string (SystemId) = 14 characters ID |
required | Array of objects (OverwriteRecords) non-empty |
| overwrite_soa | boolean (OverwriteSoa) Default: true 指定されたSOAレコードを取り込むためのフラグ |
| overwrite_zone_apex_ns | boolean (OverwriteZoneApexNs) Default: true 指定されたZone Apex NSレコードを取り込むためのフラグ |
{- "records": [
- {
- "name": "example.com.",
- "ttl": null,
- "rrtype": "SOA",
- "rdata": [
- {
- "value": "ns000.d-53.net. dns-managers.iij.ad.jp. 1 3600 600 604800 900"
}
], - "labels": {
- "key1": "value1",
- "key2": "value2"
}, - "description": ""
}, - {
- "name": "example.com.",
- "ttl": 300,
- "rrtype": "NS",
- "rdata": [
- {
- "value": "ns001-xxxxxxxxxxxxxxxx.o.d-53.jp."
}, - {
- "value": "ns001-xxxxxxxxxxxxxxxx.o.d-53.net."
}, - {
- "value": "ns001-xxxxxxxxxxxxxxxx.o.d-53.info."
}
], - "labels": {
- "key3": "value3",
- "key4": "value4"
}, - "description": "comment"
}, - {
- "name": "sample.example.com.",
- "ttl": 600,
- "rrtype": "TXT",
- "rdata": [
- {
- "value": "\"sample\""
}
], - "labels": { },
- "description": ""
}
], - "overwrite_soa": true,
- "overwrite_zone_apex_ns": false
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}新しくレコードを作成します。
編集中レコードのゾーン反映を実行するまでは権威サーバには反映されません。
| ZoneId required | string (SystemId) = 14 characters ID |
| name required | string (RecordsName) [ 1 .. 255 ] characters name |
| rrtype required | string (RecordsRrtypeWithoutSoa) Enum: "A" "AAAA" "ANAME" "CAA" "CNAME" "DS" "HTTPS" "MX" "NAPTR" "NS" "PTR" "SRV" "SVCB" "TLSA" "TXT" レコードタイプ |
required | Array of objects (RecordsRdata) non-empty レコードの値 |
| ttl | integer or null (RecordsTtl) [ 1 .. 2147483647 ] Default: null TTL |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
object (RecordLabels) [ 0 .. 10 ] properties Default: {} ラベル |
{- "name": "example.com",
- "rrtype": "A",
- "rdata": [
- {
- "value": "192.0.2.0"
}
], - "description": ""
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}レコード情報の件数を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ZoneId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_ttl[] | integer or null (RecordsTtl) [ 1 .. 2147483647 ] Default: null TTL |
| _keywords_rrtype[] | string (RecordsRrtype) Enum: "A" "AAAA" "ANAME" "CAA" "CNAME" "DS" "HTTPS" "MX" "NAPTR" "NS" "PTR" "SOA" "SRV" "SVCB" "TLSA" "TXT" レコードタイプ |
| _keywords_rdata[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_operator[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}現在DNSに登録されているレコードの一覧を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ZoneId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| offset | integer <int32> (SearchOffset) [ 0 .. 10000000 ] Default: 0 |
| limit | integer <int32> (SearchLimit) [ 1 .. 10000 ] Default: 100 |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_ttl[] | integer or null (RecordsTtl) [ 1 .. 2147483647 ] Default: null TTL |
| _keywords_rrtype[] | string (RecordsRrtype) Enum: "A" "AAAA" "ANAME" "CAA" "CNAME" "DS" "HTTPS" "MX" "NAPTR" "NS" "PTR" "SOA" "SRV" "SVCB" "TLSA" "TXT" レコードタイプ |
| _keywords_rdata[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_operator[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "id": "rxxxxxxxxxxxxx",
- "name": "example.com",
- "ttl": null,
- "rrtype": "SOA",
- "rdata": [
- {
- "value": "ns000.d-53.net. dns-managers.iij.ad.jp. 1 3600 600 604800 300"
}
], - "labels": {
- "label_key_1": "label_value_1",
- "label_key_2": "label_value_2"
}, - "state": 0,
- "description": "",
- "operator": null
}, - {
- "id": "ryyyyyyyyyyyyy",
- "name": "example.com",
- "ttl": null,
- "rrtype": "NS",
- "rdata": [
- {
- "value": "ns001-xxxxxxxxxxxxxxxx.x.d-53.jp."
}, - {
- "value": "ns001-xxxxxxxxxxxxxxxx.x.d-53.org."
}, - {
- "value": "ns001-xxxxxxxxxxxxxxxx.x.d-53.info."
}
], - "labels": {
- "label_key_3": "label_value_3",
- "label_key_4": "label_value_4"
}, - "state": 0,
- "description": "",
- "operator": null
}
]
}現在DNSに登録されているレコードの件数を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ZoneId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_ttl[] | integer or null (RecordsTtl) [ 1 .. 2147483647 ] Default: null TTL |
| _keywords_rrtype[] | string (RecordsRrtype) Enum: "A" "AAAA" "ANAME" "CAA" "CNAME" "DS" "HTTPS" "MX" "NAPTR" "NS" "PTR" "SOA" "SRV" "SVCB" "TLSA" "TXT" レコードタイプ |
| _keywords_rdata[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_operator[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}現在DNSに登録されているレコードと反映予定のレコードの差分一覧を取得します。
| ZoneId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| offset | integer <int32> (SearchOffset) [ 0 .. 10000000 ] Default: 0 |
| limit | integer <int32> (SearchLimit) [ 1 .. 10000 ] Default: 100 |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_ttl[] | integer or null (RecordsTtl) [ 1 .. 2147483647 ] Default: null TTL |
| _keywords_rrtype[] | string (RecordsRrtype) Enum: "A" "AAAA" "ANAME" "CAA" "CNAME" "DS" "HTTPS" "MX" "NAPTR" "NS" "PTR" "SOA" "SRV" "SVCB" "TLSA" "TXT" レコードタイプ |
| _keywords_rdata[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "new": {
- "id": "rxxxxxxxxxxxxx",
- "name": "example.com",
- "ttl": 100,
- "rrtype": "SOA",
- "rdata": [
- {
- "value": "ns000.d-53.net. dns-managers.iij.ad.jp. 1 3600 600 604800 300"
}
], - "labels": {
- "label_key_1": "label_value_1",
- "label_key_2": "label_value_2"
}, - "state": 3,
- "description": "",
- "operator": "SAXXXXXXX"
}, - "old": {
- "id": "rxxxxxxxxxxxxx",
- "name": "example.com",
- "ttl": null,
- "rrtype": "SOA",
- "rdata": [
- {
- "value": "ns000.d-53.net. dns-managers.iij.ad.jp. 1 3600 600 604800 300"
}
], - "labels": {
- "label_key_1": "label_value_1",
- "label_key_2": "label_value_2"
}, - "state": 5,
- "description": "",
- "operator": null
}
}, - {
- "new": {
- "id": "ryyyyyyyyyyyyy",
- "name": "example.com",
- "ttl": 100,
- "rrtype": "NS",
- "rdata": [
- {
- "value": "ns001-xxxxxxxxxxxxxxxx.x.d-53.jp."
}, - {
- "value": "ns001-xxxxxxxxxxxxxxxx.x.d-53.org."
}, - {
- "value": "ns001-xxxxxxxxxxxxxxxx.x.d-53.info."
}
], - "labels": {
- "label_key_3": "label_value_3",
- "label_key_4": "label_value_4"
}, - "state": 3,
- "description": "",
- "operator": "SAXXXXXXX"
}, - "old": {
- "id": "ryyyyyyyyyyyyy",
- "name": "example.com",
- "ttl": null,
- "rrtype": "NS",
- "rdata": [
- {
- "value": "ns001-xxxxxxxxxxxxxxxx.x.d-53.jp."
}, - {
- "value": "ns001-xxxxxxxxxxxxxxxx.x.d-53.org."
}, - {
- "value": "ns001-xxxxxxxxxxxxxxxx.x.d-53.info."
}
], - "labels": {
- "label_key_3": "label_value_3",
- "label_key_4": "label_value_4"
}, - "state": 5,
- "description": "",
- "operator": null
}
}
]
}現在DNSに登録されているレコードと反映予定のレコードの差分数を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ZoneId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_ttl[] | integer or null (RecordsTtl) [ 1 .. 2147483647 ] Default: null TTL |
| _keywords_rrtype[] | string (RecordsRrtype) Enum: "A" "AAAA" "ANAME" "CAA" "CNAME" "DS" "HTTPS" "MX" "NAPTR" "NS" "PTR" "SOA" "SRV" "SVCB" "TLSA" "TXT" レコードタイプ |
| _keywords_rdata[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}指定したRecordIdのレコードを取得します。
| ZoneId required | string (SystemId) = 14 characters ID |
| RecordId required | string (SystemId) = 14 characters ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "id": "rxxxxxxxxxxxxx",
- "name": "example.com",
- "ttl": null,
- "rrtype": "SOA",
- "rdata": [
- {
- "value": "ns000.d-53.net. dns-managers.iij.ad.jp. 1 3600 600 604800 300"
}
], - "labels": {
- "label_key_1": "label_value_1",
- "label_key_2": "label_value_2"
}, - "state": 0,
- "description": "",
- "operator": null
}
}指定したRecordIdのレコードを更新します。
編集中レコードのゾーン反映を実行するまでは権威サーバには反映されません。
| ZoneId required | string (SystemId) = 14 characters ID |
| RecordId required | string (SystemId) = 14 characters ID |
| ttl | integer or null (RecordsTtl) [ 1 .. 2147483647 ] Default: null TTL |
Array of objects (RecordsRdata) non-empty レコードの値 | |
object (RecordLabels) [ 0 .. 10 ] properties Default: {} ラベル | |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
{- "ttl": 12345678
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したRecordIdのレコードを削除します。
編集中レコードのゾーン反映を実行するまでは権威サーバには反映されません。
| ZoneId required | string (SystemId) = 14 characters ID |
| RecordId required | string (SystemId) = 14 characters ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したRecordIdのレコードによって取り込まれるCDS経由のDSレコードを取得します。
| ZoneId required | string (SystemId) = 14 characters ID |
| RecordId required | string (SystemId) = 14 characters ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "name": "sub.example.com.",
- "ttl": 28800,
- "rrtype": "DS",
- "rdata": [
- {
- "value": "41647 13 2 2ad225a2e5b514c2f443f30bb5fa926cf4a11a2722349b7b37000cd06ef7185f"
}
]
}
]
}ゾーン反映の履歴の一覧を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ZoneId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| offset | integer <int32> (SearchOffset) [ 0 .. 10000000 ] Default: 0 |
| limit | integer <int32> (SearchLimit) [ 1 .. 10000 ] Default: 100 |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_operator[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| order | string (SearchOrder) Default: "ASC" Enum: "ASC" "DESC" ソート順 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "id": 1234,
- "committed_at": "2020-01-01T01:02:03.000+00:00",
- "description": "",
- "operator": "SAXXXXXXX"
}, - {
- "id": 1235,
- "committed_at": "2020-01-01T01:02:03.000+00:00",
- "description": "",
- "operator": "SAXXXXXXX"
}
]
}ゾーン反映の履歴の件数を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| ZoneId required | string (SystemId) = 14 characters ID |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_operator[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}ゾーン反映の履歴をRFC1035形式のテキストファイルで取得します。
| ZoneId required | string (SystemId) = 14 characters ID |
| ZoneHistoryId required | integer <int64> (Id) >= 1 ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "id": 1234,
- "committed_at": "2020-01-01T01:02:03.000+00:00",
- "description": "",
- "operator": "SAXXXXXXX",
- "text": "$TTL 28800\nexample.com. IN SOA ns000.d-53.net. dns-managers.iij.ad.jp. 1 3600 600 604800 300\nexample.com. IN NS ns001-xxxxxxxxxxxxxxxx.x.d-53.jp.\nexample.com. IN NS ns001-xxxxxxxxxxxxxxxx.x.d-53.org.\nexample.com. IN NS ns001-xxxxxxxxxxxxxxxx.x.d-53.info."
}
}ゾーンプロキシの操作ができます。
ゾーンプロキシの状態(enabled)、ゾーン転送の状態(state)は以下のとおりです。
| 値 | 意味 | 備考 |
|---|---|---|
| 0 | 無効 | |
| 1 | 有効 |
| 値 | 意味 | 備考 |
|---|---|---|
| OK | ゾーン転送成功 | |
| NG | ゾーン転送失敗 |
ゾーンプロキシの設定を更新します。
| ZoneId required | string (SystemId) = 14 characters ID |
| enabled required |
{- "enabled": 0
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}ゾーン転送のヘルスチェック結果の一覧を取得します。
| ZoneId required | string (SystemId) = 14 characters ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "address": "192.0.2.0",
- "status": "NG",
- "tsig_name": "name1.fxxxxxxxxxxxxx.d-53.net.",
- "enabled": 1
}, - {
- "address": "198.51.100.0",
- "status": "OK",
- "tsig_name": "name2.fxxxxxxxxxxxxx.d-53.net.",
- "enabled": 1
}
]
}DPF契約に紐付くゾーンの操作ができます。
ゾーンの状態(state)、お気に入りの状態(favorite)、ゾーンプロキシの状態(zone_proxy_enabled)は以下のとおりです。
| 値 | 意味 | 備考 |
|---|---|---|
| 1 | 公開前 | |
| 2 | 公開 |
| 値 | 意味 | 備考 |
|---|---|---|
| 1 | 表示優先度高 | |
| 2 | 表示優先度低 |
| 値 | 意味 | 備考 |
|---|---|---|
| 0 | 無効 | |
| 1 | 有効 |
DPF契約に紐付くゾーンの一覧を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| offset | integer <int32> (SearchOffset) [ 0 .. 10000000 ] Default: 0 |
| limit | integer <int32> (SearchLimit) [ 1 .. 10000 ] Default: 100 |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_service_code[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_network[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_state[] | |
| _keywords_favorite[] | |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_common_config_id[] | Array of integers <int64> (KeywordsId) >= 0 items [ items <int64 > >= 1 ] Default: [] |
| _keywords_zone_proxy_enabled[] | |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "id": "mxxxxxxxxxxxxx",
- "common_config_id": 1234,
- "service_code": "dpmxxxxxxxx",
- "state": 1,
- "favorite": 1,
- "name": "name1.example.com.",
- "network": null,
- "description": ""
}, - {
- "id": "myyyyyyyyyyyyy",
- "common_config_id": 1235,
- "service_code": "dpmyyyyyyyy",
- "state": 1,
- "favorite": 2,
- "network": null,
- "name": "name2.example.com.",
- "description": ""
}
]
}DPF契約に紐付くゾーンの件数を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_service_code[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_network[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_state[] | |
| _keywords_favorite[] | |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_common_config_id[] | Array of integers <int64> (KeywordsId) >= 0 items [ items <int64 > >= 1 ] Default: [] |
| _keywords_zone_proxy_enabled[] | |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}指定したZoneIdのゾーンを取得します。
| ZoneId required | string (SystemId) = 14 characters ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "id": "mxxxxxxxxxxxxx",
- "common_config_id": 1234,
- "service_code": "dpmxxxxxxxx",
- "state": 1,
- "favorite": 1,
- "name": "name.example.com.",
- "network": null,
- "description": ""
}
}指定したZoneIdのゾーンを更新します。
| ZoneId required | string (SystemId) = 14 characters ID |
| favorite | |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
{- "favorite": 2
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したZoneIdのラベルの一覧を取得します。
| ZoneId required | string (SystemId) = 14 characters ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "labels": {
- "label_key_1": "label_value_1",
- "label_key_2": "label_value_2"
}
}
}指定したZoneIdのラベルを一括更新します。
エラー発生時はErrorDetailsにtargetキーが付与され、問題の箇所が特定できます。
| ZoneId required | string (SystemId) = 14 characters ID |
required | object [ 0 .. 10 ] properties Default: {} ラベル |
{- "labels": {
- "label_key_1": "label_value_1",
- "label_key_2": "label_value_2"
}
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}編集中のレコードの操作を反映します。
| ZoneId required | string (SystemId) = 14 characters ID |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
{- "description": "description"
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}レコードの一括更新とゾーンの反映をアトミックに処理します。
| ZoneId required | string (SystemId) = 14 characters ID |
required | Array of objects (OverwriteRecords) non-empty |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
| overwrite_soa | boolean (OverwriteSoa) Default: true 指定されたSOAレコードを取り込むためのフラグ |
| overwrite_zone_apex_ns | boolean (OverwriteZoneApexNs) Default: true 指定されたZone Apex NSレコードを取り込むためのフラグ |
{- "records": [
- {
- "name": "example.com.",
- "ttl": null,
- "rrtype": "SOA",
- "rdata": [
- {
- "value": "ns000.d-53.net. dns-managers.iij.ad.jp. 1 3600 600 604800 900"
}
], - "labels": {
- "key1": "value1",
- "key2": "value2"
}, - "description": ""
}, - {
- "name": "example.com.",
- "ttl": 300,
- "rrtype": "NS",
- "rdata": [
- {
- "value": "ns001-xxxxxxxxxxxxxxxx.o.d-53.jp."
}, - {
- "value": "ns001-xxxxxxxxxxxxxxxx.o.d-53.net."
}, - {
- "value": "ns001-xxxxxxxxxxxxxxxx.o.d-53.info."
}
], - "labels": {
- "key3": "value3",
- "key4": "value4"
}, - "description": "comment"
}, - {
- "name": "sample.example.com.",
- "ttl": 600,
- "rrtype": "TXT",
- "rdata": [
- {
- "value": "\"sample\""
}
], - "labels": { },
- "description": ""
}
], - "description": "description",
- "overwrite_soa": true,
- "overwrite_zone_apex_ns": false
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したZoneIdのゾーンに紐付くDPF契約情報を取得します。
| ZoneId required | string (SystemId) = 14 characters ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "id": "fxxxxxxxxxxxxx",
- "service_code": "dpfxxxxxxxx",
- "state": 1,
- "favorite": 1,
- "plan": 2,
- "description": ""
}
}指定したZoneIdのマネージドDNSサーバの一覧を取得します。
| ZoneId required | string (SystemId) = 14 characters ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- "ns001-xxxxxxxxxxxxxxxx.x.d-53.jp.",
- "ns001-xxxxxxxxxxxxxxxx.x.d-53.org.",
- "ns001-xxxxxxxxxxxxxxxx.x.d-53.info."
]
}設定の一覧を取得します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "monitorings": [
- {
- "resource_name": "bxxxxxxxxxxxxx-xxxx",
- "name": "monitoring001",
- "mtype": "ping",
- "description": "",
- "props": {
- "location": "all",
- "interval": 30,
- "holdtime": 0,
- "timeout": 5
}
}
], - "sites": [
- {
- "resource_name": "byyyyyyyyyyyyy-yyyy",
- "name": "site001",
- "description": "",
- "rrtype": "A",
- "live_status": "down",
- "endpoints": [
- {
- "resource_name": "byyyyyyyyyyyyy-yyyy-yyyyy",
- "name": "endpoint001",
- "monitoring_target": "",
- "description": "",
- "weight": 1,
- "manual_failback": false,
- "manual_failover": false,
- "enabled": false,
- "live_status": "down",
- "ready_status": "down",
- "rdata": [
- {
- "value": "192.0.2.0"
}
], - "monitorings": [
- {
- "resource_name": "bxxxxxxxxxxxxx-xxxx",
- "name": "monitoring001",
- "mtype": "ping",
- "description": "",
- "props": {
- "location": "all",
- "interval": 30,
- "holdtime": 0,
- "timeout": 5
}, - "enabled": false,
- "result": "unknown"
}
]
}
]
}
], - "rules": [
- {
- "resource_name": "bzzzzzzzzzzzzz-zzzz",
- "name": "rule001",
- "description": "",
- "methods": [
- {
- "method": {
- "resource_name": "bzzzzzzzzzzzzz-zzzz-zzzzz",
- "mtype": "entry_a",
- "enabled": false,
- "live_status": "down",
- "ready_status": "down",
- "methods": [
- {
- "method": {
- "resource_name": "bzzzzzzzzzzzzz-zzzz-zzzzz-zzzzzz",
- "mtype": "failover",
- "enabled": false,
- "live_status": "down",
- "ready_status": "down",
- "methods": [
- {
- "method": {
- "resource_name": "bzzzzzzzzzzzzz-zzzz-zzzzz-zzzzzz-zzzzzzz",
- "mtype": "exit_site",
- "enabled": false,
- "live_status": "down",
- "ready_status": "down",
- "site_resource_name": "byyyyyyyyyyyyy-yyyy",
- "methods": [ ]
}, - "priority": 1
}
]
}
}
]
}
}
]
}
]
}
}設定を一括更新します。
エラー発生時はErrorDetailsにJSONPath形式のtargetキーが付与され、問題の箇所が特定できます。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
required | Array of objects [ 0 .. 50 ] items |
required | Array of objects [ 0 .. 50 ] items |
required | Array of objects [ 1 .. 10 ] items |
{- "monitorings": [
- {
- "resource_name": "bxxxxxxxxxxxxx-xxxx",
- "name": "monitoring001",
- "mtype": "ping",
- "description": "",
- "props": {
- "location": "all",
- "interval": 30,
- "holdtime": 0,
- "timeout": 5
}
}
], - "sites": [
- {
- "resource_name": "byyyyyyyyyyyyy-yyyy",
- "name": "site001",
- "description": "",
- "rrtype": "A",
- "endpoints": [
- {
- "resource_name": "byyyyyyyyyyyyy-yyyy-yyyyy",
- "name": "endpoint001",
- "monitoring_target": "",
- "description": "",
- "weight": 1,
- "manual_failback": false,
- "manual_failover": false,
- "enabled": false,
- "rdata": [
- {
- "value": "192.0.2.0"
}
], - "monitorings": [
- {
- "resource_name": "bxxxxxxxxxxxxx-xxxx",
- "enabled": false
}
]
}
]
}
], - "rules": [
- {
- "resource_name": "bzzzzzzzzzzzzz-zzzz",
- "name": "rule001",
- "description": "",
- "methods": [
- {
- "method": {
- "resource_name": "bzzzzzzzzzzzzz-zzzz-zzzzz",
- "mtype": "entry_a",
- "enabled": false,
- "methods": [
- {
- "method": {
- "resource_name": "bzzzzzzzzzzzzz-zzzz-zzzzz-zzzzzz",
- "mtype": "failover",
- "enabled": false,
- "methods": [
- {
- "method": {
- "resource_name": "bzzzzzzzzzzzzz-zzzz-zzzzz-zzzzzz-zzzzzzz",
- "mtype": "exit_site",
- "enabled": false,
- "site_resource_name": "byyyyyyyyyyyyy-yyyy",
- "methods": [ ]
}, - "priority": 1
}
]
}
}
]
}
}
]
}
]
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}エンドポイントの一覧を取得します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| SiteResourceName required | string (ResourceName) <= 253 characters GET sites Schemaにおける resource_name |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "resource_name": "bxxxxxxxxxxxxx-xxxx-xxxxx",
- "name": "endpoint001",
- "monitoring_target": "",
- "description": "",
- "weight": 1,
- "manual_failback": true,
- "manual_failover": true,
- "enabled": true,
- "live_status": "down",
- "ready_status": "down",
- "rdata": [
- {
- "value": "example.com."
}
], - "monitorings": [ ]
}, - {
- "resource_name": "byyyyyyyyyyyyy-yyyy-yyyyy",
- "name": "endpoint002",
- "monitoring_target": "",
- "description": "",
- "weight": 2,
- "manual_failback": false,
- "manual_failover": false,
- "enabled": true,
- "live_status": "down",
- "ready_status": "down",
- "rdata": [
- {
- "value": "example.com."
}
], - "monitorings": [ ]
}
]
}新しくエンドポイントを作成します。
作成できる最大件数は50件です。
エラー発生時はErrorDetailsにtargetキーが付与され、問題の箇所が特定できます。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| SiteResourceName required | string (ResourceName) <= 253 characters GET sites Schemaにおける resource_name |
| name required | string (EndpointName) [ 1 .. 80 ] characters エンドポイント名 |
| weight required | integer (EndpointWeight) [ 1 .. 255 ] weight |
required | Array of objects (EndpointRdata) [ 1 .. 10 ] items RDATA |
| resource_name | string (ResourceName) <= 253 characters 登録可能な文字列はこちらのホスト名の共通ルールを参照してください。 |
| monitoring_target | string (EndpointMonitoringTarget) <= 254 characters Default: "" 監視ターゲット(IPアドレス形式かホスト名形式) |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
| manual_failback | boolean (EndpointManualFailback) Default: false 手動切り戻し設定値 |
| manual_failover | boolean (EndpointManualFailover) Default: false 手動切り離し設定値 |
| enabled | boolean (EndpointEnabled) Default: false 状態 |
Array of objects Default: [] |
{- "name": "endpoint002",
- "weight": 1,
- "description": "",
- "rdata": [
- {
- "value": "example.com."
}
]
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したEndpointResourceNameのエンドポイントを取得します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| SiteResourceName required | string (ResourceName) <= 253 characters GET sites Schemaにおける resource_name |
| EndpointResourceName required | string (ResourceName) <= 253 characters GET endpoints Schemaにおける resource_name |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "resource_name": "bxxxxxxxxxxxxx-xxxx-xxxxx",
- "name": "endpoint001",
- "monitoring_target": "",
- "description": "",
- "weight": 1,
- "manual_failback": true,
- "manual_failover": true,
- "enabled": true,
- "live_status": "down",
- "ready_status": "down",
- "rdata": [
- {
- "value": "example.com."
}
], - "monitorings": [ ]
}
}指定したEndpointResourceNameのエンドポイントを更新します。
エラー発生時はErrorDetailsにtargetキーが付与され、問題の箇所が特定できます。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| SiteResourceName required | string (ResourceName) <= 253 characters GET sites Schemaにおける resource_name |
| EndpointResourceName required | string (ResourceName) <= 253 characters GET endpoints Schemaにおける resource_name |
| name | string (EndpointName) [ 1 .. 80 ] characters エンドポイント名 |
| monitoring_target | string <= 254 characters 監視ターゲット(IPアドレス形式かホスト名形式) |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
| weight | integer (EndpointWeight) [ 1 .. 255 ] weight |
| manual_failback | boolean 手動切り戻し設定値 |
| manual_failover | boolean 手動切り離し設定値 |
| enabled | boolean 状態 |
Array of objects (EndpointRdata) [ 1 .. 10 ] items RDATA | |
Array of objects |
{- "weight": 255
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したEndpointResourceNameのエンドポイントを削除します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| SiteResourceName required | string (ResourceName) <= 253 characters GET sites Schemaにおける resource_name |
| EndpointResourceName required | string (ResourceName) <= 253 characters GET endpoints Schemaにおける resource_name |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したEndpointResourceNameのエンドポイントの手動切り離しを実行します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| SiteResourceName required | string (ResourceName) <= 253 characters GET sites Schemaにおける resource_name |
| EndpointResourceName required | string (ResourceName) <= 253 characters GET endpoints Schemaにおける resource_name |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したEndpointResourceNameのエンドポイントの手動切り戻しを実行します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| SiteResourceName required | string (ResourceName) <= 253 characters GET sites Schemaにおける resource_name |
| EndpointResourceName required | string (ResourceName) <= 253 characters GET endpoints Schemaにおける resource_name |
| force | boolean (EndpointForce) Default: false 指定することで Live Status が down であっても手動切り戻しが可能 |
{- "force": true
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}DPF契約に紐付くLBドメインの操作ができます。
LBドメインの状態(state)、お気に入りの状態(favorite)は以下のとおりです。
| 値 | 意味 | 備考 |
|---|---|---|
| 1 | 公開前 | |
| 2 | 公開 |
| 値 | 意味 | 備考 |
|---|---|---|
| 1 | 表示優先度高 | |
| 2 | 表示優先度低 |
DPF契約に紐付くLBドメインの一覧を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
エラー発生時はErrorDetailsにtargetキーが付与され、問題の箇所が特定できます。
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| offset | integer <int32> (SearchOffset) [ 0 .. 10000000 ] Default: 0 |
| limit | integer <int32> (SearchLimit) [ 1 .. 10000 ] Default: 100 |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_service_code[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_state[] | |
| _keywords_favorite[] | |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_common_config_id[] | Array of integers <int64> (KeywordsId) >= 0 items [ items <int64 > >= 1 ] Default: [] |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "id": "bxxxxxxxxxxxxx",
- "common_config_id": 1234,
- "service_code": "dplxxxxxxxx",
- "state": 1,
- "favorite": 1,
- "name": "lb.xxxxxxxxxxxxxxxx.x.d-16.jp.",
- "description": "",
- "rule_resource_name": "bxxxxxxxxxxxxx-xxxx-xxxxx"
}, - {
- "id": "byyyyyyyyyyyyy",
- "common_config_id": 1235,
- "service_code": "dplyyyyyyyy",
- "state": 1,
- "favorite": 2,
- "name": "lb.yyyyyyyyyyyyyyyy.y.d-16.jp.",
- "description": "",
- "rule_resource_name": "byyyyyyyyyyyyy-yyyy-yyyyy"
}
]
}DPF契約に紐付くLBドメインの件数を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
エラー発生時はErrorDetailsにtargetキーが付与され、問題の箇所が特定できます。
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_service_code[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_state[] | |
| _keywords_favorite[] | |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_common_config_id[] | Array of integers <int64> (KeywordsId) >= 0 items [ items <int64 > >= 1 ] Default: [] |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}指定したLbDomainIdのLBドメインを取得します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "id": "bxxxxxxxxxxxxx",
- "common_config_id": 1234,
- "service_code": "dplxxxxxxxx",
- "state": 1,
- "favorite": 1,
- "name": "lb.xxxxxxxxxxxxxxxx.x.d-16.jp.",
- "description": "",
- "rule_resource_name": "bxxxxxxxxxxxxx-xxxx-xxxxx"
}
}指定したLbDomainIdのLBドメインを更新します。
RuleResourceNameを指定することで適用ルールの切り替えができます。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| favorite | |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
| rule_resource_name | string (ResourceName) <= 253 characters 登録可能な文字列はこちらのホスト名の共通ルールを参照してください。 |
{- "favorite": 2
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したLbDomainIdのラベルの一覧を取得します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "labels": {
- "label_key_1": "label_value_1",
- "label_key_2": "label_value_2"
}
}
}指定したLbDomainIdのラベルを一括更新します。
エラー発生時はErrorDetailsにtargetキーが付与され、問題の箇所が特定できます。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
required | object Default: {} ラベル |
{- "labels": {
- "label_key_1": "label_value_1",
- "label_key_2": "label_value_2"
}
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したLbDomainIdのLBドメインに紐付くDPF契約情報を取得します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "id": "fxxxxxxxxxxxxx",
- "service_code": "dpfxxxxxxxx",
- "state": 1,
- "favorite": 1,
- "plan": 2,
- "description": ""
}
}契約に紐付くLBドメインを操作したログを取得できます。
取得可能なログは90日前までとなります。
操作内容(operation)、ログの種別(log_type)、処理の状態(status)は以下のとおりです。
| 値 | 意味 | 備考 |
|---|---|---|
| update_lb_domain_description | トラフィックコントロール契約のコメントの更新 | |
| update_lb_domain_favorite | トラフィックコントロール契約のお気に入り状態の切り替え | |
| update_lb_domain_labels | トラフィックコントロール契約のラベルの更新 | |
| update_lb_domain_rule | 適用ルールの切り替え | |
| add_rule | ルールの追加 | |
| update_rule | ルールの更新 | |
| delete_rule | ルールの削除 | |
| add_rule_method | ルールメソッドの追加 | |
| update_rule_method | ルールメソッドの更新 | |
| delete_rule_method | ルールメソッドの削除 | |
| add_site | サイトの追加 | |
| update_site | サイトの更新 | |
| delete_site | サイトの削除 | |
| add_endpoint | エンドポイントの追加 | |
| update_endpoint | エンドポイントの更新 | |
| delete_endpoint | エンドポイントの削除 | |
| manual_failover | エンドポイントの手動切り離し | |
| manual_failback | エンドポイントの手動切り戻し | |
| add_monitoring | 監視の追加 | |
| update_monitoring | 監視の更新 | |
| delete_monitoring | 監視の削除 | |
| file_import | ファイルインポート | |
| monitoring_result_changed | 監視結果の更新 | |
| endpoint_live_status_changed | エンドポイントLiveStatusの更新 | |
| endpoint_ready_status_changed | エンドポイントReadyStatusの更新 | |
| site_live_status_changed | サイトLiveStatusの更新 |
| 値 | 意味 | 備考 |
|---|---|---|
| service | サービス設定の操作 | |
| rule | ルールの操作 | |
| site | サイトの操作 | |
| monitoring | 監視の操作 | |
| file | ファイル設定の操作 | |
| monitoring_event | 監視イベントの操作 |
| 値 | 意味 | 備考 |
|---|---|---|
| start | 処理開始 | |
| success | 処理正常終了 | |
| failure | 処理失敗 | |
| retry | リトライ |
LBドメインを操作したログの一覧を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| offset | integer <int32> (SearchLogsOffset) [ 0 .. 9900 ] Default: 0 |
| limit | integer <int32> (SearchLogsLimit) [ 1 .. 100 ] Default: 100 |
| start_date | string <full-date> (SearchDate) Default: "" 開始日 |
| end_date | string <full-date> (SearchDate) Default: "" 終了日 |
| time_zone | string <time-numoffset> (SearchTimeZone) Default: "+00:00" タイムゾーン |
| order | string (SearchOrder) Default: "ASC" Enum: "ASC" "DESC" ソート順 |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_log_type[] | Array of strings (SearchLbDomainsLogsType) >= 0 items Default: [] Items Enum: "service" "rule" "site" "monitoring" "file" "monitoring_event" 詳細説明はこちら |
| _keywords_operator[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_operation[] | Array of strings (SearchLbDomainsLogsOperation) >= 0 items Default: [] Items Enum: "update_lb_domain_description" "update_lb_domain_favorite" "update_lb_domain_labels" "update_lb_domain_rule" "add_rule" "update_rule" "delete_rule" "add_rule_method" "update_rule_method" "delete_rule_method" "add_site" "update_site" "delete_site" "add_endpoint" "update_endpoint" "delete_endpoint" "manual_failover" "manual_failback" "add_monitoring" "update_monitoring" "delete_monitoring" "file_import" "monitoring_result_changed" "endpoint_live_status_changed" "endpoint_ready_status_changed" "site_live_status_changed" 詳細説明はこちら |
| _keywords_target[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_detail[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_request_id[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_status[] | Array of strings (SearchLbDomainsLogsStatus) >= 0 items Default: [] Items Enum: "start" "success" "failure" "retry" 詳細説明はこちら |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "time": "2020-01-01T00:00:00.000+09:00",
- "log_type": "service",
- "operator": "iij-taro@example.jp",
- "operation": "update_lb_domain_description",
- "target": "",
- "request_id": "fe28e2665a4da48ed7a709edd1ea026f",
- "status": "success"
}, - {
- "time": "2020-01-01T00:00:00.000+09:00",
- "log_type": "monitoring",
- "operator": "iij-taro@example.jp",
- "operation": "update_monitoring",
- "target": "monitoring1",
- "request_id": "3d8fa9105fabe6841fe7d94f3909a800",
- "status": "success"
}
]
}LBドメインを操作したログの件数を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| start_date | string <full-date> (SearchDate) Default: "" 開始日 |
| end_date | string <full-date> (SearchDate) Default: "" 終了日 |
| time_zone | string <time-numoffset> (SearchTimeZone) Default: "+00:00" タイムゾーン |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_log_type[] | Array of strings (SearchLbDomainsLogsType) >= 0 items Default: [] Items Enum: "service" "rule" "site" "monitoring" "file" "monitoring_event" 詳細説明はこちら |
| _keywords_operator[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_operation[] | Array of strings (SearchLbDomainsLogsOperation) >= 0 items Default: [] Items Enum: "update_lb_domain_description" "update_lb_domain_favorite" "update_lb_domain_labels" "update_lb_domain_rule" "add_rule" "update_rule" "delete_rule" "add_rule_method" "update_rule_method" "delete_rule_method" "add_site" "update_site" "delete_site" "add_endpoint" "update_endpoint" "delete_endpoint" "manual_failover" "manual_failback" "add_monitoring" "update_monitoring" "delete_monitoring" "file_import" "monitoring_result_changed" "endpoint_live_status_changed" "endpoint_ready_status_changed" "site_live_status_changed" 詳細説明はこちら |
| _keywords_target[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_detail[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_request_id[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_status[] | Array of strings (SearchLbDomainsLogsStatus) >= 0 items Default: [] Items Enum: "start" "success" "failure" "retry" 詳細説明はこちら |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}監視の一覧を取得します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "resource_name": "bxxxxxxxxxxxxx-xxxx-xxxxx",
- "name": "monitoring001",
- "mtype": "static",
- "description": "",
- "props": {
- "result": "up"
}, - "sites": [ ]
}, - {
- "resource_name": "byyyyyyyyyyyyy-yyyy-yyyyy",
- "name": "monitoring002",
- "mtype": "static",
- "description": "",
- "props": {
- "result": "down"
}, - "sites": [ ]
}
]
}新しく監視を作成します。
作成できる最大件数は50件です。
エラー発生時はErrorDetailsにtargetキーが付与され、問題の箇所が特定できます。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| name required | string (MonitoringName) [ 1 .. 80 ] characters 監視名 |
| mtype required | string Value: "ping" |
| resource_name | string (ResourceName) <= 253 characters 登録可能な文字列はこちらのホスト名の共通ルールを参照してください。 |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
object |
{- "name": "monitoring-ping",
- "mtype": "ping",
- "props": {
- "interval": 600,
- "timeout": 30,
- "holdtime": 0
}
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したMonitoringResourceNameの監視を取得します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| MonitoringResourceName required | string (ResourceName) <= 253 characters GET monitorings Schemaにおける resource_name |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "resource_name": "bxxxxxxxxxxxxx-xxxx-xxxxx",
- "name": "monitoring001",
- "mtype": "static",
- "description": "",
- "props": {
- "result": "up"
}, - "sites": [ ]
}
}指定したMonitoringResourceNameの監視を更新します。
エラー発生時はErrorDetailsにtargetキーが付与され、問題の箇所が特定できます。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| MonitoringResourceName required | string (ResourceName) <= 253 characters GET monitorings Schemaにおける resource_name |
| name | string (MonitoringName) [ 1 .. 80 ] characters 監視名 |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
object |
{- "props": {
- "interval": 300
}
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したMonitoringResourceNameの監視を削除します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| MonitoringResourceName required | string (ResourceName) <= 253 characters GET monitorings Schemaにおける resource_name |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}ルールメソッドの一覧を取得します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| RuleResourceName required | string (ResourceName) <= 253 characters GET rules Schemaにおける resource_name |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "method": {
- "resource_name": "bxxxxxxxxxxxxx-xxxx-xxxxx",
- "mtype": "entry_a",
- "enabled": true,
- "live_status": "down",
- "ready_status": "down"
}
}, - {
- "method": {
- "resource_name": "byyyyyyyyyyyyy-yyyy-yyyyy",
- "mtype": "failover",
- "enabled": false,
- "live_status": "down",
- "ready_status": "down",
- "parent_resource_name": "bxxxxxxxxxxxxx-xxxx-xxxxx"
}
}, - {
- "method": {
- "resource_name": "bzzzzzzzzzzzzz-zzzz-zzzzz",
- "mtype": "failover",
- "enabled": false,
- "live_status": "down",
- "ready_status": "down",
- "parent_resource_name": "byyyyyyyyyyyyy-yyyy-yyyyy"
}, - "priority": 1
}
]
}新しくルールメソッドを作成します。
作成できるメソッドは最大6階層です。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| RuleResourceName required | string (ResourceName) <= 253 characters GET rules Schemaにおける resource_name |
required | object |
| priority | integer (RuleMethodPriority) [ 0 .. 255 ] 優先度(親メソッドが failover の場合のみ指定) |
{- "method": {
- "mtype": "failover",
- "enabled": false,
- "parent_resource_name": "bxxxxxxxxxxxxx-xxxx-xxxxx"
}
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したRuleMethodResourceNameのルールメソッドを取得します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| RuleResourceName required | string (ResourceName) <= 253 characters GET rules Schemaにおける resource_name |
| RuleMethodResourceName required | string (ResourceName) <= 253 characters GET rule_methods Schemaにおける resource_name |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "method": {
- "resource_name": "bxxxxxxxxxxxxx-xxxx-xxxxx",
- "mtype": "entry_a",
- "enabled": true,
- "live_status": "down",
- "ready_status": "down"
}
}
}指定したRuleMethodResourceNameのルールメソッドを更新します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| RuleResourceName required | string (ResourceName) <= 253 characters GET rules Schemaにおける resource_name |
| RuleMethodResourceName required | string (ResourceName) <= 253 characters GET rule_methods Schemaにおける resource_name |
| priority | integer (RuleMethodPriority) [ 0 .. 255 ] 優先度(親メソッドが failover の場合のみ指定) |
object |
{- "method": {
- "enabled": true
}
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したRuleMethodResourceNameのルールメソッドを削除します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| RuleResourceName required | string (ResourceName) <= 253 characters GET rules Schemaにおける resource_name |
| RuleMethodResourceName required | string (ResourceName) <= 253 characters GET rule_methods Schemaにおける resource_name |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}LBドメインに紐付くルールの操作ができます。
適用ルールはLBドメインの更新で切り替えができます。
ルールの一覧を取得します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "resource_name": "bxxxxxxxxxxxxx-xxxx-xxxxx",
- "name": "rule001",
- "description": "",
- "methods": [ ]
}, - {
- "resource_name": "byyyyyyyyyyyyy-yyyy-yyyyy",
- "name": "rule002",
- "description": "",
- "methods": [
- {
- "method": {
- "resource_name": "bzzzzzzzzzzzzz-zzzz-zzzzz",
- "mtype": "entry_a",
- "enabled": true,
- "live_status": "down",
- "ready_status": "down"
}
}
]
}
]
}新しくルールを作成します。
作成できる最大件数は10件です。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| name required | string (RuleName) [ 1 .. 80 ] characters ルール名 |
| resource_name | string (ResourceName) <= 253 characters 登録可能な文字列はこちらのホスト名の共通ルールを参照してください。 |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
{- "name": "rule001",
- "description": ""
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したRuleResourceNameのルールを取得します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| RuleResourceName required | string (ResourceName) <= 253 characters GET rules Schemaにおける resource_name |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "resource_name": "bxxxxxxxxxxxxx-xxxx-xxxxx",
- "name": "rule001",
- "description": "",
- "methods": [ ]
}
}指定したRuleResourceNameのルールを更新します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| RuleResourceName required | string (ResourceName) <= 253 characters GET rules Schemaにおける resource_name |
| name | string (RuleName) [ 1 .. 80 ] characters ルール名 |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
{- "name": "rule002"
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したRuleResourceNameのルールを削除します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| RuleResourceName required | string (ResourceName) <= 253 characters GET rules Schemaにおける resource_name |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}サイトの一覧を取得します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "resource_name": "bxxxxxxxxxxxxx-xxxx-xxxxx",
- "name": "site001",
- "rrtype": "A",
- "description": "",
- "live_status": "down",
- "endpoints": [ ]
}, - {
- "resource_name": "byyyyyyyyyyyyy-yyyy-yyyyy",
- "name": "site002",
- "rrtype": "AAAA",
- "description": "",
- "live_status": "up",
- "endpoints": [ ]
}
]
}新しくサイトを作成します。
作成できる最大件数は50件です。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| name required | string (SiteName) [ 1 .. 80 ] characters サイト名 |
| rrtype required | string (SiteRrtype) Enum: "A" "AAAA" "CNAME" レコードタイプ |
| resource_name | string (ResourceName) <= 253 characters 登録可能な文字列はこちらのホスト名の共通ルールを参照してください。 |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
{- "name": "site001",
- "rrtype": "A",
- "description": ""
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したSiteResourceNameのサイトを取得します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| SiteResourceName required | string (ResourceName) <= 253 characters GET sites Schemaにおける resource_name |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "resource_name": "bxxxxxxxxxxxxx-xxxx-xxxxx",
- "name": "site001",
- "rrtype": "A",
- "description": "",
- "live_status": "down",
- "endpoints": [ ]
}
}指定したSiteResourceNameのサイトを更新します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| SiteResourceName required | string (ResourceName) <= 253 characters GET sites Schemaにおける resource_name |
| name | string (SiteName) [ 1 .. 80 ] characters サイト名 |
| description | string (Description) [ 0 .. 80 ] characters Default: "" コメント |
{- "name": "site002"
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}指定したSiteResourceNameのサイトを削除します。
| LbDomainId required | string (SystemId) = 14 characters GET lb_domains Schemaにおける id |
| SiteResourceName required | string (ResourceName) <= 253 characters GET sites Schemaにおける resource_name |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}ネームサーバ申請の操作ができます。
お気に入りの状態(favorite)、ネームサーバの状態(requested)は以下のとおりです。
| 値 | 意味 | 備考 |
|---|---|---|
| 1 | 表示優先度高 | |
| 2 | 表示優先度低 |
| 値 | 意味 | 備考 |
|---|---|---|
| 0 | 未申請 | |
| 1 | 申請済み |
ネームサーバとして申請可能なゾーンの候補の一覧を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| offset | integer <int32> (SearchOffset) [ 0 .. 10000000 ] Default: 0 |
| limit | integer <int32> (SearchLimit) [ 1 .. 10000 ] Default: 100 |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_service_code[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_network[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_favorite[] | |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_requested[] | |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "results": [
- {
- "id": "mxxxxxxxxxxxxx",
- "service_code": "dpmxxxxxxxx",
- "name": "name1.example.com.",
- "network": null,
- "description": "",
- "delegation_requested_at": "2020-01-01T01:02:03.000+00:00"
}, - {
- "id": "myyyyyyyyyyyyy",
- "service_code": "dpmyyyyyyyy",
- "name": "name2.example.com.",
- "network": null,
- "description": "",
- "delegation_requested_at": "2020-01-01T01:02:03.000+00:00"
}
]
}指定したゾーンを申請します。
| zone_ids required | Array of strings (SystemId) non-empty [ items = 14 characters ] |
{- "zone_ids": [
- "mxxxxxxxxxxxxx",
- "myyyyyyyyyyyyy"
]
}{- "request_id": "782d746ac3cb46499b31708fa80e8660",
}ネームサーバとして申請可能なゾーンの候補の件数を取得します。
"_keywords" から始まるパラメータは、合計で30個まで指定可能です。
| type | string (SearchType) Default: "AND" Enum: "AND" "OR" |
| _keywords_full_text[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_service_code[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_name[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_network[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_favorite[] | |
| _keywords_description[] | Array of strings (KeywordsString) >= 0 items [ items <= 381 characters ] Default: [] |
| _keywords_requested[] | |
| _keywords_label[] | Array of strings (KeywordsLabel) >= 0 items [ items <= 381 characters ] Default: [] Valueは「labelのKey=labelのValue」のようにイコール区切りで指定 |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "result": {
- "count": 10
}
}非同期リクエストの状態確認ができます。
リクエストの状態(status)は以下のとおりです。
| 値 | 意味 | 備考 |
|---|---|---|
| RUNNING | 処理中 | |
| SUCCESSFUL | 正常終了 | |
| FAILED | 異常終了 |
ジョブの進捗状況を取得します。
このAPIの詳しい利用方法は、非同期リクエストを参照してください。
| RequestId required | string (RequestId) = 32 characters ID |
{- "request_id": "782d746ac3cb46499b31708fa80e8660",
- "status": "RUNNING"
}