Update IKE policy
IKEポリシーを更新します。
URI
/v2.0/vpn/ikepolicies/{ikepolicy-id}
HTTPメソッド
PUT
リクエストパラメタ
| キー | 説明 | 型 | 必須/省略可 | 
|---|---|---|---|
| encryption_algorithm | 暗号アルゴリズム: aes-128、aes-256、aes-192 | string | Optional | 
| pfs | Perfect Forward Secrecy: group2、group5、またはgroup14 | string | Optional | 
| lifetime | SAのライフタイム 単位は「秒」。指定可能な値は60秒~86400秒。単位または値は省略できます。 | dict | Optional | 
| name | IKEポリシー名 | string | Optional | 
| description | IKEポリシーの説明 | string | Optional | 
リクエスト例
{
  "ikepolicy": {
    "encryption_algorithm": "aes-256"
  }
}
     レスポンスステータス
| ステータスコード | 説明 | 
|---|---|
| 200 | Normal response codes | 
| Unauthorized (401) | Error response codes | 
| Bad Request (400) | Error response codes | 
| Not Found (404) | Error response codes | 
レスポンスボディ(正常系)
{
  "ikepolicy": {
    "name": "ikepolicy1",
    "tenant_id": "ccb81365fe36411a9011e90491fe1330",
    "auth_algorithm": "sha1",
    "encryption_algorithm": "aes-256",
    "pfs": "group5",
    "phase1_negotiation_mode": "main",
    "lifetime": {
      "units": "seconds",
      "value": 3600
    },
    "ike_version": "v1",
    "id": "5522aff7-1b3c-48dd-9c3c-b50f016b73db",
    "description": "",
    "availability_zone": "AZ1"
  }
}
     レスポンスボディ(正常系)の説明
| 要素名 | 説明 | 
|---|---|
| name | IKEポリシー名 | 
| tenant_id | プロジェクトID | 
| auth_algorithm | 認証ハッシュアルゴリズム: sha1 | 
| encryption_algorithm | 暗号アルゴリズム: aes-128、aes-256、aes-192 | 
| pfs | Perfect Forward Secrecy: group2、group5、またはgroup14 | 
| phase1_negotiation_mode | IKEモード: main | 
| lifetime | SAのライフタイム 単位は「秒」。単位または値は省略できます。 | 
| ike_version | バージョン: v1 | 
| id | IKEポリシーID | 
| description | IKEポリシーの説明 | 
| availability_zone | アベイラビリティゾーン名 |