apis

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2019 License: Apache-2.0 Imports: 2 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CancelPySparkJobRequest added in v1.0.3

type CancelPySparkJobRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 用户名称  */
	UserName string `json:"userName"`

	/* 查询id  */
	QueryId string `json:"queryId"`
}

func NewCancelPySparkJobRequest added in v1.0.3

func NewCancelPySparkJobRequest(
	regionId string,
	userName string,
	queryId string,
) *CancelPySparkJobRequest

* param regionId: 地域ID (Required) * param userName: 用户名称 (Required) * param queryId: 查询id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCancelPySparkJobRequestWithAllParams added in v1.0.3

func NewCancelPySparkJobRequestWithAllParams(
	regionId string,
	userName string,
	queryId string,
) *CancelPySparkJobRequest

* param regionId: 地域ID (Required) * param userName: 用户名称 (Required) * param queryId: 查询id (Required)

func NewCancelPySparkJobRequestWithoutParam added in v1.0.3

func NewCancelPySparkJobRequestWithoutParam() *CancelPySparkJobRequest

This constructor has better compatible ability when API parameters changed

func (CancelPySparkJobRequest) GetRegionId added in v1.0.3

func (r CancelPySparkJobRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CancelPySparkJobRequest) SetQueryId added in v1.0.3

func (r *CancelPySparkJobRequest) SetQueryId(queryId string)

param queryId: 查询id(Required)

func (*CancelPySparkJobRequest) SetRegionId added in v1.0.3

func (r *CancelPySparkJobRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*CancelPySparkJobRequest) SetUserName added in v1.0.3

func (r *CancelPySparkJobRequest) SetUserName(userName string)

param userName: 用户名称(Required)

type CancelPySparkJobResponse added in v1.0.3

type CancelPySparkJobResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    CancelPySparkJobResult `json:"result"`
}

type CancelPySparkJobResult added in v1.0.3

type CancelPySparkJobResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
}

type CancelRasQueryRequest added in v1.0.3

type CancelRasQueryRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 用户名称  */
	UserName string `json:"userName"`

	/* 查询id  */
	QueryId string `json:"queryId"`
}

func NewCancelRasQueryRequest added in v1.0.3

func NewCancelRasQueryRequest(
	regionId string,
	userName string,
	queryId string,
) *CancelRasQueryRequest

* param regionId: 地域ID (Required) * param userName: 用户名称 (Required) * param queryId: 查询id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCancelRasQueryRequestWithAllParams added in v1.0.3

func NewCancelRasQueryRequestWithAllParams(
	regionId string,
	userName string,
	queryId string,
) *CancelRasQueryRequest

* param regionId: 地域ID (Required) * param userName: 用户名称 (Required) * param queryId: 查询id (Required)

func NewCancelRasQueryRequestWithoutParam added in v1.0.3

func NewCancelRasQueryRequestWithoutParam() *CancelRasQueryRequest

This constructor has better compatible ability when API parameters changed

func (CancelRasQueryRequest) GetRegionId added in v1.0.3

func (r CancelRasQueryRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CancelRasQueryRequest) SetQueryId added in v1.0.3

func (r *CancelRasQueryRequest) SetQueryId(queryId string)

param queryId: 查询id(Required)

func (*CancelRasQueryRequest) SetRegionId added in v1.0.3

func (r *CancelRasQueryRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*CancelRasQueryRequest) SetUserName added in v1.0.3

func (r *CancelRasQueryRequest) SetUserName(userName string)

param userName: 用户名称(Required)

type CancelRasQueryResponse added in v1.0.3

type CancelRasQueryResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    CancelRasQueryResult `json:"result"`
}

type CancelRasQueryResult added in v1.0.3

type CancelRasQueryResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
}

type CreateDatabaseRequest

type CreateDatabaseRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 数据库名  */
	DatabaseName string `json:"databaseName"`

	/* 实例名称  */
	InstanceName string `json:"instanceName"`

	/* 数据库描述信息 (Optional) */
	Description *string `json:"description"`
}

func NewCreateDatabaseRequest

func NewCreateDatabaseRequest(
	regionId string,
	databaseName string,
	instanceName string,
) *CreateDatabaseRequest

* param regionId: 地域ID (Required) * param databaseName: 数据库名 (Required) * param instanceName: 实例名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateDatabaseRequestWithAllParams added in v1.0.3

func NewCreateDatabaseRequestWithAllParams(
	regionId string,
	databaseName string,
	instanceName string,
	description *string,
) *CreateDatabaseRequest

* param regionId: 地域ID (Required) * param databaseName: 数据库名 (Required) * param instanceName: 实例名称 (Required) * param description: 数据库描述信息 (Optional)

func NewCreateDatabaseRequestWithoutParam added in v1.0.3

func NewCreateDatabaseRequestWithoutParam() *CreateDatabaseRequest

This constructor has better compatible ability when API parameters changed

func (CreateDatabaseRequest) GetRegionId

func (r CreateDatabaseRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateDatabaseRequest) SetDatabaseName

func (r *CreateDatabaseRequest) SetDatabaseName(databaseName string)

param databaseName: 数据库名(Required)

func (*CreateDatabaseRequest) SetDescription

func (r *CreateDatabaseRequest) SetDescription(description string)

param description: 数据库描述信息(Optional)

func (*CreateDatabaseRequest) SetInstanceName

func (r *CreateDatabaseRequest) SetInstanceName(instanceName string)

param instanceName: 实例名称(Required)

func (*CreateDatabaseRequest) SetRegionId

func (r *CreateDatabaseRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type CreateDatabaseResponse

type CreateDatabaseResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    CreateDatabaseResult `json:"result"`
}

type CreateDatabaseResult

type CreateDatabaseResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
}

type CreateTableRequest

type CreateTableRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 实例名称  */
	InstanceName string `json:"instanceName"`

	/* 数据表描述信息  */
	DbModelDBTable *xdata.DwTableDesc `json:"dbModelDBTable"`
}

func NewCreateTableRequest

func NewCreateTableRequest(
	regionId string,
	instanceName string,
	dbModelDBTable *xdata.DwTableDesc,
) *CreateTableRequest

* param regionId: 地域ID (Required) * param instanceName: 实例名称 (Required) * param dbModelDBTable: 数据表描述信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewCreateTableRequestWithAllParams added in v1.0.3

func NewCreateTableRequestWithAllParams(
	regionId string,
	instanceName string,
	dbModelDBTable *xdata.DwTableDesc,
) *CreateTableRequest

* param regionId: 地域ID (Required) * param instanceName: 实例名称 (Required) * param dbModelDBTable: 数据表描述信息 (Required)

func NewCreateTableRequestWithoutParam added in v1.0.3

func NewCreateTableRequestWithoutParam() *CreateTableRequest

This constructor has better compatible ability when API parameters changed

func (CreateTableRequest) GetRegionId

func (r CreateTableRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*CreateTableRequest) SetDbModelDBTable

func (r *CreateTableRequest) SetDbModelDBTable(dbModelDBTable *xdata.DwTableDesc)

param dbModelDBTable: 数据表描述信息(Required)

func (*CreateTableRequest) SetInstanceName

func (r *CreateTableRequest) SetInstanceName(instanceName string)

param instanceName: 实例名称(Required)

func (*CreateTableRequest) SetRegionId

func (r *CreateTableRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type CreateTableResponse

type CreateTableResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    CreateTableResult  `json:"result"`
}

type CreateTableResult

type CreateTableResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
}

type DeleteDatabaseRequest

type DeleteDatabaseRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 数据库名  */
	DatabaseName string `json:"databaseName"`

	/* 实例名称  */
	InstanceName string `json:"instanceName"`
}

func NewDeleteDatabaseRequest

func NewDeleteDatabaseRequest(
	regionId string,
	databaseName string,
	instanceName string,
) *DeleteDatabaseRequest

* param regionId: 地域ID (Required) * param databaseName: 数据库名 (Required) * param instanceName: 实例名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteDatabaseRequestWithAllParams added in v1.0.3

func NewDeleteDatabaseRequestWithAllParams(
	regionId string,
	databaseName string,
	instanceName string,
) *DeleteDatabaseRequest

* param regionId: 地域ID (Required) * param databaseName: 数据库名 (Required) * param instanceName: 实例名称 (Required)

func NewDeleteDatabaseRequestWithoutParam added in v1.0.3

func NewDeleteDatabaseRequestWithoutParam() *DeleteDatabaseRequest

This constructor has better compatible ability when API parameters changed

func (DeleteDatabaseRequest) GetRegionId

func (r DeleteDatabaseRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteDatabaseRequest) SetDatabaseName

func (r *DeleteDatabaseRequest) SetDatabaseName(databaseName string)

param databaseName: 数据库名(Required)

func (*DeleteDatabaseRequest) SetInstanceName

func (r *DeleteDatabaseRequest) SetInstanceName(instanceName string)

param instanceName: 实例名称(Required)

func (*DeleteDatabaseRequest) SetRegionId

func (r *DeleteDatabaseRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type DeleteDatabaseResponse

type DeleteDatabaseResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    DeleteDatabaseResult `json:"result"`
}

type DeleteDatabaseResult

type DeleteDatabaseResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
}

type DeleteTableRequest

type DeleteTableRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 数据表名  */
	TableName string `json:"tableName"`

	/* 实例名称  */
	InstanceName string `json:"instanceName"`

	/* 数据库名称  */
	DatabaseName string `json:"databaseName"`
}

func NewDeleteTableRequest

func NewDeleteTableRequest(
	regionId string,
	tableName string,
	instanceName string,
	databaseName string,
) *DeleteTableRequest

* param regionId: 地域ID (Required) * param tableName: 数据表名 (Required) * param instanceName: 实例名称 (Required) * param databaseName: 数据库名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeleteTableRequestWithAllParams added in v1.0.3

func NewDeleteTableRequestWithAllParams(
	regionId string,
	tableName string,
	instanceName string,
	databaseName string,
) *DeleteTableRequest

* param regionId: 地域ID (Required) * param tableName: 数据表名 (Required) * param instanceName: 实例名称 (Required) * param databaseName: 数据库名称 (Required)

func NewDeleteTableRequestWithoutParam added in v1.0.3

func NewDeleteTableRequestWithoutParam() *DeleteTableRequest

This constructor has better compatible ability when API parameters changed

func (DeleteTableRequest) GetRegionId

func (r DeleteTableRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*DeleteTableRequest) SetDatabaseName

func (r *DeleteTableRequest) SetDatabaseName(databaseName string)

param databaseName: 数据库名称(Required)

func (*DeleteTableRequest) SetInstanceName

func (r *DeleteTableRequest) SetInstanceName(instanceName string)

param instanceName: 实例名称(Required)

func (*DeleteTableRequest) SetRegionId

func (r *DeleteTableRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*DeleteTableRequest) SetTableName

func (r *DeleteTableRequest) SetTableName(tableName string)

param tableName: 数据表名(Required)

type DeleteTableResponse

type DeleteTableResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    DeleteTableResult  `json:"result"`
}

type DeleteTableResult

type DeleteTableResult struct {
	Status  bool        `json:"status"`
	Message string      `json:"message"`
	Data    interface{} `json:"data"`
}

type ExecutePySparkQueryRequest added in v1.0.3

type ExecutePySparkQueryRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* PySpark脚本  */
	Script string `json:"script"`

	/* 用户名称  */
	UserName string `json:"userName"`

	/* 实例名称  */
	InstanceName string `json:"instanceName"`

	/* 实例拥有者名称 (Optional) */
	InstanceOwnerName *string `json:"instanceOwnerName"`

	/* 脚本类型名称 (Optional) */
	ScriptType *string `json:"scriptType"`
}

func NewExecutePySparkQueryRequest added in v1.0.3

func NewExecutePySparkQueryRequest(
	regionId string,
	script string,
	userName string,
	instanceName string,
) *ExecutePySparkQueryRequest

* param regionId: 地域ID (Required) * param script: PySpark脚本 (Required) * param userName: 用户名称 (Required) * param instanceName: 实例名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewExecutePySparkQueryRequestWithAllParams added in v1.0.3

func NewExecutePySparkQueryRequestWithAllParams(
	regionId string,
	script string,
	userName string,
	instanceName string,
	instanceOwnerName *string,
	scriptType *string,
) *ExecutePySparkQueryRequest

* param regionId: 地域ID (Required) * param script: PySpark脚本 (Required) * param userName: 用户名称 (Required) * param instanceName: 实例名称 (Required) * param instanceOwnerName: 实例拥有者名称 (Optional) * param scriptType: 脚本类型名称 (Optional)

func NewExecutePySparkQueryRequestWithoutParam added in v1.0.3

func NewExecutePySparkQueryRequestWithoutParam() *ExecutePySparkQueryRequest

This constructor has better compatible ability when API parameters changed

func (ExecutePySparkQueryRequest) GetRegionId added in v1.0.3

func (r ExecutePySparkQueryRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ExecutePySparkQueryRequest) SetInstanceName added in v1.0.3

func (r *ExecutePySparkQueryRequest) SetInstanceName(instanceName string)

param instanceName: 实例名称(Required)

func (*ExecutePySparkQueryRequest) SetInstanceOwnerName added in v1.0.3

func (r *ExecutePySparkQueryRequest) SetInstanceOwnerName(instanceOwnerName string)

param instanceOwnerName: 实例拥有者名称(Optional)

func (*ExecutePySparkQueryRequest) SetRegionId added in v1.0.3

func (r *ExecutePySparkQueryRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*ExecutePySparkQueryRequest) SetScript added in v1.0.3

func (r *ExecutePySparkQueryRequest) SetScript(script string)

param script: PySpark脚本(Required)

func (*ExecutePySparkQueryRequest) SetScriptType added in v1.0.3

func (r *ExecutePySparkQueryRequest) SetScriptType(scriptType string)

param scriptType: 脚本类型名称(Optional)

func (*ExecutePySparkQueryRequest) SetUserName added in v1.0.3

func (r *ExecutePySparkQueryRequest) SetUserName(userName string)

param userName: 用户名称(Required)

type ExecutePySparkQueryResponse added in v1.0.3

type ExecutePySparkQueryResponse struct {
	RequestID string                    `json:"requestId"`
	Error     core.ErrorResponse        `json:"error"`
	Result    ExecutePySparkQueryResult `json:"result"`
}

type ExecutePySparkQueryResult added in v1.0.3

type ExecutePySparkQueryResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
	Data    int    `json:"data"`
}

type ExecuteRasQueryRequest added in v1.0.3

type ExecuteRasQueryRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 数据库名称 (Optional) */
	DatabaseName *string `json:"databaseName"`

	/* sql脚本  */
	Sql string `json:"sql"`

	/* 用户名称  */
	UserName string `json:"userName"`

	/* 队列名称 (Optional) */
	QueueName *string `json:"queueName"`

	/* 资源名称 (Optional) */
	Source *string `json:"source"`

	/* 回调地址名称 (Optional) */
	CallBackURL *string `json:"callBackURL"`

	/* 实例名称  */
	InstanceName string `json:"instanceName"`

	/* 实例拥有者名称 (Optional) */
	InstanceOwnerName *string `json:"instanceOwnerName"`

	/* 是否需要解释 (Optional) */
	IsExplain *string `json:"isExplain"`
}

func NewExecuteRasQueryRequest added in v1.0.3

func NewExecuteRasQueryRequest(
	regionId string,
	sql string,
	userName string,
	instanceName string,
) *ExecuteRasQueryRequest

* param regionId: 地域ID (Required) * param sql: sql脚本 (Required) * param userName: 用户名称 (Required) * param instanceName: 实例名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewExecuteRasQueryRequestWithAllParams added in v1.0.3

func NewExecuteRasQueryRequestWithAllParams(
	regionId string,
	databaseName *string,
	sql string,
	userName string,
	queueName *string,
	source *string,
	callBackURL *string,
	instanceName string,
	instanceOwnerName *string,
	isExplain *string,
) *ExecuteRasQueryRequest

* param regionId: 地域ID (Required) * param databaseName: 数据库名称 (Optional) * param sql: sql脚本 (Required) * param userName: 用户名称 (Required) * param queueName: 队列名称 (Optional) * param source: 资源名称 (Optional) * param callBackURL: 回调地址名称 (Optional) * param instanceName: 实例名称 (Required) * param instanceOwnerName: 实例拥有者名称 (Optional) * param isExplain: 是否需要解释 (Optional)

func NewExecuteRasQueryRequestWithoutParam added in v1.0.3

func NewExecuteRasQueryRequestWithoutParam() *ExecuteRasQueryRequest

This constructor has better compatible ability when API parameters changed

func (ExecuteRasQueryRequest) GetRegionId added in v1.0.3

func (r ExecuteRasQueryRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ExecuteRasQueryRequest) SetCallBackURL added in v1.0.3

func (r *ExecuteRasQueryRequest) SetCallBackURL(callBackURL string)

param callBackURL: 回调地址名称(Optional)

func (*ExecuteRasQueryRequest) SetDatabaseName added in v1.0.3

func (r *ExecuteRasQueryRequest) SetDatabaseName(databaseName string)

param databaseName: 数据库名称(Optional)

func (*ExecuteRasQueryRequest) SetInstanceName added in v1.0.3

func (r *ExecuteRasQueryRequest) SetInstanceName(instanceName string)

param instanceName: 实例名称(Required)

func (*ExecuteRasQueryRequest) SetInstanceOwnerName added in v1.0.3

func (r *ExecuteRasQueryRequest) SetInstanceOwnerName(instanceOwnerName string)

param instanceOwnerName: 实例拥有者名称(Optional)

func (*ExecuteRasQueryRequest) SetIsExplain added in v1.0.3

func (r *ExecuteRasQueryRequest) SetIsExplain(isExplain string)

param isExplain: 是否需要解释(Optional)

func (*ExecuteRasQueryRequest) SetQueueName added in v1.0.3

func (r *ExecuteRasQueryRequest) SetQueueName(queueName string)

param queueName: 队列名称(Optional)

func (*ExecuteRasQueryRequest) SetRegionId added in v1.0.3

func (r *ExecuteRasQueryRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*ExecuteRasQueryRequest) SetSource added in v1.0.3

func (r *ExecuteRasQueryRequest) SetSource(source string)

param source: 资源名称(Optional)

func (*ExecuteRasQueryRequest) SetSql added in v1.0.3

func (r *ExecuteRasQueryRequest) SetSql(sql string)

param sql: sql脚本(Required)

func (*ExecuteRasQueryRequest) SetUserName added in v1.0.3

func (r *ExecuteRasQueryRequest) SetUserName(userName string)

param userName: 用户名称(Required)

type ExecuteRasQueryResponse added in v1.0.3

type ExecuteRasQueryResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    ExecuteRasQueryResult `json:"result"`
}

type ExecuteRasQueryResult added in v1.0.3

type ExecuteRasQueryResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
	Data    int    `json:"data"`
}

type GetDatabaseInfoRequest

type GetDatabaseInfoRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 数据库名  */
	DatabaseName string `json:"databaseName"`

	/* 实例名称  */
	InstanceName string `json:"instanceName"`
}

func NewGetDatabaseInfoRequest

func NewGetDatabaseInfoRequest(
	regionId string,
	databaseName string,
	instanceName string,
) *GetDatabaseInfoRequest

* param regionId: 地域ID (Required) * param databaseName: 数据库名 (Required) * param instanceName: 实例名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGetDatabaseInfoRequestWithAllParams added in v1.0.3

func NewGetDatabaseInfoRequestWithAllParams(
	regionId string,
	databaseName string,
	instanceName string,
) *GetDatabaseInfoRequest

* param regionId: 地域ID (Required) * param databaseName: 数据库名 (Required) * param instanceName: 实例名称 (Required)

func NewGetDatabaseInfoRequestWithoutParam added in v1.0.3

func NewGetDatabaseInfoRequestWithoutParam() *GetDatabaseInfoRequest

This constructor has better compatible ability when API parameters changed

func (GetDatabaseInfoRequest) GetRegionId

func (r GetDatabaseInfoRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*GetDatabaseInfoRequest) SetDatabaseName

func (r *GetDatabaseInfoRequest) SetDatabaseName(databaseName string)

param databaseName: 数据库名(Required)

func (*GetDatabaseInfoRequest) SetInstanceName

func (r *GetDatabaseInfoRequest) SetInstanceName(instanceName string)

param instanceName: 实例名称(Required)

func (*GetDatabaseInfoRequest) SetRegionId

func (r *GetDatabaseInfoRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type GetDatabaseInfoResponse

type GetDatabaseInfoResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    GetDatabaseInfoResult `json:"result"`
}

type GetDatabaseInfoResult

type GetDatabaseInfoResult struct {
	Status  bool             `json:"status"`
	Message string           `json:"message"`
	Data    xdata.DwDatabase `json:"data"`
}

type GetPySparkExecuteResultRequest added in v1.0.3

type GetPySparkExecuteResultRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 用户名称  */
	UserName string `json:"userName"`

	/* 查询id  */
	QueryId string `json:"queryId"`
}

func NewGetPySparkExecuteResultRequest added in v1.0.3

func NewGetPySparkExecuteResultRequest(
	regionId string,
	userName string,
	queryId string,
) *GetPySparkExecuteResultRequest

* param regionId: 地域ID (Required) * param userName: 用户名称 (Required) * param queryId: 查询id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGetPySparkExecuteResultRequestWithAllParams added in v1.0.3

func NewGetPySparkExecuteResultRequestWithAllParams(
	regionId string,
	userName string,
	queryId string,
) *GetPySparkExecuteResultRequest

* param regionId: 地域ID (Required) * param userName: 用户名称 (Required) * param queryId: 查询id (Required)

func NewGetPySparkExecuteResultRequestWithoutParam added in v1.0.3

func NewGetPySparkExecuteResultRequestWithoutParam() *GetPySparkExecuteResultRequest

This constructor has better compatible ability when API parameters changed

func (GetPySparkExecuteResultRequest) GetRegionId added in v1.0.3

func (r GetPySparkExecuteResultRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*GetPySparkExecuteResultRequest) SetQueryId added in v1.0.3

func (r *GetPySparkExecuteResultRequest) SetQueryId(queryId string)

param queryId: 查询id(Required)

func (*GetPySparkExecuteResultRequest) SetRegionId added in v1.0.3

func (r *GetPySparkExecuteResultRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*GetPySparkExecuteResultRequest) SetUserName added in v1.0.3

func (r *GetPySparkExecuteResultRequest) SetUserName(userName string)

param userName: 用户名称(Required)

type GetPySparkExecuteResultResponse added in v1.0.3

type GetPySparkExecuteResultResponse struct {
	RequestID string                        `json:"requestId"`
	Error     core.ErrorResponse            `json:"error"`
	Result    GetPySparkExecuteResultResult `json:"result"`
}

type GetPySparkExecuteResultResult added in v1.0.3

type GetPySparkExecuteResultResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
}

type GetPySparkExecuteStateRequest added in v1.0.3

type GetPySparkExecuteStateRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 用户名称  */
	UserName string `json:"userName"`

	/* 查询id  */
	QueryId string `json:"queryId"`
}

func NewGetPySparkExecuteStateRequest added in v1.0.3

func NewGetPySparkExecuteStateRequest(
	regionId string,
	userName string,
	queryId string,
) *GetPySparkExecuteStateRequest

* param regionId: 地域ID (Required) * param userName: 用户名称 (Required) * param queryId: 查询id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGetPySparkExecuteStateRequestWithAllParams added in v1.0.3

func NewGetPySparkExecuteStateRequestWithAllParams(
	regionId string,
	userName string,
	queryId string,
) *GetPySparkExecuteStateRequest

* param regionId: 地域ID (Required) * param userName: 用户名称 (Required) * param queryId: 查询id (Required)

func NewGetPySparkExecuteStateRequestWithoutParam added in v1.0.3

func NewGetPySparkExecuteStateRequestWithoutParam() *GetPySparkExecuteStateRequest

This constructor has better compatible ability when API parameters changed

func (GetPySparkExecuteStateRequest) GetRegionId added in v1.0.3

func (r GetPySparkExecuteStateRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*GetPySparkExecuteStateRequest) SetQueryId added in v1.0.3

func (r *GetPySparkExecuteStateRequest) SetQueryId(queryId string)

param queryId: 查询id(Required)

func (*GetPySparkExecuteStateRequest) SetRegionId added in v1.0.3

func (r *GetPySparkExecuteStateRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*GetPySparkExecuteStateRequest) SetUserName added in v1.0.3

func (r *GetPySparkExecuteStateRequest) SetUserName(userName string)

param userName: 用户名称(Required)

type GetPySparkExecuteStateResponse added in v1.0.3

type GetPySparkExecuteStateResponse struct {
	RequestID string                       `json:"requestId"`
	Error     core.ErrorResponse           `json:"error"`
	Result    GetPySparkExecuteStateResult `json:"result"`
}

type GetPySparkExecuteStateResult added in v1.0.3

type GetPySparkExecuteStateResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
	Data    string `json:"data"`
}

type GetRasQueryLogRequest added in v1.0.3

type GetRasQueryLogRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 用户名称  */
	UserName string `json:"userName"`

	/* 查询id  */
	QueryId string `json:"queryId"`
}

func NewGetRasQueryLogRequest added in v1.0.3

func NewGetRasQueryLogRequest(
	regionId string,
	userName string,
	queryId string,
) *GetRasQueryLogRequest

* param regionId: 地域ID (Required) * param userName: 用户名称 (Required) * param queryId: 查询id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGetRasQueryLogRequestWithAllParams added in v1.0.3

func NewGetRasQueryLogRequestWithAllParams(
	regionId string,
	userName string,
	queryId string,
) *GetRasQueryLogRequest

* param regionId: 地域ID (Required) * param userName: 用户名称 (Required) * param queryId: 查询id (Required)

func NewGetRasQueryLogRequestWithoutParam added in v1.0.3

func NewGetRasQueryLogRequestWithoutParam() *GetRasQueryLogRequest

This constructor has better compatible ability when API parameters changed

func (GetRasQueryLogRequest) GetRegionId added in v1.0.3

func (r GetRasQueryLogRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*GetRasQueryLogRequest) SetQueryId added in v1.0.3

func (r *GetRasQueryLogRequest) SetQueryId(queryId string)

param queryId: 查询id(Required)

func (*GetRasQueryLogRequest) SetRegionId added in v1.0.3

func (r *GetRasQueryLogRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*GetRasQueryLogRequest) SetUserName added in v1.0.3

func (r *GetRasQueryLogRequest) SetUserName(userName string)

param userName: 用户名称(Required)

type GetRasQueryLogResponse added in v1.0.3

type GetRasQueryLogResponse struct {
	RequestID string               `json:"requestId"`
	Error     core.ErrorResponse   `json:"error"`
	Result    GetRasQueryLogResult `json:"result"`
}

type GetRasQueryLogResult added in v1.0.3

type GetRasQueryLogResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
}

type GetRasQueryResultRequest added in v1.0.3

type GetRasQueryResultRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 用户名称  */
	UserName string `json:"userName"`

	/* 查询id  */
	QueryId string `json:"queryId"`
}

func NewGetRasQueryResultRequest added in v1.0.3

func NewGetRasQueryResultRequest(
	regionId string,
	userName string,
	queryId string,
) *GetRasQueryResultRequest

* param regionId: 地域ID (Required) * param userName: 用户名称 (Required) * param queryId: 查询id (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGetRasQueryResultRequestWithAllParams added in v1.0.3

func NewGetRasQueryResultRequestWithAllParams(
	regionId string,
	userName string,
	queryId string,
) *GetRasQueryResultRequest

* param regionId: 地域ID (Required) * param userName: 用户名称 (Required) * param queryId: 查询id (Required)

func NewGetRasQueryResultRequestWithoutParam added in v1.0.3

func NewGetRasQueryResultRequestWithoutParam() *GetRasQueryResultRequest

This constructor has better compatible ability when API parameters changed

func (GetRasQueryResultRequest) GetRegionId added in v1.0.3

func (r GetRasQueryResultRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*GetRasQueryResultRequest) SetQueryId added in v1.0.3

func (r *GetRasQueryResultRequest) SetQueryId(queryId string)

param queryId: 查询id(Required)

func (*GetRasQueryResultRequest) SetRegionId added in v1.0.3

func (r *GetRasQueryResultRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*GetRasQueryResultRequest) SetUserName added in v1.0.3

func (r *GetRasQueryResultRequest) SetUserName(userName string)

param userName: 用户名称(Required)

type GetRasQueryResultResponse added in v1.0.3

type GetRasQueryResultResponse struct {
	RequestID string                  `json:"requestId"`
	Error     core.ErrorResponse      `json:"error"`
	Result    GetRasQueryResultResult `json:"result"`
}

type GetRasQueryResultResult added in v1.0.3

type GetRasQueryResultResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
}

type GetRasQueryStateRequest added in v1.0.3

type GetRasQueryStateRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 用户名称  */
	UserName string `json:"userName"`

	/* 查询id名称  */
	QueryId string `json:"queryId"`
}

func NewGetRasQueryStateRequest added in v1.0.3

func NewGetRasQueryStateRequest(
	regionId string,
	userName string,
	queryId string,
) *GetRasQueryStateRequest

* param regionId: 地域ID (Required) * param userName: 用户名称 (Required) * param queryId: 查询id名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGetRasQueryStateRequestWithAllParams added in v1.0.3

func NewGetRasQueryStateRequestWithAllParams(
	regionId string,
	userName string,
	queryId string,
) *GetRasQueryStateRequest

* param regionId: 地域ID (Required) * param userName: 用户名称 (Required) * param queryId: 查询id名称 (Required)

func NewGetRasQueryStateRequestWithoutParam added in v1.0.3

func NewGetRasQueryStateRequestWithoutParam() *GetRasQueryStateRequest

This constructor has better compatible ability when API parameters changed

func (GetRasQueryStateRequest) GetRegionId added in v1.0.3

func (r GetRasQueryStateRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*GetRasQueryStateRequest) SetQueryId added in v1.0.3

func (r *GetRasQueryStateRequest) SetQueryId(queryId string)

param queryId: 查询id名称(Required)

func (*GetRasQueryStateRequest) SetRegionId added in v1.0.3

func (r *GetRasQueryStateRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*GetRasQueryStateRequest) SetUserName added in v1.0.3

func (r *GetRasQueryStateRequest) SetUserName(userName string)

param userName: 用户名称(Required)

type GetRasQueryStateResponse added in v1.0.3

type GetRasQueryStateResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    GetRasQueryStateResult `json:"result"`
}

type GetRasQueryStateResult added in v1.0.3

type GetRasQueryStateResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
	Data    string `json:"data"`
}

type GetTableInfoRequest

type GetTableInfoRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 数据表名  */
	TableName string `json:"tableName"`

	/* 实例名称  */
	InstanceName string `json:"instanceName"`

	/* 数据库名称  */
	DatabaseName string `json:"databaseName"`
}

func NewGetTableInfoRequest

func NewGetTableInfoRequest(
	regionId string,
	tableName string,
	instanceName string,
	databaseName string,
) *GetTableInfoRequest

* param regionId: 地域ID (Required) * param tableName: 数据表名 (Required) * param instanceName: 实例名称 (Required) * param databaseName: 数据库名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGetTableInfoRequestWithAllParams added in v1.0.3

func NewGetTableInfoRequestWithAllParams(
	regionId string,
	tableName string,
	instanceName string,
	databaseName string,
) *GetTableInfoRequest

* param regionId: 地域ID (Required) * param tableName: 数据表名 (Required) * param instanceName: 实例名称 (Required) * param databaseName: 数据库名称 (Required)

func NewGetTableInfoRequestWithoutParam added in v1.0.3

func NewGetTableInfoRequestWithoutParam() *GetTableInfoRequest

This constructor has better compatible ability when API parameters changed

func (GetTableInfoRequest) GetRegionId

func (r GetTableInfoRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*GetTableInfoRequest) SetDatabaseName

func (r *GetTableInfoRequest) SetDatabaseName(databaseName string)

param databaseName: 数据库名称(Required)

func (*GetTableInfoRequest) SetInstanceName

func (r *GetTableInfoRequest) SetInstanceName(instanceName string)

param instanceName: 实例名称(Required)

func (*GetTableInfoRequest) SetRegionId

func (r *GetTableInfoRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

func (*GetTableInfoRequest) SetTableName

func (r *GetTableInfoRequest) SetTableName(tableName string)

param tableName: 数据表名(Required)

type GetTableInfoResponse

type GetTableInfoResponse struct {
	RequestID string             `json:"requestId"`
	Error     core.ErrorResponse `json:"error"`
	Result    GetTableInfoResult `json:"result"`
}

type GetTableInfoResult

type GetTableInfoResult struct {
	Status  bool          `json:"status"`
	Message string        `json:"message"`
	Data    xdata.DwTable `json:"data"`
}

type ListDatabaseInfoRequest

type ListDatabaseInfoRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 实例名称  */
	InstanceName string `json:"instanceName"`
}

func NewListDatabaseInfoRequest

func NewListDatabaseInfoRequest(
	regionId string,
	instanceName string,
) *ListDatabaseInfoRequest

* param regionId: 地域ID (Required) * param instanceName: 实例名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewListDatabaseInfoRequestWithAllParams added in v1.0.3

func NewListDatabaseInfoRequestWithAllParams(
	regionId string,
	instanceName string,
) *ListDatabaseInfoRequest

* param regionId: 地域ID (Required) * param instanceName: 实例名称 (Required)

func NewListDatabaseInfoRequestWithoutParam added in v1.0.3

func NewListDatabaseInfoRequestWithoutParam() *ListDatabaseInfoRequest

This constructor has better compatible ability when API parameters changed

func (ListDatabaseInfoRequest) GetRegionId

func (r ListDatabaseInfoRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ListDatabaseInfoRequest) SetInstanceName

func (r *ListDatabaseInfoRequest) SetInstanceName(instanceName string)

param instanceName: 实例名称(Required)

func (*ListDatabaseInfoRequest) SetRegionId

func (r *ListDatabaseInfoRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type ListDatabaseInfoResponse

type ListDatabaseInfoResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    ListDatabaseInfoResult `json:"result"`
}

type ListDatabaseInfoResult

type ListDatabaseInfoResult struct {
	Status  bool                   `json:"status"`
	Message string                 `json:"message"`
	Data    []xdata.DwDatabaseInfo `json:"data"`
}

type ListInstanceInfoRequest

type ListInstanceInfoRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`
}

func NewListInstanceInfoRequest

func NewListInstanceInfoRequest(
	regionId string,
) *ListInstanceInfoRequest

* param regionId: 地域ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewListInstanceInfoRequestWithAllParams added in v1.0.3

func NewListInstanceInfoRequestWithAllParams(
	regionId string,
) *ListInstanceInfoRequest

* param regionId: 地域ID (Required)

func NewListInstanceInfoRequestWithoutParam added in v1.0.3

func NewListInstanceInfoRequestWithoutParam() *ListInstanceInfoRequest

This constructor has better compatible ability when API parameters changed

func (ListInstanceInfoRequest) GetRegionId

func (r ListInstanceInfoRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ListInstanceInfoRequest) SetRegionId

func (r *ListInstanceInfoRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type ListInstanceInfoResponse

type ListInstanceInfoResponse struct {
	RequestID string                 `json:"requestId"`
	Error     core.ErrorResponse     `json:"error"`
	Result    ListInstanceInfoResult `json:"result"`
}

type ListInstanceInfoResult

type ListInstanceInfoResult struct {
	Status  bool               `json:"status"`
	Message string             `json:"message"`
	Data    []xdata.DwInstance `json:"data"`
}

type ListTableInfoRequest

type ListTableInfoRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 实例名称  */
	InstanceName string `json:"instanceName"`

	/* 数据库名称  */
	DatabaseName string `json:"databaseName"`
}

func NewListTableInfoRequest

func NewListTableInfoRequest(
	regionId string,
	instanceName string,
	databaseName string,
) *ListTableInfoRequest

* param regionId: 地域ID (Required) * param instanceName: 实例名称 (Required) * param databaseName: 数据库名称 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewListTableInfoRequestWithAllParams added in v1.0.3

func NewListTableInfoRequestWithAllParams(
	regionId string,
	instanceName string,
	databaseName string,
) *ListTableInfoRequest

* param regionId: 地域ID (Required) * param instanceName: 实例名称 (Required) * param databaseName: 数据库名称 (Required)

func NewListTableInfoRequestWithoutParam added in v1.0.3

func NewListTableInfoRequestWithoutParam() *ListTableInfoRequest

This constructor has better compatible ability when API parameters changed

func (ListTableInfoRequest) GetRegionId

func (r ListTableInfoRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ListTableInfoRequest) SetDatabaseName

func (r *ListTableInfoRequest) SetDatabaseName(databaseName string)

param databaseName: 数据库名称(Required)

func (*ListTableInfoRequest) SetInstanceName

func (r *ListTableInfoRequest) SetInstanceName(instanceName string)

param instanceName: 实例名称(Required)

func (*ListTableInfoRequest) SetRegionId

func (r *ListTableInfoRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type ListTableInfoResponse

type ListTableInfoResponse struct {
	RequestID string              `json:"requestId"`
	Error     core.ErrorResponse  `json:"error"`
	Result    ListTableInfoResult `json:"result"`
}

type ListTableInfoResult

type ListTableInfoResult struct {
	Status  bool            `json:"status"`
	Message string          `json:"message"`
	Data    []xdata.DwTable `json:"data"`
}

Jump to

Keyboard shortcuts

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