diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..a4bb475e --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.go text eol=lf +*.md text eol=lf diff --git a/.gitignore b/.gitignore index 5c740aec..64913efd 100644 --- a/.gitignore +++ b/.gitignore @@ -28,4 +28,7 @@ vendor/github.com vendor/golang.org vendor/gopkg.in -.idea \ No newline at end of file +.idea + +# vscode +.DS_Store diff --git a/services/vmongodb/.DS_Store b/services/vmongodb/.DS_Store deleted file mode 100644 index bb39ce0d..00000000 Binary files a/services/vmongodb/.DS_Store and /dev/null differ diff --git a/services/vmysql/README.md b/services/vmysql/README.md index 9a94d115..ad90c3f3 100644 --- a/services/vmysql/README.md +++ b/services/vmysql/README.md @@ -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 @@ -41,6 +41,8 @@ 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 | @@ -48,26 +50,25 @@ Class | Method | HTTP request | Description ## 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) @@ -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) diff --git a/services/vmysql/add_cloud_mysql_database_list_request.go b/services/vmysql/add_cloud_mysql_database_list_request.go index aea474fe..997b024b 100644 --- a/services/vmysql/add_cloud_mysql_database_list_request.go +++ b/services/vmysql/add_cloud_mysql_database_list_request.go @@ -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"` } diff --git a/services/vmysql/add_cloud_mysql_database_list_response.go b/services/vmysql/add_cloud_mysql_database_list_response.go index 41303d11..4ae528ca 100644 --- a/services/vmysql/add_cloud_mysql_database_list_response.go +++ b/services/vmysql/add_cloud_mysql_database_list_response.go @@ -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"` } diff --git a/services/vmysql/add_cloud_mysql_user_list_request.go b/services/vmysql/add_cloud_mysql_user_list_request.go index 0e91b52f..1cd46abb 100644 --- a/services/vmysql/add_cloud_mysql_user_list_request.go +++ b/services/vmysql/add_cloud_mysql_user_list_request.go @@ -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"` } diff --git a/services/vmysql/add_cloud_mysql_user_list_response.go b/services/vmysql/add_cloud_mysql_user_list_response.go index 1e771ef1..6120bd90 100644 --- a/services/vmysql/add_cloud_mysql_user_list_response.go +++ b/services/vmysql/add_cloud_mysql_user_list_response.go @@ -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"` } diff --git a/services/vmysql/api_client.go b/services/vmysql/api_client.go index 08cc9a59..676b76d8 100644 --- a/services/vmysql/api_client.go +++ b/services/vmysql/api_client.go @@ -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 diff --git a/services/vmysql/api_response.go b/services/vmysql/api_response.go index a5c1d034..09d8503a 100644 --- a/services/vmysql/api_response.go +++ b/services/vmysql/api_response.go @@ -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. diff --git a/services/vmysql/change_cloud_mysql_user_list_request.go b/services/vmysql/change_cloud_mysql_user_list_request.go index ccf178aa..edacd9d7 100644 --- a/services/vmysql/change_cloud_mysql_user_list_request.go +++ b/services/vmysql/change_cloud_mysql_user_list_request.go @@ -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"` } diff --git a/services/vmysql/change_cloud_mysql_user_list_response.go b/services/vmysql/change_cloud_mysql_user_list_response.go index c54ad1be..27f057b6 100644 --- a/services/vmysql/change_cloud_mysql_user_list_response.go +++ b/services/vmysql/change_cloud_mysql_user_list_response.go @@ -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"` } diff --git a/services/vmysql/cloud_db_product.go b/services/vmysql/cloud_db_product.go new file mode 100644 index 00000000..24f5c9d4 --- /dev/null +++ b/services/vmysql/cloud_db_product.go @@ -0,0 +1,60 @@ +/* + * vmysql + * + *
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"` +} diff --git a/services/vmysql/product_list.go b/services/vmysql/cloud_db_product_list.go similarity index 84% rename from services/vmysql/product_list.go rename to services/vmysql/cloud_db_product_list.go index 5f96f05d..f60937df 100644 --- a/services/vmysql/product_list.go +++ b/services/vmysql/cloud_db_product_list.go @@ -8,5 +8,5 @@ package vmysql -type ProductList struct { +type CloudDbProductList struct { } diff --git a/services/vmysql/cloud_mysql_backup.go b/services/vmysql/cloud_mysql_backup.go index a60034b8..2034c0ff 100644 --- a/services/vmysql/cloud_mysql_backup.go +++ b/services/vmysql/cloud_mysql_backup.go @@ -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"` } diff --git a/services/vmysql/cloud_mysql_backup_detail.go b/services/vmysql/cloud_mysql_backup_detail.go index eee48d0e..48cee0a5 100644 --- a/services/vmysql/cloud_mysql_backup_detail.go +++ b/services/vmysql/cloud_mysql_backup_detail.go @@ -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"` } diff --git a/services/vmysql/cloud_mysql_backup_detail_list.go b/services/vmysql/cloud_mysql_backup_detail_list.go deleted file mode 100644 index 9942488d..00000000 --- a/services/vmysql/cloud_mysql_backup_detail_list.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * vmysql - * - *
https://ncloud.apigw.ntruss.com/vmysql/v2 - * - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package vmysql - -type CloudMysqlBackupDetailList struct { - - // CloudMysql백업상세리스트 - CloudMysqlBackupDetailList []*CloudMysqlBackupDetail `json:"cloudMysqlBackupDetailList,omitempty"` -} diff --git a/services/vmysql/cloud_mysql_backup_list.go b/services/vmysql/cloud_mysql_backup_list.go deleted file mode 100644 index c1894b9e..00000000 --- a/services/vmysql/cloud_mysql_backup_list.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * vmysql - * - *
https://ncloud.apigw.ntruss.com/vmysql/v2 - * - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package vmysql - -type CloudMysqlBackupList struct { - - // CloudMysql백업리스트 - CloudMysqlBackupList []*CloudMysqlBackup `json:"cloudMysqlBackupList,omitempty"` -} diff --git a/services/vmysql/cloud_mysql_database.go b/services/vmysql/cloud_mysql_database.go index a0704a25..90cb7d43 100644 --- a/services/vmysql/cloud_mysql_database.go +++ b/services/vmysql/cloud_mysql_database.go @@ -11,5 +11,5 @@ package vmysql type CloudMysqlDatabase struct { // database이름 - DatabaseName *string `json:"databaseName,omitempty"` +DatabaseName *string `json:"databaseName,omitempty"` } diff --git a/services/vmysql/cloud_mysql_database_list.go b/services/vmysql/cloud_mysql_database_list.go deleted file mode 100644 index 0e55034b..00000000 --- a/services/vmysql/cloud_mysql_database_list.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * vmysql - * - *
https://ncloud.apigw.ntruss.com/vmysql/v2 - * - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package vmysql - -type CloudMysqlDatabaseList struct { - - // CloudMysqlDatabase리스트 - CloudMysqlDatabaseList []*CloudMysqlDatabase `json:"cloudMysqlDatabaseList,omitempty"` -} diff --git a/services/vmysql/cloud_mysql_db_server_log.go b/services/vmysql/cloud_mysql_db_server_log.go index 0a6b5cfa..38c1d2c8 100644 --- a/services/vmysql/cloud_mysql_db_server_log.go +++ b/services/vmysql/cloud_mysql_db_server_log.go @@ -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"` } diff --git a/services/vmysql/cloud_mysql_db_server_log_list.go b/services/vmysql/cloud_mysql_db_server_log_list.go deleted file mode 100644 index ec6b9d60..00000000 --- a/services/vmysql/cloud_mysql_db_server_log_list.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * vmysql - * - *
https://ncloud.apigw.ntruss.com/vmysql/v2 - * - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package vmysql - -type CloudMysqlDbServerLogList struct { - - // CloudMysql데이터베이스서버로그리스트 -CloudMysqlDbServerLogList []*CloudMysqlDbServerLog `json:"cloudMysqlDbServerLogList,omitempty"` -} diff --git a/services/vmysql/cloud_mysql_instance.go b/services/vmysql/cloud_mysql_instance.go index 9bbc039f..e35ce61f 100644 --- a/services/vmysql/cloud_mysql_instance.go +++ b/services/vmysql/cloud_mysql_instance.go @@ -11,56 +11,59 @@ package vmysql type CloudMysqlInstance struct { // CloudMysql인스턴스번호 - CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo,omitempty"` +CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo,omitempty"` // CloudMysql서비스이름 - CloudMysqlServiceName *string `json:"cloudMysqlServiceName,omitempty"` +CloudMysqlServiceName *string `json:"cloudMysqlServiceName,omitempty"` // CloudMysql인스턴스상태이름 - CloudMysqlInstanceStatusName *string `json:"cloudMysqlInstanceStatusName,omitempty"` +CloudMysqlInstanceStatusName *string `json:"cloudMysqlInstanceStatusName,omitempty"` // CloudMysql인스턴스상태 - CloudMysqlInstanceStatus *CommonCode `json:"cloudMysqlInstanceStatus,omitempty"` +CloudMysqlInstanceStatus *CommonCode `json:"cloudMysqlInstanceStatus,omitempty"` // CloudMysql인스턴스OP - CloudMysqlInstanceOperation *CommonCode `json:"cloudMysqlInstanceOperation,omitempty"` +CloudMysqlInstanceOperation *CommonCode `json:"cloudMysqlInstanceOperation,omitempty"` // CloudMysql이미지상품코드 - CloudMysqlImageProductCode *string `json:"cloudMysqlImageProductCode,omitempty"` +CloudMysqlImageProductCode *string `json:"cloudMysqlImageProductCode,omitempty"` // CloudMysql엔진버전 - EngineVersion *string `json:"engineVersion,omitempty"` +EngineVersion *string `json:"engineVersion,omitempty"` // CloudMysql라이선스 - License *CommonCode `json:"license,omitempty"` +License *CommonCode `json:"license,omitempty"` // CloudMysql포트 - CloudMysqlPort *int32 `json:"cloudMysqlPort,omitempty"` +CloudMysqlPort *int32 `json:"cloudMysqlPort,omitempty"` // 고가용성여부 - IsHa *bool `json:"isHa,omitempty"` +IsHa *bool `json:"isHa,omitempty"` // 멀티존여부 - IsMultiZone *bool `json:"isMultiZone,omitempty"` +IsMultiZone *bool `json:"isMultiZone,omitempty"` + + // 서버 세대 코드 +GenerationCode *string `json:"generationCode,omitempty"` // 백업여부 - IsBackup *bool `json:"isBackup,omitempty"` +IsBackup *bool `json:"isBackup,omitempty"` // 백업파일보관기간 - BackupFileRetentionPeriod *int32 `json:"backupFileRetentionPeriod,omitempty"` +BackupFileRetentionPeriod *int32 `json:"backupFileRetentionPeriod,omitempty"` // 백업시간 - BackupTime *string `json:"backupTime,omitempty"` +BackupTime *string `json:"backupTime,omitempty"` // 생성일자 - CreateDate *string `json:"createDate,omitempty"` +CreateDate *string `json:"createDate,omitempty"` // ACG번호리스트 - AccessControlGroupNoList []*string `json:"accessControlGroupNoList,omitempty"` +AccessControlGroupNoList *AccessControlGroupNoList `json:"accessControlGroupNoList,omitempty"` // CloudMysqlConfig리스트 - CloudMysqlConfigList []*string `json:"cloudMysqlConfigList,omitempty"` +CloudMysqlConfigList *CloudMysqlConfigList `json:"cloudMysqlConfigList,omitempty"` // CloudMysql서버인스턴스리스트 - CloudMysqlServerInstanceList []*CloudMysqlServerInstance `json:"cloudMysqlServerInstanceList,omitempty"` +CloudMysqlServerInstanceList []*CloudMysqlServerInstance `json:"cloudMysqlServerInstanceList,omitempty"` } diff --git a/services/vmysql/cloud_mysql_instance_list.go b/services/vmysql/cloud_mysql_instance_list.go deleted file mode 100644 index 87f9d5e9..00000000 --- a/services/vmysql/cloud_mysql_instance_list.go +++ /dev/null @@ -1,15 +0,0 @@ -/* - * vmysql - * - *
https://ncloud.apigw.ntruss.com/vmysql/v2 - * - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package vmysql - -type CloudMysqlInstanceList struct { - - // CloudMysql인스턴스리스트 - CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` -} diff --git a/services/vmysql/cloud_mysql_recovery_time.go b/services/vmysql/cloud_mysql_recovery_time.go index 71e3c249..d079a4d5 100644 --- a/services/vmysql/cloud_mysql_recovery_time.go +++ b/services/vmysql/cloud_mysql_recovery_time.go @@ -11,8 +11,8 @@ package vmysql type CloudMysqlRecoveryTime struct { // 시점복원가능한시작시간 - RecoveryStartTime *string `json:"recoveryStartTime,omitempty"` +RecoveryStartTime *string `json:"recoveryStartTime,omitempty"` // 시점복원가능한마지막시간 - RecoveryEndTime *string `json:"recoveryEndTime,omitempty"` +RecoveryEndTime *string `json:"recoveryEndTime,omitempty"` } diff --git a/services/vmysql/cloud_mysql_server_instance.go b/services/vmysql/cloud_mysql_server_instance.go index 0952fffd..7c49a847 100644 --- a/services/vmysql/cloud_mysql_server_instance.go +++ b/services/vmysql/cloud_mysql_server_instance.go @@ -11,68 +11,71 @@ package vmysql type CloudMysqlServerInstance struct { // CloudMysql서버인스턴스번호 - CloudMysqlServerInstanceNo *string `json:"cloudMysqlServerInstanceNo,omitempty"` +CloudMysqlServerInstanceNo *string `json:"cloudMysqlServerInstanceNo,omitempty"` // CloudMysql서버이름 - CloudMysqlServerName *string `json:"cloudMysqlServerName,omitempty"` +CloudMysqlServerName *string `json:"cloudMysqlServerName,omitempty"` // CloudMysql서버역할 - CloudMysqlServerRole *CommonCode `json:"cloudMysqlServerRole,omitempty"` +CloudMysqlServerRole *CommonCode `json:"cloudMysqlServerRole,omitempty"` // CloudMysql인스턴스상태이름 - CloudMysqlServerInstanceStatusName *string `json:"cloudMysqlServerInstanceStatusName,omitempty"` +CloudMysqlServerInstanceStatusName *string `json:"cloudMysqlServerInstanceStatusName,omitempty"` // CloudMysql서버인스턴스상태 - CloudMysqlServerInstanceStatus *CommonCode `json:"cloudMysqlServerInstanceStatus,omitempty"` +CloudMysqlServerInstanceStatus *CommonCode `json:"cloudMysqlServerInstanceStatus,omitempty"` // CloudMysql서버인스턴스OP - CloudMysqlServerInstanceOperation *CommonCode `json:"cloudMysqlServerInstanceOperation,omitempty"` +CloudMysqlServerInstanceOperation *CommonCode `json:"cloudMysqlServerInstanceOperation,omitempty"` // CloudMysql상품코드 - CloudMysqlProductCode *string `json:"cloudMysqlProductCode,omitempty"` +CloudMysqlProductCode *string `json:"cloudMysqlProductCode,omitempty"` // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // ZONE코드 - ZoneCode *string `json:"zoneCode,omitempty"` +ZoneCode *string `json:"zoneCode,omitempty"` // VPC번호 - VpcNo *string `json:"vpcNo,omitempty"` +VpcNo *string `json:"vpcNo,omitempty"` // Subnet번호 - SubnetNo *string `json:"subnetNo,omitempty"` +SubnetNo *string `json:"subnetNo,omitempty"` // PublicSubnet여부 - IsPublicSubnet *bool `json:"isPublicSubnet,omitempty"` +IsPublicSubnet *bool `json:"isPublicSubnet,omitempty"` // 공인도메인명 - PublicDomain *string `json:"publicDomain,omitempty"` +PublicDomain *string `json:"publicDomain,omitempty"` // 사설도메인명 - PrivateDomain *string `json:"privateDomain,omitempty"` +PrivateDomain *string `json:"privateDomain,omitempty"` + + // 내부IP +PrivateIp *string `json:"privateIp,omitempty"` // 데이터스토리지타입 - DataStorageType *CommonCode `json:"dataStorageType,omitempty"` +DataStorageType *CommonCode `json:"dataStorageType,omitempty"` // 데이터스토리지암호화여부 - IsStorageEncryption *bool `json:"isStorageEncryption,omitempty"` +IsStorageEncryption *bool `json:"isStorageEncryption,omitempty"` // 데이터스토리지사이즈 - DataStorageSize *int64 `json:"dataStorageSize,omitempty"` +DataStorageSize *int64 `json:"dataStorageSize,omitempty"` // 사용중인데이터스토리지사이즈 - UsedDataStorageSize *int64 `json:"usedDataStorageSize,omitempty"` +UsedDataStorageSize *int64 `json:"usedDataStorageSize,omitempty"` // virtualCPU개수 - CpuCount *int32 `json:"cpuCount,omitempty"` +CpuCount *int32 `json:"cpuCount,omitempty"` // 메모리사이즈 - MemorySize *int64 `json:"memorySize,omitempty"` +MemorySize *int64 `json:"memorySize,omitempty"` // 업시간 - Uptime *string `json:"uptime,omitempty"` +Uptime *string `json:"uptime,omitempty"` // 생성일자 - CreateDate *string `json:"createDate,omitempty"` +CreateDate *string `json:"createDate,omitempty"` } diff --git a/services/vmysql/cloud_mysql_user.go b/services/vmysql/cloud_mysql_user.go index 84aa3cdf..9009d561 100644 --- a/services/vmysql/cloud_mysql_user.go +++ b/services/vmysql/cloud_mysql_user.go @@ -11,11 +11,11 @@ package vmysql type CloudMysqlUser struct { // DBUserID - UserName *string `json:"userName,omitempty"` +UserName *string `json:"userName,omitempty"` // 접근IP - HostIp *string `json:"hostIp,omitempty"` +HostIp *string `json:"hostIp,omitempty"` // DB권한 - Authority *string `json:"authority,omitempty"` +Authority *string `json:"authority,omitempty"` } diff --git a/services/vmysql/cloud_mysql_user_key_parameter.go b/services/vmysql/cloud_mysql_user_key_parameter.go index 65f904a1..573da676 100644 --- a/services/vmysql/cloud_mysql_user_key_parameter.go +++ b/services/vmysql/cloud_mysql_user_key_parameter.go @@ -11,8 +11,8 @@ package vmysql type CloudMysqlUserKeyParameter struct { // DBUserID - Name *string `json:"name"` +Name *string `json:"name"` // 접근IP - HostIp *string `json:"hostIp"` +HostIp *string `json:"hostIp"` } diff --git a/services/vmysql/cloud_mysql_user_parameter.go b/services/vmysql/cloud_mysql_user_parameter.go index 52325e49..c9f0df8a 100644 --- a/services/vmysql/cloud_mysql_user_parameter.go +++ b/services/vmysql/cloud_mysql_user_parameter.go @@ -11,14 +11,14 @@ package vmysql type CloudMysqlUserParameter struct { // DBUserID - Name *string `json:"name"` +Name *string `json:"name"` // 접근IP - HostIp *string `json:"hostIp"` +HostIp *string `json:"hostIp"` // DBUserPassword - Password *string `json:"password"` +Password *string `json:"password"` // DB권한 - Authority *string `json:"authority"` +Authority *string `json:"authority"` } diff --git a/services/vmysql/common_code.go b/services/vmysql/common_code.go index e0e630cd..8c7e553b 100644 --- a/services/vmysql/common_code.go +++ b/services/vmysql/common_code.go @@ -11,8 +11,8 @@ package vmysql type CommonCode struct { // 코드 - Code *string `json:"code,omitempty"` +Code *string `json:"code,omitempty"` // 코드명 - CodeName *string `json:"codeName,omitempty"` +CodeName *string `json:"codeName,omitempty"` } diff --git a/services/vmysql/configuration.go b/services/vmysql/configuration.go index edf01784..4765271b 100644 --- a/services/vmysql/configuration.go +++ b/services/vmysql/configuration.go @@ -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.0/go", + UserAgent: "vmysql/1.0.1/go", } if len(apiKeys) > 0 { cfg.APIKey = apiKeys[0] diff --git a/services/vmysql/create_cloud_mysql_instance_request.go b/services/vmysql/create_cloud_mysql_instance_request.go index 1d7bf579..2a4cc1b1 100644 --- a/services/vmysql/create_cloud_mysql_instance_request.go +++ b/services/vmysql/create_cloud_mysql_instance_request.go @@ -11,65 +11,74 @@ package vmysql type CreateCloudMysqlInstanceRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // VPC번호 - VpcNo *string `json:"vpcNo"` +VpcNo *string `json:"vpcNo"` // CloudMysql이미지상품코드 - CloudMysqlImageProductCode *string `json:"cloudMysqlImageProductCode,omitempty"` +CloudMysqlImageProductCode *string `json:"cloudMysqlImageProductCode,omitempty"` // CloudMysql상품코드 - CloudMysqlProductCode *string `json:"cloudMysqlProductCode,omitempty"` +CloudMysqlProductCode *string `json:"cloudMysqlProductCode,omitempty"` // 데이터스토리지유형코드 - DataStorageTypeCode *string `json:"dataStorageTypeCode,omitempty"` +DataStorageTypeCode *string `json:"dataStorageTypeCode,omitempty"` // 고가용성여부 - IsHa *bool `json:"isHa,omitempty"` +IsHa *bool `json:"isHa,omitempty"` // 멀티존여부 - IsMultiZone *bool `json:"isMultiZone,omitempty"` +IsMultiZone *bool `json:"isMultiZone,omitempty"` // 데이터스토리지암호화여부 - IsStorageEncryption *bool `json:"isStorageEncryption,omitempty"` +IsStorageEncryption *bool `json:"isStorageEncryption,omitempty"` // 백업여부 - IsBackup *bool `json:"isBackup,omitempty"` +IsBackup *bool `json:"isBackup,omitempty"` // 백업파일보관기간 - BackupFileRetentionPeriod *int32 `json:"backupFileRetentionPeriod,omitempty"` +BackupFileRetentionPeriod *int32 `json:"backupFileRetentionPeriod,omitempty"` // 백업시간 - BackupTime *string `json:"backupTime,omitempty"` +BackupTime *string `json:"backupTime,omitempty"` // 백업시간자동여부 - IsAutomaticBackup *bool `json:"isAutomaticBackup,omitempty"` +IsAutomaticBackup *bool `json:"isAutomaticBackup,omitempty"` // CloudMysql서비스이름 - CloudMysqlServiceName *string `json:"cloudMysqlServiceName"` +CloudMysqlServiceName *string `json:"cloudMysqlServiceName"` // CloudMysql서버이름 - CloudMysqlServerNamePrefix *string `json:"cloudMysqlServerNamePrefix"` +CloudMysqlServerNamePrefix *string `json:"cloudMysqlServerNamePrefix"` // CloudMysql유저명 - CloudMysqlUserName *string `json:"cloudMysqlUserName"` +CloudMysqlUserName *string `json:"cloudMysqlUserName"` // CloudMysql유저패스워드 - CloudMysqlUserPassword *string `json:"cloudMysqlUserPassword"` +CloudMysqlUserPassword *string `json:"cloudMysqlUserPassword"` // 호스트IP - HostIp *string `json:"hostIp"` +HostIp *string `json:"hostIp"` // CloudMysql포트 - CloudMysqlPort *int32 `json:"cloudMysqlPort,omitempty"` +CloudMysqlPort *int32 `json:"cloudMysqlPort,omitempty"` // CloudMysqlDB명 - CloudMysqlDatabaseName *string `json:"cloudMysqlDatabaseName"` +CloudMysqlDatabaseName *string `json:"cloudMysqlDatabaseName"` // Subnet번호 - SubnetNo *string `json:"subnetNo"` +SubnetNo *string `json:"subnetNo"` // StandbyMasterSubnet번호 - StandbyMasterSubnetNo *string `json:"standbyMasterSubnetNo,omitempty"` +StandbyMasterSubnetNo *string `json:"standbyMasterSubnetNo,omitempty"` + + // privateSubDomain사용여부 +IsPrivateSubDomain *bool `json:"isPrivateSubDomain,omitempty"` + + // privateSubDomain접두어 +PrivateSubDomainPrefix *string `json:"privateSubDomainPrefix,omitempty"` + + // engineVersionCode +EngineVersionCode *string `json:"engineVersionCode,omitempty"` } diff --git a/services/vmysql/create_cloud_mysql_instance_response.go b/services/vmysql/create_cloud_mysql_instance_response.go index 0c9d55f2..c49b4000 100644 --- a/services/vmysql/create_cloud_mysql_instance_response.go +++ b/services/vmysql/create_cloud_mysql_instance_response.go @@ -9,14 +9,15 @@ package vmysql type CreateCloudMysqlInstanceResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // CloudMysql인스턴스리스트 - CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` +CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` } diff --git a/services/vmysql/create_cloud_mysql_recovery_instance_request.go b/services/vmysql/create_cloud_mysql_recovery_instance_request.go index 02f51d61..16b10ebc 100644 --- a/services/vmysql/create_cloud_mysql_recovery_instance_request.go +++ b/services/vmysql/create_cloud_mysql_recovery_instance_request.go @@ -11,20 +11,20 @@ package vmysql type CreateCloudMysqlRecoveryInstanceRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // Subnet번호 - SubnetNo *string `json:"subnetNo,omitempty"` +SubnetNo *string `json:"subnetNo,omitempty"` // 백업파일이름 - FileName *string `json:"fileName,omitempty"` +FileName *string `json:"fileName,omitempty"` // 복원시간 - RecoveryTime *string `json:"recoveryTime,omitempty"` +RecoveryTime *string `json:"recoveryTime,omitempty"` // CloudMysql인스턴스번호 - CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` +CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` // CloudMysqlRecovery서버이름 - CloudMysqlRecoveryServerName *string `json:"cloudMysqlRecoveryServerName"` +CloudMysqlRecoveryServerName *string `json:"cloudMysqlRecoveryServerName"` } diff --git a/services/vmysql/create_cloud_mysql_recovery_instance_response.go b/services/vmysql/create_cloud_mysql_recovery_instance_response.go index 0fec014d..56668aa0 100644 --- a/services/vmysql/create_cloud_mysql_recovery_instance_response.go +++ b/services/vmysql/create_cloud_mysql_recovery_instance_response.go @@ -9,14 +9,15 @@ package vmysql type CreateCloudMysqlRecoveryInstanceResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // CloudMysql인스턴스리스트 - CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` +CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` } diff --git a/services/vmysql/create_cloud_mysql_slave_instance_request.go b/services/vmysql/create_cloud_mysql_slave_instance_request.go index d8d38a61..4b6e7e8d 100644 --- a/services/vmysql/create_cloud_mysql_slave_instance_request.go +++ b/services/vmysql/create_cloud_mysql_slave_instance_request.go @@ -11,11 +11,11 @@ package vmysql type CreateCloudMysqlSlaveInstanceRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // Subnet번호 - SubnetNo *string `json:"subnetNo,omitempty"` +SubnetNo *string `json:"subnetNo,omitempty"` // CloudMysql인스턴스번호 - CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` +CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` } diff --git a/services/vmysql/create_cloud_mysql_slave_instance_response.go b/services/vmysql/create_cloud_mysql_slave_instance_response.go index 646f86d3..40a8969c 100644 --- a/services/vmysql/create_cloud_mysql_slave_instance_response.go +++ b/services/vmysql/create_cloud_mysql_slave_instance_response.go @@ -9,14 +9,15 @@ package vmysql type CreateCloudMysqlSlaveInstanceResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // CloudMysql인스턴스리스트 - CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` +CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` } diff --git a/services/vmysql/delete_cloud_mysql_database_list_request.go b/services/vmysql/delete_cloud_mysql_database_list_request.go index 78b3ad79..78a9856d 100644 --- a/services/vmysql/delete_cloud_mysql_database_list_request.go +++ b/services/vmysql/delete_cloud_mysql_database_list_request.go @@ -11,11 +11,11 @@ package vmysql type DeleteCloudMysqlDatabaseListRequest 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"` } diff --git a/services/vmysql/delete_cloud_mysql_database_list_response.go b/services/vmysql/delete_cloud_mysql_database_list_response.go index fc0f7810..26e0de7c 100644 --- a/services/vmysql/delete_cloud_mysql_database_list_response.go +++ b/services/vmysql/delete_cloud_mysql_database_list_response.go @@ -9,9 +9,10 @@ package vmysql type DeleteCloudMysqlDatabaseListResponse 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"` } diff --git a/services/vmysql/delete_cloud_mysql_instance_request.go b/services/vmysql/delete_cloud_mysql_instance_request.go index f9787fdc..680e5a4e 100644 --- a/services/vmysql/delete_cloud_mysql_instance_request.go +++ b/services/vmysql/delete_cloud_mysql_instance_request.go @@ -11,8 +11,8 @@ package vmysql type DeleteCloudMysqlInstanceRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // CloudMysql인스턴스번호 - CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` +CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` } diff --git a/services/vmysql/delete_cloud_mysql_instance_response.go b/services/vmysql/delete_cloud_mysql_instance_response.go index 16315b28..1dc832db 100644 --- a/services/vmysql/delete_cloud_mysql_instance_response.go +++ b/services/vmysql/delete_cloud_mysql_instance_response.go @@ -9,14 +9,15 @@ package vmysql type DeleteCloudMysqlInstanceResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // CloudMysql인스턴스리스트 - CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` +CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` } diff --git a/services/vmysql/delete_cloud_mysql_server_instance_request.go b/services/vmysql/delete_cloud_mysql_server_instance_request.go index c8566ae9..acd98347 100644 --- a/services/vmysql/delete_cloud_mysql_server_instance_request.go +++ b/services/vmysql/delete_cloud_mysql_server_instance_request.go @@ -11,8 +11,8 @@ package vmysql type DeleteCloudMysqlServerInstanceRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // CloudMysql서버인스턴스번호 - CloudMysqlServerInstanceNo *string `json:"cloudMysqlServerInstanceNo"` +CloudMysqlServerInstanceNo *string `json:"cloudMysqlServerInstanceNo"` } diff --git a/services/vmysql/delete_cloud_mysql_server_instance_response.go b/services/vmysql/delete_cloud_mysql_server_instance_response.go index a8f669ce..9378f744 100644 --- a/services/vmysql/delete_cloud_mysql_server_instance_response.go +++ b/services/vmysql/delete_cloud_mysql_server_instance_response.go @@ -9,14 +9,15 @@ package vmysql type DeleteCloudMysqlServerInstanceResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // CloudMysql인스턴스리스트 - CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` +CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` } diff --git a/services/vmysql/delete_cloud_mysql_user_list_request.go b/services/vmysql/delete_cloud_mysql_user_list_request.go index 6fb9e7bd..8ed69627 100644 --- a/services/vmysql/delete_cloud_mysql_user_list_request.go +++ b/services/vmysql/delete_cloud_mysql_user_list_request.go @@ -11,11 +11,11 @@ package vmysql type DeleteCloudMysqlUserListRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // CloudMysql인스턴스번호 - CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` +CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` // CloudMysqlDBUser리스트 - CloudMysqlUserList []*CloudMysqlUserKeyParameter `json:"cloudMysqlUserList"` +CloudMysqlUserList []*CloudMysqlUserKeyParameter `json:"cloudMysqlUserList"` } diff --git a/services/vmysql/delete_cloud_mysql_user_list_response.go b/services/vmysql/delete_cloud_mysql_user_list_response.go index 4de1f436..f34437f7 100644 --- a/services/vmysql/delete_cloud_mysql_user_list_response.go +++ b/services/vmysql/delete_cloud_mysql_user_list_response.go @@ -9,9 +9,10 @@ package vmysql type DeleteCloudMysqlUserListResponse 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"` } diff --git a/services/vmysql/docs/Product.md b/services/vmysql/docs/CloudDbProduct.md similarity index 93% rename from services/vmysql/docs/Product.md rename to services/vmysql/docs/CloudDbProduct.md index b81cf51b..200e6b95 100644 --- a/services/vmysql/docs/Product.md +++ b/services/vmysql/docs/CloudDbProduct.md @@ -1,4 +1,4 @@ -# Product +# CloudDbProduct ## Properties Name | Type | Description | Notes @@ -18,6 +18,7 @@ Name | Type | Description | Notes **DbKindCode** | ***string** | DB유형코드 | [optional] [default to null] **AddBlockStorageSize** | ***int64** | 추가블록스토리지사이즈 | [optional] [default to null] **GenerationCode** | ***string** | 세대코드 | [optional] [default to null] +**EngineVersionCode** | ***string** | engineVersionCode | [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) diff --git a/services/vmysql/docs/ProductList.md b/services/vmysql/docs/CloudDbProductList.md similarity index 92% rename from services/vmysql/docs/ProductList.md rename to services/vmysql/docs/CloudDbProductList.md index bef84e78..1173a06d 100644 --- a/services/vmysql/docs/ProductList.md +++ b/services/vmysql/docs/CloudDbProductList.md @@ -1,4 +1,4 @@ -# ProductList +# CloudDbProductList ## Properties Name | Type | Description | Notes diff --git a/services/vmysql/docs/CloudMysqlBackupDetailList.md b/services/vmysql/docs/CloudMysqlBackupDetailList.md deleted file mode 100644 index b34a25cc..00000000 --- a/services/vmysql/docs/CloudMysqlBackupDetailList.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudMysqlBackupDetailList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**CloudMysqlBackupDetailList** | **[[]\*CloudMysqlBackupDetail](CloudMysqlBackupDetail.md)** | CloudMysql백업상세리스트 | [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) - - diff --git a/services/vmysql/docs/CloudMysqlBackupList.md b/services/vmysql/docs/CloudMysqlBackupList.md deleted file mode 100644 index 601fd9fb..00000000 --- a/services/vmysql/docs/CloudMysqlBackupList.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudMysqlBackupList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**CloudMysqlBackupList** | **[[]\*CloudMysqlBackup](CloudMysqlBackup.md)** | CloudMysql백업리스트 | [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) - - diff --git a/services/vmysql/docs/CloudMysqlDatabaseList.md b/services/vmysql/docs/CloudMysqlDatabaseList.md deleted file mode 100644 index f1c8fee0..00000000 --- a/services/vmysql/docs/CloudMysqlDatabaseList.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudMysqlDatabaseList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**CloudMysqlDatabaseList** | **[[]\*CloudMysqlDatabase](CloudMysqlDatabase.md)** | CloudMysqlDatabase리스트 | [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) - - diff --git a/services/vmysql/docs/CloudMysqlDbServerLogList.md b/services/vmysql/docs/CloudMysqlDbServerLogList.md deleted file mode 100644 index 370ac02d..00000000 --- a/services/vmysql/docs/CloudMysqlDbServerLogList.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudMysqlDbServerLogList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**CloudMysqlDbServerLogList** | **[[]\*CloudMysqlDbServerLog](CloudMysqlDbServerLog.md)** | CloudMysql데이터베이스서버로그리스트 | [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) - - diff --git a/services/vmysql/docs/CloudMysqlInstance.md b/services/vmysql/docs/CloudMysqlInstance.md index 3acbae19..90461bfb 100644 --- a/services/vmysql/docs/CloudMysqlInstance.md +++ b/services/vmysql/docs/CloudMysqlInstance.md @@ -14,12 +14,13 @@ Name | Type | Description | Notes **CloudMysqlPort** | ***int32** | CloudMysql포트 | [optional] [default to null] **IsHa** | ***bool** | 고가용성여부 | [optional] [default to null] **IsMultiZone** | ***bool** | 멀티존여부 | [optional] [default to null] +**GenerationCode** | ***string** | 서버 세대 코드 | [optional] [default to null] **IsBackup** | ***bool** | 백업여부 | [optional] [default to null] **BackupFileRetentionPeriod** | ***int32** | 백업파일보관기간 | [optional] [default to null] **BackupTime** | ***string** | 백업시간 | [optional] [default to null] **CreateDate** | ***string** | 생성일자 | [optional] [default to null] -**AccessControlGroupNoList** | **[]\*string** | ACG번호리스트 | [optional] [default to null] -**CloudMysqlConfigList** | **[]\*string** | CloudMysqlConfig리스트 | [optional] [default to null] +**AccessControlGroupNoList** | **[*AccessControlGroupNoList](AccessControlGroupNoList.md)** | ACG번호리스트 | [optional] [default to null] +**CloudMysqlConfigList** | **[*CloudMysqlConfigList](CloudMysqlConfigList.md)** | CloudMysqlConfig리스트 | [optional] [default to null] **CloudMysqlServerInstanceList** | **[[]\*CloudMysqlServerInstance](CloudMysqlServerInstance.md)** | CloudMysql서버인스턴스리스트 | [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) diff --git a/services/vmysql/docs/CloudMysqlInstanceList.md b/services/vmysql/docs/CloudMysqlInstanceList.md deleted file mode 100644 index a9bcf4a7..00000000 --- a/services/vmysql/docs/CloudMysqlInstanceList.md +++ /dev/null @@ -1,10 +0,0 @@ -# CloudMysqlInstanceList - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**CloudMysqlInstanceList** | **[[]\*CloudMysqlInstance](CloudMysqlInstance.md)** | CloudMysql인스턴스리스트 | [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) - - diff --git a/services/vmysql/docs/CloudMysqlServerInstance.md b/services/vmysql/docs/CloudMysqlServerInstance.md index 3ddabc3d..d279ccbc 100644 --- a/services/vmysql/docs/CloudMysqlServerInstance.md +++ b/services/vmysql/docs/CloudMysqlServerInstance.md @@ -17,6 +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] **DataStorageType** | **[*CommonCode](CommonCode.md)** | 데이터스토리지타입 | [optional] [default to null] **IsStorageEncryption** | ***bool** | 데이터스토리지암호화여부 | [optional] [default to null] **DataStorageSize** | ***int64** | 데이터스토리지사이즈 | [optional] [default to null] diff --git a/services/vmysql/docs/CreateCloudMysqlInstanceRequest.md b/services/vmysql/docs/CreateCloudMysqlInstanceRequest.md index 1ac6d9f0..dd912d47 100644 --- a/services/vmysql/docs/CreateCloudMysqlInstanceRequest.md +++ b/services/vmysql/docs/CreateCloudMysqlInstanceRequest.md @@ -24,6 +24,9 @@ Name | Type | Description | Notes **CloudMysqlDatabaseName** | ***string** | CloudMysqlDB명 | [default to null] **SubnetNo** | ***string** | Subnet번호 | [default to null] **StandbyMasterSubnetNo** | ***string** | StandbyMasterSubnet번호 | [optional] [default to null] +**IsPrivateSubDomain** | ***bool** | privateSubDomain사용여부 | [optional] [default to null] +**PrivateSubDomainPrefix** | ***string** | privateSubDomain접두어 | [optional] [default to null] +**EngineVersionCode** | ***string** | engineVersionCode | [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) diff --git a/services/vmysql/docs/CreateCloudMysqlInstanceResponse.md b/services/vmysql/docs/CreateCloudMysqlInstanceResponse.md index 1a532d63..bd6be26a 100644 --- a/services/vmysql/docs/CreateCloudMysqlInstanceResponse.md +++ b/services/vmysql/docs/CreateCloudMysqlInstanceResponse.md @@ -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] -**CloudMysqlInstanceList** | **[*CloudMysqlInstanceList](CloudMysqlInstanceList.md)** | CloudMysql인스턴스리스트 | [optional] [default to null] +**CloudMysqlInstanceList** | **[[]\*CloudMysqlInstance](CloudMysqlInstance.md)** | CloudMysql인스턴스리스트 | [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) diff --git a/services/vmysql/docs/CreateCloudMysqlRecoveryInstanceResponse.md b/services/vmysql/docs/CreateCloudMysqlRecoveryInstanceResponse.md index 4fed2cfe..3c5cd400 100644 --- a/services/vmysql/docs/CreateCloudMysqlRecoveryInstanceResponse.md +++ b/services/vmysql/docs/CreateCloudMysqlRecoveryInstanceResponse.md @@ -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] -**CloudMysqlInstanceList** | **[*CloudMysqlInstanceList](CloudMysqlInstanceList.md)** | CloudMysql인스턴스리스트 | [optional] [default to null] +**CloudMysqlInstanceList** | **[[]\*CloudMysqlInstance](CloudMysqlInstance.md)** | CloudMysql인스턴스리스트 | [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) diff --git a/services/vmysql/docs/ExportBackupToObjectStorageRequest.md b/services/vmysql/docs/ExportBackupToObjectStorageRequest.md index 00305cf2..9d3915b2 100644 --- a/services/vmysql/docs/ExportBackupToObjectStorageRequest.md +++ b/services/vmysql/docs/ExportBackupToObjectStorageRequest.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes **RegionCode** | ***string** | REGION코드 | [optional] [default to null] **FileName** | ***string** | 백업파일이름 | [default to null] **BucketName** | ***string** | ObjectStorage버킷이름 | [default to null] +**FolderPath** | ***string** | 폴더경로 | [optional] [default to null] **CloudMysqlInstanceNo** | ***string** | CloudMysql인스턴스번호 | [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) diff --git a/services/vmysql/docs/ExportDbServerLogToObjectStorageRequest.md b/services/vmysql/docs/ExportDbServerLogToObjectStorageRequest.md index 19ce3b01..afc086d4 100644 --- a/services/vmysql/docs/ExportDbServerLogToObjectStorageRequest.md +++ b/services/vmysql/docs/ExportDbServerLogToObjectStorageRequest.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **FileName** | ***string** | 데이터베이스서버로그파일이름 | [default to null] **BucketName** | ***string** | ObjectStorage버킷이름 | [default to null] **CloudMysqlServerInstanceNo** | ***string** | CloudMysql서버인스턴스번호 | [default to null] +**FolderPath** | ***string** | 폴더경로 | [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) diff --git a/services/vmysql/docs/GetCloudMysqlBackupDetailListRequest.md b/services/vmysql/docs/GetCloudMysqlBackupDetailListRequest.md index a96b46d0..df2f254d 100644 --- a/services/vmysql/docs/GetCloudMysqlBackupDetailListRequest.md +++ b/services/vmysql/docs/GetCloudMysqlBackupDetailListRequest.md @@ -5,6 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **RegionCode** | ***string** | REGION코드 | [optional] [default to null] **CloudMysqlInstanceNo** | ***string** | CloudMysql인스턴스번호 | [default to null] +**PageNo** | ***int32** | 페이지번호 | [optional] [default to null] +**PageSize** | ***int32** | 페이지사이즈 | [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) diff --git a/services/vmysql/docs/GetCloudMysqlBackupDetailListResponse.md b/services/vmysql/docs/GetCloudMysqlBackupDetailListResponse.md index e9bf496b..c9344c8b 100644 --- a/services/vmysql/docs/GetCloudMysqlBackupDetailListResponse.md +++ b/services/vmysql/docs/GetCloudMysqlBackupDetailListResponse.md @@ -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] -**CloudMysqlBackupDetailList** | **[*CloudMysqlBackupDetailList](CloudMysqlBackupDetailList.md)** | CloudMysql백업상세리스트 | [optional] [default to null] +**CloudMysqlBackupDetailList** | **[[]\*CloudMysqlBackupDetail](CloudMysqlBackupDetail.md)** | CloudMysql백업상세리스트 | [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) diff --git a/services/vmysql/docs/GetCloudMysqlBackupListResponse.md b/services/vmysql/docs/GetCloudMysqlBackupListResponse.md index 2c06ce40..41ed51f5 100644 --- a/services/vmysql/docs/GetCloudMysqlBackupListResponse.md +++ b/services/vmysql/docs/GetCloudMysqlBackupListResponse.md @@ -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] -**CloudMysqlBackupList** | **[*CloudMysqlBackupList](CloudMysqlBackupList.md)** | CloudMysql백업리스트 | [optional] [default to null] +**CloudMysqlBackupList** | **[[]\*CloudMysqlBackup](CloudMysqlBackup.md)** | CloudMysql백업리스트 | [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) diff --git a/services/vmysql/docs/GetCloudMysqlImageProductListRequest.md b/services/vmysql/docs/GetCloudMysqlImageProductListRequest.md index 09905351..bd129873 100644 --- a/services/vmysql/docs/GetCloudMysqlImageProductListRequest.md +++ b/services/vmysql/docs/GetCloudMysqlImageProductListRequest.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes **RegionCode** | ***string** | REGION코드 | [optional] [default to null] **ProductCode** | ***string** | 조회할상품코드 | [optional] [default to null] **ExclusionProductCode** | ***string** | 제외할상품코드 | [optional] [default to null] +**GenerationCode** | ***string** | 세대코드 | [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) diff --git a/services/vmysql/docs/GetCloudMysqlImageProductListResponse.md b/services/vmysql/docs/GetCloudMysqlImageProductListResponse.md index f555941a..326ede17 100644 --- a/services/vmysql/docs/GetCloudMysqlImageProductListResponse.md +++ b/services/vmysql/docs/GetCloudMysqlImageProductListResponse.md @@ -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** | **[[]\*Product](Product.md)** | 상품리스트 | [optional] [default to null] +**ProductList** | **[*CloudDbProductList](CloudDbProductList.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) diff --git a/services/vmysql/docs/GetCloudMysqlInstanceListRequest.md b/services/vmysql/docs/GetCloudMysqlInstanceListRequest.md index c21fdf87..84d0a3ae 100644 --- a/services/vmysql/docs/GetCloudMysqlInstanceListRequest.md +++ b/services/vmysql/docs/GetCloudMysqlInstanceListRequest.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **CloudMysqlServerName** | ***string** | CloudMysql서버이름 | [optional] [default to null] **CloudMysqlServerInstanceNoList** | **[]\*string** | CloudMysql서버인스턴스번호리스트 | [optional] [default to null] **PageNo** | ***int32** | 페이지번호 | [optional] [default to null] +**GenerationCode** | ***string** | 세대코드 | [optional] [default to null] **PageSize** | ***int32** | 페이지사이즈 | [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) diff --git a/services/vmysql/docs/GetCloudMysqlProductListResponse.md b/services/vmysql/docs/GetCloudMysqlProductListResponse.md index 45a24611..01db2d65 100644 --- a/services/vmysql/docs/GetCloudMysqlProductListResponse.md +++ b/services/vmysql/docs/GetCloudMysqlProductListResponse.md @@ -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** | **[[]\*Product](Product.md)** | 상품리스트 | [optional] [default to null] +**ProductList** | **[*CloudDbProductList](CloudDbProductList.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) diff --git a/services/vmysql/docs/GetCloudMysqlTargetSubnetListRequest.md b/services/vmysql/docs/GetCloudMysqlTargetSubnetListRequest.md new file mode 100644 index 00000000..c03e488d --- /dev/null +++ b/services/vmysql/docs/GetCloudMysqlTargetSubnetListRequest.md @@ -0,0 +1,13 @@ +# GetCloudMysqlTargetSubnetListRequest + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RegionCode** | ***string** | REGION코드 | [optional] [default to null] +**VpcNo** | ***string** | VPC번호 | [optional] [default to null] +**CloudMysqlImageProductCode** | ***string** | CloudMysql이미지상품코드 | [optional] [default to null] +**IsPublic** | ***bool** | public서브넷여부 | [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) + + diff --git a/services/vmysql/docs/GetCloudMysqlTargetSubnetListResponse.md b/services/vmysql/docs/GetCloudMysqlTargetSubnetListResponse.md new file mode 100644 index 00000000..8919faec --- /dev/null +++ b/services/vmysql/docs/GetCloudMysqlTargetSubnetListResponse.md @@ -0,0 +1,14 @@ +# GetCloudMysqlTargetSubnetListResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequestId** | ***string** | | [optional] [default to null] +**ReturnCode** | ***string** | | [optional] [default to null] +**ReturnMessage** | ***string** | | [optional] [default to null] +**TotalRows** | ***int32** | | [optional] [default to null] +**TargetSubnetList** | **[[]\*TargetSubnet](TargetSubnet.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) + + diff --git a/services/vmysql/docs/CloudMysqlUserList.md b/services/vmysql/docs/GetCloudMysqlTargetVpcListRequest.md similarity index 64% rename from services/vmysql/docs/CloudMysqlUserList.md rename to services/vmysql/docs/GetCloudMysqlTargetVpcListRequest.md index 8244198d..d369d7c8 100644 --- a/services/vmysql/docs/CloudMysqlUserList.md +++ b/services/vmysql/docs/GetCloudMysqlTargetVpcListRequest.md @@ -1,9 +1,9 @@ -# CloudMysqlUserList +# GetCloudMysqlTargetVpcListRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**CloudMysqlUserList** | **[[]\*CloudMysqlUser](CloudMysqlUser.md)** | CloudMysqlDBUser리스트 | [optional] [default to null] +**RegionCode** | ***string** | REGION코드 | [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) diff --git a/services/vmysql/docs/GetCloudMysqlTargetVpcListResponse.md b/services/vmysql/docs/GetCloudMysqlTargetVpcListResponse.md new file mode 100644 index 00000000..907040af --- /dev/null +++ b/services/vmysql/docs/GetCloudMysqlTargetVpcListResponse.md @@ -0,0 +1,14 @@ +# GetCloudMysqlTargetVpcListResponse + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**RequestId** | ***string** | | [optional] [default to null] +**ReturnCode** | ***string** | | [optional] [default to null] +**ReturnMessage** | ***string** | | [optional] [default to null] +**TotalRows** | ***int32** | | [optional] [default to null] +**TargetVpcList** | **[[]\*TargetVpc](TargetVpc.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) + + diff --git a/services/vmysql/docs/GetCloudMysqlUserListResponse.md b/services/vmysql/docs/GetCloudMysqlUserListResponse.md index fe980b3c..c4ec9f60 100644 --- a/services/vmysql/docs/GetCloudMysqlUserListResponse.md +++ b/services/vmysql/docs/GetCloudMysqlUserListResponse.md @@ -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] -**CloudMysqlUserList** | **[*CloudMysqlUserList](CloudMysqlUserList.md)** | CloudMysqlUser리스트 | [optional] [default to null] +**CloudMysqlUserList** | **[[]\*CloudMysqlUser](CloudMysqlUser.md)** | CloudMysqlUser리스트 | [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) diff --git a/services/vmysql/docs/TargetSubnet.md b/services/vmysql/docs/TargetSubnet.md new file mode 100644 index 00000000..529db679 --- /dev/null +++ b/services/vmysql/docs/TargetSubnet.md @@ -0,0 +1,17 @@ +# TargetSubnet + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**SubnetNo** | ***string** | Subnet번호 | [optional] [default to null] +**SubnetName** | ***string** | Subnet이름 | [optional] [default to null] +**VpcNo** | ***string** | VPC번호 | [optional] [default to null] +**VpcName** | ***string** | VPC이름 | [optional] [default to null] +**ZoneCode** | ***string** | ZONE코드 | [optional] [default to null] +**Subnet** | ***string** | Subnet | [optional] [default to null] +**IsPublic** | ***string** | Public여부 | [optional] [default to null] +**CreatedDate** | ***string** | 생성시간 | [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) + + diff --git a/services/vmysql/docs/TargetVpc.md b/services/vmysql/docs/TargetVpc.md new file mode 100644 index 00000000..c2d5f1f3 --- /dev/null +++ b/services/vmysql/docs/TargetVpc.md @@ -0,0 +1,14 @@ +# TargetVpc + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**VpcNo** | ***string** | VPC번호 | [optional] [default to null] +**VpcName** | ***string** | VPC이름 | [optional] [default to null] +**Ipv4Cidr** | ***string** | IPv4 CIDR | [optional] [default to null] +**RegionCode** | ***string** | REGION코드 | [optional] [default to null] +**CreatedDate** | ***string** | 생성시간 | [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) + + diff --git a/services/vmysql/docs/V2Api.md b/services/vmysql/docs/V2Api.md index f04baf78..08ae90fe 100644 --- a/services/vmysql/docs/V2Api.md +++ b/services/vmysql/docs/V2Api.md @@ -24,6 +24,8 @@ Method | HTTP request | Description [**GetCloudMysqlInstanceList**](V2Api.md#GetCloudMysqlInstanceList) | **Post** /getCloudMysqlInstanceList | [**GetCloudMysqlProductList**](V2Api.md#GetCloudMysqlProductList) | **Post** /getCloudMysqlProductList | [**GetCloudMysqlRecoveryTime**](V2Api.md#GetCloudMysqlRecoveryTime) | **Post** /getCloudMysqlRecoveryTime | +[**GetCloudMysqlTargetSubnetList**](V2Api.md#GetCloudMysqlTargetSubnetList) | **Post** /getCloudMysqlTargetSubnetList | +[**GetCloudMysqlTargetVpcList**](V2Api.md#GetCloudMysqlTargetVpcList) | **Post** /getCloudMysqlTargetVpcList | [**GetCloudMysqlUserList**](V2Api.md#GetCloudMysqlUserList) | **Post** /getCloudMysqlUserList | [**GetDbServerLogList**](V2Api.md#GetDbServerLogList) | **Post** /getDbServerLogList | [**RebootCloudMysqlServerInstance**](V2Api.md#RebootCloudMysqlServerInstance) | **Post** /rebootCloudMysqlServerInstance | @@ -33,6 +35,8 @@ Method | HTTP request | Description > AddCloudMysqlDatabaseListResponse AddCloudMysqlDatabaseList(addCloudMysqlDatabaseListRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -58,6 +62,8 @@ Name | Type | Description | Notes > AddCloudMysqlUserListResponse AddCloudMysqlUserList(addCloudMysqlUserListRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -83,6 +89,8 @@ Name | Type | Description | Notes > ChangeCloudMysqlUserListResponse ChangeCloudMysqlUserList(changeCloudMysqlUserListRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -108,6 +116,8 @@ Name | Type | Description | Notes > CreateCloudMysqlInstanceResponse CreateCloudMysqlInstance(createCloudMysqlInstanceRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -133,6 +143,8 @@ Name | Type | Description | Notes > CreateCloudMysqlRecoveryInstanceResponse CreateCloudMysqlRecoveryInstance(createCloudMysqlRecoveryInstanceRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -158,6 +170,8 @@ Name | Type | Description | Notes > CreateCloudMysqlSlaveInstanceResponse CreateCloudMysqlSlaveInstance(createCloudMysqlSlaveInstanceRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -183,6 +197,8 @@ Name | Type | Description | Notes > DeleteCloudMysqlDatabaseListResponse DeleteCloudMysqlDatabaseList(deleteCloudMysqlDatabaseListRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -208,6 +224,8 @@ Name | Type | Description | Notes > DeleteCloudMysqlInstanceResponse DeleteCloudMysqlInstance(deleteCloudMysqlInstanceRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -233,6 +251,8 @@ Name | Type | Description | Notes > DeleteCloudMysqlServerInstanceResponse DeleteCloudMysqlServerInstance(deleteCloudMysqlServerInstanceRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -258,6 +278,8 @@ Name | Type | Description | Notes > DeleteCloudMysqlUserListResponse DeleteCloudMysqlUserList(deleteCloudMysqlUserListRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -283,6 +305,8 @@ Name | Type | Description | Notes > ExportBackupToObjectStorageResponse ExportBackupToObjectStorage(exportBackupToObjectStorageRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -308,6 +332,8 @@ Name | Type | Description | Notes > ExportDbServerLogToObjectStorageResponse ExportDbServerLogToObjectStorage(exportDbServerLogToObjectStorageRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -333,6 +359,8 @@ Name | Type | Description | Notes > GetCloudMysqlBackupDetailListResponse GetCloudMysqlBackupDetailList(getCloudMysqlBackupDetailListRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -358,6 +386,8 @@ Name | Type | Description | Notes > GetCloudMysqlBackupListResponse GetCloudMysqlBackupList(getCloudMysqlBackupListRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -383,6 +413,8 @@ Name | Type | Description | Notes > GetCloudMysqlDatabaseListResponse GetCloudMysqlDatabaseList(getCloudMysqlDatabaseListRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -408,6 +440,8 @@ Name | Type | Description | Notes > GetCloudMysqlImageProductListResponse GetCloudMysqlImageProductList(getCloudMysqlImageProductListRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -433,6 +467,8 @@ Name | Type | Description | Notes > GetCloudMysqlInstanceDetailResponse GetCloudMysqlInstanceDetail(getCloudMysqlInstanceDetailRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -458,6 +494,8 @@ Name | Type | Description | Notes > GetCloudMysqlInstanceListResponse GetCloudMysqlInstanceList(getCloudMysqlInstanceListRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -483,6 +521,8 @@ Name | Type | Description | Notes > GetCloudMysqlProductListResponse GetCloudMysqlProductList(getCloudMysqlProductListRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -508,6 +548,8 @@ Name | Type | Description | Notes > GetCloudMysqlRecoveryTimeResponse GetCloudMysqlRecoveryTime(getCloudMysqlRecoveryTimeRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -529,10 +571,66 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **GetCloudMysqlTargetSubnetList** +> GetCloudMysqlTargetSubnetListResponse GetCloudMysqlTargetSubnetList(getCloudMysqlTargetSubnetListRequest) + + + + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**getCloudMysqlTargetSubnetListRequest** | **[\*GetCloudMysqlTargetSubnetListRequest](GetCloudMysqlTargetSubnetListRequest.md)** | getCloudMysqlTargetSubnetListRequest | + +### Return type + +*[**GetCloudMysqlTargetSubnetListResponse**](GetCloudMysqlTargetSubnetListResponse.md) + +### Authorization + +[x-ncp-iam](../README.md#x-ncp-iam) + +### HTTP request headers + + - **Content-Type**: application/x-www-form-urlencoded + - **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + +# **GetCloudMysqlTargetVpcList** +> GetCloudMysqlTargetVpcListResponse GetCloudMysqlTargetVpcList(getCloudMysqlTargetVpcListRequest) + + + + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**getCloudMysqlTargetVpcListRequest** | **[\*GetCloudMysqlTargetVpcListRequest](GetCloudMysqlTargetVpcListRequest.md)** | getCloudMysqlTargetVpcListRequest | + +### Return type + +*[**GetCloudMysqlTargetVpcListResponse**](GetCloudMysqlTargetVpcListResponse.md) + +### Authorization + +[x-ncp-iam](../README.md#x-ncp-iam) + +### HTTP request headers + + - **Content-Type**: application/x-www-form-urlencoded + - **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **GetCloudMysqlUserList** > GetCloudMysqlUserListResponse GetCloudMysqlUserList(getCloudMysqlUserListRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -558,6 +656,8 @@ Name | Type | Description | Notes > GetDbServerLogListResponse GetDbServerLogList(getDbServerLogListRequest) + + ### Required Parameters Name | Type | Description | Notes @@ -583,6 +683,8 @@ Name | Type | Description | Notes > RebootCloudMysqlServerInstanceResponse RebootCloudMysqlServerInstance(rebootCloudMysqlServerInstanceRequest) + + ### Required Parameters Name | Type | Description | Notes diff --git a/services/vmysql/export_backup_to_object_storage_request.go b/services/vmysql/export_backup_to_object_storage_request.go index fa8fd4f6..cedfd92c 100644 --- a/services/vmysql/export_backup_to_object_storage_request.go +++ b/services/vmysql/export_backup_to_object_storage_request.go @@ -11,14 +11,17 @@ package vmysql type ExportBackupToObjectStorageRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // 백업파일이름 - FileName *string `json:"fileName"` +FileName *string `json:"fileName"` // ObjectStorage버킷이름 - BucketName *string `json:"bucketName"` +BucketName *string `json:"bucketName"` + + // 폴더경로 +FolderPath *string `json:"folderPath,omitempty"` // CloudMysql인스턴스번호 - CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` +CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` } diff --git a/services/vmysql/export_backup_to_object_storage_response.go b/services/vmysql/export_backup_to_object_storage_response.go index 6c276e83..9f84a7c4 100644 --- a/services/vmysql/export_backup_to_object_storage_response.go +++ b/services/vmysql/export_backup_to_object_storage_response.go @@ -9,9 +9,10 @@ package vmysql type ExportBackupToObjectStorageResponse 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"` } diff --git a/services/vmysql/export_db_server_log_to_object_storage_request.go b/services/vmysql/export_db_server_log_to_object_storage_request.go index a72ca92f..f385db3a 100644 --- a/services/vmysql/export_db_server_log_to_object_storage_request.go +++ b/services/vmysql/export_db_server_log_to_object_storage_request.go @@ -11,17 +11,20 @@ package vmysql type ExportDbServerLogToObjectStorageRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // 데이터베이스서버로그파일타입 - LogType *string `json:"logType"` +LogType *string `json:"logType"` // 데이터베이스서버로그파일이름 - FileName *string `json:"fileName"` +FileName *string `json:"fileName"` // ObjectStorage버킷이름 - BucketName *string `json:"bucketName"` +BucketName *string `json:"bucketName"` // CloudMysql서버인스턴스번호 - CloudMysqlServerInstanceNo *string `json:"cloudMysqlServerInstanceNo"` +CloudMysqlServerInstanceNo *string `json:"cloudMysqlServerInstanceNo"` + + // 폴더경로 +FolderPath *string `json:"folderPath,omitempty"` } diff --git a/services/vmysql/export_db_server_log_to_object_storage_response.go b/services/vmysql/export_db_server_log_to_object_storage_response.go index 80717775..f1bddbb7 100644 --- a/services/vmysql/export_db_server_log_to_object_storage_response.go +++ b/services/vmysql/export_db_server_log_to_object_storage_response.go @@ -9,9 +9,10 @@ package vmysql type ExportDbServerLogToObjectStorageResponse 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"` } diff --git a/services/vmysql/get_cloud_mysql_backup_detail_list_request.go b/services/vmysql/get_cloud_mysql_backup_detail_list_request.go index 46963f5f..74a18681 100644 --- a/services/vmysql/get_cloud_mysql_backup_detail_list_request.go +++ b/services/vmysql/get_cloud_mysql_backup_detail_list_request.go @@ -11,8 +11,14 @@ package vmysql type GetCloudMysqlBackupDetailListRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // CloudMysql인스턴스번호 - CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` +CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` + + // 페이지번호 +PageNo *int32 `json:"pageNo,omitempty"` + + // 페이지사이즈 +PageSize *int32 `json:"pageSize,omitempty"` } diff --git a/services/vmysql/get_cloud_mysql_backup_detail_list_response.go b/services/vmysql/get_cloud_mysql_backup_detail_list_response.go index d18672c1..90631fb5 100644 --- a/services/vmysql/get_cloud_mysql_backup_detail_list_response.go +++ b/services/vmysql/get_cloud_mysql_backup_detail_list_response.go @@ -9,14 +9,15 @@ package vmysql type GetCloudMysqlBackupDetailListResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // CloudMysql백업상세리스트 - CloudMysqlBackupDetailList []*CloudMysqlBackupDetail `json:"cloudMysqlBackupDetailList,omitempty"` +CloudMysqlBackupDetailList []*CloudMysqlBackupDetail `json:"cloudMysqlBackupDetailList,omitempty"` } diff --git a/services/vmysql/get_cloud_mysql_backup_list_request.go b/services/vmysql/get_cloud_mysql_backup_list_request.go index 6c0b0bb8..26e09fe6 100644 --- a/services/vmysql/get_cloud_mysql_backup_list_request.go +++ b/services/vmysql/get_cloud_mysql_backup_list_request.go @@ -11,5 +11,5 @@ package vmysql type GetCloudMysqlBackupListRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` } diff --git a/services/vmysql/get_cloud_mysql_backup_list_response.go b/services/vmysql/get_cloud_mysql_backup_list_response.go index 299933f6..cd3f8605 100644 --- a/services/vmysql/get_cloud_mysql_backup_list_response.go +++ b/services/vmysql/get_cloud_mysql_backup_list_response.go @@ -9,14 +9,15 @@ package vmysql type GetCloudMysqlBackupListResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // CloudMysql백업리스트 - CloudMysqlBackupList []*CloudMysqlBackup `json:"cloudMysqlBackupList,omitempty"` +CloudMysqlBackupList []*CloudMysqlBackup `json:"cloudMysqlBackupList,omitempty"` } diff --git a/services/vmysql/get_cloud_mysql_database_list_request.go b/services/vmysql/get_cloud_mysql_database_list_request.go index 4044a70e..7db04f80 100644 --- a/services/vmysql/get_cloud_mysql_database_list_request.go +++ b/services/vmysql/get_cloud_mysql_database_list_request.go @@ -11,14 +11,14 @@ package vmysql type GetCloudMysqlDatabaseListRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // CloudMysql인스턴스번호 - CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` +CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` // 페이지번호 - PageNo *int32 `json:"pageNo"` +PageNo *int32 `json:"pageNo"` // 페이지사이즈 - PageSize *int32 `json:"pageSize"` +PageSize *int32 `json:"pageSize"` } diff --git a/services/vmysql/get_cloud_mysql_database_list_response.go b/services/vmysql/get_cloud_mysql_database_list_response.go index 43fe7c6e..efc1102f 100644 --- a/services/vmysql/get_cloud_mysql_database_list_response.go +++ b/services/vmysql/get_cloud_mysql_database_list_response.go @@ -9,14 +9,15 @@ package vmysql type GetCloudMysqlDatabaseListResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // CloudMysqlDatabase리스트 - CloudMysqlInstanceList []*CloudMysqlDatabase `json:"cloudMysqlInstanceList,omitempty"` +CloudMysqlInstanceList []*CloudMysqlDatabase `json:"cloudMysqlInstanceList,omitempty"` } diff --git a/services/vmysql/get_cloud_mysql_image_product_list_request.go b/services/vmysql/get_cloud_mysql_image_product_list_request.go index c054a470..1abc2365 100644 --- a/services/vmysql/get_cloud_mysql_image_product_list_request.go +++ b/services/vmysql/get_cloud_mysql_image_product_list_request.go @@ -11,11 +11,14 @@ package vmysql type GetCloudMysqlImageProductListRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // 조회할상품코드 - ProductCode *string `json:"productCode,omitempty"` +ProductCode *string `json:"productCode,omitempty"` // 제외할상품코드 - ExclusionProductCode *string `json:"exclusionProductCode,omitempty"` +ExclusionProductCode *string `json:"exclusionProductCode,omitempty"` + + // 세대코드 +GenerationCode *string `json:"generationCode,omitempty"` } diff --git a/services/vmysql/get_cloud_mysql_image_product_list_response.go b/services/vmysql/get_cloud_mysql_image_product_list_response.go index 9f4880d0..51e9a9c8 100644 --- a/services/vmysql/get_cloud_mysql_image_product_list_response.go +++ b/services/vmysql/get_cloud_mysql_image_product_list_response.go @@ -9,14 +9,15 @@ package vmysql type GetCloudMysqlImageProductListResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // 상품리스트 - ProductList []*Product `json:"productList,omitempty"` +ProductList *CloudDbProductList `json:"productList,omitempty"` } diff --git a/services/vmysql/get_cloud_mysql_instance_detail_request.go b/services/vmysql/get_cloud_mysql_instance_detail_request.go index ca3ae1c3..87089630 100644 --- a/services/vmysql/get_cloud_mysql_instance_detail_request.go +++ b/services/vmysql/get_cloud_mysql_instance_detail_request.go @@ -11,8 +11,8 @@ package vmysql type GetCloudMysqlInstanceDetailRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // CloudMysql인스턴스번호 - CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` +CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` } diff --git a/services/vmysql/get_cloud_mysql_instance_detail_response.go b/services/vmysql/get_cloud_mysql_instance_detail_response.go index 9377bd1c..7fd81c88 100644 --- a/services/vmysql/get_cloud_mysql_instance_detail_response.go +++ b/services/vmysql/get_cloud_mysql_instance_detail_response.go @@ -9,14 +9,15 @@ package vmysql type GetCloudMysqlInstanceDetailResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // CloudMysql인스턴스리스트 - CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` +CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` } diff --git a/services/vmysql/get_cloud_mysql_instance_list_request.go b/services/vmysql/get_cloud_mysql_instance_list_request.go index f2be78ed..f9be826f 100644 --- a/services/vmysql/get_cloud_mysql_instance_list_request.go +++ b/services/vmysql/get_cloud_mysql_instance_list_request.go @@ -11,32 +11,35 @@ package vmysql type GetCloudMysqlInstanceListRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // ZONE코드 - ZoneCode *string `json:"zoneCode,omitempty"` +ZoneCode *string `json:"zoneCode,omitempty"` // VPC번호 - VpcNo *string `json:"vpcNo,omitempty"` +VpcNo *string `json:"vpcNo,omitempty"` // Subnet번호 - SubnetNo *string `json:"subnetNo,omitempty"` +SubnetNo *string `json:"subnetNo,omitempty"` // CloudMysql서비스이름 - CloudMysqlServiceName *string `json:"cloudMysqlServiceName,omitempty"` +CloudMysqlServiceName *string `json:"cloudMysqlServiceName,omitempty"` // CloudMysql인스턴스번호리스트 - CloudMysqlInstanceNoList []*string `json:"cloudMysqlInstanceNoList,omitempty"` +CloudMysqlInstanceNoList []*string `json:"cloudMysqlInstanceNoList,omitempty"` // CloudMysql서버이름 - CloudMysqlServerName *string `json:"cloudMysqlServerName,omitempty"` +CloudMysqlServerName *string `json:"cloudMysqlServerName,omitempty"` // CloudMysql서버인스턴스번호리스트 - CloudMysqlServerInstanceNoList []*string `json:"cloudMysqlServerInstanceNoList,omitempty"` +CloudMysqlServerInstanceNoList []*string `json:"cloudMysqlServerInstanceNoList,omitempty"` // 페이지번호 - PageNo *int32 `json:"pageNo,omitempty"` +PageNo *int32 `json:"pageNo,omitempty"` + + // 세대코드 +GenerationCode *string `json:"generationCode,omitempty"` // 페이지사이즈 - PageSize *int32 `json:"pageSize,omitempty"` +PageSize *int32 `json:"pageSize,omitempty"` } diff --git a/services/vmysql/get_cloud_mysql_instance_list_response.go b/services/vmysql/get_cloud_mysql_instance_list_response.go index 43fb5bc9..2586ffb3 100644 --- a/services/vmysql/get_cloud_mysql_instance_list_response.go +++ b/services/vmysql/get_cloud_mysql_instance_list_response.go @@ -9,14 +9,15 @@ package vmysql type GetCloudMysqlInstanceListResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // CloudMysql인스턴스리스트 - CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` +CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` } diff --git a/services/vmysql/get_cloud_mysql_product_list_request.go b/services/vmysql/get_cloud_mysql_product_list_request.go index c48c5ef6..fa925244 100644 --- a/services/vmysql/get_cloud_mysql_product_list_request.go +++ b/services/vmysql/get_cloud_mysql_product_list_request.go @@ -11,17 +11,17 @@ package vmysql type GetCloudMysqlProductListRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // ZONE코드 - ZoneCode *string `json:"zoneCode,omitempty"` +ZoneCode *string `json:"zoneCode,omitempty"` // CloudMysql이미지상품코드 - CloudMysqlImageProductCode *string `json:"cloudMysqlImageProductCode"` +CloudMysqlImageProductCode *string `json:"cloudMysqlImageProductCode"` // 조회할상품코드 - ProductCode *string `json:"productCode,omitempty"` +ProductCode *string `json:"productCode,omitempty"` // 제외할상품코드 - ExclusionProductCode *string `json:"exclusionProductCode,omitempty"` +ExclusionProductCode *string `json:"exclusionProductCode,omitempty"` } diff --git a/services/vmysql/get_cloud_mysql_product_list_response.go b/services/vmysql/get_cloud_mysql_product_list_response.go index 63baea4b..92fe45d3 100644 --- a/services/vmysql/get_cloud_mysql_product_list_response.go +++ b/services/vmysql/get_cloud_mysql_product_list_response.go @@ -9,14 +9,15 @@ package vmysql type GetCloudMysqlProductListResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // 상품리스트 - ProductList []*Product `json:"productList,omitempty"` +ProductList *CloudDbProductList `json:"productList,omitempty"` } diff --git a/services/vmysql/get_cloud_mysql_recovery_time_request.go b/services/vmysql/get_cloud_mysql_recovery_time_request.go index 81bf626a..a84ddcef 100644 --- a/services/vmysql/get_cloud_mysql_recovery_time_request.go +++ b/services/vmysql/get_cloud_mysql_recovery_time_request.go @@ -11,8 +11,8 @@ package vmysql type GetCloudMysqlRecoveryTimeRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // CloudMysql인스턴스번호 - CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` +CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` } diff --git a/services/vmysql/get_cloud_mysql_recovery_time_response.go b/services/vmysql/get_cloud_mysql_recovery_time_response.go index ed068b75..4f576a2f 100644 --- a/services/vmysql/get_cloud_mysql_recovery_time_response.go +++ b/services/vmysql/get_cloud_mysql_recovery_time_response.go @@ -9,14 +9,15 @@ package vmysql type GetCloudMysqlRecoveryTimeResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // CloudMysql인스턴스리스트 - CloudMysqlInstanceList *CloudMysqlRecoveryTime `json:"cloudMysqlInstanceList,omitempty"` +CloudMysqlInstanceList *CloudMysqlRecoveryTime `json:"cloudMysqlInstanceList,omitempty"` } diff --git a/services/vmysql/get_cloud_mysql_target_subnet_list_request.go b/services/vmysql/get_cloud_mysql_target_subnet_list_request.go new file mode 100644 index 00000000..07e045eb --- /dev/null +++ b/services/vmysql/get_cloud_mysql_target_subnet_list_request.go @@ -0,0 +1,24 @@ +/* + * vmysql + * + *
https://ncloud.apigw.ntruss.com/vmysql/v2 + * + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package vmysql + +type GetCloudMysqlTargetSubnetListRequest struct { + + // REGION코드 +RegionCode *string `json:"regionCode,omitempty"` + + // VPC번호 +VpcNo *string `json:"vpcNo,omitempty"` + + // CloudMysql이미지상품코드 +CloudMysqlImageProductCode *string `json:"cloudMysqlImageProductCode,omitempty"` + + // public서브넷여부 +IsPublic *bool `json:"isPublic,omitempty"` +} diff --git a/services/vmysql/get_cloud_mysql_target_subnet_list_response.go b/services/vmysql/get_cloud_mysql_target_subnet_list_response.go new file mode 100644 index 00000000..9868d7ff --- /dev/null +++ b/services/vmysql/get_cloud_mysql_target_subnet_list_response.go @@ -0,0 +1,23 @@ +/* + * vmysql + * + *
https://ncloud.apigw.ntruss.com/vmysql/v2 + * + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package vmysql + +type GetCloudMysqlTargetSubnetListResponse struct { + +RequestId *string `json:"requestId,omitempty"` + +ReturnCode *string `json:"returnCode,omitempty"` + +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` + + // 상품리스트 +TargetSubnetList []*TargetSubnet `json:"targetSubnetList,omitempty"` +} diff --git a/services/vmysql/cloud_mysql_user_list.go b/services/vmysql/get_cloud_mysql_target_vpc_list_request.go similarity index 56% rename from services/vmysql/cloud_mysql_user_list.go rename to services/vmysql/get_cloud_mysql_target_vpc_list_request.go index 9bcfa601..67e58722 100644 --- a/services/vmysql/cloud_mysql_user_list.go +++ b/services/vmysql/get_cloud_mysql_target_vpc_list_request.go @@ -8,8 +8,8 @@ package vmysql -type CloudMysqlUserList struct { +type GetCloudMysqlTargetVpcListRequest struct { - // CloudMysqlDBUser리스트 - CloudMysqlUserList []*CloudMysqlUser `json:"cloudMysqlUserList,omitempty"` + // REGION코드 +RegionCode *string `json:"regionCode,omitempty"` } diff --git a/services/vmysql/get_cloud_mysql_target_vpc_list_response.go b/services/vmysql/get_cloud_mysql_target_vpc_list_response.go new file mode 100644 index 00000000..cddcbd4d --- /dev/null +++ b/services/vmysql/get_cloud_mysql_target_vpc_list_response.go @@ -0,0 +1,23 @@ +/* + * vmysql + * + *
https://ncloud.apigw.ntruss.com/vmysql/v2 + * + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package vmysql + +type GetCloudMysqlTargetVpcListResponse struct { + +RequestId *string `json:"requestId,omitempty"` + +ReturnCode *string `json:"returnCode,omitempty"` + +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` + + // 상품리스트 +TargetVpcList []*TargetVpc `json:"targetVpcList,omitempty"` +} diff --git a/services/vmysql/get_cloud_mysql_user_list_request.go b/services/vmysql/get_cloud_mysql_user_list_request.go index 62874c1f..0ee2244b 100644 --- a/services/vmysql/get_cloud_mysql_user_list_request.go +++ b/services/vmysql/get_cloud_mysql_user_list_request.go @@ -11,14 +11,14 @@ package vmysql type GetCloudMysqlUserListRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // CloudMysql인스턴스번호 - CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` +CloudMysqlInstanceNo *string `json:"cloudMysqlInstanceNo"` // 페이지번호 - PageNo *int32 `json:"pageNo"` +PageNo *int32 `json:"pageNo"` // 페이지사이즈 - PageSize *int32 `json:"pageSize"` +PageSize *int32 `json:"pageSize"` } diff --git a/services/vmysql/get_cloud_mysql_user_list_response.go b/services/vmysql/get_cloud_mysql_user_list_response.go index 2e08c4dc..d04e1402 100644 --- a/services/vmysql/get_cloud_mysql_user_list_response.go +++ b/services/vmysql/get_cloud_mysql_user_list_response.go @@ -9,14 +9,15 @@ package vmysql type GetCloudMysqlUserListResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // CloudMysqlUser리스트 - CloudMysqlUserList []*CloudMysqlUser `json:"cloudMysqlUserList,omitempty"` +CloudMysqlUserList []*CloudMysqlUser `json:"cloudMysqlUserList,omitempty"` } diff --git a/services/vmysql/get_db_server_log_list_request.go b/services/vmysql/get_db_server_log_list_request.go index 2925d45f..84c7bbf4 100644 --- a/services/vmysql/get_db_server_log_list_request.go +++ b/services/vmysql/get_db_server_log_list_request.go @@ -11,11 +11,11 @@ package vmysql type GetDbServerLogListRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // 데이터베이스서버로그파일타입 - LogType *string `json:"logType"` +LogType *string `json:"logType"` // CloudMysql서버인스턴스번호 - CloudMysqlServerInstanceNo *string `json:"cloudMysqlServerInstanceNo"` +CloudMysqlServerInstanceNo *string `json:"cloudMysqlServerInstanceNo"` } diff --git a/services/vmysql/get_db_server_log_list_response.go b/services/vmysql/get_db_server_log_list_response.go index fbf44aae..f3007098 100644 --- a/services/vmysql/get_db_server_log_list_response.go +++ b/services/vmysql/get_db_server_log_list_response.go @@ -9,14 +9,15 @@ package vmysql type GetDbServerLogListResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // CloudMysql데이터베이스서버로그리스트 - CloudMysqlDbServerLogList []*CloudMysqlDbServerLog `json:"cloudMysqlDbServerLogList,omitempty"` +CloudMysqlDbServerLogList []*CloudMysqlDbServerLog `json:"cloudMysqlDbServerLogList,omitempty"` } diff --git a/services/vmysql/product.go b/services/vmysql/product.go deleted file mode 100644 index 37ab3afc..00000000 --- a/services/vmysql/product.go +++ /dev/null @@ -1,57 +0,0 @@ -/* - * vmysql - * - *
https://ncloud.apigw.ntruss.com/vmysql/v2 - * - * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) - */ - -package vmysql - -type Product 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"` -} diff --git a/services/vmysql/reboot_cloud_mysql_server_instance_request.go b/services/vmysql/reboot_cloud_mysql_server_instance_request.go index 4711266c..50dd152f 100644 --- a/services/vmysql/reboot_cloud_mysql_server_instance_request.go +++ b/services/vmysql/reboot_cloud_mysql_server_instance_request.go @@ -11,8 +11,8 @@ package vmysql type RebootCloudMysqlServerInstanceRequest struct { // REGION코드 - RegionCode *string `json:"regionCode,omitempty"` +RegionCode *string `json:"regionCode,omitempty"` // CloudMysql서버인스턴스번호 - CloudMysqlServerInstanceNo *string `json:"cloudMysqlServerInstanceNo"` +CloudMysqlServerInstanceNo *string `json:"cloudMysqlServerInstanceNo"` } diff --git a/services/vmysql/reboot_cloud_mysql_server_instance_response.go b/services/vmysql/reboot_cloud_mysql_server_instance_response.go index b93741fb..5cc74f06 100644 --- a/services/vmysql/reboot_cloud_mysql_server_instance_response.go +++ b/services/vmysql/reboot_cloud_mysql_server_instance_response.go @@ -9,14 +9,15 @@ package vmysql type RebootCloudMysqlServerInstanceResponse 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"` - TotalRows *int32 `json:"totalRows,omitempty"` +ReturnMessage *string `json:"returnMessage,omitempty"` + +TotalRows *int32 `json:"totalRows,omitempty"` // CloudMysql인스턴스리스트 - CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` +CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"` } diff --git a/services/vmysql/target_subnet.go b/services/vmysql/target_subnet.go new file mode 100644 index 00000000..c617f08b --- /dev/null +++ b/services/vmysql/target_subnet.go @@ -0,0 +1,36 @@ +/* + * vmysql + * + *
https://ncloud.apigw.ntruss.com/vmysql/v2 + * + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package vmysql + +type TargetSubnet struct { + + // Subnet번호 +SubnetNo *string `json:"subnetNo,omitempty"` + + // Subnet이름 +SubnetName *string `json:"subnetName,omitempty"` + + // VPC번호 +VpcNo *string `json:"vpcNo,omitempty"` + + // VPC이름 +VpcName *string `json:"vpcName,omitempty"` + + // ZONE코드 +ZoneCode *string `json:"zoneCode,omitempty"` + + // Subnet +Subnet *string `json:"subnet,omitempty"` + + // Public여부 +IsPublic *string `json:"isPublic,omitempty"` + + // 생성시간 +CreatedDate *string `json:"createdDate,omitempty"` +} diff --git a/services/vmysql/target_vpc.go b/services/vmysql/target_vpc.go new file mode 100644 index 00000000..b1060f61 --- /dev/null +++ b/services/vmysql/target_vpc.go @@ -0,0 +1,27 @@ +/* + * vmysql + * + *
https://ncloud.apigw.ntruss.com/vmysql/v2 + * + * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) + */ + +package vmysql + +type TargetVpc struct { + + // VPC번호 +VpcNo *string `json:"vpcNo,omitempty"` + + // VPC이름 +VpcName *string `json:"vpcName,omitempty"` + + // IPv4 CIDR +Ipv4Cidr *string `json:"ipv4Cidr,omitempty"` + + // REGION코드 +RegionCode *string `json:"regionCode,omitempty"` + + // 생성시간 +CreatedDate *string `json:"createdDate,omitempty"` +} diff --git a/services/vmysql/v2_api.go b/services/vmysql/v2_api.go index e97ed91d..d4b8aa34 100644 --- a/services/vmysql/v2_api.go +++ b/services/vmysql/v2_api.go @@ -9,13 +9,13 @@ package vmysql import ( - "bytes" "encoding/base64" "encoding/json" "io/ioutil" "net/url" "reflect" "strings" + "bytes" "golang.org/x/net/context" ) @@ -27,16 +27,18 @@ var ( type V2ApiService service -/* V2ApiService -@param addCloudMysqlDatabaseListRequest addCloudMysqlDatabaseListRequest -@return *AddCloudMysqlDatabaseListResponse*/ + +/* V2ApiService + + @param addCloudMysqlDatabaseListRequest addCloudMysqlDatabaseListRequest + @return *AddCloudMysqlDatabaseListResponse*/ func (a *V2ApiService) AddCloudMysqlDatabaseList(addCloudMysqlDatabaseListRequest *AddCloudMysqlDatabaseListRequest) (*AddCloudMysqlDatabaseListResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload AddCloudMysqlDatabaseListResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload AddCloudMysqlDatabaseListResponse ) // create path and map variables @@ -46,8 +48,9 @@ func (a *V2ApiService) AddCloudMysqlDatabaseList(addCloudMysqlDatabaseListReques localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -56,7 +59,8 @@ func (a *V2ApiService) AddCloudMysqlDatabaseList(addCloudMysqlDatabaseListReques } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -94,19 +98,21 @@ func (a *V2ApiService) AddCloudMysqlDatabaseList(addCloudMysqlDatabaseListReques } } + return &successPayload, err } -/* V2ApiService -@param addCloudMysqlUserListRequest addCloudMysqlUserListRequest -@return *AddCloudMysqlUserListResponse*/ +/* V2ApiService + + @param addCloudMysqlUserListRequest addCloudMysqlUserListRequest + @return *AddCloudMysqlUserListResponse*/ func (a *V2ApiService) AddCloudMysqlUserList(addCloudMysqlUserListRequest *AddCloudMysqlUserListRequest) (*AddCloudMysqlUserListResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload AddCloudMysqlUserListResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload AddCloudMysqlUserListResponse ) // create path and map variables @@ -116,8 +122,9 @@ func (a *V2ApiService) AddCloudMysqlUserList(addCloudMysqlUserListRequest *AddCl localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -126,7 +133,8 @@ func (a *V2ApiService) AddCloudMysqlUserList(addCloudMysqlUserListRequest *AddCl } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -164,19 +172,21 @@ func (a *V2ApiService) AddCloudMysqlUserList(addCloudMysqlUserListRequest *AddCl } } + return &successPayload, err } -/* V2ApiService -@param changeCloudMysqlUserListRequest changeCloudMysqlUserListRequest -@return *ChangeCloudMysqlUserListResponse*/ +/* V2ApiService + + @param changeCloudMysqlUserListRequest changeCloudMysqlUserListRequest + @return *ChangeCloudMysqlUserListResponse*/ func (a *V2ApiService) ChangeCloudMysqlUserList(changeCloudMysqlUserListRequest *ChangeCloudMysqlUserListRequest) (*ChangeCloudMysqlUserListResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload ChangeCloudMysqlUserListResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload ChangeCloudMysqlUserListResponse ) // create path and map variables @@ -186,8 +196,9 @@ func (a *V2ApiService) ChangeCloudMysqlUserList(changeCloudMysqlUserListRequest localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -196,7 +207,8 @@ func (a *V2ApiService) ChangeCloudMysqlUserList(changeCloudMysqlUserListRequest } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -234,19 +246,21 @@ func (a *V2ApiService) ChangeCloudMysqlUserList(changeCloudMysqlUserListRequest } } + return &successPayload, err } -/* V2ApiService -@param createCloudMysqlInstanceRequest createCloudMysqlInstanceRequest -@return *CreateCloudMysqlInstanceResponse*/ +/* V2ApiService + + @param createCloudMysqlInstanceRequest createCloudMysqlInstanceRequest + @return *CreateCloudMysqlInstanceResponse*/ func (a *V2ApiService) CreateCloudMysqlInstance(createCloudMysqlInstanceRequest *CreateCloudMysqlInstanceRequest) (*CreateCloudMysqlInstanceResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload CreateCloudMysqlInstanceResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload CreateCloudMysqlInstanceResponse ) // create path and map variables @@ -256,8 +270,9 @@ func (a *V2ApiService) CreateCloudMysqlInstance(createCloudMysqlInstanceRequest localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -266,7 +281,8 @@ func (a *V2ApiService) CreateCloudMysqlInstance(createCloudMysqlInstanceRequest } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -304,19 +320,21 @@ func (a *V2ApiService) CreateCloudMysqlInstance(createCloudMysqlInstanceRequest } } + return &successPayload, err } -/* V2ApiService -@param createCloudMysqlRecoveryInstanceRequest createCloudMysqlRecoveryInstanceRequest -@return *CreateCloudMysqlRecoveryInstanceResponse*/ +/* V2ApiService + + @param createCloudMysqlRecoveryInstanceRequest createCloudMysqlRecoveryInstanceRequest + @return *CreateCloudMysqlRecoveryInstanceResponse*/ func (a *V2ApiService) CreateCloudMysqlRecoveryInstance(createCloudMysqlRecoveryInstanceRequest *CreateCloudMysqlRecoveryInstanceRequest) (*CreateCloudMysqlRecoveryInstanceResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload CreateCloudMysqlRecoveryInstanceResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload CreateCloudMysqlRecoveryInstanceResponse ) // create path and map variables @@ -326,8 +344,9 @@ func (a *V2ApiService) CreateCloudMysqlRecoveryInstance(createCloudMysqlRecovery localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -336,7 +355,8 @@ func (a *V2ApiService) CreateCloudMysqlRecoveryInstance(createCloudMysqlRecovery } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -374,19 +394,21 @@ func (a *V2ApiService) CreateCloudMysqlRecoveryInstance(createCloudMysqlRecovery } } + return &successPayload, err } -/* V2ApiService -@param createCloudMysqlSlaveInstanceRequest createCloudMysqlSlaveInstanceRequest -@return *CreateCloudMysqlSlaveInstanceResponse*/ +/* V2ApiService + + @param createCloudMysqlSlaveInstanceRequest createCloudMysqlSlaveInstanceRequest + @return *CreateCloudMysqlSlaveInstanceResponse*/ func (a *V2ApiService) CreateCloudMysqlSlaveInstance(createCloudMysqlSlaveInstanceRequest *CreateCloudMysqlSlaveInstanceRequest) (*CreateCloudMysqlSlaveInstanceResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload CreateCloudMysqlSlaveInstanceResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload CreateCloudMysqlSlaveInstanceResponse ) // create path and map variables @@ -396,8 +418,9 @@ func (a *V2ApiService) CreateCloudMysqlSlaveInstance(createCloudMysqlSlaveInstan localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -406,7 +429,8 @@ func (a *V2ApiService) CreateCloudMysqlSlaveInstance(createCloudMysqlSlaveInstan } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -444,19 +468,21 @@ func (a *V2ApiService) CreateCloudMysqlSlaveInstance(createCloudMysqlSlaveInstan } } + return &successPayload, err } -/* V2ApiService -@param deleteCloudMysqlDatabaseListRequest deleteCloudMysqlDatabaseListRequest -@return *DeleteCloudMysqlDatabaseListResponse*/ +/* V2ApiService + + @param deleteCloudMysqlDatabaseListRequest deleteCloudMysqlDatabaseListRequest + @return *DeleteCloudMysqlDatabaseListResponse*/ func (a *V2ApiService) DeleteCloudMysqlDatabaseList(deleteCloudMysqlDatabaseListRequest *DeleteCloudMysqlDatabaseListRequest) (*DeleteCloudMysqlDatabaseListResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload DeleteCloudMysqlDatabaseListResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload DeleteCloudMysqlDatabaseListResponse ) // create path and map variables @@ -466,8 +492,9 @@ func (a *V2ApiService) DeleteCloudMysqlDatabaseList(deleteCloudMysqlDatabaseList localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -476,7 +503,8 @@ func (a *V2ApiService) DeleteCloudMysqlDatabaseList(deleteCloudMysqlDatabaseList } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -514,19 +542,21 @@ func (a *V2ApiService) DeleteCloudMysqlDatabaseList(deleteCloudMysqlDatabaseList } } + return &successPayload, err } -/* V2ApiService -@param deleteCloudMysqlInstanceRequest deleteCloudMysqlInstanceRequest -@return *DeleteCloudMysqlInstanceResponse*/ +/* V2ApiService + + @param deleteCloudMysqlInstanceRequest deleteCloudMysqlInstanceRequest + @return *DeleteCloudMysqlInstanceResponse*/ func (a *V2ApiService) DeleteCloudMysqlInstance(deleteCloudMysqlInstanceRequest *DeleteCloudMysqlInstanceRequest) (*DeleteCloudMysqlInstanceResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload DeleteCloudMysqlInstanceResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload DeleteCloudMysqlInstanceResponse ) // create path and map variables @@ -536,8 +566,9 @@ func (a *V2ApiService) DeleteCloudMysqlInstance(deleteCloudMysqlInstanceRequest localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -546,7 +577,8 @@ func (a *V2ApiService) DeleteCloudMysqlInstance(deleteCloudMysqlInstanceRequest } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -584,19 +616,21 @@ func (a *V2ApiService) DeleteCloudMysqlInstance(deleteCloudMysqlInstanceRequest } } + return &successPayload, err } -/* V2ApiService -@param deleteCloudMysqlServerInstanceRequest deleteCloudMysqlServerInstanceRequest -@return *DeleteCloudMysqlServerInstanceResponse*/ +/* V2ApiService + + @param deleteCloudMysqlServerInstanceRequest deleteCloudMysqlServerInstanceRequest + @return *DeleteCloudMysqlServerInstanceResponse*/ func (a *V2ApiService) DeleteCloudMysqlServerInstance(deleteCloudMysqlServerInstanceRequest *DeleteCloudMysqlServerInstanceRequest) (*DeleteCloudMysqlServerInstanceResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload DeleteCloudMysqlServerInstanceResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload DeleteCloudMysqlServerInstanceResponse ) // create path and map variables @@ -606,8 +640,9 @@ func (a *V2ApiService) DeleteCloudMysqlServerInstance(deleteCloudMysqlServerInst localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -616,7 +651,8 @@ func (a *V2ApiService) DeleteCloudMysqlServerInstance(deleteCloudMysqlServerInst } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -654,19 +690,21 @@ func (a *V2ApiService) DeleteCloudMysqlServerInstance(deleteCloudMysqlServerInst } } + return &successPayload, err } -/* V2ApiService -@param deleteCloudMysqlUserListRequest deleteCloudMysqlUserListRequest -@return *DeleteCloudMysqlUserListResponse*/ +/* V2ApiService + + @param deleteCloudMysqlUserListRequest deleteCloudMysqlUserListRequest + @return *DeleteCloudMysqlUserListResponse*/ func (a *V2ApiService) DeleteCloudMysqlUserList(deleteCloudMysqlUserListRequest *DeleteCloudMysqlUserListRequest) (*DeleteCloudMysqlUserListResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload DeleteCloudMysqlUserListResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload DeleteCloudMysqlUserListResponse ) // create path and map variables @@ -676,8 +714,9 @@ func (a *V2ApiService) DeleteCloudMysqlUserList(deleteCloudMysqlUserListRequest localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -686,7 +725,8 @@ func (a *V2ApiService) DeleteCloudMysqlUserList(deleteCloudMysqlUserListRequest } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -724,19 +764,21 @@ func (a *V2ApiService) DeleteCloudMysqlUserList(deleteCloudMysqlUserListRequest } } + return &successPayload, err } -/* V2ApiService -@param exportBackupToObjectStorageRequest exportBackupToObjectStorageRequest -@return *ExportBackupToObjectStorageResponse*/ +/* V2ApiService + + @param exportBackupToObjectStorageRequest exportBackupToObjectStorageRequest + @return *ExportBackupToObjectStorageResponse*/ func (a *V2ApiService) ExportBackupToObjectStorage(exportBackupToObjectStorageRequest *ExportBackupToObjectStorageRequest) (*ExportBackupToObjectStorageResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload ExportBackupToObjectStorageResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload ExportBackupToObjectStorageResponse ) // create path and map variables @@ -746,8 +788,9 @@ func (a *V2ApiService) ExportBackupToObjectStorage(exportBackupToObjectStorageRe localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -756,7 +799,8 @@ func (a *V2ApiService) ExportBackupToObjectStorage(exportBackupToObjectStorageRe } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -794,19 +838,21 @@ func (a *V2ApiService) ExportBackupToObjectStorage(exportBackupToObjectStorageRe } } + return &successPayload, err } -/* V2ApiService -@param exportDbServerLogToObjectStorageRequest exportDbServerLogToObjectStorageRequest -@return *ExportDbServerLogToObjectStorageResponse*/ +/* V2ApiService + + @param exportDbServerLogToObjectStorageRequest exportDbServerLogToObjectStorageRequest + @return *ExportDbServerLogToObjectStorageResponse*/ func (a *V2ApiService) ExportDbServerLogToObjectStorage(exportDbServerLogToObjectStorageRequest *ExportDbServerLogToObjectStorageRequest) (*ExportDbServerLogToObjectStorageResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload ExportDbServerLogToObjectStorageResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload ExportDbServerLogToObjectStorageResponse ) // create path and map variables @@ -816,8 +862,9 @@ func (a *V2ApiService) ExportDbServerLogToObjectStorage(exportDbServerLogToObjec localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -826,7 +873,8 @@ func (a *V2ApiService) ExportDbServerLogToObjectStorage(exportDbServerLogToObjec } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -864,19 +912,21 @@ func (a *V2ApiService) ExportDbServerLogToObjectStorage(exportDbServerLogToObjec } } + return &successPayload, err } -/* V2ApiService -@param getCloudMysqlBackupDetailListRequest getCloudMysqlBackupDetailListRequest -@return *GetCloudMysqlBackupDetailListResponse*/ +/* V2ApiService + + @param getCloudMysqlBackupDetailListRequest getCloudMysqlBackupDetailListRequest + @return *GetCloudMysqlBackupDetailListResponse*/ func (a *V2ApiService) GetCloudMysqlBackupDetailList(getCloudMysqlBackupDetailListRequest *GetCloudMysqlBackupDetailListRequest) (*GetCloudMysqlBackupDetailListResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload GetCloudMysqlBackupDetailListResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload GetCloudMysqlBackupDetailListResponse ) // create path and map variables @@ -886,8 +936,9 @@ func (a *V2ApiService) GetCloudMysqlBackupDetailList(getCloudMysqlBackupDetailLi localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -896,7 +947,8 @@ func (a *V2ApiService) GetCloudMysqlBackupDetailList(getCloudMysqlBackupDetailLi } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -934,19 +986,21 @@ func (a *V2ApiService) GetCloudMysqlBackupDetailList(getCloudMysqlBackupDetailLi } } + return &successPayload, err } -/* V2ApiService -@param getCloudMysqlBackupListRequest getCloudMysqlBackupListRequest -@return *GetCloudMysqlBackupListResponse*/ +/* V2ApiService + + @param getCloudMysqlBackupListRequest getCloudMysqlBackupListRequest + @return *GetCloudMysqlBackupListResponse*/ func (a *V2ApiService) GetCloudMysqlBackupList(getCloudMysqlBackupListRequest *GetCloudMysqlBackupListRequest) (*GetCloudMysqlBackupListResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload GetCloudMysqlBackupListResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload GetCloudMysqlBackupListResponse ) // create path and map variables @@ -956,8 +1010,9 @@ func (a *V2ApiService) GetCloudMysqlBackupList(getCloudMysqlBackupListRequest *G localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -966,7 +1021,8 @@ func (a *V2ApiService) GetCloudMysqlBackupList(getCloudMysqlBackupListRequest *G } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -1004,19 +1060,21 @@ func (a *V2ApiService) GetCloudMysqlBackupList(getCloudMysqlBackupListRequest *G } } + return &successPayload, err } -/* V2ApiService -@param getCloudMysqlDatabaseListRequest getCloudMysqlDatabaseListRequest -@return *GetCloudMysqlDatabaseListResponse*/ +/* V2ApiService + + @param getCloudMysqlDatabaseListRequest getCloudMysqlDatabaseListRequest + @return *GetCloudMysqlDatabaseListResponse*/ func (a *V2ApiService) GetCloudMysqlDatabaseList(getCloudMysqlDatabaseListRequest *GetCloudMysqlDatabaseListRequest) (*GetCloudMysqlDatabaseListResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload GetCloudMysqlDatabaseListResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload GetCloudMysqlDatabaseListResponse ) // create path and map variables @@ -1026,8 +1084,9 @@ func (a *V2ApiService) GetCloudMysqlDatabaseList(getCloudMysqlDatabaseListReques localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -1036,7 +1095,8 @@ func (a *V2ApiService) GetCloudMysqlDatabaseList(getCloudMysqlDatabaseListReques } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -1074,19 +1134,21 @@ func (a *V2ApiService) GetCloudMysqlDatabaseList(getCloudMysqlDatabaseListReques } } + return &successPayload, err } -/* V2ApiService -@param getCloudMysqlImageProductListRequest getCloudMysqlImageProductListRequest -@return *GetCloudMysqlImageProductListResponse*/ +/* V2ApiService + + @param getCloudMysqlImageProductListRequest getCloudMysqlImageProductListRequest + @return *GetCloudMysqlImageProductListResponse*/ func (a *V2ApiService) GetCloudMysqlImageProductList(getCloudMysqlImageProductListRequest *GetCloudMysqlImageProductListRequest) (*GetCloudMysqlImageProductListResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload GetCloudMysqlImageProductListResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload GetCloudMysqlImageProductListResponse ) // create path and map variables @@ -1096,8 +1158,9 @@ func (a *V2ApiService) GetCloudMysqlImageProductList(getCloudMysqlImageProductLi localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -1106,7 +1169,8 @@ func (a *V2ApiService) GetCloudMysqlImageProductList(getCloudMysqlImageProductLi } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -1144,19 +1208,21 @@ func (a *V2ApiService) GetCloudMysqlImageProductList(getCloudMysqlImageProductLi } } + return &successPayload, err } -/* V2ApiService -@param getCloudMysqlInstanceDetailRequest getCloudMysqlInstanceDetailRequest -@return *GetCloudMysqlInstanceDetailResponse*/ +/* V2ApiService + + @param getCloudMysqlInstanceDetailRequest getCloudMysqlInstanceDetailRequest + @return *GetCloudMysqlInstanceDetailResponse*/ func (a *V2ApiService) GetCloudMysqlInstanceDetail(getCloudMysqlInstanceDetailRequest *GetCloudMysqlInstanceDetailRequest) (*GetCloudMysqlInstanceDetailResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload GetCloudMysqlInstanceDetailResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload GetCloudMysqlInstanceDetailResponse ) // create path and map variables @@ -1166,8 +1232,9 @@ func (a *V2ApiService) GetCloudMysqlInstanceDetail(getCloudMysqlInstanceDetailRe localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -1176,7 +1243,8 @@ func (a *V2ApiService) GetCloudMysqlInstanceDetail(getCloudMysqlInstanceDetailRe } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -1214,19 +1282,21 @@ func (a *V2ApiService) GetCloudMysqlInstanceDetail(getCloudMysqlInstanceDetailRe } } + return &successPayload, err } -/* V2ApiService -@param getCloudMysqlInstanceListRequest getCloudMysqlInstanceListRequest -@return *GetCloudMysqlInstanceListResponse*/ +/* V2ApiService + + @param getCloudMysqlInstanceListRequest getCloudMysqlInstanceListRequest + @return *GetCloudMysqlInstanceListResponse*/ func (a *V2ApiService) GetCloudMysqlInstanceList(getCloudMysqlInstanceListRequest *GetCloudMysqlInstanceListRequest) (*GetCloudMysqlInstanceListResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload GetCloudMysqlInstanceListResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload GetCloudMysqlInstanceListResponse ) // create path and map variables @@ -1236,8 +1306,9 @@ func (a *V2ApiService) GetCloudMysqlInstanceList(getCloudMysqlInstanceListReques localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -1246,7 +1317,8 @@ func (a *V2ApiService) GetCloudMysqlInstanceList(getCloudMysqlInstanceListReques } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -1284,19 +1356,21 @@ func (a *V2ApiService) GetCloudMysqlInstanceList(getCloudMysqlInstanceListReques } } + return &successPayload, err } -/* V2ApiService -@param getCloudMysqlProductListRequest getCloudMysqlProductListRequest -@return *GetCloudMysqlProductListResponse*/ +/* V2ApiService + + @param getCloudMysqlProductListRequest getCloudMysqlProductListRequest + @return *GetCloudMysqlProductListResponse*/ func (a *V2ApiService) GetCloudMysqlProductList(getCloudMysqlProductListRequest *GetCloudMysqlProductListRequest) (*GetCloudMysqlProductListResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload GetCloudMysqlProductListResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload GetCloudMysqlProductListResponse ) // create path and map variables @@ -1306,8 +1380,9 @@ func (a *V2ApiService) GetCloudMysqlProductList(getCloudMysqlProductListRequest localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -1316,7 +1391,8 @@ func (a *V2ApiService) GetCloudMysqlProductList(getCloudMysqlProductListRequest } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -1354,19 +1430,21 @@ func (a *V2ApiService) GetCloudMysqlProductList(getCloudMysqlProductListRequest } } + return &successPayload, err } -/* V2ApiService -@param getCloudMysqlRecoveryTimeRequest getCloudMysqlRecoveryTimeRequest -@return *GetCloudMysqlRecoveryTimeResponse*/ +/* V2ApiService + + @param getCloudMysqlRecoveryTimeRequest getCloudMysqlRecoveryTimeRequest + @return *GetCloudMysqlRecoveryTimeResponse*/ func (a *V2ApiService) GetCloudMysqlRecoveryTime(getCloudMysqlRecoveryTimeRequest *GetCloudMysqlRecoveryTimeRequest) (*GetCloudMysqlRecoveryTimeResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload GetCloudMysqlRecoveryTimeResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload GetCloudMysqlRecoveryTimeResponse ) // create path and map variables @@ -1376,8 +1454,9 @@ func (a *V2ApiService) GetCloudMysqlRecoveryTime(getCloudMysqlRecoveryTimeReques localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -1386,7 +1465,8 @@ func (a *V2ApiService) GetCloudMysqlRecoveryTime(getCloudMysqlRecoveryTimeReques } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -1424,19 +1504,169 @@ func (a *V2ApiService) GetCloudMysqlRecoveryTime(getCloudMysqlRecoveryTimeReques } } + return &successPayload, err } -/* V2ApiService -@param getCloudMysqlUserListRequest getCloudMysqlUserListRequest -@return *GetCloudMysqlUserListResponse*/ +/* V2ApiService + + @param getCloudMysqlTargetSubnetListRequest getCloudMysqlTargetSubnetListRequest + @return *GetCloudMysqlTargetSubnetListResponse*/ +func (a *V2ApiService) GetCloudMysqlTargetSubnetList(getCloudMysqlTargetSubnetListRequest *GetCloudMysqlTargetSubnetListRequest) (*GetCloudMysqlTargetSubnetListResponse, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload GetCloudMysqlTargetSubnetListResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/getCloudMysqlTargetSubnetList" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + + // to determine the Content-Type header + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{ + } + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = getCloudMysqlTargetSubnetListRequest + v := reflect.ValueOf(localVarPostBody).Elem().FieldByName("UserData") + if v.IsValid() && v.CanAddr() { + ptr := v.Addr().Interface().(**string) + if *ptr != nil { + **ptr = base64.StdEncoding.EncodeToString([]byte(**ptr)) + } + } + r, err := a.client.prepareRequest(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return &successPayload, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return &successPayload, err + } + defer localVarHttpResponse.Body.Close() + bodyBytes, _ := ioutil.ReadAll(localVarHttpResponse.Body) + + if localVarHttpResponse.StatusCode >= 300 || (localVarHttpResponse.StatusCode < 300 && !strings.HasPrefix(string(bodyBytes), `{`)) { + return &successPayload, reportError("Status: %v, Body: %s", localVarHttpResponse.Status, bodyBytes) + } + + if !strings.Contains(string(bodyBytes), `{"error"`) && strings.HasPrefix(string(bodyBytes), `{`) { + if err = json.Unmarshal(bodyBytes[bytes.IndexAny(bytes.Trim(bodyBytes, "{"), "{"):len(bodyBytes)-1], &successPayload); err != nil { + return &successPayload, err + } + } + + + return &successPayload, err +} + +/* V2ApiService + + @param getCloudMysqlTargetVpcListRequest getCloudMysqlTargetVpcListRequest + @return *GetCloudMysqlTargetVpcListResponse*/ +func (a *V2ApiService) GetCloudMysqlTargetVpcList(getCloudMysqlTargetVpcListRequest *GetCloudMysqlTargetVpcListRequest) (*GetCloudMysqlTargetVpcListResponse, error) { + var ( + localVarHttpMethod = strings.ToUpper("Post") + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload GetCloudMysqlTargetVpcListResponse + ) + + // create path and map variables + localVarPath := a.client.cfg.BasePath + "/getCloudMysqlTargetVpcList" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + + // to determine the Content-Type header + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } + + // set Content-Type header + localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) + if localVarHttpContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHttpContentType + } + + // to determine the Accept header + localVarHttpHeaderAccepts := []string{ + } + + // set Accept header + localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) + if localVarHttpHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHttpHeaderAccept + } + // body params + localVarPostBody = getCloudMysqlTargetVpcListRequest + v := reflect.ValueOf(localVarPostBody).Elem().FieldByName("UserData") + if v.IsValid() && v.CanAddr() { + ptr := v.Addr().Interface().(**string) + if *ptr != nil { + **ptr = base64.StdEncoding.EncodeToString([]byte(**ptr)) + } + } + r, err := a.client.prepareRequest(localVarPath, localVarHttpMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFileName, localVarFileBytes) + if err != nil { + return &successPayload, err + } + + localVarHttpResponse, err := a.client.callAPI(r) + if err != nil || localVarHttpResponse == nil { + return &successPayload, err + } + defer localVarHttpResponse.Body.Close() + bodyBytes, _ := ioutil.ReadAll(localVarHttpResponse.Body) + + if localVarHttpResponse.StatusCode >= 300 || (localVarHttpResponse.StatusCode < 300 && !strings.HasPrefix(string(bodyBytes), `{`)) { + return &successPayload, reportError("Status: %v, Body: %s", localVarHttpResponse.Status, bodyBytes) + } + + if !strings.Contains(string(bodyBytes), `{"error"`) && strings.HasPrefix(string(bodyBytes), `{`) { + if err = json.Unmarshal(bodyBytes[bytes.IndexAny(bytes.Trim(bodyBytes, "{"), "{"):len(bodyBytes)-1], &successPayload); err != nil { + return &successPayload, err + } + } + + + return &successPayload, err +} + +/* V2ApiService + + @param getCloudMysqlUserListRequest getCloudMysqlUserListRequest + @return *GetCloudMysqlUserListResponse*/ func (a *V2ApiService) GetCloudMysqlUserList(getCloudMysqlUserListRequest *GetCloudMysqlUserListRequest) (*GetCloudMysqlUserListResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload GetCloudMysqlUserListResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload GetCloudMysqlUserListResponse ) // create path and map variables @@ -1446,8 +1676,9 @@ func (a *V2ApiService) GetCloudMysqlUserList(getCloudMysqlUserListRequest *GetCl localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -1456,7 +1687,8 @@ func (a *V2ApiService) GetCloudMysqlUserList(getCloudMysqlUserListRequest *GetCl } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -1494,19 +1726,21 @@ func (a *V2ApiService) GetCloudMysqlUserList(getCloudMysqlUserListRequest *GetCl } } + return &successPayload, err } -/* V2ApiService -@param getDbServerLogListRequest getDbServerLogListRequest -@return *GetDbServerLogListResponse*/ +/* V2ApiService + + @param getDbServerLogListRequest getDbServerLogListRequest + @return *GetDbServerLogListResponse*/ func (a *V2ApiService) GetDbServerLogList(getDbServerLogListRequest *GetDbServerLogListRequest) (*GetDbServerLogListResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload GetDbServerLogListResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload GetDbServerLogListResponse ) // create path and map variables @@ -1516,8 +1750,9 @@ func (a *V2ApiService) GetDbServerLogList(getDbServerLogListRequest *GetDbServer localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -1526,7 +1761,8 @@ func (a *V2ApiService) GetDbServerLogList(getDbServerLogListRequest *GetDbServer } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -1564,19 +1800,21 @@ func (a *V2ApiService) GetDbServerLogList(getDbServerLogListRequest *GetDbServer } } + return &successPayload, err } -/* V2ApiService -@param rebootCloudMysqlServerInstanceRequest rebootCloudMysqlServerInstanceRequest -@return *RebootCloudMysqlServerInstanceResponse*/ +/* V2ApiService + + @param rebootCloudMysqlServerInstanceRequest rebootCloudMysqlServerInstanceRequest + @return *RebootCloudMysqlServerInstanceResponse*/ func (a *V2ApiService) RebootCloudMysqlServerInstance(rebootCloudMysqlServerInstanceRequest *RebootCloudMysqlServerInstanceRequest) (*RebootCloudMysqlServerInstanceResponse, error) { var ( localVarHttpMethod = strings.ToUpper("Post") - localVarPostBody interface{} - localVarFileName string - localVarFileBytes []byte - successPayload RebootCloudMysqlServerInstanceResponse + localVarPostBody interface{} + localVarFileName string + localVarFileBytes []byte + successPayload RebootCloudMysqlServerInstanceResponse ) // create path and map variables @@ -1586,8 +1824,9 @@ func (a *V2ApiService) RebootCloudMysqlServerInstance(rebootCloudMysqlServerInst localVarQueryParams := url.Values{} localVarFormParams := url.Values{} + // to determine the Content-Type header - localVarHttpContentTypes := []string{"application/x-www-form-urlencoded"} + localVarHttpContentTypes := []string{ "application/x-www-form-urlencoded", } // set Content-Type header localVarHttpContentType := selectHeaderContentType(localVarHttpContentTypes) @@ -1596,7 +1835,8 @@ func (a *V2ApiService) RebootCloudMysqlServerInstance(rebootCloudMysqlServerInst } // to determine the Accept header - localVarHttpHeaderAccepts := []string{} + localVarHttpHeaderAccepts := []string{ + } // set Accept header localVarHttpHeaderAccept := selectHeaderAccept(localVarHttpHeaderAccepts) @@ -1634,5 +1874,7 @@ func (a *V2ApiService) RebootCloudMysqlServerInstance(rebootCloudMysqlServerInst } } + return &successPayload, err } +