From 30c7f6b57372876ce345d5894cbbbeb7753528c3 Mon Sep 17 00:00:00 2001 From: zhnd Date: Mon, 9 Sep 2024 13:52:41 +0800 Subject: [PATCH] feat: update SecurityPolicyIngressEgressInput type enum --- cloudtower-api-doc/static/specs/4.4.0-swagger.json | 8 +++++++- cloudtower-api-doc/swagger/locales/en/4.4.0.json | 3 +++ cloudtower-api-doc/swagger/locales/zh/4.4.0.json | 3 +++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/cloudtower-api-doc/static/specs/4.4.0-swagger.json b/cloudtower-api-doc/static/specs/4.4.0-swagger.json index fe80fca..9b85d08 100644 --- a/cloudtower-api-doc/static/specs/4.4.0-swagger.json +++ b/cloudtower-api-doc/static/specs/4.4.0-swagger.json @@ -74340,10 +74340,16 @@ ], "type": "object" }, + "SecurityPolicyFlowControlType": { + "enum": [ + "ALL" + ], + "type": "string" + }, "SecurityPolicyIngressEgressInput": { "properties": { "type": { - "$ref": "#/components/schemas/NetworkPolicyRuleType" + "$ref": "#/components/schemas/SecurityPolicyFlowControlType" }, "ports": { "items": { diff --git a/cloudtower-api-doc/swagger/locales/en/4.4.0.json b/cloudtower-api-doc/swagger/locales/en/4.4.0.json index 060daef..3a98224 100644 --- a/cloudtower-api-doc/swagger/locales/en/4.4.0.json +++ b/cloudtower-api-doc/swagger/locales/en/4.4.0.json @@ -1888,6 +1888,9 @@ }, "NestedVirtualPrivateCloudService": { "id": "id" + }, + "SecurityPolicyFlowControlType": { + "enum": "* ALL: Allow access from all addresses.\n" } }, "tags": [ diff --git a/cloudtower-api-doc/swagger/locales/zh/4.4.0.json b/cloudtower-api-doc/swagger/locales/zh/4.4.0.json index 43bdba2..983f4dc 100644 --- a/cloudtower-api-doc/swagger/locales/zh/4.4.0.json +++ b/cloudtower-api-doc/swagger/locales/zh/4.4.0.json @@ -2423,6 +2423,9 @@ }, "NestedVirtualPrivateCloudService": { "id": "唯一标识" + }, + "SecurityPolicyFlowControlType": { + "enum": "* ALL: 允许所有地址进行访问\n" } }, "tags": [