vmysql

package
v1.6.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: MIT, MIT Imports: 23 Imported by: 0

README

Go API client for vmysql

<br/>https://ncloud.apigw.ntruss.com/vmysql/v2

Overview

This API client was generated by the swagger-codegen project. By using the 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
  • Build package: io.swagger.codegen.languages.NcpGoForNcloudClientCodegen

Installation

Put the package under your project folder and add the following in import:

"./vmysql"

Documentation for API Endpoints

All URIs are relative to https://ncloud.apigw.ntruss.com/vmysql/v2

Class Method HTTP request Description
V2Api AddCloudMysqlDatabaseList Post /addCloudMysqlDatabaseList
V2Api AddCloudMysqlUserList Post /addCloudMysqlUserList
V2Api ChangeCloudMysqlUserList Post /changeCloudMysqlUserList
V2Api CreateCloudMysqlInstance Post /createCloudMysqlInstance
V2Api CreateCloudMysqlRecoveryInstance Post /createCloudMysqlRecoveryInstance
V2Api CreateCloudMysqlSlaveInstance Post /createCloudMysqlSlaveInstance
V2Api DeleteCloudMysqlDatabaseList Post /deleteCloudMysqlDatabaseList
V2Api DeleteCloudMysqlInstance Post /deleteCloudMysqlInstance
V2Api DeleteCloudMysqlServerInstance Post /deleteCloudMysqlServerInstance
V2Api DeleteCloudMysqlUserList Post /deleteCloudMysqlUserList
V2Api ExportBackupToObjectStorage Post /exportBackupToObjectStorage
V2Api ExportDbServerLogToObjectStorage Post /exportDbServerLogToObjectStorage
V2Api GetCloudMysqlBackupDetailList Post /getCloudMysqlBackupDetailList
V2Api GetCloudMysqlBackupList Post /getCloudMysqlBackupList
V2Api GetCloudMysqlDatabaseList Post /getCloudMysqlDatabaseList
V2Api GetCloudMysqlImageProductList Post /getCloudMysqlImageProductList
V2Api GetCloudMysqlInstanceDetail Post /getCloudMysqlInstanceDetail
V2Api GetCloudMysqlInstanceList Post /getCloudMysqlInstanceList
V2Api GetCloudMysqlProductList Post /getCloudMysqlProductList
V2Api GetCloudMysqlRecoveryTime Post /getCloudMysqlRecoveryTime
V2Api GetCloudMysqlUserList Post /getCloudMysqlUserList
V2Api GetDbServerLogList Post /getDbServerLogList
V2Api RebootCloudMysqlServerInstance Post /rebootCloudMysqlServerInstance

Documentation For Models

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func NewConfiguration

func NewConfiguration(apiKeys ...*ncloud.APIKey) *ncloud.Configuration

Types

type APIClient

type APIClient struct {

	// API Services
	V2Api *V2ApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the vmysql API v2021-11-25T11:37:48Z In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *ncloud.Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath

func (c *APIClient) ChangeBasePath(path string)

Change base path to allow switching to mocks

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the swagger operation.
	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"`
	// 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"`
	// 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.
	Payload []byte `json:"-"`
}

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

type AccessControlGroupNoList

type AccessControlGroupNoList struct {
}

ACG번호리스트

type AddCloudMysqlDatabaseListRequest

type AddCloudMysqlDatabaseListRequest struct {

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

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

	// CloudMysqlDatabase리스트
	CloudMysqlDatabaseNameList []*string `json:"cloudMysqlDatabaseNameList"`
}

type AddCloudMysqlDatabaseListResponse

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

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

	ReturnMessage *string `json:"returnMessage,omitempty"`
}

type AddCloudMysqlUserListRequest

type AddCloudMysqlUserListRequest struct {

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

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

	// CloudMysqlDBUser리스트
	CloudMysqlUserList []*CloudMysqlUserParameter `json:"cloudMysqlUserList"`
}

type AddCloudMysqlUserListResponse

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

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

	ReturnMessage *string `json:"returnMessage,omitempty"`
}

type ChangeCloudMysqlUserListRequest

type ChangeCloudMysqlUserListRequest struct {

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

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

	// CloudMysqlDBUser리스트
	CloudMysqlUserList []*CloudMysqlUserParameter `json:"cloudMysqlUserList"`
}

type ChangeCloudMysqlUserListResponse

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

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

	ReturnMessage *string `json:"returnMessage,omitempty"`
}

type CloudMysqlBackup

type CloudMysqlBackup struct {

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

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

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

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

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

	// 마지막백업일시
	LastBackupDate *string `json:"lastBackupDate,omitempty"`
}

type CloudMysqlBackupDetail

type CloudMysqlBackupDetail struct {

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

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

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

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

	// 데이터스토리지사이즈
	DataStorageSize *int64 `json:"dataStorageSize,omitempty"`
}

type CloudMysqlBackupDetailList

type CloudMysqlBackupDetailList struct {

	// CloudMysql백업상세리스트
	CloudMysqlBackupDetailList []*CloudMysqlBackupDetail `json:"cloudMysqlBackupDetailList,omitempty"`
}

type CloudMysqlBackupList

type CloudMysqlBackupList struct {

	// CloudMysql백업리스트
	CloudMysqlBackupList []*CloudMysqlBackup `json:"cloudMysqlBackupList,omitempty"`
}

type CloudMysqlConfigList

type CloudMysqlConfigList struct {
}

CloudMysqlConfig리스트

type CloudMysqlDatabase

type CloudMysqlDatabase struct {

	// database이름
	DatabaseName *string `json:"databaseName,omitempty"`
}

type CloudMysqlDatabaseList

type CloudMysqlDatabaseList struct {

	// CloudMysqlDatabase리스트
	CloudMysqlDatabaseList []*CloudMysqlDatabase `json:"cloudMysqlDatabaseList,omitempty"`
}

type CloudMysqlDbServerLog

type CloudMysqlDbServerLog struct {

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

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

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

type CloudMysqlDbServerLogList

type CloudMysqlDbServerLogList struct {

	// CloudMysql데이터베이스서버로그리스트
	CloudMysqlDbServerLogList []*CloudMysqlDbServerLog `json:"cloudMysqlDbServerLogList,omitempty"`
}

type CloudMysqlInstance

type CloudMysqlInstance struct {

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

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

	// CloudMysql인스턴스상태이름
	CloudMysqlInstanceStatusName *string `json:"cloudMysqlInstanceStatusName,omitempty"`

	// CloudMysql인스턴스상태
	CloudMysqlInstanceStatus *CommonCode `json:"cloudMysqlInstanceStatus,omitempty"`

	// CloudMysql인스턴스OP
	CloudMysqlInstanceOperation *CommonCode `json:"cloudMysqlInstanceOperation,omitempty"`

	// CloudMysql이미지상품코드
	CloudMysqlImageProductCode *string `json:"cloudMysqlImageProductCode,omitempty"`

	// CloudMysql엔진버전
	EngineVersion *string `json:"engineVersion,omitempty"`

	// CloudMysql라이선스
	License *CommonCode `json:"license,omitempty"`

	// CloudMysql포트
	CloudMysqlPort *int32 `json:"cloudMysqlPort,omitempty"`

	// 고가용성여부
	IsHa *bool `json:"isHa,omitempty"`

	// 멀티존여부
	IsMultiZone *bool `json:"isMultiZone,omitempty"`

	// 백업여부
	IsBackup *bool `json:"isBackup,omitempty"`

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

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

	// 생성일자
	CreateDate *string `json:"createDate,omitempty"`

	// ACG번호리스트
	AccessControlGroupNoList []*string `json:"accessControlGroupNoList,omitempty"`

	// CloudMysqlConfig리스트
	CloudMysqlConfigList []*string `json:"cloudMysqlConfigList,omitempty"`

	// CloudMysql서버인스턴스리스트
	CloudMysqlServerInstanceList []*CloudMysqlServerInstance `json:"cloudMysqlServerInstanceList,omitempty"`
}

type CloudMysqlInstanceList

type CloudMysqlInstanceList struct {

	// CloudMysql인스턴스리스트
	CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"`
}

type CloudMysqlRecoveryTime

type CloudMysqlRecoveryTime struct {

	// 시점복원가능한시작시간
	RecoveryStartTime *string `json:"recoveryStartTime,omitempty"`

	// 시점복원가능한마지막시간
	RecoveryEndTime *string `json:"recoveryEndTime,omitempty"`
}

type CloudMysqlServerInstance

type CloudMysqlServerInstance struct {

	// CloudMysql서버인스턴스번호
	CloudMysqlServerInstanceNo *string `json:"cloudMysqlServerInstanceNo,omitempty"`

	// CloudMysql서버이름
	CloudMysqlServerName *string `json:"cloudMysqlServerName,omitempty"`

	// CloudMysql서버역할
	CloudMysqlServerRole *CommonCode `json:"cloudMysqlServerRole,omitempty"`

	// CloudMysql인스턴스상태이름
	CloudMysqlServerInstanceStatusName *string `json:"cloudMysqlServerInstanceStatusName,omitempty"`

	// CloudMysql서버인스턴스상태
	CloudMysqlServerInstanceStatus *CommonCode `json:"cloudMysqlServerInstanceStatus,omitempty"`

	// CloudMysql서버인스턴스OP
	CloudMysqlServerInstanceOperation *CommonCode `json:"cloudMysqlServerInstanceOperation,omitempty"`

	// CloudMysql상품코드
	CloudMysqlProductCode *string `json:"cloudMysqlProductCode,omitempty"`

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

	// ZONE코드
	ZoneCode *string `json:"zoneCode,omitempty"`

	// VPC번호
	VpcNo *string `json:"vpcNo,omitempty"`

	// Subnet번호
	SubnetNo *string `json:"subnetNo,omitempty"`

	// PublicSubnet여부
	IsPublicSubnet *bool `json:"isPublicSubnet,omitempty"`

	// 공인도메인명
	PublicDomain *string `json:"publicDomain,omitempty"`

	// 사설도메인명
	PrivateDomain *string `json:"privateDomain,omitempty"`

	// 데이터스토리지타입
	DataStorageType *CommonCode `json:"dataStorageType,omitempty"`

	// 데이터스토리지암호화여부
	IsStorageEncryption *bool `json:"isStorageEncryption,omitempty"`

	// 데이터스토리지사이즈
	DataStorageSize *int64 `json:"dataStorageSize,omitempty"`

	// 사용중인데이터스토리지사이즈
	UsedDataStorageSize *int64 `json:"usedDataStorageSize,omitempty"`

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

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

	// 업시간
	Uptime *string `json:"uptime,omitempty"`

	// 생성일자
	CreateDate *string `json:"createDate,omitempty"`
}

type CloudMysqlUser

type CloudMysqlUser struct {

	// DBUserID
	UserName *string `json:"userName,omitempty"`

	// 접근IP
	HostIp *string `json:"hostIp,omitempty"`

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

type CloudMysqlUserKeyParameter

type CloudMysqlUserKeyParameter struct {

	// DBUserID
	Name *string `json:"name"`

	// 접근IP
	HostIp *string `json:"hostIp"`
}

type CloudMysqlUserList

type CloudMysqlUserList struct {

	// CloudMysqlDBUser리스트
	CloudMysqlUserList []*CloudMysqlUser `json:"cloudMysqlUserList,omitempty"`
}

type CloudMysqlUserParameter

type CloudMysqlUserParameter struct {

	// DBUserID
	Name *string `json:"name"`

	// 접근IP
	HostIp *string `json:"hostIp"`

	// DBUserPassword
	Password *string `json:"password"`

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

type CommonCode

type CommonCode struct {

	// 코드
	Code *string `json:"code,omitempty"`

	// 코드명
	CodeName *string `json:"codeName,omitempty"`
}

type CreateCloudMysqlInstanceRequest

type CreateCloudMysqlInstanceRequest struct {

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

	// VPC번호
	VpcNo *string `json:"vpcNo"`

	// CloudMysql이미지상품코드
	CloudMysqlImageProductCode *string `json:"cloudMysqlImageProductCode,omitempty"`

	// CloudMysql상품코드
	CloudMysqlProductCode *string `json:"cloudMysqlProductCode,omitempty"`

	// 데이터스토리지유형코드
	DataStorageTypeCode *string `json:"dataStorageTypeCode,omitempty"`

	// 고가용성여부
	IsHa *bool `json:"isHa,omitempty"`

	// 멀티존여부
	IsMultiZone *bool `json:"isMultiZone,omitempty"`

	// 데이터스토리지암호화여부
	IsStorageEncryption *bool `json:"isStorageEncryption,omitempty"`

	// 백업여부
	IsBackup *bool `json:"isBackup,omitempty"`

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

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

	// 백업시간자동여부
	IsAutomaticBackup *bool `json:"isAutomaticBackup,omitempty"`

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

	// CloudMysql서버이름
	CloudMysqlServerNamePrefix *string `json:"cloudMysqlServerNamePrefix"`

	// CloudMysql유저명
	CloudMysqlUserName *string `json:"cloudMysqlUserName"`

	// CloudMysql유저패스워드
	CloudMysqlUserPassword *string `json:"cloudMysqlUserPassword"`

	// 호스트IP
	HostIp *string `json:"hostIp"`

	// CloudMysql포트
	CloudMysqlPort *int32 `json:"cloudMysqlPort,omitempty"`

	// CloudMysqlDB명
	CloudMysqlDatabaseName *string `json:"cloudMysqlDatabaseName"`

	// Subnet번호
	SubnetNo *string `json:"subnetNo"`

	// StandbyMasterSubnet번호
	StandbyMasterSubnetNo *string `json:"standbyMasterSubnetNo,omitempty"`
}

type CreateCloudMysqlInstanceResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMysql인스턴스리스트
	CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"`
}

type CreateCloudMysqlRecoveryInstanceRequest

type CreateCloudMysqlRecoveryInstanceRequest struct {

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

	// Subnet번호
	SubnetNo *string `json:"subnetNo,omitempty"`

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

	// 복원시간
	RecoveryTime *string `json:"recoveryTime,omitempty"`

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

	// CloudMysqlRecovery서버이름
	CloudMysqlRecoveryServerName *string `json:"cloudMysqlRecoveryServerName"`
}

type CreateCloudMysqlRecoveryInstanceResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMysql인스턴스리스트
	CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"`
}

type CreateCloudMysqlSlaveInstanceRequest

type CreateCloudMysqlSlaveInstanceRequest struct {

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

	// Subnet번호
	SubnetNo *string `json:"subnetNo,omitempty"`

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

type CreateCloudMysqlSlaveInstanceResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMysql인스턴스리스트
	CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"`
}

type DeleteCloudMysqlDatabaseListRequest

type DeleteCloudMysqlDatabaseListRequest struct {

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

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

	// CloudMysqlDatabase리스트
	CloudMysqlDatabaseNameList []*string `json:"cloudMysqlDatabaseNameList"`
}

type DeleteCloudMysqlDatabaseListResponse

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

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

	ReturnMessage *string `json:"returnMessage,omitempty"`
}

type DeleteCloudMysqlInstanceRequest

type DeleteCloudMysqlInstanceRequest struct {

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

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

type DeleteCloudMysqlInstanceResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMysql인스턴스리스트
	CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"`
}

type DeleteCloudMysqlServerInstanceRequest

type DeleteCloudMysqlServerInstanceRequest struct {

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

	// CloudMysql서버인스턴스번호
	CloudMysqlServerInstanceNo *string `json:"cloudMysqlServerInstanceNo"`
}

type DeleteCloudMysqlServerInstanceResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMysql인스턴스리스트
	CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"`
}

type DeleteCloudMysqlUserListRequest

type DeleteCloudMysqlUserListRequest struct {

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

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

	// CloudMysqlDBUser리스트
	CloudMysqlUserList []*CloudMysqlUserKeyParameter `json:"cloudMysqlUserList"`
}

type DeleteCloudMysqlUserListResponse

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

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

	ReturnMessage *string `json:"returnMessage,omitempty"`
}

type ExportBackupToObjectStorageRequest

type ExportBackupToObjectStorageRequest struct {

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

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

	// ObjectStorage버킷이름
	BucketName *string `json:"bucketName"`

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

type ExportBackupToObjectStorageResponse

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

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

	ReturnMessage *string `json:"returnMessage,omitempty"`
}

type ExportDbServerLogToObjectStorageRequest

type ExportDbServerLogToObjectStorageRequest struct {

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

	// 데이터베이스서버로그파일타입
	LogType *string `json:"logType"`

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

	// ObjectStorage버킷이름
	BucketName *string `json:"bucketName"`

	// CloudMysql서버인스턴스번호
	CloudMysqlServerInstanceNo *string `json:"cloudMysqlServerInstanceNo"`
}

type ExportDbServerLogToObjectStorageResponse

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

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

	ReturnMessage *string `json:"returnMessage,omitempty"`
}

type GetCloudMysqlBackupDetailListRequest

type GetCloudMysqlBackupDetailListRequest struct {

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

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

type GetCloudMysqlBackupDetailListResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMysql백업상세리스트
	CloudMysqlBackupDetailList []*CloudMysqlBackupDetail `json:"cloudMysqlBackupDetailList,omitempty"`
}

type GetCloudMysqlBackupListRequest

type GetCloudMysqlBackupListRequest struct {

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

type GetCloudMysqlBackupListResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMysql백업리스트
	CloudMysqlBackupList []*CloudMysqlBackup `json:"cloudMysqlBackupList,omitempty"`
}

type GetCloudMysqlDatabaseListRequest

type GetCloudMysqlDatabaseListRequest struct {

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

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

	// 페이지번호
	PageNo *int32 `json:"pageNo"`

	// 페이지사이즈
	PageSize *int32 `json:"pageSize"`
}

type GetCloudMysqlDatabaseListResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMysqlDatabase리스트
	CloudMysqlInstanceList []*CloudMysqlDatabase `json:"cloudMysqlInstanceList,omitempty"`
}

type GetCloudMysqlImageProductListRequest

type GetCloudMysqlImageProductListRequest struct {

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

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

	// 제외할상품코드
	ExclusionProductCode *string `json:"exclusionProductCode,omitempty"`
}

type GetCloudMysqlImageProductListResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

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

type GetCloudMysqlInstanceDetailRequest

type GetCloudMysqlInstanceDetailRequest struct {

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

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

type GetCloudMysqlInstanceDetailResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMysql인스턴스리스트
	CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"`
}

type GetCloudMysqlInstanceListRequest

type GetCloudMysqlInstanceListRequest struct {

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

	// ZONE코드
	ZoneCode *string `json:"zoneCode,omitempty"`

	// VPC번호
	VpcNo *string `json:"vpcNo,omitempty"`

	// Subnet번호
	SubnetNo *string `json:"subnetNo,omitempty"`

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

	// CloudMysql인스턴스번호리스트
	CloudMysqlInstanceNoList []*string `json:"cloudMysqlInstanceNoList,omitempty"`

	// CloudMysql서버이름
	CloudMysqlServerName *string `json:"cloudMysqlServerName,omitempty"`

	// CloudMysql서버인스턴스번호리스트
	CloudMysqlServerInstanceNoList []*string `json:"cloudMysqlServerInstanceNoList,omitempty"`

	// 페이지번호
	PageNo *int32 `json:"pageNo,omitempty"`

	// 페이지사이즈
	PageSize *int32 `json:"pageSize,omitempty"`
}

type GetCloudMysqlInstanceListResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMysql인스턴스리스트
	CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"`
}

type GetCloudMysqlProductListRequest

type GetCloudMysqlProductListRequest struct {

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

	// ZONE코드
	ZoneCode *string `json:"zoneCode,omitempty"`

	// CloudMysql이미지상품코드
	CloudMysqlImageProductCode *string `json:"cloudMysqlImageProductCode"`

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

	// 제외할상품코드
	ExclusionProductCode *string `json:"exclusionProductCode,omitempty"`
}

type GetCloudMysqlProductListResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

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

type GetCloudMysqlRecoveryTimeRequest

type GetCloudMysqlRecoveryTimeRequest struct {

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

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

type GetCloudMysqlRecoveryTimeResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMysql인스턴스리스트
	CloudMysqlInstanceList *CloudMysqlRecoveryTime `json:"cloudMysqlInstanceList,omitempty"`
}

type GetCloudMysqlUserListRequest

type GetCloudMysqlUserListRequest struct {

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

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

	// 페이지번호
	PageNo *int32 `json:"pageNo"`

	// 페이지사이즈
	PageSize *int32 `json:"pageSize"`
}

type GetCloudMysqlUserListResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMysqlUser리스트
	CloudMysqlUserList []*CloudMysqlUser `json:"cloudMysqlUserList,omitempty"`
}

type GetDbServerLogListRequest

type GetDbServerLogListRequest struct {

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

	// 데이터베이스서버로그파일타입
	LogType *string `json:"logType"`

	// CloudMysql서버인스턴스번호
	CloudMysqlServerInstanceNo *string `json:"cloudMysqlServerInstanceNo"`
}

type GetDbServerLogListResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMysql데이터베이스서버로그리스트
	CloudMysqlDbServerLogList []*CloudMysqlDbServerLog `json:"cloudMysqlDbServerLogList,omitempty"`
}

type Product

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"`
}

type ProductList

type ProductList struct {
}

type RebootCloudMysqlServerInstanceRequest

type RebootCloudMysqlServerInstanceRequest struct {

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

	// CloudMysql서버인스턴스번호
	CloudMysqlServerInstanceNo *string `json:"cloudMysqlServerInstanceNo"`
}

type RebootCloudMysqlServerInstanceResponse

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

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

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

	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMysql인스턴스리스트
	CloudMysqlInstanceList []*CloudMysqlInstance `json:"cloudMysqlInstanceList,omitempty"`
}

type V2ApiService

type V2ApiService service

func (*V2ApiService) AddCloudMysqlDatabaseList

func (a *V2ApiService) AddCloudMysqlDatabaseList(addCloudMysqlDatabaseListRequest *AddCloudMysqlDatabaseListRequest) (*AddCloudMysqlDatabaseListResponse, error)
V2ApiService

@param addCloudMysqlDatabaseListRequest addCloudMysqlDatabaseListRequest @return *AddCloudMysqlDatabaseListResponse

func (*V2ApiService) AddCloudMysqlUserList

func (a *V2ApiService) AddCloudMysqlUserList(addCloudMysqlUserListRequest *AddCloudMysqlUserListRequest) (*AddCloudMysqlUserListResponse, error)
V2ApiService

@param addCloudMysqlUserListRequest addCloudMysqlUserListRequest @return *AddCloudMysqlUserListResponse

func (*V2ApiService) ChangeCloudMysqlUserList

func (a *V2ApiService) ChangeCloudMysqlUserList(changeCloudMysqlUserListRequest *ChangeCloudMysqlUserListRequest) (*ChangeCloudMysqlUserListResponse, error)
V2ApiService

@param changeCloudMysqlUserListRequest changeCloudMysqlUserListRequest @return *ChangeCloudMysqlUserListResponse

func (*V2ApiService) CreateCloudMysqlInstance

func (a *V2ApiService) CreateCloudMysqlInstance(createCloudMysqlInstanceRequest *CreateCloudMysqlInstanceRequest) (*CreateCloudMysqlInstanceResponse, error)
V2ApiService

@param createCloudMysqlInstanceRequest createCloudMysqlInstanceRequest @return *CreateCloudMysqlInstanceResponse

func (*V2ApiService) CreateCloudMysqlRecoveryInstance

func (a *V2ApiService) CreateCloudMysqlRecoveryInstance(createCloudMysqlRecoveryInstanceRequest *CreateCloudMysqlRecoveryInstanceRequest) (*CreateCloudMysqlRecoveryInstanceResponse, error)
V2ApiService

@param createCloudMysqlRecoveryInstanceRequest createCloudMysqlRecoveryInstanceRequest @return *CreateCloudMysqlRecoveryInstanceResponse

func (*V2ApiService) CreateCloudMysqlSlaveInstance

func (a *V2ApiService) CreateCloudMysqlSlaveInstance(createCloudMysqlSlaveInstanceRequest *CreateCloudMysqlSlaveInstanceRequest) (*CreateCloudMysqlSlaveInstanceResponse, error)
V2ApiService

@param createCloudMysqlSlaveInstanceRequest createCloudMysqlSlaveInstanceRequest @return *CreateCloudMysqlSlaveInstanceResponse

func (*V2ApiService) DeleteCloudMysqlDatabaseList

func (a *V2ApiService) DeleteCloudMysqlDatabaseList(deleteCloudMysqlDatabaseListRequest *DeleteCloudMysqlDatabaseListRequest) (*DeleteCloudMysqlDatabaseListResponse, error)
V2ApiService

@param deleteCloudMysqlDatabaseListRequest deleteCloudMysqlDatabaseListRequest @return *DeleteCloudMysqlDatabaseListResponse

func (*V2ApiService) DeleteCloudMysqlInstance

func (a *V2ApiService) DeleteCloudMysqlInstance(deleteCloudMysqlInstanceRequest *DeleteCloudMysqlInstanceRequest) (*DeleteCloudMysqlInstanceResponse, error)
V2ApiService

@param deleteCloudMysqlInstanceRequest deleteCloudMysqlInstanceRequest @return *DeleteCloudMysqlInstanceResponse

func (*V2ApiService) DeleteCloudMysqlServerInstance

func (a *V2ApiService) DeleteCloudMysqlServerInstance(deleteCloudMysqlServerInstanceRequest *DeleteCloudMysqlServerInstanceRequest) (*DeleteCloudMysqlServerInstanceResponse, error)
V2ApiService

@param deleteCloudMysqlServerInstanceRequest deleteCloudMysqlServerInstanceRequest @return *DeleteCloudMysqlServerInstanceResponse

func (*V2ApiService) DeleteCloudMysqlUserList

func (a *V2ApiService) DeleteCloudMysqlUserList(deleteCloudMysqlUserListRequest *DeleteCloudMysqlUserListRequest) (*DeleteCloudMysqlUserListResponse, error)
V2ApiService

@param deleteCloudMysqlUserListRequest deleteCloudMysqlUserListRequest @return *DeleteCloudMysqlUserListResponse

func (*V2ApiService) ExportBackupToObjectStorage

func (a *V2ApiService) ExportBackupToObjectStorage(exportBackupToObjectStorageRequest *ExportBackupToObjectStorageRequest) (*ExportBackupToObjectStorageResponse, error)
V2ApiService

@param exportBackupToObjectStorageRequest exportBackupToObjectStorageRequest @return *ExportBackupToObjectStorageResponse

func (*V2ApiService) ExportDbServerLogToObjectStorage

func (a *V2ApiService) ExportDbServerLogToObjectStorage(exportDbServerLogToObjectStorageRequest *ExportDbServerLogToObjectStorageRequest) (*ExportDbServerLogToObjectStorageResponse, error)
V2ApiService

@param exportDbServerLogToObjectStorageRequest exportDbServerLogToObjectStorageRequest @return *ExportDbServerLogToObjectStorageResponse

func (*V2ApiService) GetCloudMysqlBackupDetailList

func (a *V2ApiService) GetCloudMysqlBackupDetailList(getCloudMysqlBackupDetailListRequest *GetCloudMysqlBackupDetailListRequest) (*GetCloudMysqlBackupDetailListResponse, error)
V2ApiService

@param getCloudMysqlBackupDetailListRequest getCloudMysqlBackupDetailListRequest @return *GetCloudMysqlBackupDetailListResponse

func (*V2ApiService) GetCloudMysqlBackupList

func (a *V2ApiService) GetCloudMysqlBackupList(getCloudMysqlBackupListRequest *GetCloudMysqlBackupListRequest) (*GetCloudMysqlBackupListResponse, error)
V2ApiService

@param getCloudMysqlBackupListRequest getCloudMysqlBackupListRequest @return *GetCloudMysqlBackupListResponse

func (*V2ApiService) GetCloudMysqlDatabaseList

func (a *V2ApiService) GetCloudMysqlDatabaseList(getCloudMysqlDatabaseListRequest *GetCloudMysqlDatabaseListRequest) (*GetCloudMysqlDatabaseListResponse, error)
V2ApiService

@param getCloudMysqlDatabaseListRequest getCloudMysqlDatabaseListRequest @return *GetCloudMysqlDatabaseListResponse

func (*V2ApiService) GetCloudMysqlImageProductList

func (a *V2ApiService) GetCloudMysqlImageProductList(getCloudMysqlImageProductListRequest *GetCloudMysqlImageProductListRequest) (*GetCloudMysqlImageProductListResponse, error)
V2ApiService

@param getCloudMysqlImageProductListRequest getCloudMysqlImageProductListRequest @return *GetCloudMysqlImageProductListResponse

func (*V2ApiService) GetCloudMysqlInstanceDetail

func (a *V2ApiService) GetCloudMysqlInstanceDetail(getCloudMysqlInstanceDetailRequest *GetCloudMysqlInstanceDetailRequest) (*GetCloudMysqlInstanceDetailResponse, error)
V2ApiService

@param getCloudMysqlInstanceDetailRequest getCloudMysqlInstanceDetailRequest @return *GetCloudMysqlInstanceDetailResponse

func (*V2ApiService) GetCloudMysqlInstanceList

func (a *V2ApiService) GetCloudMysqlInstanceList(getCloudMysqlInstanceListRequest *GetCloudMysqlInstanceListRequest) (*GetCloudMysqlInstanceListResponse, error)
V2ApiService

@param getCloudMysqlInstanceListRequest getCloudMysqlInstanceListRequest @return *GetCloudMysqlInstanceListResponse

func (*V2ApiService) GetCloudMysqlProductList

func (a *V2ApiService) GetCloudMysqlProductList(getCloudMysqlProductListRequest *GetCloudMysqlProductListRequest) (*GetCloudMysqlProductListResponse, error)
V2ApiService

@param getCloudMysqlProductListRequest getCloudMysqlProductListRequest @return *GetCloudMysqlProductListResponse

func (*V2ApiService) GetCloudMysqlRecoveryTime

func (a *V2ApiService) GetCloudMysqlRecoveryTime(getCloudMysqlRecoveryTimeRequest *GetCloudMysqlRecoveryTimeRequest) (*GetCloudMysqlRecoveryTimeResponse, error)
V2ApiService

@param getCloudMysqlRecoveryTimeRequest getCloudMysqlRecoveryTimeRequest @return *GetCloudMysqlRecoveryTimeResponse

func (*V2ApiService) GetCloudMysqlUserList

func (a *V2ApiService) GetCloudMysqlUserList(getCloudMysqlUserListRequest *GetCloudMysqlUserListRequest) (*GetCloudMysqlUserListResponse, error)
V2ApiService

@param getCloudMysqlUserListRequest getCloudMysqlUserListRequest @return *GetCloudMysqlUserListResponse

func (*V2ApiService) GetDbServerLogList

func (a *V2ApiService) GetDbServerLogList(getDbServerLogListRequest *GetDbServerLogListRequest) (*GetDbServerLogListResponse, error)
V2ApiService

@param getDbServerLogListRequest getDbServerLogListRequest @return *GetDbServerLogListResponse

func (*V2ApiService) RebootCloudMysqlServerInstance

func (a *V2ApiService) RebootCloudMysqlServerInstance(rebootCloudMysqlServerInstanceRequest *RebootCloudMysqlServerInstanceRequest) (*RebootCloudMysqlServerInstanceResponse, error)
V2ApiService

@param rebootCloudMysqlServerInstanceRequest rebootCloudMysqlServerInstanceRequest @return *RebootCloudMysqlServerInstanceResponse

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL