apis

package
v1.36.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployRequest added in v1.33.0

type DeployRequest struct {
	core.JDCloudRequest

	/* 场景ID  */
	SceneId int `json:"sceneId"`

	/* 发布的修订版本号  */
	Revision string `json:"revision"`

	/* 环境:test、preview、online  */
	Environment string `json:"environment"`

	/* 后端服务类型:mock、unique、vpc (Optional) */
	BackendServiceType *string `json:"backendServiceType"`

	/* 后端地址 (Optional) */
	BackendUrl *string `json:"backendUrl"`

	/* 描述 (Optional) */
	Description *string `json:"description"`

	/* 微服务网关名称 (Optional) */
	JdsfName *string `json:"jdsfName"`

	/* 微服务注册中心ID (Optional) */
	JdsfRegistryName *string `json:"jdsfRegistryName"`

	/* 微服务ID (Optional) */
	JdsfId *string `json:"jdsfId"`
}

func NewDeployRequest added in v1.33.0

func NewDeployRequest(
	sceneId int,
	revision string,
	environment string,
) *DeployRequest

* param sceneId: 场景ID (Required) * param revision: 发布的修订版本号 (Required) * param environment: 环境:test、preview、online (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDeployRequestWithAllParams added in v1.33.0

func NewDeployRequestWithAllParams(
	sceneId int,
	revision string,
	environment string,
	backendServiceType *string,
	backendUrl *string,
	description *string,
	jdsfName *string,
	jdsfRegistryName *string,
	jdsfId *string,
) *DeployRequest

* param sceneId: 场景ID (Required) * param revision: 发布的修订版本号 (Required) * param environment: 环境:test、preview、online (Required) * param backendServiceType: 后端服务类型:mock、unique、vpc (Optional) * param backendUrl: 后端地址 (Optional) * param description: 描述 (Optional) * param jdsfName: 微服务网关名称 (Optional) * param jdsfRegistryName: 微服务注册中心ID (Optional) * param jdsfId: 微服务ID (Optional)

func NewDeployRequestWithoutParam added in v1.33.0

func NewDeployRequestWithoutParam() *DeployRequest

This constructor has better compatible ability when API parameters changed

func (DeployRequest) GetRegionId added in v1.33.0

func (r DeployRequest) GetRegionId() string

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

func (*DeployRequest) SetBackendServiceType added in v1.33.0

func (r *DeployRequest) SetBackendServiceType(backendServiceType string)

param backendServiceType: 后端服务类型:mock、unique、vpc(Optional)

func (*DeployRequest) SetBackendUrl added in v1.33.0

func (r *DeployRequest) SetBackendUrl(backendUrl string)

param backendUrl: 后端地址(Optional)

func (*DeployRequest) SetDescription added in v1.33.0

func (r *DeployRequest) SetDescription(description string)

param description: 描述(Optional)

func (*DeployRequest) SetEnvironment added in v1.33.0

func (r *DeployRequest) SetEnvironment(environment string)

param environment: 环境:test、preview、online(Required)

func (*DeployRequest) SetJdsfId added in v1.33.0

func (r *DeployRequest) SetJdsfId(jdsfId string)

param jdsfId: 微服务ID(Optional)

func (*DeployRequest) SetJdsfName added in v1.33.0

func (r *DeployRequest) SetJdsfName(jdsfName string)

param jdsfName: 微服务网关名称(Optional)

func (*DeployRequest) SetJdsfRegistryName added in v1.33.0

func (r *DeployRequest) SetJdsfRegistryName(jdsfRegistryName string)

param jdsfRegistryName: 微服务注册中心ID(Optional)

func (*DeployRequest) SetRevision added in v1.33.0

func (r *DeployRequest) SetRevision(revision string)

param revision: 发布的修订版本号(Required)

func (*DeployRequest) SetSceneId added in v1.33.0

func (r *DeployRequest) SetSceneId(sceneId int)

param sceneId: 场景ID(Required)

type DeployResponse added in v1.33.0

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

type DeployResult added in v1.33.0

type DeployResult struct {
}

type DescribeDeploymentRequest added in v1.33.0

type DescribeDeploymentRequest struct {
	core.JDCloudRequest

	/* 场景ID  */
	SceneId int `json:"sceneId"`

	/* 部署ID  */
	DeploymentId string `json:"deploymentId"`
}

func NewDescribeDeploymentRequest added in v1.33.0

func NewDescribeDeploymentRequest(
	sceneId int,
	deploymentId string,
) *DescribeDeploymentRequest

* param sceneId: 场景ID (Required) * param deploymentId: 部署ID (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewDescribeDeploymentRequestWithAllParams added in v1.33.0

func NewDescribeDeploymentRequestWithAllParams(
	sceneId int,
	deploymentId string,
) *DescribeDeploymentRequest

* param sceneId: 场景ID (Required) * param deploymentId: 部署ID (Required)

func NewDescribeDeploymentRequestWithoutParam added in v1.33.0

func NewDescribeDeploymentRequestWithoutParam() *DescribeDeploymentRequest

This constructor has better compatible ability when API parameters changed

func (DescribeDeploymentRequest) GetRegionId added in v1.33.0

func (r DescribeDeploymentRequest) GetRegionId() string

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

func (*DescribeDeploymentRequest) SetDeploymentId added in v1.33.0

func (r *DescribeDeploymentRequest) SetDeploymentId(deploymentId string)

param deploymentId: 部署ID(Required)

func (*DescribeDeploymentRequest) SetSceneId added in v1.33.0

func (r *DescribeDeploymentRequest) SetSceneId(sceneId int)

param sceneId: 场景ID(Required)

type DescribeDeploymentResponse added in v1.33.0

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

type DescribeDeploymentResult added in v1.33.0

type DescribeDeploymentResult struct {
	DeploymentId       string `json:"deploymentId"`
	Revision           string `json:"revision"`
	Path               string `json:"path"`
	Environment        string `json:"environment"`
	BackendServiceType string `json:"backendServiceType"`
	BackendUrl         string `json:"backendUrl"`
	Description        string `json:"description"`
	CreateTime         int64  `json:"createTime"`
	JdsfName           string `json:"jdsfName"`
	JdsfRegistryName   string `json:"jdsfRegistryName"`
	JdsfId             string `json:"jdsfId"`
}

type EncryptRequest

type EncryptRequest struct {
	core.JDCloudRequest

	/* 明文 (Optional) */
	Plaintext *string `json:"plaintext"`
}

func NewEncryptRequest

func NewEncryptRequest() *EncryptRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewEncryptRequestWithAllParams

func NewEncryptRequestWithAllParams(
	plaintext *string,
) *EncryptRequest

* param plaintext: 明文 (Optional)

func NewEncryptRequestWithoutParam

func NewEncryptRequestWithoutParam() *EncryptRequest

This constructor has better compatible ability when API parameters changed

func (EncryptRequest) GetRegionId

func (r EncryptRequest) GetRegionId() string

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

func (*EncryptRequest) SetPlaintext

func (r *EncryptRequest) SetPlaintext(plaintext string)

param plaintext: 明文(Optional)

type EncryptResponse

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

type EncryptResult

type EncryptResult struct {
	Ciphertext string `json:"ciphertext"`
}

type IsEncryptDataRequest added in v1.33.0

type IsEncryptDataRequest struct {
	core.JDCloudRequest

	/* 密文 (Optional) */
	Cipher *string `json:"cipher"`
}

func NewIsEncryptDataRequest added in v1.33.0

func NewIsEncryptDataRequest() *IsEncryptDataRequest

* * @Deprecated, not compatible when mandatory parameters changed

func NewIsEncryptDataRequestWithAllParams added in v1.33.0

func NewIsEncryptDataRequestWithAllParams(
	cipher *string,
) *IsEncryptDataRequest

* param cipher: 密文 (Optional)

func NewIsEncryptDataRequestWithoutParam added in v1.33.0

func NewIsEncryptDataRequestWithoutParam() *IsEncryptDataRequest

This constructor has better compatible ability when API parameters changed

func (IsEncryptDataRequest) GetRegionId added in v1.33.0

func (r IsEncryptDataRequest) GetRegionId() string

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

func (*IsEncryptDataRequest) SetCipher added in v1.33.0

func (r *IsEncryptDataRequest) SetCipher(cipher string)

param cipher: 密文(Optional)

type IsEncryptDataResponse added in v1.33.0

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

type IsEncryptDataResult added in v1.33.0

type IsEncryptDataResult struct {
	EncryptData bool `json:"encryptData"`
}

type QueryAccessLogRequest added in v1.33.0

type QueryAccessLogRequest struct {
	core.JDCloudRequest

	/* 调用者pin (Optional) */
	Call_pin *string `json:"call_pin"`

	/* 响应码 (Optional) */
	Response_status *string `json:"response_status"`

	/* api名称 (Optional) */
	Api_name *string `json:"api_name"`

	/* 调用者accessKey (Optional) */
	Access_key *string `json:"access_key"`

	/* 请求虎符网关的域名 (Optional) */
	Host *string `json:"host"`

	/* 开始时间,utc格式,例如:2020-05-19T00:00:05+0800  */
	StartTime string `json:"startTime"`

	/* 结束时间,utc格式,例如:2020-05-19T00:00:05+0800  */
	EndTime string `json:"endTime"`

	/* 页码 (Optional) */
	PageNumber *int `json:"pageNumber"`

	/* 分页大小 (Optional) */
	PageSize *int `json:"pageSize"`
}

func NewQueryAccessLogRequest added in v1.33.0

func NewQueryAccessLogRequest(
	startTime string,
	endTime string,
) *QueryAccessLogRequest

* param startTime: 开始时间,utc格式,例如:2020-05-19T00:00:05+0800 (Required) * param endTime: 结束时间,utc格式,例如:2020-05-19T00:00:05+0800 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewQueryAccessLogRequestWithAllParams added in v1.33.0

func NewQueryAccessLogRequestWithAllParams(
	call_pin *string,
	response_status *string,
	api_name *string,
	access_key *string,
	host *string,
	startTime string,
	endTime string,
	pageNumber *int,
	pageSize *int,
) *QueryAccessLogRequest

* param call_pin: 调用者pin (Optional) * param response_status: 响应码 (Optional) * param api_name: api名称 (Optional) * param access_key: 调用者accessKey (Optional) * param host: 请求虎符网关的域名 (Optional) * param startTime: 开始时间,utc格式,例如:2020-05-19T00:00:05+0800 (Required) * param endTime: 结束时间,utc格式,例如:2020-05-19T00:00:05+0800 (Required) * param pageNumber: 页码 (Optional) * param pageSize: 分页大小 (Optional)

func NewQueryAccessLogRequestWithoutParam added in v1.33.0

func NewQueryAccessLogRequestWithoutParam() *QueryAccessLogRequest

This constructor has better compatible ability when API parameters changed

func (QueryAccessLogRequest) GetRegionId added in v1.33.0

func (r QueryAccessLogRequest) GetRegionId() string

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

func (*QueryAccessLogRequest) SetAccess_key added in v1.33.0

func (r *QueryAccessLogRequest) SetAccess_key(access_key string)

param access_key: 调用者accessKey(Optional)

func (*QueryAccessLogRequest) SetApi_name added in v1.33.0

func (r *QueryAccessLogRequest) SetApi_name(api_name string)

param api_name: api名称(Optional)

func (*QueryAccessLogRequest) SetCall_pin added in v1.33.0

func (r *QueryAccessLogRequest) SetCall_pin(call_pin string)

param call_pin: 调用者pin(Optional)

func (*QueryAccessLogRequest) SetEndTime added in v1.33.0

func (r *QueryAccessLogRequest) SetEndTime(endTime string)

param endTime: 结束时间,utc格式,例如:2020-05-19T00:00:05+0800(Required)

func (*QueryAccessLogRequest) SetHost added in v1.33.0

func (r *QueryAccessLogRequest) SetHost(host string)

param host: 请求虎符网关的域名(Optional)

func (*QueryAccessLogRequest) SetPageNumber added in v1.33.0

func (r *QueryAccessLogRequest) SetPageNumber(pageNumber int)

param pageNumber: 页码(Optional)

func (*QueryAccessLogRequest) SetPageSize added in v1.33.0

func (r *QueryAccessLogRequest) SetPageSize(pageSize int)

param pageSize: 分页大小(Optional)

func (*QueryAccessLogRequest) SetResponse_status added in v1.33.0

func (r *QueryAccessLogRequest) SetResponse_status(response_status string)

param response_status: 响应码(Optional)

func (*QueryAccessLogRequest) SetStartTime added in v1.33.0

func (r *QueryAccessLogRequest) SetStartTime(startTime string)

param startTime: 开始时间,utc格式,例如:2020-05-19T00:00:05+0800(Required)

type QueryAccessLogResponse added in v1.33.0

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

type QueryAccessLogResult added in v1.33.0

type QueryAccessLogResult struct {
	Data  []hufu.AccessLog `json:"data"`
	Total int64            `json:"total"`
}

Jump to

Keyboard shortcuts

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