Skip to content

Commit

Permalink
Merge pull request #67 from NaverCloudPlatform/release/2024.04.26
Browse files Browse the repository at this point in the history
update vmysql
  • Loading branch information
lee-yongtak authored Apr 26, 2024
2 parents b0986c1 + eefc4e2 commit 770bf1a
Show file tree
Hide file tree
Showing 108 changed files with 1,193 additions and 687 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.go text eol=lf
*.md text eol=lf
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ vendor/github.com
vendor/golang.org
vendor/gopkg.in

.idea
.idea

# vscode
.DS_Store
Binary file removed services/vmongodb/.DS_Store
Binary file not shown.
22 changes: 14 additions & 8 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: 2021-11-25T11:37:48Z
- Package version: 1.0.0
- API version: 2024-04-25T10:02:11Z
- Package version: 1.0.1
- Build package: io.swagger.codegen.languages.NcpGoForNcloudClientCodegen

## Installation
Expand Down Expand Up @@ -41,33 +41,34 @@ Class | Method | HTTP request | Description
*V2Api* | [**GetCloudMysqlInstanceList**](docs/V2Api.md#getcloudmysqlinstancelist) | **Post** /getCloudMysqlInstanceList |
*V2Api* | [**GetCloudMysqlProductList**](docs/V2Api.md#getcloudmysqlproductlist) | **Post** /getCloudMysqlProductList |
*V2Api* | [**GetCloudMysqlRecoveryTime**](docs/V2Api.md#getcloudmysqlrecoverytime) | **Post** /getCloudMysqlRecoveryTime |
*V2Api* | [**GetCloudMysqlTargetSubnetList**](docs/V2Api.md#getcloudmysqltargetsubnetlist) | **Post** /getCloudMysqlTargetSubnetList |
*V2Api* | [**GetCloudMysqlTargetVpcList**](docs/V2Api.md#getcloudmysqltargetvpclist) | **Post** /getCloudMysqlTargetVpcList |
*V2Api* | [**GetCloudMysqlUserList**](docs/V2Api.md#getcloudmysqluserlist) | **Post** /getCloudMysqlUserList |
*V2Api* | [**GetDbServerLogList**](docs/V2Api.md#getdbserverloglist) | **Post** /getDbServerLogList |
*V2Api* | [**RebootCloudMysqlServerInstance**](docs/V2Api.md#rebootcloudmysqlserverinstance) | **Post** /rebootCloudMysqlServerInstance |


## Documentation For Models

- [AccessControlGroupNoList](docs/AccessControlGroupNoList.md)
- [AddCloudMysqlDatabaseListRequest](docs/AddCloudMysqlDatabaseListRequest.md)
- [AddCloudMysqlDatabaseListResponse](docs/AddCloudMysqlDatabaseListResponse.md)
- [AddCloudMysqlUserListRequest](docs/AddCloudMysqlUserListRequest.md)
- [AddCloudMysqlUserListResponse](docs/AddCloudMysqlUserListResponse.md)
- [ChangeCloudMysqlUserListRequest](docs/ChangeCloudMysqlUserListRequest.md)
- [ChangeCloudMysqlUserListResponse](docs/ChangeCloudMysqlUserListResponse.md)
- [CloudDbProduct](docs/CloudDbProduct.md)
- [CloudDbProductList](docs/CloudDbProductList.md)
- [CloudMysqlBackup](docs/CloudMysqlBackup.md)
- [CloudMysqlBackupDetail](docs/CloudMysqlBackupDetail.md)
- [CloudMysqlBackupDetailList](docs/CloudMysqlBackupDetailList.md)
- [CloudMysqlBackupList](docs/CloudMysqlBackupList.md)
- [CloudMysqlConfigList](docs/CloudMysqlConfigList.md)
- [CloudMysqlDatabase](docs/CloudMysqlDatabase.md)
- [CloudMysqlDatabaseList](docs/CloudMysqlDatabaseList.md)
- [CloudMysqlDbServerLog](docs/CloudMysqlDbServerLog.md)
- [CloudMysqlInstance](docs/CloudMysqlInstance.md)
- [CloudMysqlInstanceList](docs/CloudMysqlInstanceList.md)
- [CloudMysqlRecoveryTime](docs/CloudMysqlRecoveryTime.md)
- [CloudMysqlServerInstance](docs/CloudMysqlServerInstance.md)
- [CloudMysqlUser](docs/CloudMysqlUser.md)
- [CloudMysqlUserKeyParameter](docs/CloudMysqlUserKeyParameter.md)
- [CloudMysqlUserList](docs/CloudMysqlUserList.md)
- [CloudMysqlUserParameter](docs/CloudMysqlUserParameter.md)
- [CommonCode](docs/CommonCode.md)
- [CreateCloudMysqlInstanceRequest](docs/CreateCloudMysqlInstanceRequest.md)
Expand Down Expand Up @@ -104,11 +105,16 @@ Class | Method | HTTP request | Description
- [GetCloudMysqlProductListResponse](docs/GetCloudMysqlProductListResponse.md)
- [GetCloudMysqlRecoveryTimeRequest](docs/GetCloudMysqlRecoveryTimeRequest.md)
- [GetCloudMysqlRecoveryTimeResponse](docs/GetCloudMysqlRecoveryTimeResponse.md)
- [GetCloudMysqlTargetSubnetListRequest](docs/GetCloudMysqlTargetSubnetListRequest.md)
- [GetCloudMysqlTargetSubnetListResponse](docs/GetCloudMysqlTargetSubnetListResponse.md)
- [GetCloudMysqlTargetVpcListRequest](docs/GetCloudMysqlTargetVpcListRequest.md)
- [GetCloudMysqlTargetVpcListResponse](docs/GetCloudMysqlTargetVpcListResponse.md)
- [GetCloudMysqlUserListRequest](docs/GetCloudMysqlUserListRequest.md)
- [GetCloudMysqlUserListResponse](docs/GetCloudMysqlUserListResponse.md)
- [GetDbServerLogListRequest](docs/GetDbServerLogListRequest.md)
- [GetDbServerLogListResponse](docs/GetDbServerLogListResponse.md)
- [Product](docs/Product.md)
- [RebootCloudMysqlServerInstanceRequest](docs/RebootCloudMysqlServerInstanceRequest.md)
- [RebootCloudMysqlServerInstanceResponse](docs/RebootCloudMysqlServerInstanceResponse.md)
- [TargetSubnet](docs/TargetSubnet.md)
- [TargetVpc](docs/TargetVpc.md)

6 changes: 3 additions & 3 deletions services/vmysql/add_cloud_mysql_database_list_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ package vmysql
type AddCloudMysqlDatabaseListRequest struct {

// REGION코드
RegionCode *string `json:"regionCode,omitempty"`
RegionCode *string `json:"regionCode,omitempty"`

// CloudMysql인스턴스번호
CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"`
CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"`

// CloudMysqlDatabase리스트
CloudMysqlDatabaseNameList []*string `json:"cloudMysqlDatabaseNameList"`
CloudMysqlDatabaseNameList []*string `json:"cloudMysqlDatabaseNameList"`
}
7 changes: 4 additions & 3 deletions services/vmysql/add_cloud_mysql_database_list_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
package vmysql

type AddCloudMysqlDatabaseListResponse struct {
RequestId *string `json:"requestId,omitempty"`

ReturnCode *string `json:"returnCode,omitempty"`
RequestId *string `json:"requestId,omitempty"`

ReturnMessage *string `json:"returnMessage,omitempty"`
ReturnCode *string `json:"returnCode,omitempty"`

ReturnMessage *string `json:"returnMessage,omitempty"`
}
6 changes: 3 additions & 3 deletions services/vmysql/add_cloud_mysql_user_list_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ package vmysql
type AddCloudMysqlUserListRequest struct {

// REGION코드
RegionCode *string `json:"regionCode,omitempty"`
RegionCode *string `json:"regionCode,omitempty"`

// CloudMysql인스턴스번호
CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"`
CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"`

// CloudMysqlDBUser리스트
CloudMysqlUserList []*CloudMysqlUserParameter `json:"cloudMysqlUserList"`
CloudMysqlUserList []*CloudMysqlUserParameter `json:"cloudMysqlUserList"`
}
7 changes: 4 additions & 3 deletions services/vmysql/add_cloud_mysql_user_list_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
package vmysql

type AddCloudMysqlUserListResponse struct {
RequestId *string `json:"requestId,omitempty"`

ReturnCode *string `json:"returnCode,omitempty"`
RequestId *string `json:"requestId,omitempty"`

ReturnMessage *string `json:"returnMessage,omitempty"`
ReturnCode *string `json:"returnCode,omitempty"`

ReturnMessage *string `json:"returnMessage,omitempty"`
}
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 v2021-11-25T11:37:48Z
// APIClient manages communication with the vmysql API v2024-04-25T10:02:11Z
// In most cases there should be only one, shared, APIClient.
type APIClient struct {
cfg *ncloud.Configuration
Expand Down
8 changes: 4 additions & 4 deletions services/vmysql/api_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ import (

type APIResponse struct {
*http.Response `json:"-"`
Message string `json:"message,omitempty"`
Message string `json:"message,omitempty"`
// Operation is the name of the swagger operation.
Operation string `json:"operation,omitempty"`
Operation string `json:"operation,omitempty"`
// RequestURL is the request URL. This value is always available, even if the
// embedded *http.Response is nil.
RequestURL string `json:"url,omitempty"`
RequestURL string `json:"url,omitempty"`
// Method is the HTTP method used for the request. This value is always
// available, even if the embedded *http.Response is nil.
Method string `json:"method,omitempty"`
Method string `json:"method,omitempty"`
// Payload holds the contents of the response body (which may be nil or empty).
// This is provided here as the raw response.Body() reader will have already
// been drained.
Expand Down
6 changes: 3 additions & 3 deletions services/vmysql/change_cloud_mysql_user_list_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ package vmysql
type ChangeCloudMysqlUserListRequest struct {

// REGION코드
RegionCode *string `json:"regionCode,omitempty"`
RegionCode *string `json:"regionCode,omitempty"`

// CloudMysql인스턴스번호
CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"`
CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"`

// CloudMysqlDBUser리스트
CloudMysqlUserList []*CloudMysqlUserParameter `json:"cloudMysqlUserList"`
CloudMysqlUserList []*CloudMysqlUserParameter `json:"cloudMysqlUserList"`
}
7 changes: 4 additions & 3 deletions services/vmysql/change_cloud_mysql_user_list_response.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
package vmysql

type ChangeCloudMysqlUserListResponse struct {
RequestId *string `json:"requestId,omitempty"`

ReturnCode *string `json:"returnCode,omitempty"`
RequestId *string `json:"requestId,omitempty"`

ReturnMessage *string `json:"returnMessage,omitempty"`
ReturnCode *string `json:"returnCode,omitempty"`

ReturnMessage *string `json:"returnMessage,omitempty"`
}
60 changes: 60 additions & 0 deletions services/vmysql/cloud_db_product.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/*
* vmysql
*
* <br/>https://ncloud.apigw.ntruss.com/vmysql/v2
*
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/

package vmysql

type CloudDbProduct struct {

// 상품코드
ProductCode *string `json:"productCode,omitempty"`

// 상품이름
ProductName *string `json:"productName,omitempty"`

// 상품유형
ProductType *CommonCode `json:"productType,omitempty"`

// 상품설명
ProductDescription *string `json:"productDescription,omitempty"`

// 인프라자원유형
InfraResourceType *CommonCode `json:"infraResourceType,omitempty"`

// 인프라자원상세유형
InfraResourceDetailType *CommonCode `json:"infraResourceDetailType,omitempty"`

// CPU개수
CpuCount *int32 `json:"cpuCount,omitempty"`

// 메모리사이즈
MemorySize *int64 `json:"memorySize,omitempty"`

// 기본블록스토리지사이즈
BaseBlockStorageSize *int64 `json:"baseBlockStorageSize,omitempty"`

// 플랫폼유형
PlatformType *CommonCode `json:"platformType,omitempty"`

// OS정보
OsInformation *string `json:"osInformation,omitempty"`

// 디스크유형
DiskType *CommonCode `json:"diskType,omitempty"`

// DB유형코드
DbKindCode *string `json:"dbKindCode,omitempty"`

// 추가블록스토리지사이즈
AddBlockStorageSize *int64 `json:"addBlockStorageSize,omitempty"`

// 세대코드
GenerationCode *string `json:"generationCode,omitempty"`

// engineVersionCode
EngineVersionCode *string `json:"engineVersionCode,omitempty"`
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@

package vmysql

type ProductList struct {
type CloudDbProductList struct {
}
12 changes: 6 additions & 6 deletions services/vmysql/cloud_mysql_backup.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ package vmysql
type CloudMysqlBackup struct {

// CloudMysql인스턴스번호
CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo,omitempty"`
CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo,omitempty"`

// CloudMysql서비스이름
CloudMysqlServiceName *string `json:"cloudMysqlServiceName,omitempty"`
CloudMysqlServiceName *string `json:"cloudMysqlServiceName,omitempty"`

// 백업파일보관기간
BackupFileRetentionPeriod *int32 `json:"backupFileRetentionPeriod,omitempty"`
BackupFileRetentionPeriod *int32 `json:"backupFileRetentionPeriod,omitempty"`

// 백업시간
BackupTime *string `json:"backupTime,omitempty"`
BackupTime *string `json:"backupTime,omitempty"`

// 백업사이즈
BackupSize *int64 `json:"backupSize,omitempty"`
BackupSize *int64 `json:"backupSize,omitempty"`

// 마지막백업일시
LastBackupDate *string `json:"lastBackupDate,omitempty"`
LastBackupDate *string `json:"lastBackupDate,omitempty"`
}
10 changes: 5 additions & 5 deletions services/vmysql/cloud_mysql_backup_detail.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ package vmysql
type CloudMysqlBackupDetail struct {

// 백업파일이름
FileName *string `json:"fileName,omitempty"`
FileName *string `json:"fileName,omitempty"`

// 백업시작시간
StartTime *string `json:"startTime,omitempty"`
StartTime *string `json:"startTime,omitempty"`

// 백업종료시간
EndTime *string `json:"endTime,omitempty"`
EndTime *string `json:"endTime,omitempty"`

// 백업사이즈
BackupSize *int64 `json:"backupSize,omitempty"`
BackupSize *int64 `json:"backupSize,omitempty"`

// 데이터스토리지사이즈
DataStorageSize *int64 `json:"dataStorageSize,omitempty"`
DataStorageSize *int64 `json:"dataStorageSize,omitempty"`
}
15 changes: 0 additions & 15 deletions services/vmysql/cloud_mysql_backup_detail_list.go

This file was deleted.

15 changes: 0 additions & 15 deletions services/vmysql/cloud_mysql_backup_list.go

This file was deleted.

2 changes: 1 addition & 1 deletion services/vmysql/cloud_mysql_database.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ package vmysql
type CloudMysqlDatabase struct {

// database이름
DatabaseName *string `json:"databaseName,omitempty"`
DatabaseName *string `json:"databaseName,omitempty"`
}
15 changes: 0 additions & 15 deletions services/vmysql/cloud_mysql_database_list.go

This file was deleted.

6 changes: 3 additions & 3 deletions services/vmysql/cloud_mysql_db_server_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ package vmysql
type CloudMysqlDbServerLog struct {

// 데이터베이스서버로그파일이름
FileName *string `json:"fileName,omitempty"`
FileName *string `json:"fileName,omitempty"`

// 데이터베이스서버로그파일사이즈
FileSize *int64 `json:"fileSize,omitempty"`
FileSize *int64 `json:"fileSize,omitempty"`

// 데이터베이스서버로그파일수정일시
FileDate *string `json:"fileDate,omitempty"`
FileDate *string `json:"fileDate,omitempty"`
}
Loading

0 comments on commit 770bf1a

Please sign in to comment.