Documentation ¶
Index ¶
- type DeployRequest
- func (r DeployRequest) GetRegionId() string
- func (r *DeployRequest) SetBackendServiceType(backendServiceType string)
- func (r *DeployRequest) SetBackendUrl(backendUrl string)
- func (r *DeployRequest) SetDescription(description string)
- func (r *DeployRequest) SetEnvironment(environment string)
- func (r *DeployRequest) SetJdsfId(jdsfId string)
- func (r *DeployRequest) SetJdsfName(jdsfName string)
- func (r *DeployRequest) SetJdsfRegistryName(jdsfRegistryName string)
- func (r *DeployRequest) SetRevision(revision string)
- func (r *DeployRequest) SetSceneId(sceneId int)
- type DeployResponse
- type DeployResult
- type DescribeDeploymentRequest
- type DescribeDeploymentResponse
- type DescribeDeploymentResult
- type EncryptRequest
- type EncryptResponse
- type EncryptResult
- type IsEncryptDataRequest
- type IsEncryptDataResponse
- type IsEncryptDataResult
- type QueryAccessLogRequest
- func (r QueryAccessLogRequest) GetRegionId() string
- func (r *QueryAccessLogRequest) SetAccess_key(access_key string)
- func (r *QueryAccessLogRequest) SetApi_name(api_name string)
- func (r *QueryAccessLogRequest) SetCall_pin(call_pin string)
- func (r *QueryAccessLogRequest) SetEndTime(endTime string)
- func (r *QueryAccessLogRequest) SetHost(host string)
- func (r *QueryAccessLogRequest) SetPageNumber(pageNumber int)
- func (r *QueryAccessLogRequest) SetPageSize(pageSize int)
- func (r *QueryAccessLogRequest) SetResponse_status(response_status string)
- func (r *QueryAccessLogRequest) SetStartTime(startTime string)
- type QueryAccessLogResponse
- type QueryAccessLogResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployRequest ¶
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 ¶
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 ¶
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 ¶
func NewDeployRequestWithoutParam() *DeployRequest
This constructor has better compatible ability when API parameters changed
func (DeployRequest) GetRegionId ¶
func (r DeployRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeployRequest) SetBackendServiceType ¶
func (r *DeployRequest) SetBackendServiceType(backendServiceType string)
param backendServiceType: 后端服务类型:mock、unique、vpc(Optional)
func (*DeployRequest) SetBackendUrl ¶
func (r *DeployRequest) SetBackendUrl(backendUrl string)
param backendUrl: 后端地址(Optional)
func (*DeployRequest) SetDescription ¶
func (r *DeployRequest) SetDescription(description string)
param description: 描述(Optional)
func (*DeployRequest) SetEnvironment ¶
func (r *DeployRequest) SetEnvironment(environment string)
param environment: 环境:test、preview、online(Required)
func (*DeployRequest) SetJdsfId ¶
func (r *DeployRequest) SetJdsfId(jdsfId string)
param jdsfId: 微服务ID(Optional)
func (*DeployRequest) SetJdsfName ¶
func (r *DeployRequest) SetJdsfName(jdsfName string)
param jdsfName: 微服务网关名称(Optional)
func (*DeployRequest) SetJdsfRegistryName ¶
func (r *DeployRequest) SetJdsfRegistryName(jdsfRegistryName string)
param jdsfRegistryName: 微服务注册中心ID(Optional)
func (*DeployRequest) SetRevision ¶
func (r *DeployRequest) SetRevision(revision string)
param revision: 发布的修订版本号(Required)
func (*DeployRequest) SetSceneId ¶
func (r *DeployRequest) SetSceneId(sceneId int)
param sceneId: 场景ID(Required)
type DeployResponse ¶
type DeployResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeployResult `json:"result"` }
type DeployResult ¶
type DeployResult struct { }
type DescribeDeploymentRequest ¶
type DescribeDeploymentRequest struct { core.JDCloudRequest /* 场景ID */ SceneId int `json:"sceneId"` /* 部署ID */ DeploymentId string `json:"deploymentId"` }
func NewDescribeDeploymentRequest ¶
func NewDescribeDeploymentRequest( sceneId int, deploymentId string, ) *DescribeDeploymentRequest
* param sceneId: 场景ID (Required) * param deploymentId: 部署ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeDeploymentRequestWithAllParams ¶
func NewDescribeDeploymentRequestWithAllParams( sceneId int, deploymentId string, ) *DescribeDeploymentRequest
* param sceneId: 场景ID (Required) * param deploymentId: 部署ID (Required)
func NewDescribeDeploymentRequestWithoutParam ¶
func NewDescribeDeploymentRequestWithoutParam() *DescribeDeploymentRequest
This constructor has better compatible ability when API parameters changed
func (DescribeDeploymentRequest) GetRegionId ¶
func (r DescribeDeploymentRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeDeploymentRequest) SetDeploymentId ¶
func (r *DescribeDeploymentRequest) SetDeploymentId(deploymentId string)
param deploymentId: 部署ID(Required)
func (*DescribeDeploymentRequest) SetSceneId ¶
func (r *DescribeDeploymentRequest) SetSceneId(sceneId int)
param sceneId: 场景ID(Required)
type DescribeDeploymentResponse ¶
type DescribeDeploymentResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeDeploymentResult `json:"result"` }
type DescribeDeploymentResult ¶
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 ¶
type IsEncryptDataRequest struct { core.JDCloudRequest /* 密文 (Optional) */ Cipher *string `json:"cipher"` }
func NewIsEncryptDataRequest ¶
func NewIsEncryptDataRequest() *IsEncryptDataRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewIsEncryptDataRequestWithAllParams ¶
func NewIsEncryptDataRequestWithAllParams( cipher *string, ) *IsEncryptDataRequest
* param cipher: 密文 (Optional)
func NewIsEncryptDataRequestWithoutParam ¶
func NewIsEncryptDataRequestWithoutParam() *IsEncryptDataRequest
This constructor has better compatible ability when API parameters changed
func (IsEncryptDataRequest) GetRegionId ¶
func (r IsEncryptDataRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*IsEncryptDataRequest) SetCipher ¶
func (r *IsEncryptDataRequest) SetCipher(cipher string)
param cipher: 密文(Optional)
type IsEncryptDataResponse ¶
type IsEncryptDataResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result IsEncryptDataResult `json:"result"` }
type IsEncryptDataResult ¶
type IsEncryptDataResult struct {
EncryptData bool `json:"encryptData"`
}
type QueryAccessLogRequest ¶
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 ¶
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 ¶
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 ¶
func NewQueryAccessLogRequestWithoutParam() *QueryAccessLogRequest
This constructor has better compatible ability when API parameters changed
func (QueryAccessLogRequest) GetRegionId ¶
func (r QueryAccessLogRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryAccessLogRequest) SetAccess_key ¶
func (r *QueryAccessLogRequest) SetAccess_key(access_key string)
param access_key: 调用者accessKey(Optional)
func (*QueryAccessLogRequest) SetApi_name ¶
func (r *QueryAccessLogRequest) SetApi_name(api_name string)
param api_name: api名称(Optional)
func (*QueryAccessLogRequest) SetCall_pin ¶
func (r *QueryAccessLogRequest) SetCall_pin(call_pin string)
param call_pin: 调用者pin(Optional)
func (*QueryAccessLogRequest) SetEndTime ¶
func (r *QueryAccessLogRequest) SetEndTime(endTime string)
param endTime: 结束时间,utc格式,例如:2020-05-19T00:00:05+0800(Required)
func (*QueryAccessLogRequest) SetHost ¶
func (r *QueryAccessLogRequest) SetHost(host string)
param host: 请求虎符网关的域名(Optional)
func (*QueryAccessLogRequest) SetPageNumber ¶
func (r *QueryAccessLogRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码(Optional)
func (*QueryAccessLogRequest) SetPageSize ¶
func (r *QueryAccessLogRequest) SetPageSize(pageSize int)
param pageSize: 分页大小(Optional)
func (*QueryAccessLogRequest) SetResponse_status ¶
func (r *QueryAccessLogRequest) SetResponse_status(response_status string)
param response_status: 响应码(Optional)
func (*QueryAccessLogRequest) SetStartTime ¶
func (r *QueryAccessLogRequest) SetStartTime(startTime string)
param startTime: 开始时间,utc格式,例如:2020-05-19T00:00:05+0800(Required)
type QueryAccessLogResponse ¶
type QueryAccessLogResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryAccessLogResult `json:"result"` }