アクセラレーションドメイン名を変更します。
操作説明
説明
この操作は 中国 (上海) リージョンでのみ利用可能です。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
vod:UpdateVodDomain |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| DomainName |
string |
必須 |
アクセラレーションドメイン名。 |
example.com。 |
| Sources |
string |
任意 |
オリジンサーバーのアドレス。Sources パラメーターの詳細については、Sources セクションを参照してください。 |
[{"content":"1.1.1.1","type":"ipaddr","priority":"20","port":80}] |
| TopLevelDomain |
string |
任意 |
トップレベルドメイン。 |
example.com。 |
Sources
| パラメーター | タイプ | 必須 | 説明 |
| type | String | はい | オリジンサーバーのタイプ。有効な値:ipaddr: IP アドレス domain: ドメイン名 oss: Object Storage Service (OSS) バケットの OSS ドメイン |
| content | String | はい | オリジンサーバーのアドレス。IP アドレスまたはドメイン名を指定できます。 |
| port | Integer | いいえ | ポート番号。443 または 80 を指定できます。デフォルト値: 80。443 を指定すると、リクエストは HTTPS 経由でオリジンサーバーにリダイレクトされます。カスタムポートも指定できます。 |
| priority | String | いいえ | 複数のオリジンサーバーが指定されている場合のオリジンサーバーの優先度。有効な値: 20 および 30。デフォルト値: 20。20 はプライマリオリジンサーバーを指定し、30 はセカンダリオリジンサーバーを指定します。 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID。 |
15C66C7B-671A-4297-****-2C4477247A74 |
例
成功レスポンス
JSONJSON
{
"RequestId": "15C66C7B-671A-4297-****-2C4477247A74"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | MissingDomainName | The domainName parameter is required. | |
| 400 | InvalidDomainName.Malformed | The specified DomainName is invalid. | |
| 400 | InvalidSource.Content.Malformed | The specified Source Content is invalid. | |
| 400 | InvalidTypeContent.Mismatch | The specified source type does not match the specified source content. | |
| 400 | MissingSource.Content | The Source Content must be specified. | |
| 400 | MissingSource.Type | The Source Type must be specified. | |
| 400 | InvalidSource.Type.Malformed | The specified Source Type is invalid. | |
| 400 | InvalidSource.Priority.Malformed | The specified Source Priority is invalid. | |
| 400 | InvalidSources.Malformed | Specified Sources is malformed. | |
| 400 | IllegalSources | The specified origin site information is invalid. | |
| 400 | TopLevelDomain.NotFound | The specified TopLevelDomain does not exist. | |
| 403 | DomainInProtectedMode | The domain is in protection mode. To request permission, contact Customer Service. | |
| 403 | ServiceBusy | The specified Domain is configuring, please retry later | |
| 403 | IllegalOperation | Illegal domain operate is not permitted. | |
| 404 | InvalidDomain.NotFound | The domain provided does not belong to you. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。