名前空間について説明します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
dcdn:DescribeDcdnKvNamespace |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Namespace |
string |
必須 |
名前空間の名前です。 |
ns1 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| Status |
string |
名前空間のステータス。有効な値:
|
online |
| Namespace |
string |
名前空間の名前です。 |
ns1 |
| NamespaceId |
string |
名前空間 ID です。 |
12423131231**** |
| RequestId |
string |
リクエスト ID です。 |
D61E4801-EAFF-4A63-AAE1-FBF6CE1CFD1C |
| Description |
string |
名前空間の説明です。 |
the first namespace |
| CapacityString |
string |
名前空間の利用可能な容量です。 |
1 GB |
| CapacityUsedString |
string |
名前空間の使用済み容量です。 |
100 MB |
| Mode |
string |
モードです。
|
Normal |
| Capacity |
integer |
名前空間の利用可能な容量 (バイト単位) です。 |
1073741824 |
| CapacityUsed |
integer |
名前空間の使用済み容量 (バイト単位) です。 |
10048576 |
例
成功レスポンス
JSONJSON
{
"Status": "online",
"Namespace": "ns1",
"NamespaceId": "12423131231****",
"RequestId": "D61E4801-EAFF-4A63-AAE1-FBF6CE1CFD1C",
"Description": "the first namespace",
"CapacityString": "1 GB",
"CapacityUsedString": "100 MB",
"Mode": "Normal",
"Capacity": 1073741824,
"CapacityUsed": 10048576
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | Invalid.Parameter | The specified parameter is invalid. | |
| 400 | InvalidAccount.Malformed | The specified account is invalid. | |
| 400 | InvalidNameSpace.Malformed | The specified namespace is invalid. | |
| 400 | InvalidKey.Malformed | The specified key is invalid. | |
| 400 | InvalidKey.ExceedsMaximum | The size of the key cannot exceed 512 bytes. | |
| 400 | InvalidValue.ExceedsMaximum | The size of the value cannot exceed 2,000,000 bytes. | |
| 403 | InvalidKey.ExceedsCapacity | The maximum capacity of a single namespace cannot exceed 1 GB. | |
| 403 | Unauthorized.InvalidParameters | The specified authentication parameters are invalid. | |
| 403 | Unauthorized.InvalidTime | The specified authentication time is invalid. | |
| 403 | Unauthorized.InvalidToken | Token authentication failed. | |
| 403 | Unauthorized.InvalidResource | Resource authentication failed. | |
| 404 | InvalidAccount.NotFound | The specified account does not exist. | |
| 404 | InvalidNameSpace.NotFound | The specified namespace does not exist. | |
| 404 | InvalidKey.NotFound | The specified key does not exist. | |
| 406 | InvalidNameSpace.Duplicate | The specified namespace already exists. | |
| 406 | InvalidNameSpace.QuotaFull | The maximum number of namespaces is exceeded. | |
| 406 | InvalidKey.QuotaFull | The maximum number of keys is exceeded. | |
| 429 | TooManyRequests | Too many requests are submitted. | |
| 429 | TooQuickRequests | Request for putting or deleting keys are frequently submitted. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。