指定されたホスト名をオリジンクライアント証明書に関連付けます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
esa:SetOriginClientCertificateHostnames |
create |
*Site
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SiteId |
integer |
必須 |
サイトの ID。 |
123456789**** |
| Id |
string |
必須 |
証明書の ID。 |
babaabcd**** |
| Hostnames |
array |
必須 |
証明書に関連付けるホスト名。 |
|
|
string |
任意 |
ホスト名。 |
www.example.com |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答のスキーマ |
||
| RequestId |
string |
リクエスト ID。 |
15C66C7B-671A-4297-9187-2C4477247A74 |
| Id |
string |
証明書の ID。 |
babaabcd**** |
| SiteName |
string |
サイトの名前。 |
example.com |
| Hostnames |
array |
証明書に関連付けられているホスト名。 |
|
|
string |
リスト内のホスト名。 |
www.example.com |
|
| SiteId |
integer |
サイトの ID。 |
123456789**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A74",
"Id": "babaabcd****",
"SiteName": "example.com",
"Hostnames": [
"www.example.com"
],
"SiteId": 0
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParameter.SiteId | Failed to query the website based on the SiteID you specified. Check parameter SiteId and try again. | |
| 400 | MissingSiteId | Required parameter SiteId missing. Specify SiteId and try again. | |
| 400 | QuotaCheckFailed.Function | The feature is unavailable in your plan. Upgrade the plan or contact your account manager to request the feature. | |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | |
| 400 | InvalidParameter | The specified parameter is invalid. | |
| 400 | Id.MissingParameter | The parameter Id is required. | |
| 403 | Unauthorized.InvalidTime | The specified authentication time is invalid. | |
| 403 | Unauthorized.InvalidToken | Token authentication failed. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。