From 104de0df0a18f919df82e3a09ffe519e003f903d Mon Sep 17 00:00:00 2001 From: jj41 Date: Fri, 3 Dec 2021 12:41:54 +0900 Subject: [PATCH] update: support lb public subnet --- services/vnks/cluster.go | 3 +++ services/vnks/cluster_input_body.go | 3 +++ services/vnks/docs/Cluster.md | 1 + services/vnks/docs/ClusterInputBody.md | 1 + 4 files changed, 8 insertions(+) diff --git a/services/vnks/cluster.go b/services/vnks/cluster.go index f77d429b..130ddb49 100644 --- a/services/vnks/cluster.go +++ b/services/vnks/cluster.go @@ -58,6 +58,9 @@ type Cluster struct { // 로드밸런서 전용 서브넷 No SubnetLbNo *int32 `json:"subnetLbNo"` + // 로드밸런서 전용 Public Subnet No + LbPublicSubnetNo *int32 `json:"lbPublicSubnetNo,omitempty"` + // 서브넷 이름 SubnetName *string `json:"subnetName"` diff --git a/services/vnks/cluster_input_body.go b/services/vnks/cluster_input_body.go index 0ca213a9..07f6a0bb 100644 --- a/services/vnks/cluster_input_body.go +++ b/services/vnks/cluster_input_body.go @@ -40,6 +40,9 @@ type ClusterInputBody struct { // 로드밸런서 전용 서브넷 No SubnetLbNo *int32 `json:"subnetLbNo"` + // 로드밸런서 전용 Public Subnet No + LbPublicSubnetNo *int32 `json:"lbPublicSubnetNo,omitempty"` + // log Log *ClusterLogInput `json:"log,omitempty"` diff --git a/services/vnks/docs/Cluster.md b/services/vnks/docs/Cluster.md index f185e354..b1dee34d 100644 --- a/services/vnks/docs/Cluster.md +++ b/services/vnks/docs/Cluster.md @@ -19,6 +19,7 @@ Name | Type | Description | Notes **Status** | ***string** | 클러스터의 상태 | [default to null] **SubnetLbName** | ***string** | 로드밸런서 전용 서브넷 이름 | [default to null] **SubnetLbNo** | ***int32** | 로드밸런서 전용 서브넷 No | [default to null] +**LbPublicSubnetNo** | ***int32** | 로드밸런서 전용 Public Subnet No | [optional] [default to null] **SubnetName** | ***string** | 서브넷 이름 | [default to null] **SubnetNoList** | **[]\*int32** | 서브넷 No 목록 | [default to null] **UpdatedAt** | ***string** | 최근 업데이트 일자 | [default to null] diff --git a/services/vnks/docs/ClusterInputBody.md b/services/vnks/docs/ClusterInputBody.md index 3c6bac91..d036bd3e 100644 --- a/services/vnks/docs/ClusterInputBody.md +++ b/services/vnks/docs/ClusterInputBody.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **VpcNo** | ***int32** | vpc의 No | [default to null] **SubnetNoList** | **[]\*int32** | 서브넷 No 목록 | [default to null] **SubnetLbNo** | ***int32** | 로드밸런서 전용 서브넷 No | [default to null] +**LbPublicSubnetNo** | ***int32** | 로드밸런서 전용 Public Subnet No | [optional] [default to null] **Log** | **[*ClusterLogInput](ClusterLogInput.md)** | log | [optional] [default to null] **DefaultNodePool** | **[*DefaultNodePoolParam](DefaultNodePoolParam.md)** | 기본 노드풀 | [optional] [default to null] **NodePool** | **[[]\*NodePool](NodePool.md)** | 추가 노드풀 | [optional] [default to null]