Skip to content

Commit

Permalink
update vmysql
Browse files Browse the repository at this point in the history
  • Loading branch information
lee-yongtak committed Aug 29, 2024
1 parent 3a1d985 commit 17715bd
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 8 deletions.
4 changes: 2 additions & 2 deletions services/vmysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
## Overview
This API client was generated by the [swagger-codegen](https://github.com/swagger-api/swagger-codegen) project. By using the [swagger-spec](https://github.com/swagger-api/swagger-spec) from a remote server, you can easily generate an API client.

- API version: 2024-04-25T10:02:11Z
- Package version: 1.0.1
- API version: 2024-08-29T16:10:02Z
- Package version: 1.0.2
- Build package: io.swagger.codegen.languages.NcpGoForNcloudClientCodegen

## Installation
Expand Down
2 changes: 1 addition & 1 deletion services/vmysql/api_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var (
xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)")
)

// APIClient manages communication with the vmysql API v2024-04-25T10:02:11Z
// APIClient manages communication with the vmysql API v2024-08-29T16:10:02Z
// In most cases there should be only one, shared, APIClient.
type APIClient struct {
cfg *ncloud.Configuration
Expand Down
3 changes: 3 additions & 0 deletions services/vmysql/cloud_db_product_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@
package vmysql

type CloudDbProductList struct {

// CloudDBProduct리스트
CloudDbProductList []*CloudDbProduct `json:"CloudDbProductList,omitempty"`
}
2 changes: 1 addition & 1 deletion services/vmysql/cloud_mysql_server_instance.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ PublicDomain *string `json:"publicDomain,omitempty"`
// 사설도메인명
PrivateDomain *string `json:"privateDomain,omitempty"`

// 내부IP
// 사설 IP
PrivateIp *string `json:"privateIp,omitempty"`

// 데이터스토리지타입
Expand Down
3 changes: 3 additions & 0 deletions services/vmysql/cloud_mysql_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ HostIp *string `json:"hostIp,omitempty"`

// DB권한
Authority *string `json:"authority,omitempty"`

// 시스템테이블 접근 가능여부
IsSystemTableAccess *bool `json:"isSystemTableAccess,omitempty"`
}
3 changes: 3 additions & 0 deletions services/vmysql/cloud_mysql_user_parameter.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ Password *string `json:"password"`

// DB권한
Authority *string `json:"authority"`

// 시스템테이블 접근 가능여부
IsSystemTableAccess *bool `json:"isSystemTableAccess,omitempty"`
}
2 changes: 1 addition & 1 deletion services/vmysql/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func NewConfiguration(apiKeys ...*ncloud.APIKey) *ncloud.Configuration {
cfg := &ncloud.Configuration{
BasePath: "https://ncloud.apigw.ntruss.com/vmysql/v2",
DefaultHeader: make(map[string]string),
UserAgent: "vmysql/1.0.1/go",
UserAgent: "vmysql/1.0.2/go",
}
if len(apiKeys) > 0 {
cfg.APIKey = apiKeys[0]
Expand Down
3 changes: 3 additions & 0 deletions services/vmysql/create_cloud_mysql_instance_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ StandbyMasterSubnetNo *string `json:"standbyMasterSubnetNo,omitempty"`
// privateSubDomain사용여부
IsPrivateSubDomain *bool `json:"isPrivateSubDomain,omitempty"`

// 클러스터반납보호여부
IsDeleteProtection *bool `json:"isDeleteProtection,omitempty"`

// privateSubDomain접두어
PrivateSubDomainPrefix *string `json:"privateSubDomainPrefix,omitempty"`

Expand Down
1 change: 1 addition & 0 deletions services/vmysql/docs/CloudDbProductList.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**CloudDbProductList** | **[[]\*CloudDbProduct](CloudDbProduct.md)** | CloudDBProduct리스트 | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion services/vmysql/docs/CloudMysqlServerInstance.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Name | Type | Description | Notes
**IsPublicSubnet** | ***bool** | PublicSubnet여부 | [optional] [default to null]
**PublicDomain** | ***string** | 공인도메인명 | [optional] [default to null]
**PrivateDomain** | ***string** | 사설도메인명 | [optional] [default to null]
**PrivateIp** | ***string** | 내부IP | [optional] [default to null]
**PrivateIp** | ***string** | 사설 IP | [optional] [default to null]
**DataStorageType** | **[*CommonCode](CommonCode.md)** | 데이터스토리지타입 | [optional] [default to null]
**IsStorageEncryption** | ***bool** | 데이터스토리지암호화여부 | [optional] [default to null]
**DataStorageSize** | ***int64** | 데이터스토리지사이즈 | [optional] [default to null]
Expand Down
1 change: 1 addition & 0 deletions services/vmysql/docs/CloudMysqlUser.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Name | Type | Description | Notes
**UserName** | ***string** | DBUserID | [optional] [default to null]
**HostIp** | ***string** | 접근IP | [optional] [default to null]
**Authority** | ***string** | DB권한 | [optional] [default to null]
**IsSystemTableAccess** | ***bool** | 시스템테이블 접근 가능여부 | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 1 addition & 0 deletions services/vmysql/docs/CloudMysqlUserParameter.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**HostIp** | ***string** | 접근IP | [default to null]
**Password** | ***string** | DBUserPassword | [default to null]
**Authority** | ***string** | DB권한 | [default to null]
**IsSystemTableAccess** | ***bool** | 시스템테이블 접근 가능여부 | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 1 addition & 0 deletions services/vmysql/docs/CreateCloudMysqlInstanceRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Name | Type | Description | Notes
**SubnetNo** | ***string** | Subnet번호 | [default to null]
**StandbyMasterSubnetNo** | ***string** | StandbyMasterSubnet번호 | [optional] [default to null]
**IsPrivateSubDomain** | ***bool** | privateSubDomain사용여부 | [optional] [default to null]
**IsDeleteProtection** | ***bool** | 클러스터반납보호여부 | [optional] [default to null]
**PrivateSubDomainPrefix** | ***string** | privateSubDomain접두어 | [optional] [default to null]
**EngineVersionCode** | ***string** | engineVersionCode | [optional] [default to null]

Expand Down
2 changes: 1 addition & 1 deletion services/vmysql/docs/GetCloudMysqlProductListResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**ReturnCode** | ***string** | | [optional] [default to null]
**ReturnMessage** | ***string** | | [optional] [default to null]
**TotalRows** | ***int32** | | [optional] [default to null]
**ProductList** | **[*CloudDbProductList](CloudDbProductList.md)** | 상품리스트 | [optional] [default to null]
**ProductList** | **[[]\*CloudDbProduct](CloudDbProduct.md)** | 상품리스트 | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion services/vmysql/get_cloud_mysql_product_list_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ ReturnMessage *string `json:"returnMessage,omitempty"`
TotalRows *int32 `json:"totalRows,omitempty"`

// 상품리스트
ProductList *CloudDbProductList `json:"productList,omitempty"`
ProductList []*CloudDbProduct `json:"productList,omitempty"`
}

0 comments on commit 17715bd

Please sign in to comment.