vmssql

package
v1.6.22 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT, MIT Imports: 23 Imported by: 0

README

Go API client for vmssql

<br/>https://ncloud.apigw.ntruss.com/vmssql/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:44: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:

"./vmssql"

Documentation for API Endpoints

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

Class Method HTTP request Description
V2Api CreateCloudMssqlInstance Post /createCloudMssqlInstance
V2Api CreateCloudMssqlSlaveInstance Post /createCloudMssqlSlaveInstance
V2Api DeleteCloudMssqlInstance Post /deleteCloudMssqlInstance
V2Api DeleteCloudMssqlServerInstance Post /deleteCloudMssqlServerInstance
V2Api DownloadDmsFile Post /downloadDmsFile
V2Api GetCloudMssqlBackupDetailList Post /getCloudMssqlBackupDetailList
V2Api GetCloudMssqlBackupList Post /getCloudMssqlBackupList
V2Api GetCloudMssqlCharacterSetList Post /getCloudMssqlCharacterSetList
V2Api GetCloudMssqlConfigGroupList Post /getCloudMssqlConfigGroupList
V2Api GetCloudMssqlImageProductList Post /getCloudMssqlImageProductList
V2Api GetCloudMssqlInstanceDetail Post /getCloudMssqlInstanceDetail
V2Api GetCloudMssqlInstanceList Post /getCloudMssqlInstanceList
V2Api GetCloudMssqlProductList Post /getCloudMssqlProductList
V2Api GetDmsBackupList Post /getDmsBackupList
V2Api GetDmsObjectStorageBackupList Post /getDmsObjectStorageBackupList
V2Api GetDmsOperation Post /getDmsOperation
V2Api RebootCloudMssqlServerInstance Post /rebootCloudMssqlServerInstance
V2Api RestoreDmsDatabase Post /restoreDmsDatabase
V2Api RestoreDmsTransactionLog Post /restoreDmsTransactionLog
V2Api SetDmsObjectStorageInfo Post /setDmsObjectStorageInfo
V2Api UploadDmsFile Post /uploadDmsFile

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 vmssql API v2021-11-25T11:44: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 BackupFile

type BackupFile struct {

	// MSSQL서버이름
	CloudMssqlServerName *string `json:"cloudMssqlServerName,omitempty"`

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

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

	// LSN시작번호
	FirstLsn *string `json:"firstLsn,omitempty"`

	// LSN끝번호
	LastLsn *string `json:"lastLsn,omitempty"`

	// 백업유형
	BackupType *CommonCode `json:"backupType,omitempty"`

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

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

type BackupFileList

type BackupFileList struct {

	// Backup파일리스트
	BackupFileList []*BackupFile `json:"backupFileList,omitempty"`
}

type CloudMssqlBackup

type CloudMssqlBackup struct {

	// Cloud DB for Mssql 인스턴스 번호
	CloudMssqlInstanceNo *string `json:"cloudMssqlInstanceNo,omitempty"`

	// Cloud DB for Mssql 서비스 이름
	CloudMssqlServiceName *string `json:"cloudMssqlServiceName,omitempty"`

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

	// FullBackup 시작 시간
	BackupTime *string `json:"backupTime,omitempty"`

	// 보관중인 Backup 데이터 사이즈
	TotalBackupDataSize *int64 `json:"totalBackupDataSize,omitempty"`

	// FullBackup 데이터 사이즈
	FullBackupDataSize *int64 `json:"fullBackupDataSize,omitempty"`

	// Log Backup 데이터 사이즈
	LogBackupDataSize *int64 `json:"logBackupDataSize,omitempty"`

	// Log Backup 수
	LogBackupCount *int32 `json:"logBackupCount,omitempty"`
}

type CloudMssqlBackupDetail

type CloudMssqlBackupDetail struct {

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

	// FullBackup 데이터 사이즈
	FullBackupSize *int64 `json:"fullBackupSize,omitempty"`

	// 연관된 Log Backup 수
	LogBackupCount *int32 `json:"logBackupCount,omitempty"`

	// 연관된 Log Backup 데이터 사이즈
	LogBackupSize *int64 `json:"logBackupSize,omitempty"`

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

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

type CloudMssqlBackupDetailList

type CloudMssqlBackupDetailList struct {

	// 조회된 리스트의 총 개수
	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMssql백업상세정보리스트
	CloudMssqlBackupDetailList []*CloudMssqlBackupDetail `json:"cloudMssqlBackupDetailList,omitempty"`
}

type CloudMssqlBackupList

type CloudMssqlBackupList struct {

	// 조회된 리스트의 총 개수
	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMssql백업리스트
	CloudMssqlBackupList []*CloudMssqlBackup `json:"cloudMssqlBackupList,omitempty"`
}

type CloudMssqlCharacterSet

type CloudMssqlCharacterSet struct {

	// 조회된 리스트의 총 개수
	TotalRows *int32 `json:"totalRows,omitempty"`

	// 문자셋 이름
	CharacterSetName *string `json:"characterSetName,omitempty"`
}

type CloudMssqlCharacterSetList

type CloudMssqlCharacterSetList struct {

	// CloudMssql문자셋리스트
	CloudMssqlCharacterSetList []*CloudMssqlCharacterSet `json:"cloudMssqlCharacterSetList,omitempty"`
}

type CloudMssqlConfigGroup

type CloudMssqlConfigGroup struct {

	// Cloud DB for MSSQL Config Group 번호
	ConfigGroupNo *int32 `json:"configGroupNo,omitempty"`

	// Cloud DB for MSSQL Config Group 이름
	ConfigGroupName *string `json:"configGroupName,omitempty"`

	// Cloud DB for MSSQL Config Group 설명
	ConfigGroupDescription *string `json:"configGroupDescription,omitempty"`

	// Cloud DB for MSSQL Config Group 타입
	ConfigGroupType *CommonCode `json:"configGroupType,omitempty"`

	// Cloud DB for MSSQL Config Group 상태
	ConfigGroupStatus *CommonCode `json:"configGroupStatus,omitempty"`

	// Cloud DB for MSSQL Config Group 상태명
	ConfigGroupStatusName *string `json:"configGroupStatusName,omitempty"`

	// Cloud DB for MSSQL Config Group 생성 일시
	CreateDate *string `json:"createDate,omitempty"`

	// Cloud DB for MSSQL Config Group 마지막 수정 일시
	ModifyDate *string `json:"modifyDate,omitempty"`

	// Cloud DB for MSSQL Config Group을 사용 중인 Cloud DB for MSSQL Instance 번호 목록
	CloudMssqlCharacterSetList []*CloudMssqlCharacterSet `json:"cloudMssqlCharacterSetList,omitempty"`
}

type CloudMssqlConfigGroupList

type CloudMssqlConfigGroupList struct {

	// 조회된 리스트의 총 개수
	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMssql Config Group 리스트
	CloudMssqlConfigGroupList []*CloudMssqlConfigGroup `json:"cloudMssqlConfigGroupList,omitempty"`
}

type CloudMssqlInstance

type CloudMssqlInstance struct {

	// Cloud DB for MSSQL 인스턴스 번호
	CloudMssqlInstanceNo *string `json:"cloudMssqlInstanceNo,omitempty"`

	// Cloud DB for MSSQL 서비스 이름
	CloudMssqlServiceName *string `json:"cloudMssqlServiceName,omitempty"`

	// Cloud DB for MSSQL 인스턴스 상태 이름
	CloudMssqlInstanceStatusName *string `json:"cloudMssqlInstanceStatusName,omitempty"`

	// Cloud DB for MSSQL 인스턴스 상태
	CloudMssqlInstanceStatus *CommonCode `json:"cloudMssqlInstanceStatus,omitempty"`

	// Cloud DB for MSSQL 인스턴스 OP
	CloudMssqlInstanceOperation *CommonCode `json:"cloudMssqlInstanceOperation,omitempty"`

	// Cloud DB for MSSQL 상품 코드
	CloudMssqlImageProductCode *string `json:"cloudMssqlImageProductCode,omitempty"`

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

	// Cloud DB for MSSQL 라이선스
	LicenseCode *CommonCode `json:"licenseCode,omitempty"`

	// Cloud DB for MSSQL 포트
	CloudMssqlPort *int32 `json:"cloudMssqlPort,omitempty"`

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

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

	// Cloud DB for MSSQL Config Group 번호
	ConfigGroupNo *string `json:"configGroupNo,omitempty"`

	// Cloud DB for MSSQL 엔진 버전
	EngineVersion *string `json:"engineVersion,omitempty"`

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

	// Cloud DB for MSSQL 문자셋
	DbCollation *string `json:"dbCollation,omitempty"`

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

	// Cloud MSSQL 서버 리스트
	CloudMssqlServerInstanceList []*CloudMssqlServerInstance `json:"cloudMssqlServerInstanceList,omitempty"`
}

type CloudMssqlInstanceList

type CloudMssqlInstanceList struct {

	// 조회된 리스트의 총 개수
	TotalRows *int32 `json:"totalRows,omitempty"`

	// CloudMssql 인스턴스 리스트
	CloudMssqlInstanceList []*CloudMssqlInstance `json:"cloudMssqlInstanceList,omitempty"`
}

type CloudMssqlServerInstance

type CloudMssqlServerInstance struct {

	// Cloud DB for MSSQL 서버 인스턴스 번호
	CloudMssqlServerInstanceNo *string `json:"cloudMssqlServerInstanceNo,omitempty"`

	// Cloud DB for MSSQL 서버 이름
	CloudMssqlServerName *string `json:"cloudMssqlServerName,omitempty"`

	// Cloud DB for MSSQL 서버 역할
	CloudMssqlServerRole *CommonCode `json:"cloudMssqlServerRole,omitempty"`

	// Cloud DB for MSSQL 서버 인스턴스 상태 이름
	CloudMssqlServerInstanceStatusName *string `json:"cloudMssqlServerInstanceStatusName,omitempty"`

	// Cloud DB for MSSQL 서버 인스턴스 상태
	CloudMssqlServerInstanceStatus *CommonCode `json:"cloudMssqlServerInstanceStatus,omitempty"`

	// Cloud DB for MSSQL 서버 인스턴스 OP
	CloudMssqlServerInstanceOperation *CommonCode `json:"cloudMssqlServerInstanceOperation,omitempty"`

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

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

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

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

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

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

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

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

	// Cloud DB for MSSQL 상품 코드
	CloudMssqlProductCode *string `json:"cloudMssqlProductCode,omitempty"`

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

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

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

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

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

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

type CommonCode

type CommonCode struct {

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

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

type CreateCloudMssqlInstanceRequest

type CreateCloudMssqlInstanceRequest struct {

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

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

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

	// Cloud MSSQL 서비스 이름
	CloudMssqlServiceName *string `json:"cloudMssqlServiceName"`

	// Cloud MSSQL Config Group 번호
	ConfigGroupNo *string `json:"configGroupNo,omitempty"`

	// Cloud MSSQL 상품 코드
	CloudMssqlImageProductCode *string `json:"cloudMssqlImageProductCode,omitempty"`

	// Cloud MSSQL 스펙 코드
	CloudMssqlProductCode *string `json:"cloudMssqlProductCode,omitempty"`

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

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

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

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

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

	// 접근 유저명
	CloudMssqlUserName *string `json:"cloudMssqlUserName"`

	// 접근 패스워드
	CloudMssqlUserPassword *string `json:"cloudMssqlUserPassword"`

	// Cloud MSSQL 포트
	CloudMssqlPort *int32 `json:"cloudMssqlPort,omitempty"`

	// DB 문자셋
	CharacterSetName *string `json:"characterSetName,omitempty"`
}

type CreateCloudMssqlInstanceResponse

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

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

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

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

	// CloudMssql인스턴스리스트
	CloudMssqlInstanceList []*CloudMssqlInstance `json:"cloudMssqlInstanceList,omitempty"`
}

type CreateCloudMssqlSlaveInstanceRequest

type CreateCloudMssqlSlaveInstanceRequest struct {

	// Cloud MSSQL 인스턴스 번호
	CloudMssqlInstanceNo *string `json:"cloudMssqlInstanceNo"`

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

	// private domain postfix
	PrivateDomainPostfix *string `json:"privateDomainPostfix"`
}

type CreateCloudMssqlSlaveInstanceResponse

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

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

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

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

	// CloudMssql인스턴스리스트
	CloudMssqlInstanceList []*CloudMssqlInstance `json:"cloudMssqlInstanceList,omitempty"`
}

type DeleteCloudMssqlInstanceRequest

type DeleteCloudMssqlInstanceRequest struct {

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

	// Cloud MSSQL 인스턴스 번호
	CloudMssqlInstanceNo *string `json:"cloudMssqlInstanceNo"`
}

type DeleteCloudMssqlInstanceResponse

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

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

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

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

	// CloudMssql인스턴스리스트
	CloudMssqlInstanceList []*CloudMssqlInstance `json:"cloudMssqlInstanceList,omitempty"`
}

type DeleteCloudMssqlServerInstanceRequest

type DeleteCloudMssqlServerInstanceRequest struct {

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

	// CloudMssql서버인스턴스번호
	CloudMssqlServerInstanceNo *string `json:"cloudMssqlServerInstanceNo"`
}

type DeleteCloudMssqlServerInstanceResponse

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

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

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

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

	// CloudMssql인스턴스리스트
	CloudMssqlInstanceList []*CloudMssqlInstance `json:"cloudMssqlInstanceList,omitempty"`
}

type DmsFile

type DmsFile struct {

	// 파일길이
	FileLength *int64 `json:"fileLength,omitempty"`

	// 파일작성시간
	LastWriteTime *string `json:"lastWriteTime,omitempty"`

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

type DmsFileList

type DmsFileList struct {

	// DMS파일리스트
	DmsFileList []*DmsFile `json:"dmsFileList,omitempty"`
}

type DownloadDmsFileRequest

type DownloadDmsFileRequest struct {

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

	// CloudMssql인스턴스번호
	CloudMssqlInstanceNo *string `json:"cloudMssqlInstanceNo"`

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

type DownloadDmsFileResponse

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

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

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

	// 요청번호
	RequestNo *string `json:"requestNo,omitempty"`
}

type GetCloudMssqlBackupDetailListRequest

type GetCloudMssqlBackupDetailListRequest struct {

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

	// CloudMssql인스턴스번호
	CloudMssqlInstanceNo *string `json:"cloudMssqlInstanceNo"`

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

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

type GetCloudMssqlBackupDetailListResponse

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

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

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

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

	// CloudMssql백업상세리스트
	CloudMssqlBackupDetailList []*CloudMssqlBackupDetail `json:"cloudMssqlBackupDetailList,omitempty"`
}

type GetCloudMssqlBackupListRequest

type GetCloudMssqlBackupListRequest struct {

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

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

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

type GetCloudMssqlBackupListResponse

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

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

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

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

	// CloudMssql백업리스트
	CloudMssqlBackupList []*CloudMssqlBackup `json:"cloudMssqlBackupList,omitempty"`
}

type GetCloudMssqlCharacterSetListRequest

type GetCloudMssqlCharacterSetListRequest struct {

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

type GetCloudMssqlCharacterSetListResponse

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

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

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

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

	// Cloud MSSQL 문자셋 리스트
	CloudMssqlCharacterSetList []*CloudMssqlCharacterSet `json:"cloudMssqlCharacterSetList,omitempty"`
}

type GetCloudMssqlConfigGroupListRequest

type GetCloudMssqlConfigGroupListRequest struct {

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

	// Config Group 번호
	ConfigGroupNo *string `json:"configGroupNo,omitempty"`

	// Config Group 이름
	ConfigGroupName *string `json:"configGroupName,omitempty"`

	// Cloud MSSQL 번호
	CloudMssqlInstanceNo *string `json:"cloudMssqlInstanceNo,omitempty"`

	// Cloud MSSQL 이름
	CloudMssqlServiceName *string `json:"cloudMssqlServiceName,omitempty"`
}

type GetCloudMssqlConfigGroupListResponse

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

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

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

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

	// Cloud MSSQL Config Group 리스트
	CloudMssqlConfigGroupList []*CloudMssqlConfigGroup `json:"cloudMssqlConfigGroupList,omitempty"`
}

type GetCloudMssqlImageProductListRequest

type GetCloudMssqlImageProductListRequest struct {

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

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

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

type GetCloudMssqlImageProductListResponse

type GetCloudMssqlImageProductListResponse 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 GetCloudMssqlInstanceDetailRequest

type GetCloudMssqlInstanceDetailRequest struct {

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

	// CloudMssql인스턴스번호
	CloudMssqlInstanceNo *string `json:"cloudMssqlInstanceNo"`
}

type GetCloudMssqlInstanceDetailResponse

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

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

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

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

	// CloudMssql인스턴스리스트
	CloudMssqlInstanceList []*CloudMssqlInstance `json:"cloudMssqlInstanceList,omitempty"`
}

type GetCloudMssqlInstanceListRequest

type GetCloudMssqlInstanceListRequest struct {

	// CloudMssql인스턴스번호리스트
	CloudMssqlInstanceNoList []*string `json:"cloudMssqlInstanceNoList,omitempty"`

	// CloudMssql서비스이름
	CloudMssqlServiceName *string `json:"cloudMssqlServiceName,omitempty"`

	// CloudMssql서버인스턴스번호리스트
	CloudMssqlServerInstanceNoList *string `json:"cloudMssqlServerInstanceNoList,omitempty"`

	// CloudMssql서버이름
	CloudMssqlServerName *string `json:"cloudMssqlServerName,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"`

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

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

type GetCloudMssqlInstanceListResponse

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

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

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

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

	// CloudMssql인스턴스리스트
	CloudMssqlInstanceList []*CloudMssqlInstance `json:"cloudMssqlInstanceList,omitempty"`
}

type GetCloudMssqlProductListRequest

type GetCloudMssqlProductListRequest struct {

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

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

	// CloudMssql이미지상품코드
	CloudMssqlImageProductCode *string `json:"cloudMssqlImageProductCode"`

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

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

type GetCloudMssqlProductListResponse

type GetCloudMssqlProductListResponse 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 GetDmsBackupListRequest

type GetDmsBackupListRequest struct {

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

	// CloudMssql인스턴스번호
	CloudMssqlInstanceNo *string `json:"cloudMssqlInstanceNo"`

	// 데이터베이스 이름
	DatabaseName *string `json:"databaseName,omitempty"`

	// 백업 유형 코드
	BackupTypeCode *string `json:"backupTypeCode,omitempty"`
}

type GetDmsBackupListResponse

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

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

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

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

	// 백업파일리스트
	BackupFileList []*BackupFile `json:"backupFileList,omitempty"`
}

type GetDmsObjectStorageBackupListRequest

type GetDmsObjectStorageBackupListRequest struct {

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

	// CloudMssql인스턴스번호
	CloudMssqlInstanceNo *string `json:"cloudMssqlInstanceNo"`

	// 폴더이름
	FolderName *string `json:"folderName"`
}

type GetDmsObjectStorageBackupListResponse

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

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

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

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

	// DMS파일리스트
	DmsFileList []*DmsFile `json:"dmsFileList,omitempty"`
}

type GetDmsOperationRequest

type GetDmsOperationRequest struct {

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

	// 요청번호
	RequestNo *string `json:"requestNo"`
}

type GetDmsOperationResponse

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

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

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

	// DMS상태
	Status *CommonCode `json:"status,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 RebootCloudMssqlServerInstanceRequest

type RebootCloudMssqlServerInstanceRequest struct {

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

	// CloudMssql서버인스턴스번호
	CloudMssqlServerInstanceNo *string `json:"cloudMssqlServerInstanceNo"`
}

type RebootCloudMssqlServerInstanceResponse

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

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

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

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

	// CloudMssql인스턴스리스트
	CloudMssqlInstanceList []*CloudMssqlInstance `json:"cloudMssqlInstanceList,omitempty"`
}

type RestoreDmsDatabaseRequest

type RestoreDmsDatabaseRequest struct {

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

	// CloudMssql인스턴스번호
	CloudMssqlInstanceNo *string `json:"cloudMssqlInstanceNo"`

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

	// recovery 모드 여부
	IsRecovery *bool `json:"isRecovery"`

	// 새로운 데이터베이스 이름
	NewDatabaseName *string `json:"newDatabaseName"`
}

type RestoreDmsDatabaseResponse

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

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

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

	// 요청번호
	RequestNo *string `json:"requestNo,omitempty"`
}

type RestoreDmsTransactionLogRequest

type RestoreDmsTransactionLogRequest struct {

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

	// CloudMssql인스턴스번호
	CloudMssqlInstanceNo *string `json:"cloudMssqlInstanceNo"`

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

	// recovery 모드 여부
	IsRecovery *bool `json:"isRecovery"`

	// 새로운 데이터베이스 이름
	NewDatabaseName *string `json:"newDatabaseName"`

	// restore할 시점
	StopTime *string `json:"stopTime,omitempty"`
}

type RestoreDmsTransactionLogResponse

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

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

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

	// 요청번호
	RequestNo *string `json:"requestNo,omitempty"`
}

type SetDmsObjectStorageInfoRequest

type SetDmsObjectStorageInfoRequest struct {

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

	// access key
	ObjectStorageAccessKey *string `json:"objectStorageAccessKey"`

	// secret key
	ObjectStorageSecretKey *string `json:"objectStorageSecretKey"`

	// endpoint
	Endpoint *string `json:"endpoint"`

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

type SetDmsObjectStorageInfoResponse

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

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

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

type UploadDmsFileRequest

type UploadDmsFileRequest struct {

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

	// CloudMssql인스턴스번호
	CloudMssqlInstanceNo *string `json:"cloudMssqlInstanceNo"`

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

type UploadDmsFileResponse

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

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

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

	// 요청번호
	RequestNo *string `json:"requestNo,omitempty"`
}

type V2ApiService

type V2ApiService service

func (*V2ApiService) CreateCloudMssqlInstance

func (a *V2ApiService) CreateCloudMssqlInstance(createCloudMssqlInstanceRequest *CreateCloudMssqlInstanceRequest) (*CreateCloudMssqlInstanceResponse, error)

V2ApiService @param createCloudMssqlInstanceRequest createCloudMssqlInstanceRequest @return *CreateCloudMssqlInstanceResponse

func (*V2ApiService) CreateCloudMssqlSlaveInstance

func (a *V2ApiService) CreateCloudMssqlSlaveInstance(createCloudMssqlSlaveInstanceRequest *CreateCloudMssqlSlaveInstanceRequest) (*CreateCloudMssqlSlaveInstanceResponse, error)

V2ApiService @param createCloudMssqlSlaveInstanceRequest createCloudMssqlSlaveInstanceRequest @return *CreateCloudMssqlSlaveInstanceResponse

func (*V2ApiService) DeleteCloudMssqlInstance

func (a *V2ApiService) DeleteCloudMssqlInstance(deleteCloudMssqlInstanceRequest *DeleteCloudMssqlInstanceRequest) (*DeleteCloudMssqlInstanceResponse, error)

V2ApiService @param deleteCloudMssqlInstanceRequest deleteCloudMssqlInstanceRequest @return *DeleteCloudMssqlInstanceResponse

func (*V2ApiService) DeleteCloudMssqlServerInstance

func (a *V2ApiService) DeleteCloudMssqlServerInstance(deleteCloudMssqlServerInstanceRequest *DeleteCloudMssqlServerInstanceRequest) (*DeleteCloudMssqlServerInstanceResponse, error)

V2ApiService @param deleteCloudMssqlServerInstanceRequest deleteCloudMssqlServerInstanceRequest @return *DeleteCloudMssqlServerInstanceResponse

func (*V2ApiService) DownloadDmsFile

func (a *V2ApiService) DownloadDmsFile(downloadDmsFileRequest *DownloadDmsFileRequest) (*DownloadDmsFileResponse, error)

V2ApiService @param downloadDmsFileRequest downloadDmsFileRequest @return *DownloadDmsFileResponse

func (*V2ApiService) GetCloudMssqlBackupDetailList

func (a *V2ApiService) GetCloudMssqlBackupDetailList(getCloudMssqlBackupDetailListRequest *GetCloudMssqlBackupDetailListRequest) (*GetCloudMssqlBackupDetailListResponse, error)

V2ApiService @param getCloudMssqlBackupDetailListRequest getCloudMssqlBackupDetailListRequest @return *GetCloudMssqlBackupDetailListResponse

func (*V2ApiService) GetCloudMssqlBackupList

func (a *V2ApiService) GetCloudMssqlBackupList(getCloudMssqlBackupListRequest *GetCloudMssqlBackupListRequest) (*GetCloudMssqlBackupListResponse, error)

V2ApiService @param getCloudMssqlBackupListRequest getCloudMssqlBackupListRequest @return *GetCloudMssqlBackupListResponse

func (*V2ApiService) GetCloudMssqlCharacterSetList

func (a *V2ApiService) GetCloudMssqlCharacterSetList(getCloudMssqlCharacterSetListRequest *GetCloudMssqlCharacterSetListRequest) (*GetCloudMssqlCharacterSetListResponse, error)

V2ApiService @param getCloudMssqlCharacterSetListRequest getCloudMssqlCharacterSetListRequest @return *GetCloudMssqlCharacterSetListResponse

func (*V2ApiService) GetCloudMssqlConfigGroupList

func (a *V2ApiService) GetCloudMssqlConfigGroupList(getCloudMssqlConfigGroupListRequest *GetCloudMssqlConfigGroupListRequest) (*GetCloudMssqlConfigGroupListResponse, error)

V2ApiService @param getCloudMssqlConfigGroupListRequest getCloudMssqlConfigGroupListRequest @return *GetCloudMssqlConfigGroupListResponse

func (*V2ApiService) GetCloudMssqlImageProductList

func (a *V2ApiService) GetCloudMssqlImageProductList(getCloudMssqlImageProductListRequest *GetCloudMssqlImageProductListRequest) (*GetCloudMssqlImageProductListResponse, error)

V2ApiService @param getCloudMssqlImageProductListRequest getCloudMssqlImageProductListRequest @return *GetCloudMssqlImageProductListResponse

func (*V2ApiService) GetCloudMssqlInstanceDetail

func (a *V2ApiService) GetCloudMssqlInstanceDetail(getCloudMssqlInstanceDetailRequest *GetCloudMssqlInstanceDetailRequest) (*GetCloudMssqlInstanceDetailResponse, error)

V2ApiService @param getCloudMssqlInstanceDetailRequest getCloudMssqlInstanceDetailRequest @return *GetCloudMssqlInstanceDetailResponse

func (*V2ApiService) GetCloudMssqlInstanceList

func (a *V2ApiService) GetCloudMssqlInstanceList(getCloudMssqlInstanceListRequest *GetCloudMssqlInstanceListRequest) (*GetCloudMssqlInstanceListResponse, error)

V2ApiService @param getCloudMssqlInstanceListRequest getCloudMssqlInstanceListRequest @return *GetCloudMssqlInstanceListResponse

func (*V2ApiService) GetCloudMssqlProductList

func (a *V2ApiService) GetCloudMssqlProductList(getCloudMssqlProductListRequest *GetCloudMssqlProductListRequest) (*GetCloudMssqlProductListResponse, error)

V2ApiService @param getCloudMssqlProductListRequest getCloudMssqlProductListRequest @return *GetCloudMssqlProductListResponse

func (*V2ApiService) GetDmsBackupList

func (a *V2ApiService) GetDmsBackupList(getDmsBackupListRequest *GetDmsBackupListRequest) (*GetDmsBackupListResponse, error)

V2ApiService @param getDmsBackupListRequest getDmsBackupListRequest @return *GetDmsBackupListResponse

func (*V2ApiService) GetDmsObjectStorageBackupList

func (a *V2ApiService) GetDmsObjectStorageBackupList(getDmsObjectStorageBackupListRequest *GetDmsObjectStorageBackupListRequest) (*GetDmsObjectStorageBackupListResponse, error)

V2ApiService @param getDmsObjectStorageBackupListRequest getDmsObjectStorageBackupListRequest @return *GetDmsObjectStorageBackupListResponse

func (*V2ApiService) GetDmsOperation

func (a *V2ApiService) GetDmsOperation(getDmsOperationRequest *GetDmsOperationRequest) (*GetDmsOperationResponse, error)

V2ApiService @param getDmsOperationRequest getDmsOperationRequest @return *GetDmsOperationResponse

func (*V2ApiService) RebootCloudMssqlServerInstance

func (a *V2ApiService) RebootCloudMssqlServerInstance(rebootCloudMssqlServerInstanceRequest *RebootCloudMssqlServerInstanceRequest) (*RebootCloudMssqlServerInstanceResponse, error)

V2ApiService @param rebootCloudMssqlServerInstanceRequest rebootCloudMssqlServerInstanceRequest @return *RebootCloudMssqlServerInstanceResponse

func (*V2ApiService) RestoreDmsDatabase

func (a *V2ApiService) RestoreDmsDatabase(restoreDmsDatabaseRequest *RestoreDmsDatabaseRequest) (*RestoreDmsDatabaseResponse, error)

V2ApiService @param restoreDmsDatabaseRequest restoreDmsDatabaseRequest @return *RestoreDmsDatabaseResponse

func (*V2ApiService) RestoreDmsTransactionLog

func (a *V2ApiService) RestoreDmsTransactionLog(restoreDmsTransactionLogRequest *RestoreDmsTransactionLogRequest) (*RestoreDmsTransactionLogResponse, error)

V2ApiService @param restoreDmsTransactionLogRequest restoreDmsTransactionLogRequest @return *RestoreDmsTransactionLogResponse

func (*V2ApiService) SetDmsObjectStorageInfo

func (a *V2ApiService) SetDmsObjectStorageInfo(setDmsObjectStorageInfoRequest *SetDmsObjectStorageInfoRequest) (*SetDmsObjectStorageInfoResponse, error)

V2ApiService @param setDmsObjectStorageInfoRequest setDmsObjectStorageInfoRequest @return *SetDmsObjectStorageInfoResponse

func (*V2ApiService) UploadDmsFile

func (a *V2ApiService) UploadDmsFile(uploadDmsFileRequest *UploadDmsFileRequest) (*UploadDmsFileResponse, error)

V2ApiService @param uploadDmsFileRequest uploadDmsFileRequest @return *UploadDmsFileResponse

Source Files

Jump to

Keyboard shortcuts

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