drds

package
v0.0.0-...-0b043e4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Product = "Drds"
	Style   = "RPC"
	Version = "2015-04-13"
)

Variables

This section is empty.

Functions

func NewParams

func NewParams() openapi.Params

Types

type API

type API struct {
	openapi.Service
}

func New

func New(accessKeyId, accessKeySecret string) API

func (API) AlterTable

func (api API) AlterTable(DbName, DdlSql, DrdsInstanceId string, optional openapi.M) (*AlterTableResponse, error)

AlterTable version 2015-04-13

required parameters:

name: DbName, type: string
name: DdlSql, type: string
name: DrdsInstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CancelDDLTask

func (api API) CancelDDLTask(DbName, DrdsInstanceId, TaskId string, optional openapi.M) (*openapi.Response, error)

CancelDDLTask version 2015-04-13

required parameters:

name: DbName, type: string
name: DrdsInstanceId, type: string
name: TaskId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateDrdsDB

func (api API) CreateDrdsDB(DbName, DrdsInstanceId, Encode, Password, RdsInstances string, optional openapi.M) (*CreateDrdsDBResponse, error)

CreateDrdsDB version 2015-04-13

required parameters:

name: DbName, type: string
name: DrdsInstanceId, type: string
name: Encode, type: string, optional values: gbk|latin1|utf8|utf8mb4
name: Password, type: string
name: RdsInstances, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateDrdsInstance

func (api API) CreateDrdsInstance(PayType string, Quantity int, Specification, Type, ZoneId string, optional openapi.M) (*CreateDrdsInstanceResponse, error)

CreateDrdsInstance version 2015-04-13

required parameters:

name: PayType, type: string
name: Quantity, type: int
name: Specification, type: string
name: Type, type: string, optional values: 0|1|PRIVATE|PUBLIC
name: ZoneId, type: string

optional parameters:

name: Description, type: string
name: VpcId, type: string
name: VswitchId, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateIndex

func (api API) CreateIndex(DbName, DdlSql, DrdsInstanceId string, optional openapi.M) (*CreateIndexResponse, error)

CreateIndex version 2015-04-13

required parameters:

name: DbName, type: string
name: DdlSql, type: string
name: DrdsInstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) CreateTable

func (api API) CreateTable(DbName, DdlSql, DrdsInstanceId, ShardType string, optional openapi.M) (*CreateTableResponse, error)

CreateTable version 2015-04-13

required parameters:

name: DbName, type: string
name: DdlSql, type: string
name: DrdsInstanceId, type: string
name: ShardType, type: string

optional parameters:

name: AllowFullTableScan, type: string
name: ShardKey, type: string
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DeleteDrdsDB

func (api API) DeleteDrdsDB(DbName, DrdsInstanceId string, optional openapi.M) (*DeleteDrdsDBResponse, error)

DeleteDrdsDB version 2015-04-13

required parameters:

name: DbName, type: string
name: DrdsInstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeCreateDrdsInstanceStatus

func (api API) DescribeCreateDrdsInstanceStatus(DrdsInstanceId string, optional openapi.M) (*DescribeCreateDrdsInstanceStatusResponse, error)

DescribeCreateDrdsInstanceStatus version 2015-04-13

required parameters:

name: DrdsInstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeDDLTask

func (api API) DescribeDDLTask(DbName, DrdsInstanceId, TaskId string, optional openapi.M) (*DescribeDDLTaskResponse, error)

DescribeDDLTask version 2015-04-13

required parameters:

name: DbName, type: string
name: DrdsInstanceId, type: string
name: TaskId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeDrdsDB

func (api API) DescribeDrdsDB(DbName, DrdsInstanceId string, optional openapi.M) (*DescribeDrdsDBResponse, error)

DescribeDrdsDB version 2015-04-13

required parameters:

name: DbName, type: string
name: DrdsInstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeDrdsDBIpWhiteList

func (api API) DescribeDrdsDBIpWhiteList(DbName, DrdsInstanceId string, optional openapi.M) (*DescribeDrdsDBIpWhiteListResponse, error)

DescribeDrdsDBIpWhiteList version 2015-04-13

required parameters:

name: DbName, type: string
name: DrdsInstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeDrdsDBs

func (api API) DescribeDrdsDBs(DrdsInstanceId string, optional openapi.M) (*DescribeDrdsDBsResponse, error)

DescribeDrdsDBs version 2015-04-13

required parameters:

name: DrdsInstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeDrdsInstance

func (api API) DescribeDrdsInstance(DrdsInstanceId string, optional openapi.M) (*DescribeDrdsInstanceResponse, error)

DescribeDrdsInstance version 2015-04-13

required parameters:

name: DrdsInstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DescribeDrdsInstances

func (api API) DescribeDrdsInstances(optional openapi.M) (*DescribeDrdsInstancesResponse, error)

DescribeDrdsInstances version 2015-04-13

optional parameters:

name: Type, type: string, optional values: 0|1|PRIVATE|PUBLIC
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DropIndexes

func (api API) DropIndexes(DbName, DrdsInstanceId, Indexes, Table string, optional openapi.M) (*DropIndexesResponse, error)

DropIndexes version 2015-04-13

required parameters:

name: DbName, type: string
name: DrdsInstanceId, type: string
name: Indexes, type: string
name: Table, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) DropTables

func (api API) DropTables(DbName, DrdsInstanceId, Tables string, optional openapi.M) (*DropTablesResponse, error)

DropTables version 2015-04-13

required parameters:

name: DbName, type: string
name: DrdsInstanceId, type: string
name: Tables, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ListUnCompleteTasks

func (api API) ListUnCompleteTasks(DbName, DrdsInstanceId string, optional openapi.M) (*ListUnCompleteTasksResponse, error)

ListUnCompleteTasks version 2015-04-13

required parameters:

name: DbName, type: string
name: DrdsInstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyDrdsDBPasswd

func (api API) ModifyDrdsDBPasswd(DbName, DrdsInstanceId, NewPasswd string, optional openapi.M) (*ModifyDrdsDBPasswdResponse, error)

ModifyDrdsDBPasswd version 2015-04-13

required parameters:

name: DbName, type: string
name: DrdsInstanceId, type: string
name: NewPasswd, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyDrdsInstanceDescription

func (api API) ModifyDrdsInstanceDescription(Description, DrdsInstanceId string, optional openapi.M) (*ModifyDrdsInstanceDescriptionResponse, error)

ModifyDrdsInstanceDescription version 2015-04-13

required parameters:

name: Description, type: string
name: DrdsInstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) ModifyDrdsIpWhiteList

func (api API) ModifyDrdsIpWhiteList(DbName, DrdsInstanceId, IpWhiteList string, optional openapi.M) (*ModifyDrdsIpWhiteListResponse, error)

ModifyDrdsIpWhiteList version 2015-04-13

required parameters:

name: DbName, type: string
name: DrdsInstanceId, type: string
name: IpWhiteList, type: string

optional parameters:

name: Mode, type: bool
name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

func (API) RemoveDrdsInstance

func (api API) RemoveDrdsInstance(DrdsInstanceId string, optional openapi.M) (*RemoveDrdsInstanceResponse, error)

RemoveDrdsInstance version 2015-04-13

required parameters:

name: DrdsInstanceId, type: string

optional parameters:

name: _method, type: string, optional values: GET|POST
name: _region, type: string
name: _scheme, type: string, optional values: http|https

type AlterTableResponse

type AlterTableResponse struct {
	TaskId string
}

AlterTableResponse represents the response of the api AlterTable.

type CreateDrdsDBResponse

type CreateDrdsDBResponse struct {
	Success bool
}

CreateDrdsDBResponse represents the response of the api CreateDrdsDB.

type CreateDrdsInstanceResponse

type CreateDrdsInstanceResponse struct {
	Data struct {
		OrderId int64
	}
	Success bool
}

CreateDrdsInstanceResponse represents the response of the api CreateDrdsInstance.

type CreateIndexResponse

type CreateIndexResponse struct {
	TaskId string
}

CreateIndexResponse represents the response of the api CreateIndex.

type CreateTableResponse

type CreateTableResponse struct {
	TaskId string
}

CreateTableResponse represents the response of the api CreateTable.

type DeleteDrdsDBResponse

type DeleteDrdsDBResponse struct {
	Success bool
}

DeleteDrdsDBResponse represents the response of the api DeleteDrdsDB.

type DescribeCreateDrdsInstanceStatusResponse

type DescribeCreateDrdsInstanceStatusResponse struct {
	Data struct {
		Status string
	}
	Success bool
}

DescribeCreateDrdsInstanceStatusResponse represents the response of the api DescribeCreateDrdsInstanceStatus.

type DescribeDDLTaskResponse

type DescribeDDLTaskResponse struct {
	Data struct {
		AllowCancel string
		ErrMsg      string
		GmtCreate   int64
		RequestId   string
		TargetId    string
		TaskDetail  string
		TaskName    string
		TaskPhase   string
		TaskStatus  int
		TaskType    int
	}
}

DescribeDDLTaskResponse represents the response of the api DescribeDDLTask.

type DescribeDrdsDBIpWhiteListResponse

type DescribeDrdsDBIpWhiteListResponse struct {
	Data struct {
	}
	Success bool
}

DescribeDrdsDBIpWhiteListResponse represents the response of the api DescribeDrdsDBIpWhiteList.

type DescribeDrdsDBResponse

type DescribeDrdsDBResponse struct {
	Data struct {
		CreateTime string
		DbName     string
		Mode       string
		Msg        string
		Status     int
	}
	Success bool
}

DescribeDrdsDBResponse represents the response of the api DescribeDrdsDB.

type DescribeDrdsDBsResponse

type DescribeDrdsDBsResponse struct {
	Data struct {
		Db []struct {
			CreateTime string
			DbName     string
			Mode       string
			Msg        string
			Status     int
		}
	}
	Success bool
}

DescribeDrdsDBsResponse represents the response of the api DescribeDrdsDBs.

type DescribeDrdsInstanceResponse

type DescribeDrdsInstanceResponse struct {
	Data struct {
		CreateTime     int64
		Description    string
		DrdsInstanceId string
		NetworkType    string
		RegionId       string
		Status         string
		Type           string
		Version        int64
		Vips           struct {
			Vip []struct {
				IP   string
				Port string
				Type string
			}
		}
		ZoneId string
	}
	Success bool
}

DescribeDrdsInstanceResponse represents the response of the api DescribeDrdsInstance.

type DescribeDrdsInstancesResponse

type DescribeDrdsInstancesResponse struct {
	Data struct {
		Instance []struct {
			CreateTime     int64
			Description    string
			DrdsInstanceId string
			NetworkType    string
			RegionId       string
			Status         string
			Type           string
			Version        int64
			Vips           struct {
				Vip []struct {
					IP   string
					Port string
					Type string
				}
			}
			ZoneId string
		}
	}
	Success bool
}

DescribeDrdsInstancesResponse represents the response of the api DescribeDrdsInstances.

type DropIndexesResponse

type DropIndexesResponse struct {
	TaskId string
}

DropIndexesResponse represents the response of the api DropIndexes.

type DropTablesResponse

type DropTablesResponse struct {
	TaskId string
}

DropTablesResponse represents the response of the api DropTables.

type ListUnCompleteTasksResponse

type ListUnCompleteTasksResponse struct {
	Data struct {
		Task []struct {
			AllowCancel string
			ErrMsg      string
			GmtCreate   int64 `json:"gmtCreate" xml:"gmtCreate"`
			RequestId   string
			TargetId    string
			TaskDetail  string
			TaskName    string
			TaskPhase   string
			TaskStatus  int `json:"taskStatus" xml:"taskStatus"`
			TaskType    int
		} `json:"task" xml:"task"`
	}
}

ListUnCompleteTasksResponse represents the response of the api ListUnCompleteTasks.

type ModifyDrdsDBPasswdResponse

type ModifyDrdsDBPasswdResponse struct {
	Success bool
}

ModifyDrdsDBPasswdResponse represents the response of the api ModifyDrdsDBPasswd.

type ModifyDrdsInstanceDescriptionResponse

type ModifyDrdsInstanceDescriptionResponse struct {
	Success bool
}

ModifyDrdsInstanceDescriptionResponse represents the response of the api ModifyDrdsInstanceDescription.

type ModifyDrdsIpWhiteListResponse

type ModifyDrdsIpWhiteListResponse struct {
	Success bool
}

ModifyDrdsIpWhiteListResponse represents the response of the api ModifyDrdsIpWhiteList.

type RemoveDrdsInstanceResponse

type RemoveDrdsInstanceResponse struct {
	Success bool
}

RemoveDrdsInstanceResponse represents the response of the api RemoveDrdsInstance.

Jump to

Keyboard shortcuts

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