Documentation
¶
Index ¶
- Constants
- type AuthDomain
- type CheckTcbServiceRequest
- type CheckTcbServiceResponse
- type Client
- func (c *Client) CheckTcbService(request *CheckTcbServiceRequest) (response *CheckTcbServiceResponse, err error)
- func (c *Client) CommonServiceAPI(request *CommonServiceAPIRequest) (response *CommonServiceAPIResponse, err error)
- func (c *Client) CreateAndDeployCloudBaseProject(request *CreateAndDeployCloudBaseProjectRequest) (response *CreateAndDeployCloudBaseProjectResponse, err error)
- func (c *Client) CreateAuthDomain(request *CreateAuthDomainRequest) (response *CreateAuthDomainResponse, err error)
- func (c *Client) CreateCloudBaseRunResource(request *CreateCloudBaseRunResourceRequest) (response *CreateCloudBaseRunResourceResponse, err error)
- func (c *Client) CreateCloudBaseRunServerVersion(request *CreateCloudBaseRunServerVersionRequest) (response *CreateCloudBaseRunServerVersionResponse, err error)
- func (c *Client) CreateHostingDomain(request *CreateHostingDomainRequest) (response *CreateHostingDomainResponse, err error)
- func (c *Client) CreatePostpayPackage(request *CreatePostpayPackageRequest) (response *CreatePostpayPackageResponse, err error)
- func (c *Client) CreateStaticStore(request *CreateStaticStoreRequest) (response *CreateStaticStoreResponse, err error)
- func (c *Client) CreateWxCloudBaseRunEnv(request *CreateWxCloudBaseRunEnvRequest) (response *CreateWxCloudBaseRunEnvResponse, err error)
- func (c *Client) DeleteCloudBaseProjectLatestVersion(request *DeleteCloudBaseProjectLatestVersionRequest) (response *DeleteCloudBaseProjectLatestVersionResponse, err error)
- func (c *Client) DeleteEndUser(request *DeleteEndUserRequest) (response *DeleteEndUserResponse, err error)
- func (c *Client) DeleteWxGatewayRoute(request *DeleteWxGatewayRouteRequest) (response *DeleteWxGatewayRouteResponse, err error)
- func (c *Client) DescribeAuthDomains(request *DescribeAuthDomainsRequest) (response *DescribeAuthDomainsResponse, err error)
- func (c *Client) DescribeCloudBaseBuildService(request *DescribeCloudBaseBuildServiceRequest) (response *DescribeCloudBaseBuildServiceResponse, err error)
- func (c *Client) DescribeCloudBaseProjectLatestVersionList(request *DescribeCloudBaseProjectLatestVersionListRequest) (response *DescribeCloudBaseProjectLatestVersionListResponse, err error)
- func (c *Client) DescribeCloudBaseProjectVersionList(request *DescribeCloudBaseProjectVersionListRequest) (response *DescribeCloudBaseProjectVersionListResponse, err error)
- func (c *Client) DescribeCloudBaseRunResource(request *DescribeCloudBaseRunResourceRequest) (response *DescribeCloudBaseRunResourceResponse, err error)
- func (c *Client) DescribeCloudBaseRunResourceForExtend(request *DescribeCloudBaseRunResourceForExtendRequest) (response *DescribeCloudBaseRunResourceForExtendResponse, err error)
- func (c *Client) DescribeCloudBaseRunServerVersion(request *DescribeCloudBaseRunServerVersionRequest) (response *DescribeCloudBaseRunServerVersionResponse, err error)
- func (c *Client) DescribeCloudBaseRunVersion(request *DescribeCloudBaseRunVersionRequest) (response *DescribeCloudBaseRunVersionResponse, err error)
- func (c *Client) DescribeCloudBaseRunVersionSnapshot(request *DescribeCloudBaseRunVersionSnapshotRequest) (response *DescribeCloudBaseRunVersionSnapshotResponse, err error)
- func (c *Client) DescribeDatabaseACL(request *DescribeDatabaseACLRequest) (response *DescribeDatabaseACLResponse, err error)
- func (c *Client) DescribeDownloadFile(request *DescribeDownloadFileRequest) (response *DescribeDownloadFileResponse, err error)
- func (c *Client) DescribeEndUserLoginStatistic(request *DescribeEndUserLoginStatisticRequest) (response *DescribeEndUserLoginStatisticResponse, err error)
- func (c *Client) DescribeEndUserStatistic(request *DescribeEndUserStatisticRequest) (response *DescribeEndUserStatisticResponse, err error)
- func (c *Client) DescribeEndUsers(request *DescribeEndUsersRequest) (response *DescribeEndUsersResponse, err error)
- func (c *Client) DescribeEnvFreeQuota(request *DescribeEnvFreeQuotaRequest) (response *DescribeEnvFreeQuotaResponse, err error)
- func (c *Client) DescribeEnvLimit(request *DescribeEnvLimitRequest) (response *DescribeEnvLimitResponse, err error)
- func (c *Client) DescribeEnvs(request *DescribeEnvsRequest) (response *DescribeEnvsResponse, err error)
- func (c *Client) DescribeExtensionUploadInfo(request *DescribeExtensionUploadInfoRequest) (response *DescribeExtensionUploadInfoResponse, err error)
- func (c *Client) DescribeExtraPkgBillingInfo(request *DescribeExtraPkgBillingInfoRequest) (response *DescribeExtraPkgBillingInfoResponse, err error)
- func (c *Client) DescribePostpayFreeQuotas(request *DescribePostpayFreeQuotasRequest) (response *DescribePostpayFreeQuotasResponse, err error)
- func (c *Client) DescribePostpayPackageFreeQuotas(request *DescribePostpayPackageFreeQuotasRequest) (response *DescribePostpayPackageFreeQuotasResponse, err error)
- func (c *Client) DescribeQuotaData(request *DescribeQuotaDataRequest) (response *DescribeQuotaDataResponse, err error)
- func (c *Client) DescribeSmsQuotas(request *DescribeSmsQuotasRequest) (response *DescribeSmsQuotasResponse, err error)
- func (c *Client) DescribeWxCloudBaseRunEnvs(request *DescribeWxCloudBaseRunEnvsRequest) (response *DescribeWxCloudBaseRunEnvsResponse, err error)
- func (c *Client) DescribeWxCloudBaseRunSubNets(request *DescribeWxCloudBaseRunSubNetsRequest) (response *DescribeWxCloudBaseRunSubNetsResponse, err error)
- func (c *Client) DestroyEnv(request *DestroyEnvRequest) (response *DestroyEnvResponse, err error)
- func (c *Client) DestroyStaticStore(request *DestroyStaticStoreRequest) (response *DestroyStaticStoreResponse, err error)
- func (c *Client) EstablishCloudBaseRunServer(request *EstablishCloudBaseRunServerRequest) (response *EstablishCloudBaseRunServerResponse, err error)
- func (c *Client) EstablishWxGatewayRoute(request *EstablishWxGatewayRouteRequest) (response *EstablishWxGatewayRouteResponse, err error)
- func (c *Client) ModifyDatabaseACL(request *ModifyDatabaseACLRequest) (response *ModifyDatabaseACLResponse, err error)
- func (c *Client) ModifyEndUser(request *ModifyEndUserRequest) (response *ModifyEndUserResponse, err error)
- func (c *Client) ModifyEnv(request *ModifyEnvRequest) (response *ModifyEnvResponse, err error)
- func (c *Client) ReinstateEnv(request *ReinstateEnvRequest) (response *ReinstateEnvResponse, err error)
- type CloudBaseCapabilities
- type CloudBaseCodeRepoDetail
- type CloudBaseCodeRepoName
- type CloudBaseEsInfo
- type CloudBaseProjectVersion
- type CloudBaseRunImageInfo
- type CloudBaseRunImageSecretInfo
- type CloudBaseRunNfsVolumeSource
- type CloudBaseRunSideSpec
- type CloudBaseRunVolumeMount
- type CloudBaseRunVpcInfo
- type CloudBaseRunVpcSubnet
- type CloudBaseSecurityContext
- type CloudRunServiceSimpleVersionSnapshot
- type CloudRunServiceVolume
- type CodeSource
- type CommonServiceAPIRequest
- type CommonServiceAPIResponse
- type CreateAndDeployCloudBaseProjectRequest
- type CreateAndDeployCloudBaseProjectResponse
- type CreateAuthDomainRequest
- type CreateAuthDomainResponse
- type CreateCloudBaseRunResourceRequest
- type CreateCloudBaseRunResourceResponse
- type CreateCloudBaseRunServerVersionRequest
- type CreateCloudBaseRunServerVersionResponse
- type CreateHostingDomainRequest
- type CreateHostingDomainResponse
- type CreatePostpayPackageRequest
- type CreatePostpayPackageResponse
- type CreateStaticStoreRequest
- type CreateStaticStoreResponse
- type CreateWxCloudBaseRunEnvRequest
- type CreateWxCloudBaseRunEnvResponse
- type DatabasesInfo
- type DeleteCloudBaseProjectLatestVersionRequest
- type DeleteCloudBaseProjectLatestVersionResponse
- type DeleteEndUserRequest
- type DeleteEndUserResponse
- type DeleteWxGatewayRouteRequest
- type DeleteWxGatewayRouteResponse
- type DescribeAuthDomainsRequest
- type DescribeAuthDomainsResponse
- type DescribeCloudBaseBuildServiceRequest
- type DescribeCloudBaseBuildServiceResponse
- type DescribeCloudBaseProjectLatestVersionListRequest
- type DescribeCloudBaseProjectLatestVersionListResponse
- type DescribeCloudBaseProjectVersionListRequest
- type DescribeCloudBaseProjectVersionListResponse
- type DescribeCloudBaseRunResourceForExtendRequest
- type DescribeCloudBaseRunResourceForExtendResponse
- type DescribeCloudBaseRunResourceRequest
- type DescribeCloudBaseRunResourceResponse
- type DescribeCloudBaseRunServerVersionRequest
- type DescribeCloudBaseRunServerVersionResponse
- type DescribeCloudBaseRunVersionRequest
- type DescribeCloudBaseRunVersionResponse
- type DescribeCloudBaseRunVersionSnapshotRequest
- type DescribeCloudBaseRunVersionSnapshotResponse
- type DescribeDatabaseACLRequest
- type DescribeDatabaseACLResponse
- type DescribeDownloadFileRequest
- type DescribeDownloadFileResponse
- type DescribeEndUserLoginStatisticRequest
- type DescribeEndUserLoginStatisticResponse
- type DescribeEndUserStatisticRequest
- type DescribeEndUserStatisticResponse
- type DescribeEndUsersRequest
- type DescribeEndUsersResponse
- type DescribeEnvFreeQuotaRequest
- type DescribeEnvFreeQuotaResponse
- type DescribeEnvLimitRequest
- type DescribeEnvLimitResponse
- type DescribeEnvsRequest
- type DescribeEnvsResponse
- type DescribeExtensionUploadInfoRequest
- type DescribeExtensionUploadInfoResponse
- type DescribeExtraPkgBillingInfoRequest
- type DescribeExtraPkgBillingInfoResponse
- type DescribePostpayFreeQuotasRequest
- type DescribePostpayFreeQuotasResponse
- type DescribePostpayPackageFreeQuotasRequest
- type DescribePostpayPackageFreeQuotasResponse
- type DescribeQuotaDataRequest
- type DescribeQuotaDataResponse
- type DescribeSmsQuotasRequest
- type DescribeSmsQuotasResponse
- type DescribeWxCloudBaseRunEnvsRequest
- type DescribeWxCloudBaseRunEnvsResponse
- type DescribeWxCloudBaseRunSubNetsRequest
- type DescribeWxCloudBaseRunSubNetsResponse
- type DestroyEnvRequest
- type DestroyEnvResponse
- type DestroyStaticStoreRequest
- type DestroyStaticStoreResponse
- type EndUserInfo
- type EnvBillingInfoItem
- type EnvInfo
- type EstablishCloudBaseRunServerRequest
- type EstablishCloudBaseRunServerResponse
- type EstablishWxGatewayRouteRequest
- type EstablishWxGatewayRouteResponse
- type ExtensionFile
- type ExtensionFileInfo
- type FreequotaInfo
- type FunctionInfo
- type KVPair
- type LogServiceInfo
- type LoginStatistic
- type ModifyDatabaseACLRequest
- type ModifyDatabaseACLResponse
- type ModifyEndUserRequest
- type ModifyEndUserResponse
- type ModifyEnvRequest
- type ModifyEnvResponse
- type OrderInfo
- type PackageFreeQuotaInfo
- type PlatformStatistic
- type PostpayEnvQuota
- type ReinstateEnvRequest
- type ReinstateEnvResponse
- type SmsFreeQuota
- type StaticStorageInfo
- type StorageInfo
Constants ¶
const APIVersion = "2018-06-08"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthDomain ¶
type AuthDomain struct {
// 域名ID
Id *string `json:"Id,omitempty" name:"Id"`
// 域名
Domain *string `json:"Domain,omitempty" name:"Domain"`
// 域名类型。包含以下取值:
// <li>SYSTEM</li>
// <li>USER</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 状态。包含以下取值:
// <li>ENABLE</li>
// <li>DISABLE</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 创建时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 更新时间
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}
type CheckTcbServiceRequest ¶
type CheckTcbServiceRequest struct {
*tchttp.BaseRequest
}
func NewCheckTcbServiceRequest ¶
func NewCheckTcbServiceRequest() (request *CheckTcbServiceRequest)
func (*CheckTcbServiceRequest) FromJsonString ¶
func (r *CheckTcbServiceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckTcbServiceRequest) ToJsonString ¶
func (r *CheckTcbServiceRequest) ToJsonString() string
type CheckTcbServiceResponse ¶
type CheckTcbServiceResponse struct {
*tchttp.BaseResponse
Response *struct {
// true表示已开通
Initialized *bool `json:"Initialized,omitempty" name:"Initialized"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCheckTcbServiceResponse ¶
func NewCheckTcbServiceResponse() (response *CheckTcbServiceResponse)
func (*CheckTcbServiceResponse) FromJsonString ¶
func (r *CheckTcbServiceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckTcbServiceResponse) ToJsonString ¶
func (r *CheckTcbServiceResponse) ToJsonString() string
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CheckTcbService ¶
func (c *Client) CheckTcbService(request *CheckTcbServiceRequest) (response *CheckTcbServiceResponse, err error)
检查是否开通Tcb服务
func (*Client) CommonServiceAPI ¶
func (c *Client) CommonServiceAPI(request *CommonServiceAPIRequest) (response *CommonServiceAPIResponse, err error)
TCB云API统一入口
func (*Client) CreateAndDeployCloudBaseProject ¶
func (c *Client) CreateAndDeployCloudBaseProject(request *CreateAndDeployCloudBaseProjectRequest) (response *CreateAndDeployCloudBaseProjectResponse, err error)
创建云开发项目
func (*Client) CreateAuthDomain ¶
func (c *Client) CreateAuthDomain(request *CreateAuthDomainRequest) (response *CreateAuthDomainResponse, err error)
增加安全域名
func (*Client) CreateCloudBaseRunResource ¶
func (c *Client) CreateCloudBaseRunResource(request *CreateCloudBaseRunResourceRequest) (response *CreateCloudBaseRunResourceResponse, err error)
开通容器托管的资源,包括集群创建,VPC配置,异步任务创建,镜像托管,Coding等,查看创建结果需要根据DescribeCloudBaseRunResource接口来查看
func (*Client) CreateCloudBaseRunServerVersion ¶
func (c *Client) CreateCloudBaseRunServerVersion(request *CreateCloudBaseRunServerVersionRequest) (response *CreateCloudBaseRunServerVersionResponse, err error)
创建服务版本
func (*Client) CreateHostingDomain ¶
func (c *Client) CreateHostingDomain(request *CreateHostingDomainRequest) (response *CreateHostingDomainResponse, err error)
创建托管域名
func (*Client) CreatePostpayPackage ¶
func (c *Client) CreatePostpayPackage(request *CreatePostpayPackageRequest) (response *CreatePostpayPackageResponse, err error)
开通后付费资源
func (*Client) CreateStaticStore ¶
func (c *Client) CreateStaticStore(request *CreateStaticStoreRequest) (response *CreateStaticStoreResponse, err error)
创建静态托管资源,包括COS和CDN,异步任务创建,查看创建结果需要根据DescribeStaticStore接口来查看
func (*Client) CreateWxCloudBaseRunEnv ¶
func (c *Client) CreateWxCloudBaseRunEnv(request *CreateWxCloudBaseRunEnvRequest) (response *CreateWxCloudBaseRunEnvResponse, err error)
创建微信云托管
func (*Client) DeleteCloudBaseProjectLatestVersion ¶
func (c *Client) DeleteCloudBaseProjectLatestVersion(request *DeleteCloudBaseProjectLatestVersionRequest) (response *DeleteCloudBaseProjectLatestVersionResponse, err error)
删除云项目
func (*Client) DeleteEndUser ¶
func (c *Client) DeleteEndUser(request *DeleteEndUserRequest) (response *DeleteEndUserResponse, err error)
删除终端用户
func (*Client) DeleteWxGatewayRoute ¶
func (c *Client) DeleteWxGatewayRoute(request *DeleteWxGatewayRouteRequest) (response *DeleteWxGatewayRouteResponse, err error)
删除安全网关路由
func (*Client) DescribeAuthDomains ¶
func (c *Client) DescribeAuthDomains(request *DescribeAuthDomainsRequest) (response *DescribeAuthDomainsResponse, err error)
获取安全域名列表
func (*Client) DescribeCloudBaseBuildService ¶
func (c *Client) DescribeCloudBaseBuildService(request *DescribeCloudBaseBuildServiceRequest) (response *DescribeCloudBaseBuildServiceResponse, err error)
获取云托管代码上传url
func (*Client) DescribeCloudBaseProjectLatestVersionList ¶
func (c *Client) DescribeCloudBaseProjectLatestVersionList(request *DescribeCloudBaseProjectLatestVersionListRequest) (response *DescribeCloudBaseProjectLatestVersionListResponse, err error)
获取云开发项目列表
func (*Client) DescribeCloudBaseProjectVersionList ¶
func (c *Client) DescribeCloudBaseProjectVersionList(request *DescribeCloudBaseProjectVersionListRequest) (response *DescribeCloudBaseProjectVersionListResponse, err error)
云项目部署列表
func (*Client) DescribeCloudBaseRunResource ¶
func (c *Client) DescribeCloudBaseRunResource(request *DescribeCloudBaseRunResourceRequest) (response *DescribeCloudBaseRunResourceResponse, err error)
查看容器托管的集群状态
func (*Client) DescribeCloudBaseRunResourceForExtend ¶
func (c *Client) DescribeCloudBaseRunResourceForExtend(request *DescribeCloudBaseRunResourceForExtendRequest) (response *DescribeCloudBaseRunResourceForExtendResponse, err error)
查看容器托管的集群状态扩展使用
func (*Client) DescribeCloudBaseRunServerVersion ¶
func (c *Client) DescribeCloudBaseRunServerVersion(request *DescribeCloudBaseRunServerVersionRequest) (response *DescribeCloudBaseRunServerVersionResponse, err error)
查询服务版本的详情,CPU和MEM 请使用CPUSize和MemSize
func (*Client) DescribeCloudBaseRunVersion ¶
func (c *Client) DescribeCloudBaseRunVersion(request *DescribeCloudBaseRunVersionRequest) (response *DescribeCloudBaseRunVersionResponse, err error)
查询服务版本详情(新)
func (*Client) DescribeCloudBaseRunVersionSnapshot ¶
func (c *Client) DescribeCloudBaseRunVersionSnapshot(request *DescribeCloudBaseRunVersionSnapshotRequest) (response *DescribeCloudBaseRunVersionSnapshotResponse, err error)
查询版本历史
func (*Client) DescribeDatabaseACL ¶
func (c *Client) DescribeDatabaseACL(request *DescribeDatabaseACLRequest) (response *DescribeDatabaseACLResponse, err error)
获取数据库权限
func (*Client) DescribeDownloadFile ¶
func (c *Client) DescribeDownloadFile(request *DescribeDownloadFileRequest) (response *DescribeDownloadFileResponse, err error)
获取下载文件信息
func (*Client) DescribeEndUserLoginStatistic ¶
func (c *Client) DescribeEndUserLoginStatistic(request *DescribeEndUserLoginStatisticRequest) (response *DescribeEndUserLoginStatisticResponse, err error)
获取环境终端用户新增与登录信息
func (*Client) DescribeEndUserStatistic ¶
func (c *Client) DescribeEndUserStatistic(request *DescribeEndUserStatisticRequest) (response *DescribeEndUserStatisticResponse, err error)
获取终端用户总量与平台分布情况
func (*Client) DescribeEndUsers ¶
func (c *Client) DescribeEndUsers(request *DescribeEndUsersRequest) (response *DescribeEndUsersResponse, err error)
获取终端用户列表
func (*Client) DescribeEnvFreeQuota ¶
func (c *Client) DescribeEnvFreeQuota(request *DescribeEnvFreeQuotaRequest) (response *DescribeEnvFreeQuotaResponse, err error)
查询后付费免费配额信息
func (*Client) DescribeEnvLimit ¶
func (c *Client) DescribeEnvLimit(request *DescribeEnvLimitRequest) (response *DescribeEnvLimitResponse, err error)
查询环境个数上限
func (*Client) DescribeEnvs ¶
func (c *Client) DescribeEnvs(request *DescribeEnvsRequest) (response *DescribeEnvsResponse, err error)
获取环境列表,含环境下的各个资源信息。尤其是各资源的唯一标识,是请求各资源的关键参数
func (*Client) DescribeExtensionUploadInfo ¶
func (c *Client) DescribeExtensionUploadInfo(request *DescribeExtensionUploadInfoRequest) (response *DescribeExtensionUploadInfoResponse, err error)
描述扩展上传文件信息
func (*Client) DescribeExtraPkgBillingInfo ¶
func (c *Client) DescribeExtraPkgBillingInfo(request *DescribeExtraPkgBillingInfoRequest) (response *DescribeExtraPkgBillingInfoResponse, err error)
获取增值包计费相关信息
func (*Client) DescribePostpayFreeQuotas ¶
func (c *Client) DescribePostpayFreeQuotas(request *DescribePostpayFreeQuotasRequest) (response *DescribePostpayFreeQuotasResponse, err error)
查询后付费资源免费量
func (*Client) DescribePostpayPackageFreeQuotas ¶
func (c *Client) DescribePostpayPackageFreeQuotas(request *DescribePostpayPackageFreeQuotasRequest) (response *DescribePostpayPackageFreeQuotasResponse, err error)
获取后付费免费额度
func (*Client) DescribeQuotaData ¶
func (c *Client) DescribeQuotaData(request *DescribeQuotaDataRequest) (response *DescribeQuotaDataResponse, err error)
查询指定指标的配额使用量
func (*Client) DescribeSmsQuotas ¶
func (c *Client) DescribeSmsQuotas(request *DescribeSmsQuotasRequest) (response *DescribeSmsQuotasResponse, err error)
查询后付费短信资源量 1 有免费包的返回SmsFreeQuota结构所有字段 2 没有免费包,有付费包,付费返回复用SmsFreeQuota结构,其中只有 TodayUsedQuota 字段有效 3 都没有返回为空数组
func (*Client) DescribeWxCloudBaseRunEnvs ¶
func (c *Client) DescribeWxCloudBaseRunEnvs(request *DescribeWxCloudBaseRunEnvsRequest) (response *DescribeWxCloudBaseRunEnvsResponse, err error)
查询微信云托管环境信息
func (*Client) DescribeWxCloudBaseRunSubNets ¶
func (c *Client) DescribeWxCloudBaseRunSubNets(request *DescribeWxCloudBaseRunSubNetsRequest) (response *DescribeWxCloudBaseRunSubNetsResponse, err error)
查询微信云托管子网
func (*Client) DestroyEnv ¶
func (c *Client) DestroyEnv(request *DestroyEnvRequest) (response *DestroyEnvResponse, err error)
销毁环境
func (*Client) DestroyStaticStore ¶
func (c *Client) DestroyStaticStore(request *DestroyStaticStoreRequest) (response *DestroyStaticStoreResponse, err error)
销毁静态托管资源,该接口创建异步销毁任务,资源最终状态可从DestroyStaticStore接口查看
func (*Client) EstablishCloudBaseRunServer ¶
func (c *Client) EstablishCloudBaseRunServer(request *EstablishCloudBaseRunServerRequest) (response *EstablishCloudBaseRunServerResponse, err error)
创建云应用服务
func (*Client) EstablishWxGatewayRoute ¶
func (c *Client) EstablishWxGatewayRoute(request *EstablishWxGatewayRouteRequest) (response *EstablishWxGatewayRouteResponse, err error)
创建或修改安全网关路由
func (*Client) ModifyDatabaseACL ¶
func (c *Client) ModifyDatabaseACL(request *ModifyDatabaseACLRequest) (response *ModifyDatabaseACLResponse, err error)
修改数据库权限
func (*Client) ModifyEndUser ¶
func (c *Client) ModifyEndUser(request *ModifyEndUserRequest) (response *ModifyEndUserResponse, err error)
管理终端用户
func (*Client) ModifyEnv ¶
func (c *Client) ModifyEnv(request *ModifyEnvRequest) (response *ModifyEnvResponse, err error)
更新环境信息
func (*Client) ReinstateEnv ¶
func (c *Client) ReinstateEnv(request *ReinstateEnvRequest) (response *ReinstateEnvResponse, err error)
针对已隔离的免费环境,可以通过本接口将其恢复访问。
type CloudBaseCapabilities ¶
type CloudBaseCodeRepoDetail ¶
type CloudBaseCodeRepoDetail struct {
// repo的名字
Name *CloudBaseCodeRepoName `json:"Name,omitempty" name:"Name"`
// repo的url
Url *string `json:"Url,omitempty" name:"Url"`
}
type CloudBaseCodeRepoName ¶
type CloudBaseEsInfo ¶
type CloudBaseEsInfo struct {
// es的id
// 注意:此字段可能返回 null,表示取不到有效值。
Id *int64 `json:"Id,omitempty" name:"Id"`
// secret名字
// 注意:此字段可能返回 null,表示取不到有效值。
SecretName *string `json:"SecretName,omitempty" name:"SecretName"`
// ip地址
// 注意:此字段可能返回 null,表示取不到有效值。
Ip *string `json:"Ip,omitempty" name:"Ip"`
// 端口
// 注意:此字段可能返回 null,表示取不到有效值。
Port *int64 `json:"Port,omitempty" name:"Port"`
// 索引
// 注意:此字段可能返回 null,表示取不到有效值。
Index *string `json:"Index,omitempty" name:"Index"`
// 用户名
// 注意:此字段可能返回 null,表示取不到有效值。
Account *string `json:"Account,omitempty" name:"Account"`
// 密码
// 注意:此字段可能返回 null,表示取不到有效值。
Password *string `json:"Password,omitempty" name:"Password"`
}
type CloudBaseProjectVersion ¶
type CloudBaseProjectVersion struct {
// 项目名
Name *string `json:"Name,omitempty" name:"Name"`
// SAM json
// 注意:此字段可能返回 null,表示取不到有效值。
Sam *string `json:"Sam,omitempty" name:"Sam"`
// 来源类型
// 注意:此字段可能返回 null,表示取不到有效值。
Source *CodeSource `json:"Source,omitempty" name:"Source"`
// 创建时间, unix时间戳
// 注意:此字段可能返回 null,表示取不到有效值。
CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 更新时间 ,unix时间戳
// 注意:此字段可能返回 null,表示取不到有效值。
UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 项目状态, 枚举值:
// "creatingEnv"-创建环境中
// "createEnvFail"-创建环境失败
// "building"-构建中
// "buildFail"-构建失败
// "deploying"-部署中
// "deployFail"-部署失败
// "success"-部署成功
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
// 环境变量
// 注意:此字段可能返回 null,表示取不到有效值。
Parameters []*KVPair `json:"Parameters,omitempty" name:"Parameters" list`
// 项目类型, 枚举值:
// "framework-oneclick" 控制台一键部署
// "framework-local-oneclick" cli本地一键部署
// "qci-extension-cicd" 内网coding ci cd
// 注意:此字段可能返回 null,表示取不到有效值。
Type *string `json:"Type,omitempty" name:"Type"`
// ci的id
// 注意:此字段可能返回 null,表示取不到有效值。
CIId *string `json:"CIId,omitempty" name:"CIId"`
// cd的id
// 注意:此字段可能返回 null,表示取不到有效值。
CDId *string `json:"CDId,omitempty" name:"CDId"`
// 环境id
// 注意:此字段可能返回 null,表示取不到有效值。
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 版本号
// 注意:此字段可能返回 null,表示取不到有效值。
VersionNum *int64 `json:"VersionNum,omitempty" name:"VersionNum"`
// 错误原因
// 注意:此字段可能返回 null,表示取不到有效值。
FailReason *string `json:"FailReason,omitempty" name:"FailReason"`
// rc.json内容
// 注意:此字段可能返回 null,表示取不到有效值。
RcJson *string `json:"RcJson,omitempty" name:"RcJson"`
// 插件配置内容
// 注意:此字段可能返回 null,表示取不到有效值。
AddonConfig *string `json:"AddonConfig,omitempty" name:"AddonConfig"`
// 标签
// 注意:此字段可能返回 null,表示取不到有效值。
Tags []*string `json:"Tags,omitempty" name:"Tags" list`
// 网络配置
// 注意:此字段可能返回 null,表示取不到有效值。
NetworkConfig *string `json:"NetworkConfig,omitempty" name:"NetworkConfig"`
// 扩展id
// 注意:此字段可能返回 null,表示取不到有效值。
ExtensionId *string `json:"ExtensionId,omitempty" name:"ExtensionId"`
// 错误类型
// 注意:此字段可能返回 null,表示取不到有效值。
FailType *string `json:"FailType,omitempty" name:"FailType"`
// 私有仓库地址
// 注意:此字段可能返回 null,表示取不到有效值。
RepoUrl *string `json:"RepoUrl,omitempty" name:"RepoUrl"`
// 是否私有仓库代码变更触发自动部署
// 注意:此字段可能返回 null,表示取不到有效值。
AutoDeployOnCodeChange *bool `json:"AutoDeployOnCodeChange,omitempty" name:"AutoDeployOnCodeChange"`
}
type CloudBaseRunImageInfo ¶
type CloudBaseRunImageInfo struct {
// 镜像仓库名称
RepositoryName *string `json:"RepositoryName,omitempty" name:"RepositoryName"`
// 是否公有
IsPublic *bool `json:"IsPublic,omitempty" name:"IsPublic"`
// 镜像tag名称
TagName *string `json:"TagName,omitempty" name:"TagName"`
// 镜像server
ServerAddr *string `json:"ServerAddr,omitempty" name:"ServerAddr"`
// 镜像拉取地址
ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"`
}
type CloudBaseRunImageSecretInfo ¶
type CloudBaseRunImageSecretInfo struct {
// 镜像地址
RegistryServer *string `json:"RegistryServer,omitempty" name:"RegistryServer"`
// 用户名
UserName *string `json:"UserName,omitempty" name:"UserName"`
// 仓库密码
Password *string `json:"Password,omitempty" name:"Password"`
// 邮箱
Email *string `json:"Email,omitempty" name:"Email"`
}
type CloudBaseRunNfsVolumeSource ¶
type CloudBaseRunNfsVolumeSource struct {
// NFS挂载Server
Server *string `json:"Server,omitempty" name:"Server"`
// Server路径
Path *string `json:"Path,omitempty" name:"Path"`
// 是否只读
ReadOnly *bool `json:"ReadOnly,omitempty" name:"ReadOnly"`
// secret名称
SecretName *string `json:"SecretName,omitempty" name:"SecretName"`
// 临时目录
EnableEmptyDirVolume *bool `json:"EnableEmptyDirVolume,omitempty" name:"EnableEmptyDirVolume"`
}
type CloudBaseRunSideSpec ¶
type CloudBaseRunSideSpec struct {
// 容器镜像
// 注意:此字段可能返回 null,表示取不到有效值。
ContainerImage *string `json:"ContainerImage,omitempty" name:"ContainerImage"`
// 容器端口
// 注意:此字段可能返回 null,表示取不到有效值。
ContainerPort *int64 `json:"ContainerPort,omitempty" name:"ContainerPort"`
// 容器的名称
// 注意:此字段可能返回 null,表示取不到有效值。
ContainerName *string `json:"ContainerName,omitempty" name:"ContainerName"`
// kv的json字符串
// 注意:此字段可能返回 null,表示取不到有效值。
EnvVar *string `json:"EnvVar,omitempty" name:"EnvVar"`
// InitialDelaySeconds 延迟多长时间启动健康检查
// 注意:此字段可能返回 null,表示取不到有效值。
InitialDelaySeconds *int64 `json:"InitialDelaySeconds,omitempty" name:"InitialDelaySeconds"`
// CPU大小
// 注意:此字段可能返回 null,表示取不到有效值。
Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"`
// 内存大小(单位:M)
// 注意:此字段可能返回 null,表示取不到有效值。
Mem *int64 `json:"Mem,omitempty" name:"Mem"`
// 安全特性
// 注意:此字段可能返回 null,表示取不到有效值。
Security *CloudBaseSecurityContext `json:"Security,omitempty" name:"Security"`
// 挂载信息
// 注意:此字段可能返回 null,表示取不到有效值。
VolumeMountInfos []*CloudBaseRunVolumeMount `json:"VolumeMountInfos,omitempty" name:"VolumeMountInfos" list`
}
type CloudBaseRunVolumeMount ¶
type CloudBaseRunVolumeMount struct {
// 资源名
Name *string `json:"Name,omitempty" name:"Name"`
// 挂载路径
MountPath *string `json:"MountPath,omitempty" name:"MountPath"`
// 是否只读
ReadOnly *bool `json:"ReadOnly,omitempty" name:"ReadOnly"`
// Nfs挂载信息
NfsVolumes []*CloudBaseRunNfsVolumeSource `json:"NfsVolumes,omitempty" name:"NfsVolumes" list`
}
type CloudBaseRunVpcInfo ¶
type CloudBaseRunVpcInfo struct {
// vpc的id
// 注意:此字段可能返回 null,表示取不到有效值。
VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
// 子网id
// 注意:此字段可能返回 null,表示取不到有效值。
SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds" list`
// 创建类型(0=继承; 1=新建; 2=指定)
// 注意:此字段可能返回 null,表示取不到有效值。
CreateType *int64 `json:"CreateType,omitempty" name:"CreateType"`
}
type CloudBaseRunVpcSubnet ¶
type CloudBaseRunVpcSubnet struct {
// 子网id
// 注意:此字段可能返回 null,表示取不到有效值。
Id *string `json:"Id,omitempty" name:"Id"`
// 子网的ipv4
// 注意:此字段可能返回 null,表示取不到有效值。
Cidr *string `json:"Cidr,omitempty" name:"Cidr"`
// 可用区
// 注意:此字段可能返回 null,表示取不到有效值。
Zone *string `json:"Zone,omitempty" name:"Zone"`
// 类型
// 注意:此字段可能返回 null,表示取不到有效值。
Type *string `json:"Type,omitempty" name:"Type"`
// subnet类型
// 注意:此字段可能返回 null,表示取不到有效值。
Target *string `json:"Target,omitempty" name:"Target"`
// 地域
// 注意:此字段可能返回 null,表示取不到有效值。
Region *string `json:"Region,omitempty" name:"Region"`
// 名字
// 注意:此字段可能返回 null,表示取不到有效值。
Name *string `json:"Name,omitempty" name:"Name"`
}
type CloudBaseSecurityContext ¶
type CloudBaseSecurityContext struct {
// 安全特性
// 注意:此字段可能返回 null,表示取不到有效值。
Capabilities *CloudBaseCapabilities `json:"Capabilities,omitempty" name:"Capabilities"`
}
type CloudRunServiceSimpleVersionSnapshot ¶
type CloudRunServiceSimpleVersionSnapshot struct {
// 版本名
// 注意:此字段可能返回 null,表示取不到有效值。
VersionName *string `json:"VersionName,omitempty" name:"VersionName"`
// 版本备注
// 注意:此字段可能返回 null,表示取不到有效值。
Remark *string `json:"Remark,omitempty" name:"Remark"`
// cpu规格
// 注意:此字段可能返回 null,表示取不到有效值。
Cpu *float64 `json:"Cpu,omitempty" name:"Cpu"`
// 内存规格
// 注意:此字段可能返回 null,表示取不到有效值。
Mem *float64 `json:"Mem,omitempty" name:"Mem"`
// 最小副本数
// 注意:此字段可能返回 null,表示取不到有效值。
MinNum *int64 `json:"MinNum,omitempty" name:"MinNum"`
// 最大副本数
// 注意:此字段可能返回 null,表示取不到有效值。
MaxNum *int64 `json:"MaxNum,omitempty" name:"MaxNum"`
// 镜像url
// 注意:此字段可能返回 null,表示取不到有效值。
ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"`
// 扩容策略
// 注意:此字段可能返回 null,表示取不到有效值。
PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"`
// 策略阈值
// 注意:此字段可能返回 null,表示取不到有效值。
PolicyThreshold *int64 `json:"PolicyThreshold,omitempty" name:"PolicyThreshold"`
// 环境参数
// 注意:此字段可能返回 null,表示取不到有效值。
EnvParams *string `json:"EnvParams,omitempty" name:"EnvParams"`
// 容器端口
// 注意:此字段可能返回 null,表示取不到有效值。
ContainerPort *int64 `json:"ContainerPort,omitempty" name:"ContainerPort"`
// 创建时间
// 注意:此字段可能返回 null,表示取不到有效值。
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 更新时间
// 注意:此字段可能返回 null,表示取不到有效值。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 更新类型
// 注意:此字段可能返回 null,表示取不到有效值。
UploadType *string `json:"UploadType,omitempty" name:"UploadType"`
// dockerfile路径
// 注意:此字段可能返回 null,表示取不到有效值。
DockerfilePath *string `json:"DockerfilePath,omitempty" name:"DockerfilePath"`
// 构建路径
// 注意:此字段可能返回 null,表示取不到有效值。
BuildDir *string `json:"BuildDir,omitempty" name:"BuildDir"`
// repo类型
// 注意:此字段可能返回 null,表示取不到有效值。
RepoType *string `json:"RepoType,omitempty" name:"RepoType"`
// 仓库
// 注意:此字段可能返回 null,表示取不到有效值。
Repo *string `json:"Repo,omitempty" name:"Repo"`
// 分支
// 注意:此字段可能返回 null,表示取不到有效值。
Branch *string `json:"Branch,omitempty" name:"Branch"`
// 环境id
// 注意:此字段可能返回 null,表示取不到有效值。
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 服务名
// 注意:此字段可能返回 null,表示取不到有效值。
ServerName *string `json:"ServerName,omitempty" name:"ServerName"`
// package名字
// 注意:此字段可能返回 null,表示取不到有效值。
PackageName *string `json:"PackageName,omitempty" name:"PackageName"`
// package版本
// 注意:此字段可能返回 null,表示取不到有效值。
PackageVersion *string `json:"PackageVersion,omitempty" name:"PackageVersion"`
// 自定义log路径
// 注意:此字段可能返回 null,表示取不到有效值。
CustomLogs *string `json:"CustomLogs,omitempty" name:"CustomLogs"`
// 延时健康检查时间
// 注意:此字段可能返回 null,表示取不到有效值。
InitialDelaySeconds *int64 `json:"InitialDelaySeconds,omitempty" name:"InitialDelaySeconds"`
// snapshot名
// 注意:此字段可能返回 null,表示取不到有效值。
SnapshotName *string `json:"SnapshotName,omitempty" name:"SnapshotName"`
// 镜像信息
// 注意:此字段可能返回 null,表示取不到有效值。
ImageInfo *CloudBaseRunImageInfo `json:"ImageInfo,omitempty" name:"ImageInfo"`
// 代码仓库信息
// 注意:此字段可能返回 null,表示取不到有效值。
CodeDetail *CloudBaseCodeRepoDetail `json:"CodeDetail,omitempty" name:"CodeDetail"`
// 状态
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
}
type CloudRunServiceVolume ¶
type CloudRunServiceVolume struct {
// 名称
// 注意:此字段可能返回 null,表示取不到有效值。
Name *string `json:"Name,omitempty" name:"Name"`
// NFS的挂载方式
// 注意:此字段可能返回 null,表示取不到有效值。
NFS *CloudBaseRunNfsVolumeSource `json:"NFS,omitempty" name:"NFS"`
// secret名称
// 注意:此字段可能返回 null,表示取不到有效值。
SecretName *string `json:"SecretName,omitempty" name:"SecretName"`
// 是否开启临时目录
// 注意:此字段可能返回 null,表示取不到有效值。
EnableEmptyDirVolume *bool `json:"EnableEmptyDirVolume,omitempty" name:"EnableEmptyDirVolume"`
}
type CodeSource ¶
type CodeSource struct {
// 类型, 可能的枚举: "coding","package","package_url","github","gitlab","gitee","rawcode"
// 注意:此字段可能返回 null,表示取不到有效值。
Type *string `json:"Type,omitempty" name:"Type"`
// 下载链接
// 注意:此字段可能返回 null,表示取不到有效值。
Url *string `json:"Url,omitempty" name:"Url"`
// 名称
// 注意:此字段可能返回 null,表示取不到有效值。
Name *string `json:"Name,omitempty" name:"Name"`
// 工作目录
// 注意:此字段可能返回 null,表示取不到有效值。
WorkDir *string `json:"WorkDir,omitempty" name:"WorkDir"`
// code包名, type为coding的时候需要填写
// 注意:此字段可能返回 null,表示取不到有效值。
CodingPackageName *string `json:"CodingPackageName,omitempty" name:"CodingPackageName"`
// coding版本名, type为coding的时候需要填写
// 注意:此字段可能返回 null,表示取不到有效值。
CodingPackageVersion *string `json:"CodingPackageVersion,omitempty" name:"CodingPackageVersion"`
// 源码
// 注意:此字段可能返回 null,表示取不到有效值。
RawCode *string `json:"RawCode,omitempty" name:"RawCode"`
// 代码分支
// 注意:此字段可能返回 null,表示取不到有效值。
Branch *string `json:"Branch,omitempty" name:"Branch"`
}
type CommonServiceAPIRequest ¶
type CommonServiceAPIRequest struct {
*tchttp.BaseRequest
// Service名,需要转发访问的接口名
Service *string `json:"Service,omitempty" name:"Service"`
// 需要转发的云API参数,要转成JSON格式
JSONData *string `json:"JSONData,omitempty" name:"JSONData"`
}
func NewCommonServiceAPIRequest ¶
func NewCommonServiceAPIRequest() (request *CommonServiceAPIRequest)
func (*CommonServiceAPIRequest) FromJsonString ¶
func (r *CommonServiceAPIRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CommonServiceAPIRequest) ToJsonString ¶
func (r *CommonServiceAPIRequest) ToJsonString() string
type CommonServiceAPIResponse ¶
type CommonServiceAPIResponse struct {
*tchttp.BaseResponse
Response *struct {
// json格式response
JSONResp *string `json:"JSONResp,omitempty" name:"JSONResp"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCommonServiceAPIResponse ¶
func NewCommonServiceAPIResponse() (response *CommonServiceAPIResponse)
func (*CommonServiceAPIResponse) FromJsonString ¶
func (r *CommonServiceAPIResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CommonServiceAPIResponse) ToJsonString ¶
func (r *CommonServiceAPIResponse) ToJsonString() string
type CreateAndDeployCloudBaseProjectRequest ¶
type CreateAndDeployCloudBaseProjectRequest struct {
*tchttp.BaseRequest
// 项目名
Name *string `json:"Name,omitempty" name:"Name"`
// 来源
Source *CodeSource `json:"Source,omitempty" name:"Source"`
// 环境id
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 项目类型, 枚举值为: framework-oneclick,qci-extension-cicd
Type *string `json:"Type,omitempty" name:"Type"`
// 环境变量
Parameters []*KVPair `json:"Parameters,omitempty" name:"Parameters" list`
// 环境别名
EnvAlias *string `json:"EnvAlias,omitempty" name:"EnvAlias"`
// rc.json的内容
RcJson *string `json:"RcJson,omitempty" name:"RcJson"`
// 插件配置内容
AddonConfig *string `json:"AddonConfig,omitempty" name:"AddonConfig"`
// 标签
Tags []*string `json:"Tags,omitempty" name:"Tags" list`
// 网络配置
NetworkConfig *string `json:"NetworkConfig,omitempty" name:"NetworkConfig"`
// 免费额度的"basic", 不使用的用""
FreeQuota *string `json:"FreeQuota,omitempty" name:"FreeQuota"`
// 是否代码变更触发自动部署
AutoDeployOnCodeChange *bool `json:"AutoDeployOnCodeChange,omitempty" name:"AutoDeployOnCodeChange"`
// 私有仓库地址
RepoUrl *string `json:"RepoUrl,omitempty" name:"RepoUrl"`
}
func NewCreateAndDeployCloudBaseProjectRequest ¶
func NewCreateAndDeployCloudBaseProjectRequest() (request *CreateAndDeployCloudBaseProjectRequest)
func (*CreateAndDeployCloudBaseProjectRequest) FromJsonString ¶
func (r *CreateAndDeployCloudBaseProjectRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAndDeployCloudBaseProjectRequest) ToJsonString ¶
func (r *CreateAndDeployCloudBaseProjectRequest) ToJsonString() string
type CreateAndDeployCloudBaseProjectResponse ¶
type CreateAndDeployCloudBaseProjectResponse struct {
*tchttp.BaseResponse
Response *struct {
// 环境Id
// 注意:此字段可能返回 null,表示取不到有效值。
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateAndDeployCloudBaseProjectResponse ¶
func NewCreateAndDeployCloudBaseProjectResponse() (response *CreateAndDeployCloudBaseProjectResponse)
func (*CreateAndDeployCloudBaseProjectResponse) FromJsonString ¶
func (r *CreateAndDeployCloudBaseProjectResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAndDeployCloudBaseProjectResponse) ToJsonString ¶
func (r *CreateAndDeployCloudBaseProjectResponse) ToJsonString() string
type CreateAuthDomainRequest ¶
type CreateAuthDomainRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 安全域名
Domains []*string `json:"Domains,omitempty" name:"Domains" list`
}
func NewCreateAuthDomainRequest ¶
func NewCreateAuthDomainRequest() (request *CreateAuthDomainRequest)
func (*CreateAuthDomainRequest) FromJsonString ¶
func (r *CreateAuthDomainRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAuthDomainRequest) ToJsonString ¶
func (r *CreateAuthDomainRequest) ToJsonString() string
type CreateAuthDomainResponse ¶
type CreateAuthDomainResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateAuthDomainResponse ¶
func NewCreateAuthDomainResponse() (response *CreateAuthDomainResponse)
func (*CreateAuthDomainResponse) FromJsonString ¶
func (r *CreateAuthDomainResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAuthDomainResponse) ToJsonString ¶
func (r *CreateAuthDomainResponse) ToJsonString() string
type CreateCloudBaseRunResourceRequest ¶
type CreateCloudBaseRunResourceRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// vpc的ID
VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
// 子网ID列表,当VpcId不为空,SubnetIds也不能为空
SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds" list`
}
func NewCreateCloudBaseRunResourceRequest ¶
func NewCreateCloudBaseRunResourceRequest() (request *CreateCloudBaseRunResourceRequest)
func (*CreateCloudBaseRunResourceRequest) FromJsonString ¶
func (r *CreateCloudBaseRunResourceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCloudBaseRunResourceRequest) ToJsonString ¶
func (r *CreateCloudBaseRunResourceRequest) ToJsonString() string
type CreateCloudBaseRunResourceResponse ¶
type CreateCloudBaseRunResourceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 返回集群创建是否成功 succ为成功。并且中间无err
// 注意:此字段可能返回 null,表示取不到有效值。
Result *string `json:"Result,omitempty" name:"Result"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateCloudBaseRunResourceResponse ¶
func NewCreateCloudBaseRunResourceResponse() (response *CreateCloudBaseRunResourceResponse)
func (*CreateCloudBaseRunResourceResponse) FromJsonString ¶
func (r *CreateCloudBaseRunResourceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCloudBaseRunResourceResponse) ToJsonString ¶
func (r *CreateCloudBaseRunResourceResponse) ToJsonString() string
type CreateCloudBaseRunServerVersionRequest ¶
type CreateCloudBaseRunServerVersionRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 枚举(package/repository/image)
UploadType *string `json:"UploadType,omitempty" name:"UploadType"`
// 流量占比
FlowRatio *int64 `json:"FlowRatio,omitempty" name:"FlowRatio"`
// Cpu的大小,单位:核
Cpu *float64 `json:"Cpu,omitempty" name:"Cpu"`
// Mem的大小,单位:G
Mem *float64 `json:"Mem,omitempty" name:"Mem"`
// 最小副本数,最小值:0
MinNum *int64 `json:"MinNum,omitempty" name:"MinNum"`
// 副本最大数,最大值:50
MaxNum *int64 `json:"MaxNum,omitempty" name:"MaxNum"`
// 策略类型(枚举值:比如cpu)
PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"`
// 策略阈值
PolicyThreshold *int64 `json:"PolicyThreshold,omitempty" name:"PolicyThreshold"`
// 服务端口
ContainerPort *int64 `json:"ContainerPort,omitempty" name:"ContainerPort"`
// 服务名称
ServerName *string `json:"ServerName,omitempty" name:"ServerName"`
// repository的类型(coding/gitlab/github/coding)
RepositoryType *string `json:"RepositoryType,omitempty" name:"RepositoryType"`
// Dockerfile地址
DockerfilePath *string `json:"DockerfilePath,omitempty" name:"DockerfilePath"`
// 构建目录
BuildDir *string `json:"BuildDir,omitempty" name:"BuildDir"`
// 环境变量
EnvParams *string `json:"EnvParams,omitempty" name:"EnvParams"`
// repository地址
Repository *string `json:"Repository,omitempty" name:"Repository"`
// 分支
Branch *string `json:"Branch,omitempty" name:"Branch"`
// 版本备注
VersionRemark *string `json:"VersionRemark,omitempty" name:"VersionRemark"`
// 代码包名字
PackageName *string `json:"PackageName,omitempty" name:"PackageName"`
// 代码包的版本
PackageVersion *string `json:"PackageVersion,omitempty" name:"PackageVersion"`
// Image的详情
ImageInfo *CloudBaseRunImageInfo `json:"ImageInfo,omitempty" name:"ImageInfo"`
// Github等拉取代码的详情
CodeDetail *CloudBaseCodeRepoDetail `json:"CodeDetail,omitempty" name:"CodeDetail"`
// 私有镜像秘钥信息
ImageSecretInfo *CloudBaseRunImageSecretInfo `json:"ImageSecretInfo,omitempty" name:"ImageSecretInfo"`
// 私有镜像 认证名称
ImagePullSecret *string `json:"ImagePullSecret,omitempty" name:"ImagePullSecret"`
// 用户自定义采集日志路径
CustomLogs *string `json:"CustomLogs,omitempty" name:"CustomLogs"`
// 延迟多长时间开始健康检查(单位s)
InitialDelaySeconds *int64 `json:"InitialDelaySeconds,omitempty" name:"InitialDelaySeconds"`
// cfs挂载信息
MountVolumeInfo []*CloudBaseRunVolumeMount `json:"MountVolumeInfo,omitempty" name:"MountVolumeInfo" list`
// 4 代表只能微信链路访问
AccessType *int64 `json:"AccessType,omitempty" name:"AccessType"`
// es信息
EsInfo *CloudBaseEsInfo `json:"EsInfo,omitempty" name:"EsInfo"`
// 是否使用统一域名
EnableUnion *bool `json:"EnableUnion,omitempty" name:"EnableUnion"`
// 操作备注
OperatorRemark *string `json:"OperatorRemark,omitempty" name:"OperatorRemark"`
// 服务路径
ServerPath *string `json:"ServerPath,omitempty" name:"ServerPath"`
// 镜像复用的key
ImageReuseKey *string `json:"ImageReuseKey,omitempty" name:"ImageReuseKey"`
// 容器的描述文件
SidecarSpecs []*CloudBaseRunSideSpec `json:"SidecarSpecs,omitempty" name:"SidecarSpecs" list`
// 安全特性
Security *CloudBaseSecurityContext `json:"Security,omitempty" name:"Security"`
// 服务磁盘挂载
ServiceVolumes []*CloudRunServiceVolume `json:"ServiceVolumes,omitempty" name:"ServiceVolumes" list`
}
func NewCreateCloudBaseRunServerVersionRequest ¶
func NewCreateCloudBaseRunServerVersionRequest() (request *CreateCloudBaseRunServerVersionRequest)
func (*CreateCloudBaseRunServerVersionRequest) FromJsonString ¶
func (r *CreateCloudBaseRunServerVersionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCloudBaseRunServerVersionRequest) ToJsonString ¶
func (r *CreateCloudBaseRunServerVersionRequest) ToJsonString() string
type CreateCloudBaseRunServerVersionResponse ¶
type CreateCloudBaseRunServerVersionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 状态(creating/succ)
// 注意:此字段可能返回 null,表示取不到有效值。
Result *string `json:"Result,omitempty" name:"Result"`
// 版本名称(只有Result为succ的时候,才会返回VersionName)
// 注意:此字段可能返回 null,表示取不到有效值。
VersionName *string `json:"VersionName,omitempty" name:"VersionName"`
// 操作记录id
// 注意:此字段可能返回 null,表示取不到有效值。
RunId *string `json:"RunId,omitempty" name:"RunId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateCloudBaseRunServerVersionResponse ¶
func NewCreateCloudBaseRunServerVersionResponse() (response *CreateCloudBaseRunServerVersionResponse)
func (*CreateCloudBaseRunServerVersionResponse) FromJsonString ¶
func (r *CreateCloudBaseRunServerVersionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCloudBaseRunServerVersionResponse) ToJsonString ¶
func (r *CreateCloudBaseRunServerVersionResponse) ToJsonString() string
type CreateHostingDomainRequest ¶
type CreateHostingDomainRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 域名
Domain *string `json:"Domain,omitempty" name:"Domain"`
// 证书ID
CertId *string `json:"CertId,omitempty" name:"CertId"`
}
func NewCreateHostingDomainRequest ¶
func NewCreateHostingDomainRequest() (request *CreateHostingDomainRequest)
func (*CreateHostingDomainRequest) FromJsonString ¶
func (r *CreateHostingDomainRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateHostingDomainRequest) ToJsonString ¶
func (r *CreateHostingDomainRequest) ToJsonString() string
type CreateHostingDomainResponse ¶
type CreateHostingDomainResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateHostingDomainResponse ¶
func NewCreateHostingDomainResponse() (response *CreateHostingDomainResponse)
func (*CreateHostingDomainResponse) FromJsonString ¶
func (r *CreateHostingDomainResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateHostingDomainResponse) ToJsonString ¶
func (r *CreateHostingDomainResponse) ToJsonString() string
type CreatePostpayPackageRequest ¶
type CreatePostpayPackageRequest struct {
*tchttp.BaseRequest
// 环境ID,需要系统自动创建环境时,此字段不传
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 微信 AppId,微信必传
WxAppId *string `json:"WxAppId,omitempty" name:"WxAppId"`
// 付费来源
// <li>miniapp</li>
// <li>qcloud</li>
Source *string `json:"Source,omitempty" name:"Source"`
// 用户享有的免费额度级别,目前只能为“basic”,不传该字段或该字段为空,标识不享受免费额度。
FreeQuota *string `json:"FreeQuota,omitempty" name:"FreeQuota"`
// 环境创建来源,取值:
// <li>miniapp</li>
// <li>qcloud</li>
// 用法同CreateEnv接口的Source参数
// 和 Channel 参数同时传,或者同时不传;EnvId 为空时必传。
EnvSource *string `json:"EnvSource,omitempty" name:"EnvSource"`
// 环境别名,要以a-z开头,不能包含 a-z,0-9,- 以外的字符
Alias *string `json:"Alias,omitempty" name:"Alias"`
// 如果envsource为miniapp, channel可以为ide或api;
// 如果envsource为qcloud, channel可以为qc_console,cocos, qq, cloudgame,dcloud,serverless_framework
// 和 EnvSource 参数同时传,或者同时不传;EnvId 为空时必传。
Channel *string `json:"Channel,omitempty" name:"Channel"`
// 扩展ID
ExtensionId *string `json:"ExtensionId,omitempty" name:"ExtensionId"`
// 订单标记。建议使用方统一转大小写之后再判断。
// <li>QuickStart:快速启动来源</li>
// <li>Activity:活动来源</li>
Flag *string `json:"Flag,omitempty" name:"Flag"`
}
func NewCreatePostpayPackageRequest ¶
func NewCreatePostpayPackageRequest() (request *CreatePostpayPackageRequest)
func (*CreatePostpayPackageRequest) FromJsonString ¶
func (r *CreatePostpayPackageRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePostpayPackageRequest) ToJsonString ¶
func (r *CreatePostpayPackageRequest) ToJsonString() string
type CreatePostpayPackageResponse ¶
type CreatePostpayPackageResponse struct {
*tchttp.BaseResponse
Response *struct {
// 后付费订单号
TranId *string `json:"TranId,omitempty" name:"TranId"`
// 环境ID
// 注意:此字段可能返回 null,表示取不到有效值。
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreatePostpayPackageResponse ¶
func NewCreatePostpayPackageResponse() (response *CreatePostpayPackageResponse)
func (*CreatePostpayPackageResponse) FromJsonString ¶
func (r *CreatePostpayPackageResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePostpayPackageResponse) ToJsonString ¶
func (r *CreatePostpayPackageResponse) ToJsonString() string
type CreateStaticStoreRequest ¶
type CreateStaticStoreRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 是否启用统一域名
EnableUnion *bool `json:"EnableUnion,omitempty" name:"EnableUnion"`
}
func NewCreateStaticStoreRequest ¶
func NewCreateStaticStoreRequest() (request *CreateStaticStoreRequest)
func (*CreateStaticStoreRequest) FromJsonString ¶
func (r *CreateStaticStoreRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStaticStoreRequest) ToJsonString ¶
func (r *CreateStaticStoreRequest) ToJsonString() string
type CreateStaticStoreResponse ¶
type CreateStaticStoreResponse struct {
*tchttp.BaseResponse
Response *struct {
// 创建静态资源结果(succ/fail)
// 注意:此字段可能返回 null,表示取不到有效值。
Result *string `json:"Result,omitempty" name:"Result"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateStaticStoreResponse ¶
func NewCreateStaticStoreResponse() (response *CreateStaticStoreResponse)
func (*CreateStaticStoreResponse) FromJsonString ¶
func (r *CreateStaticStoreResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStaticStoreResponse) ToJsonString ¶
func (r *CreateStaticStoreResponse) ToJsonString() string
type CreateWxCloudBaseRunEnvRequest ¶
type CreateWxCloudBaseRunEnvRequest struct {
*tchttp.BaseRequest
// wx应用Id
WxAppId *string `json:"WxAppId,omitempty" name:"WxAppId"`
// 环境别名,要以a-z开头,不能包含 a-z,0-9,- 以外的字符
Alias *string `json:"Alias,omitempty" name:"Alias"`
// 用户享有的免费额度级别,目前只能为“basic”,不传该字段或该字段为空,标识不享受免费额度。
FreeQuota *string `json:"FreeQuota,omitempty" name:"FreeQuota"`
// 订单标记。建议使用方统一转大小写之后再判断。
// QuickStart:快速启动来源
// Activity:活动来源
Flag *string `json:"Flag,omitempty" name:"Flag"`
// 私有网络Id
VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
// 子网列表
SubNetIds []*string `json:"SubNetIds,omitempty" name:"SubNetIds" list`
}
func NewCreateWxCloudBaseRunEnvRequest ¶
func NewCreateWxCloudBaseRunEnvRequest() (request *CreateWxCloudBaseRunEnvRequest)
func (*CreateWxCloudBaseRunEnvRequest) FromJsonString ¶
func (r *CreateWxCloudBaseRunEnvRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWxCloudBaseRunEnvRequest) ToJsonString ¶
func (r *CreateWxCloudBaseRunEnvRequest) ToJsonString() string
type CreateWxCloudBaseRunEnvResponse ¶
type CreateWxCloudBaseRunEnvResponse struct {
*tchttp.BaseResponse
Response *struct {
// 环境Id
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 后付费订单号
TranId *string `json:"TranId,omitempty" name:"TranId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateWxCloudBaseRunEnvResponse ¶
func NewCreateWxCloudBaseRunEnvResponse() (response *CreateWxCloudBaseRunEnvResponse)
func (*CreateWxCloudBaseRunEnvResponse) FromJsonString ¶
func (r *CreateWxCloudBaseRunEnvResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateWxCloudBaseRunEnvResponse) ToJsonString ¶
func (r *CreateWxCloudBaseRunEnvResponse) ToJsonString() string
type DatabasesInfo ¶
type DatabasesInfo struct {
// 数据库唯一标识
InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
// 状态。包含以下取值:
// <li>INITIALIZING:资源初始化中</li>
// <li>RUNNING:运行中,可正常使用的状态</li>
// <li>UNUSABLE:禁用,不可用</li>
// <li>OVERDUE:资源过期</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 所属地域。
// 当前支持ap-shanghai
Region *string `json:"Region,omitempty" name:"Region"`
}
type DeleteCloudBaseProjectLatestVersionRequest ¶
type DeleteCloudBaseProjectLatestVersionRequest struct {
*tchttp.BaseRequest
// 环境id
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 项目名
ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"`
}
func NewDeleteCloudBaseProjectLatestVersionRequest ¶
func NewDeleteCloudBaseProjectLatestVersionRequest() (request *DeleteCloudBaseProjectLatestVersionRequest)
func (*DeleteCloudBaseProjectLatestVersionRequest) FromJsonString ¶
func (r *DeleteCloudBaseProjectLatestVersionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCloudBaseProjectLatestVersionRequest) ToJsonString ¶
func (r *DeleteCloudBaseProjectLatestVersionRequest) ToJsonString() string
type DeleteCloudBaseProjectLatestVersionResponse ¶
type DeleteCloudBaseProjectLatestVersionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteCloudBaseProjectLatestVersionResponse ¶
func NewDeleteCloudBaseProjectLatestVersionResponse() (response *DeleteCloudBaseProjectLatestVersionResponse)
func (*DeleteCloudBaseProjectLatestVersionResponse) FromJsonString ¶
func (r *DeleteCloudBaseProjectLatestVersionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCloudBaseProjectLatestVersionResponse) ToJsonString ¶
func (r *DeleteCloudBaseProjectLatestVersionResponse) ToJsonString() string
type DeleteEndUserRequest ¶
type DeleteEndUserRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 用户列表,每一项都是uuid
UserList []*string `json:"UserList,omitempty" name:"UserList" list`
}
func NewDeleteEndUserRequest ¶
func NewDeleteEndUserRequest() (request *DeleteEndUserRequest)
func (*DeleteEndUserRequest) FromJsonString ¶
func (r *DeleteEndUserRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteEndUserRequest) ToJsonString ¶
func (r *DeleteEndUserRequest) ToJsonString() string
type DeleteEndUserResponse ¶
type DeleteEndUserResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteEndUserResponse ¶
func NewDeleteEndUserResponse() (response *DeleteEndUserResponse)
func (*DeleteEndUserResponse) FromJsonString ¶
func (r *DeleteEndUserResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteEndUserResponse) ToJsonString ¶
func (r *DeleteEndUserResponse) ToJsonString() string
type DeleteWxGatewayRouteRequest ¶
type DeleteWxGatewayRouteRequest struct {
*tchttp.BaseRequest
// 环境id
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 服务名称
GatewayRouteName *string `json:"GatewayRouteName,omitempty" name:"GatewayRouteName"`
}
func NewDeleteWxGatewayRouteRequest ¶
func NewDeleteWxGatewayRouteRequest() (request *DeleteWxGatewayRouteRequest)
func (*DeleteWxGatewayRouteRequest) FromJsonString ¶
func (r *DeleteWxGatewayRouteRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWxGatewayRouteRequest) ToJsonString ¶
func (r *DeleteWxGatewayRouteRequest) ToJsonString() string
type DeleteWxGatewayRouteResponse ¶
type DeleteWxGatewayRouteResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteWxGatewayRouteResponse ¶
func NewDeleteWxGatewayRouteResponse() (response *DeleteWxGatewayRouteResponse)
func (*DeleteWxGatewayRouteResponse) FromJsonString ¶
func (r *DeleteWxGatewayRouteResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteWxGatewayRouteResponse) ToJsonString ¶
func (r *DeleteWxGatewayRouteResponse) ToJsonString() string
type DescribeAuthDomainsRequest ¶
type DescribeAuthDomainsRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
}
func NewDescribeAuthDomainsRequest ¶
func NewDescribeAuthDomainsRequest() (request *DescribeAuthDomainsRequest)
func (*DescribeAuthDomainsRequest) FromJsonString ¶
func (r *DescribeAuthDomainsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAuthDomainsRequest) ToJsonString ¶
func (r *DescribeAuthDomainsRequest) ToJsonString() string
type DescribeAuthDomainsResponse ¶
type DescribeAuthDomainsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 安全域名列表列表
Domains []*AuthDomain `json:"Domains,omitempty" name:"Domains" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeAuthDomainsResponse ¶
func NewDescribeAuthDomainsResponse() (response *DescribeAuthDomainsResponse)
func (*DescribeAuthDomainsResponse) FromJsonString ¶
func (r *DescribeAuthDomainsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAuthDomainsResponse) ToJsonString ¶
func (r *DescribeAuthDomainsResponse) ToJsonString() string
type DescribeCloudBaseBuildServiceRequest ¶
type DescribeCloudBaseBuildServiceRequest struct {
*tchttp.BaseRequest
// 环境id
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 服务名
ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"`
// build类型,枚举值有: cloudbaserun, framework-ci
CIBusiness *string `json:"CIBusiness,omitempty" name:"CIBusiness"`
// 服务版本
ServiceVersion *string `json:"ServiceVersion,omitempty" name:"ServiceVersion"`
}
func NewDescribeCloudBaseBuildServiceRequest ¶
func NewDescribeCloudBaseBuildServiceRequest() (request *DescribeCloudBaseBuildServiceRequest)
func (*DescribeCloudBaseBuildServiceRequest) FromJsonString ¶
func (r *DescribeCloudBaseBuildServiceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseBuildServiceRequest) ToJsonString ¶
func (r *DescribeCloudBaseBuildServiceRequest) ToJsonString() string
type DescribeCloudBaseBuildServiceResponse ¶
type DescribeCloudBaseBuildServiceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 上传url
UploadUrl *string `json:"UploadUrl,omitempty" name:"UploadUrl"`
// 上传heder
UploadHeaders []*KVPair `json:"UploadHeaders,omitempty" name:"UploadHeaders" list`
// 包名
PackageName *string `json:"PackageName,omitempty" name:"PackageName"`
// 包版本
PackageVersion *string `json:"PackageVersion,omitempty" name:"PackageVersion"`
// 下载链接
// 注意:此字段可能返回 null,表示取不到有效值。
DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`
// 下载Httpheader
// 注意:此字段可能返回 null,表示取不到有效值。
DownloadHeaders []*KVPair `json:"DownloadHeaders,omitempty" name:"DownloadHeaders" list`
// 下载链接是否过期
// 注意:此字段可能返回 null,表示取不到有效值。
OutDate *bool `json:"OutDate,omitempty" name:"OutDate"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCloudBaseBuildServiceResponse ¶
func NewDescribeCloudBaseBuildServiceResponse() (response *DescribeCloudBaseBuildServiceResponse)
func (*DescribeCloudBaseBuildServiceResponse) FromJsonString ¶
func (r *DescribeCloudBaseBuildServiceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseBuildServiceResponse) ToJsonString ¶
func (r *DescribeCloudBaseBuildServiceResponse) ToJsonString() string
type DescribeCloudBaseProjectLatestVersionListRequest ¶
type DescribeCloudBaseProjectLatestVersionListRequest struct {
*tchttp.BaseRequest
// 偏移量
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 个数
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 环境id, 非必填
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 项目名称, 非必填
ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"`
// 项目类型: framework-oneclick,qci-extension-cicd
ProjectType *string `json:"ProjectType,omitempty" name:"ProjectType"`
// 标签
Tags []*string `json:"Tags,omitempty" name:"Tags" list`
}
func NewDescribeCloudBaseProjectLatestVersionListRequest ¶
func NewDescribeCloudBaseProjectLatestVersionListRequest() (request *DescribeCloudBaseProjectLatestVersionListRequest)
func (*DescribeCloudBaseProjectLatestVersionListRequest) FromJsonString ¶
func (r *DescribeCloudBaseProjectLatestVersionListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseProjectLatestVersionListRequest) ToJsonString ¶
func (r *DescribeCloudBaseProjectLatestVersionListRequest) ToJsonString() string
type DescribeCloudBaseProjectLatestVersionListResponse ¶
type DescribeCloudBaseProjectLatestVersionListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 项目列表
// 注意:此字段可能返回 null,表示取不到有效值。
ProjectList []*CloudBaseProjectVersion `json:"ProjectList,omitempty" name:"ProjectList" list`
// 总数
// 注意:此字段可能返回 null,表示取不到有效值。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCloudBaseProjectLatestVersionListResponse ¶
func NewDescribeCloudBaseProjectLatestVersionListResponse() (response *DescribeCloudBaseProjectLatestVersionListResponse)
func (*DescribeCloudBaseProjectLatestVersionListResponse) FromJsonString ¶
func (r *DescribeCloudBaseProjectLatestVersionListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseProjectLatestVersionListResponse) ToJsonString ¶
func (r *DescribeCloudBaseProjectLatestVersionListResponse) ToJsonString() string
type DescribeCloudBaseProjectVersionListRequest ¶
type DescribeCloudBaseProjectVersionListRequest struct {
*tchttp.BaseRequest
// 环境id
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 项目名称
ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"`
// 页大小
PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
// 第几页,从0开始
PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
// 起始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 终止时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}
func NewDescribeCloudBaseProjectVersionListRequest ¶
func NewDescribeCloudBaseProjectVersionListRequest() (request *DescribeCloudBaseProjectVersionListRequest)
func (*DescribeCloudBaseProjectVersionListRequest) FromJsonString ¶
func (r *DescribeCloudBaseProjectVersionListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseProjectVersionListRequest) ToJsonString ¶
func (r *DescribeCloudBaseProjectVersionListRequest) ToJsonString() string
type DescribeCloudBaseProjectVersionListResponse ¶
type DescribeCloudBaseProjectVersionListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 版本列表
// 注意:此字段可能返回 null,表示取不到有效值。
ProjectVersions []*CloudBaseProjectVersion `json:"ProjectVersions,omitempty" name:"ProjectVersions" list`
// 总个数
// 注意:此字段可能返回 null,表示取不到有效值。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCloudBaseProjectVersionListResponse ¶
func NewDescribeCloudBaseProjectVersionListResponse() (response *DescribeCloudBaseProjectVersionListResponse)
func (*DescribeCloudBaseProjectVersionListResponse) FromJsonString ¶
func (r *DescribeCloudBaseProjectVersionListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseProjectVersionListResponse) ToJsonString ¶
func (r *DescribeCloudBaseProjectVersionListResponse) ToJsonString() string
type DescribeCloudBaseRunResourceForExtendRequest ¶
type DescribeCloudBaseRunResourceForExtendRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
}
func NewDescribeCloudBaseRunResourceForExtendRequest ¶
func NewDescribeCloudBaseRunResourceForExtendRequest() (request *DescribeCloudBaseRunResourceForExtendRequest)
func (*DescribeCloudBaseRunResourceForExtendRequest) FromJsonString ¶
func (r *DescribeCloudBaseRunResourceForExtendRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseRunResourceForExtendRequest) ToJsonString ¶
func (r *DescribeCloudBaseRunResourceForExtendRequest) ToJsonString() string
type DescribeCloudBaseRunResourceForExtendResponse ¶
type DescribeCloudBaseRunResourceForExtendResponse struct {
*tchttp.BaseResponse
Response *struct {
// 集群状态(creating/succ)
// 注意:此字段可能返回 null,表示取不到有效值。
ClusterStatus *string `json:"ClusterStatus,omitempty" name:"ClusterStatus"`
// 虚拟集群ID
// 注意:此字段可能返回 null,表示取不到有效值。
VirtualClusterId *string `json:"VirtualClusterId,omitempty" name:"VirtualClusterId"`
// vpc id信息
// 注意:此字段可能返回 null,表示取不到有效值。
VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
// 地域信息
// 注意:此字段可能返回 null,表示取不到有效值。
Region *string `json:"Region,omitempty" name:"Region"`
// 子网信息
// 注意:此字段可能返回 null,表示取不到有效值。
SubnetIds []*CloudBaseRunVpcSubnet `json:"SubnetIds,omitempty" name:"SubnetIds" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCloudBaseRunResourceForExtendResponse ¶
func NewDescribeCloudBaseRunResourceForExtendResponse() (response *DescribeCloudBaseRunResourceForExtendResponse)
func (*DescribeCloudBaseRunResourceForExtendResponse) FromJsonString ¶
func (r *DescribeCloudBaseRunResourceForExtendResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseRunResourceForExtendResponse) ToJsonString ¶
func (r *DescribeCloudBaseRunResourceForExtendResponse) ToJsonString() string
type DescribeCloudBaseRunResourceRequest ¶
type DescribeCloudBaseRunResourceRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
}
func NewDescribeCloudBaseRunResourceRequest ¶
func NewDescribeCloudBaseRunResourceRequest() (request *DescribeCloudBaseRunResourceRequest)
func (*DescribeCloudBaseRunResourceRequest) FromJsonString ¶
func (r *DescribeCloudBaseRunResourceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseRunResourceRequest) ToJsonString ¶
func (r *DescribeCloudBaseRunResourceRequest) ToJsonString() string
type DescribeCloudBaseRunResourceResponse ¶
type DescribeCloudBaseRunResourceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 集群状态(creating/succ)
// 注意:此字段可能返回 null,表示取不到有效值。
ClusterStatus *string `json:"ClusterStatus,omitempty" name:"ClusterStatus"`
// 虚拟集群ID
// 注意:此字段可能返回 null,表示取不到有效值。
VirtualClusterId *string `json:"VirtualClusterId,omitempty" name:"VirtualClusterId"`
// vpc id信息
// 注意:此字段可能返回 null,表示取不到有效值。
VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
// 地域信息
// 注意:此字段可能返回 null,表示取不到有效值。
Region *string `json:"Region,omitempty" name:"Region"`
// 子网信息
// 注意:此字段可能返回 null,表示取不到有效值。
SubnetIds []*CloudBaseRunVpcSubnet `json:"SubnetIds,omitempty" name:"SubnetIds" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCloudBaseRunResourceResponse ¶
func NewDescribeCloudBaseRunResourceResponse() (response *DescribeCloudBaseRunResourceResponse)
func (*DescribeCloudBaseRunResourceResponse) FromJsonString ¶
func (r *DescribeCloudBaseRunResourceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseRunResourceResponse) ToJsonString ¶
func (r *DescribeCloudBaseRunResourceResponse) ToJsonString() string
type DescribeCloudBaseRunServerVersionRequest ¶
type DescribeCloudBaseRunServerVersionRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 服务名称
ServerName *string `json:"ServerName,omitempty" name:"ServerName"`
// 版本名称
VersionName *string `json:"VersionName,omitempty" name:"VersionName"`
}
func NewDescribeCloudBaseRunServerVersionRequest ¶
func NewDescribeCloudBaseRunServerVersionRequest() (request *DescribeCloudBaseRunServerVersionRequest)
func (*DescribeCloudBaseRunServerVersionRequest) FromJsonString ¶
func (r *DescribeCloudBaseRunServerVersionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseRunServerVersionRequest) ToJsonString ¶
func (r *DescribeCloudBaseRunServerVersionRequest) ToJsonString() string
type DescribeCloudBaseRunServerVersionResponse ¶
type DescribeCloudBaseRunServerVersionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 版本名称
VersionName *string `json:"VersionName,omitempty" name:"VersionName"`
// 备注
// 注意:此字段可能返回 null,表示取不到有效值。
Remark *string `json:"Remark,omitempty" name:"Remark"`
// Dockefile的路径
// 注意:此字段可能返回 null,表示取不到有效值。
DockerfilePath *string `json:"DockerfilePath,omitempty" name:"DockerfilePath"`
// DockerBuild的目录
// 注意:此字段可能返回 null,表示取不到有效值。
BuildDir *string `json:"BuildDir,omitempty" name:"BuildDir"`
// 请使用CPUSize
Cpu *int64 `json:"Cpu,omitempty" name:"Cpu"`
// 请使用MemSize
Mem *int64 `json:"Mem,omitempty" name:"Mem"`
// 副本最小值
MinNum *int64 `json:"MinNum,omitempty" name:"MinNum"`
// 副本最大值
MaxNum *int64 `json:"MaxNum,omitempty" name:"MaxNum"`
// 策略类型
PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"`
// 策略阈值
PolicyThreshold *float64 `json:"PolicyThreshold,omitempty" name:"PolicyThreshold"`
// 环境变量
// 注意:此字段可能返回 null,表示取不到有效值。
EnvParams *string `json:"EnvParams,omitempty" name:"EnvParams"`
// 创建时间
CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`
// 更新时间
UpdatedTime *string `json:"UpdatedTime,omitempty" name:"UpdatedTime"`
// 版本的IP
// 注意:此字段可能返回 null,表示取不到有效值。
VersionIP *string `json:"VersionIP,omitempty" name:"VersionIP"`
// 版本的端口号
// 注意:此字段可能返回 null,表示取不到有效值。
VersionPort *int64 `json:"VersionPort,omitempty" name:"VersionPort"`
// 版本状态
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
// 代码包的名字
// 注意:此字段可能返回 null,表示取不到有效值。
PackageName *string `json:"PackageName,omitempty" name:"PackageName"`
// 代码版本的名字
// 注意:此字段可能返回 null,表示取不到有效值。
PackageVersion *string `json:"PackageVersion,omitempty" name:"PackageVersion"`
// 枚举(package/repository/image)
// 注意:此字段可能返回 null,表示取不到有效值。
UploadType *string `json:"UploadType,omitempty" name:"UploadType"`
// Repo的类型(gitlab/github/coding)
// 注意:此字段可能返回 null,表示取不到有效值。
RepoType *string `json:"RepoType,omitempty" name:"RepoType"`
// 地址
// 注意:此字段可能返回 null,表示取不到有效值。
Repo *string `json:"Repo,omitempty" name:"Repo"`
// 分支
// 注意:此字段可能返回 null,表示取不到有效值。
Branch *string `json:"Branch,omitempty" name:"Branch"`
// 服务名字
// 注意:此字段可能返回 null,表示取不到有效值。
ServerName *string `json:"ServerName,omitempty" name:"ServerName"`
// 是否对于外网开放
// 注意:此字段可能返回 null,表示取不到有效值。
IsPublic *bool `json:"IsPublic,omitempty" name:"IsPublic"`
// vpc id
// 注意:此字段可能返回 null,表示取不到有效值。
VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
// 子网实例id
// 注意:此字段可能返回 null,表示取不到有效值。
SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds" list`
// 日志采集路径
// 注意:此字段可能返回 null,表示取不到有效值。
CustomLogs *string `json:"CustomLogs,omitempty" name:"CustomLogs"`
// 监听端口
// 注意:此字段可能返回 null,表示取不到有效值。
ContainerPort *int64 `json:"ContainerPort,omitempty" name:"ContainerPort"`
// 延迟多长时间开始健康检查(单位s)
// 注意:此字段可能返回 null,表示取不到有效值。
InitialDelaySeconds *int64 `json:"InitialDelaySeconds,omitempty" name:"InitialDelaySeconds"`
// 镜像地址
// 注意:此字段可能返回 null,表示取不到有效值。
ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"`
// CPU 大小
// 注意:此字段可能返回 null,表示取不到有效值。
CpuSize *float64 `json:"CpuSize,omitempty" name:"CpuSize"`
// MEM 大小
// 注意:此字段可能返回 null,表示取不到有效值。
MemSize *float64 `json:"MemSize,omitempty" name:"MemSize"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCloudBaseRunServerVersionResponse ¶
func NewDescribeCloudBaseRunServerVersionResponse() (response *DescribeCloudBaseRunServerVersionResponse)
func (*DescribeCloudBaseRunServerVersionResponse) FromJsonString ¶
func (r *DescribeCloudBaseRunServerVersionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseRunServerVersionResponse) ToJsonString ¶
func (r *DescribeCloudBaseRunServerVersionResponse) ToJsonString() string
type DescribeCloudBaseRunVersionRequest ¶
type DescribeCloudBaseRunVersionRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 服务名称
ServerName *string `json:"ServerName,omitempty" name:"ServerName"`
// 版本名称
VersionName *string `json:"VersionName,omitempty" name:"VersionName"`
}
func NewDescribeCloudBaseRunVersionRequest ¶
func NewDescribeCloudBaseRunVersionRequest() (request *DescribeCloudBaseRunVersionRequest)
func (*DescribeCloudBaseRunVersionRequest) FromJsonString ¶
func (r *DescribeCloudBaseRunVersionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseRunVersionRequest) ToJsonString ¶
func (r *DescribeCloudBaseRunVersionRequest) ToJsonString() string
type DescribeCloudBaseRunVersionResponse ¶
type DescribeCloudBaseRunVersionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 版本名称
VersionName *string `json:"VersionName,omitempty" name:"VersionName"`
// 备注
// 注意:此字段可能返回 null,表示取不到有效值。
Remark *string `json:"Remark,omitempty" name:"Remark"`
// Dockefile的路径
// 注意:此字段可能返回 null,表示取不到有效值。
DockerfilePath *string `json:"DockerfilePath,omitempty" name:"DockerfilePath"`
// DockerBuild的目录
// 注意:此字段可能返回 null,表示取不到有效值。
BuildDir *string `json:"BuildDir,omitempty" name:"BuildDir"`
// 副本最小值
MinNum *int64 `json:"MinNum,omitempty" name:"MinNum"`
// 副本最大值
MaxNum *int64 `json:"MaxNum,omitempty" name:"MaxNum"`
// 策略类型
PolicyType *string `json:"PolicyType,omitempty" name:"PolicyType"`
// 策略阈值
PolicyThreshold *float64 `json:"PolicyThreshold,omitempty" name:"PolicyThreshold"`
// 环境变量
// 注意:此字段可能返回 null,表示取不到有效值。
EnvParams *string `json:"EnvParams,omitempty" name:"EnvParams"`
// 创建时间
CreatedTime *string `json:"CreatedTime,omitempty" name:"CreatedTime"`
// 更新时间
UpdatedTime *string `json:"UpdatedTime,omitempty" name:"UpdatedTime"`
// 版本的IP
// 注意:此字段可能返回 null,表示取不到有效值。
VersionIP *string `json:"VersionIP,omitempty" name:"VersionIP"`
// 版本的端口号
// 注意:此字段可能返回 null,表示取不到有效值。
VersionPort *int64 `json:"VersionPort,omitempty" name:"VersionPort"`
// 版本状态
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
// 代码包的名字
// 注意:此字段可能返回 null,表示取不到有效值。
PackageName *string `json:"PackageName,omitempty" name:"PackageName"`
// 代码版本的名字
// 注意:此字段可能返回 null,表示取不到有效值。
PackageVersion *string `json:"PackageVersion,omitempty" name:"PackageVersion"`
// 枚举(package/repository/image)
// 注意:此字段可能返回 null,表示取不到有效值。
UploadType *string `json:"UploadType,omitempty" name:"UploadType"`
// Repo的类型(coding/gitlab/github/coding)
// 注意:此字段可能返回 null,表示取不到有效值。
RepoType *string `json:"RepoType,omitempty" name:"RepoType"`
// 地址
// 注意:此字段可能返回 null,表示取不到有效值。
Repo *string `json:"Repo,omitempty" name:"Repo"`
// 分支
// 注意:此字段可能返回 null,表示取不到有效值。
Branch *string `json:"Branch,omitempty" name:"Branch"`
// 服务名字
// 注意:此字段可能返回 null,表示取不到有效值。
ServerName *string `json:"ServerName,omitempty" name:"ServerName"`
// 是否对于外网开放
// 注意:此字段可能返回 null,表示取不到有效值。
IsPublic *bool `json:"IsPublic,omitempty" name:"IsPublic"`
// vpc id
// 注意:此字段可能返回 null,表示取不到有效值。
VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
// 子网实例id
// 注意:此字段可能返回 null,表示取不到有效值。
SubnetIds []*string `json:"SubnetIds,omitempty" name:"SubnetIds" list`
// 日志采集路径
// 注意:此字段可能返回 null,表示取不到有效值。
CustomLogs *string `json:"CustomLogs,omitempty" name:"CustomLogs"`
// 监听端口
// 注意:此字段可能返回 null,表示取不到有效值。
ContainerPort *int64 `json:"ContainerPort,omitempty" name:"ContainerPort"`
// 延迟多长时间开始健康检查(单位s)
// 注意:此字段可能返回 null,表示取不到有效值。
InitialDelaySeconds *int64 `json:"InitialDelaySeconds,omitempty" name:"InitialDelaySeconds"`
// 镜像地址
// 注意:此字段可能返回 null,表示取不到有效值。
ImageUrl *string `json:"ImageUrl,omitempty" name:"ImageUrl"`
// CPU 大小
// 注意:此字段可能返回 null,表示取不到有效值。
CpuSize *float64 `json:"CpuSize,omitempty" name:"CpuSize"`
// MEM 大小
// 注意:此字段可能返回 null,表示取不到有效值。
MemSize *float64 `json:"MemSize,omitempty" name:"MemSize"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCloudBaseRunVersionResponse ¶
func NewDescribeCloudBaseRunVersionResponse() (response *DescribeCloudBaseRunVersionResponse)
func (*DescribeCloudBaseRunVersionResponse) FromJsonString ¶
func (r *DescribeCloudBaseRunVersionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseRunVersionResponse) ToJsonString ¶
func (r *DescribeCloudBaseRunVersionResponse) ToJsonString() string
type DescribeCloudBaseRunVersionSnapshotRequest ¶
type DescribeCloudBaseRunVersionSnapshotRequest struct {
*tchttp.BaseRequest
// 服务名
ServerName *string `json:"ServerName,omitempty" name:"ServerName"`
// 版本名
VersionName *string `json:"VersionName,omitempty" name:"VersionName"`
// 环境id
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 版本历史名
SnapshotName *string `json:"SnapshotName,omitempty" name:"SnapshotName"`
// 偏移量。默认0
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 限制大小。默认10,最大20
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeCloudBaseRunVersionSnapshotRequest ¶
func NewDescribeCloudBaseRunVersionSnapshotRequest() (request *DescribeCloudBaseRunVersionSnapshotRequest)
func (*DescribeCloudBaseRunVersionSnapshotRequest) FromJsonString ¶
func (r *DescribeCloudBaseRunVersionSnapshotRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseRunVersionSnapshotRequest) ToJsonString ¶
func (r *DescribeCloudBaseRunVersionSnapshotRequest) ToJsonString() string
type DescribeCloudBaseRunVersionSnapshotResponse ¶
type DescribeCloudBaseRunVersionSnapshotResponse struct {
*tchttp.BaseResponse
Response *struct {
// 版本历史
// 注意:此字段可能返回 null,表示取不到有效值。
Snapshots []*CloudRunServiceSimpleVersionSnapshot `json:"Snapshots,omitempty" name:"Snapshots" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeCloudBaseRunVersionSnapshotResponse ¶
func NewDescribeCloudBaseRunVersionSnapshotResponse() (response *DescribeCloudBaseRunVersionSnapshotResponse)
func (*DescribeCloudBaseRunVersionSnapshotResponse) FromJsonString ¶
func (r *DescribeCloudBaseRunVersionSnapshotResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCloudBaseRunVersionSnapshotResponse) ToJsonString ¶
func (r *DescribeCloudBaseRunVersionSnapshotResponse) ToJsonString() string
type DescribeDatabaseACLRequest ¶
type DescribeDatabaseACLRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 集合名称
CollectionName *string `json:"CollectionName,omitempty" name:"CollectionName"`
}
func NewDescribeDatabaseACLRequest ¶
func NewDescribeDatabaseACLRequest() (request *DescribeDatabaseACLRequest)
func (*DescribeDatabaseACLRequest) FromJsonString ¶
func (r *DescribeDatabaseACLRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabaseACLRequest) ToJsonString ¶
func (r *DescribeDatabaseACLRequest) ToJsonString() string
type DescribeDatabaseACLResponse ¶
type DescribeDatabaseACLResponse struct {
*tchttp.BaseResponse
Response *struct {
// 权限标签。包含以下取值:
// <li> READONLY:所有用户可读,仅创建者和管理员可写</li>
// <li> PRIVATE:仅创建者及管理员可读写</li>
// <li> ADMINWRITE:所有用户可读,仅管理员可写</li>
// <li> ADMINONLY:仅管理员可读写</li>
AclTag *string `json:"AclTag,omitempty" name:"AclTag"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeDatabaseACLResponse ¶
func NewDescribeDatabaseACLResponse() (response *DescribeDatabaseACLResponse)
func (*DescribeDatabaseACLResponse) FromJsonString ¶
func (r *DescribeDatabaseACLResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatabaseACLResponse) ToJsonString ¶
func (r *DescribeDatabaseACLResponse) ToJsonString() string
type DescribeDownloadFileRequest ¶
type DescribeDownloadFileRequest struct {
*tchttp.BaseRequest
// 代码uri
CodeUri *string `json:"CodeUri,omitempty" name:"CodeUri"`
}
func NewDescribeDownloadFileRequest ¶
func NewDescribeDownloadFileRequest() (request *DescribeDownloadFileRequest)
func (*DescribeDownloadFileRequest) FromJsonString ¶
func (r *DescribeDownloadFileRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDownloadFileRequest) ToJsonString ¶
func (r *DescribeDownloadFileRequest) ToJsonString() string
type DescribeDownloadFileResponse ¶
type DescribeDownloadFileResponse struct {
*tchttp.BaseResponse
Response *struct {
// 文件路径
// 注意:此字段可能返回 null,表示取不到有效值。
FilePath *string `json:"FilePath,omitempty" name:"FilePath"`
// 加密key
// 注意:此字段可能返回 null,表示取不到有效值。
CustomKey *string `json:"CustomKey,omitempty" name:"CustomKey"`
// 下载链接
// 注意:此字段可能返回 null,表示取不到有效值。
DownloadUrl *string `json:"DownloadUrl,omitempty" name:"DownloadUrl"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeDownloadFileResponse ¶
func NewDescribeDownloadFileResponse() (response *DescribeDownloadFileResponse)
func (*DescribeDownloadFileResponse) FromJsonString ¶
func (r *DescribeDownloadFileResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDownloadFileResponse) ToJsonString ¶
func (r *DescribeDownloadFileResponse) ToJsonString() string
type DescribeEndUserLoginStatisticRequest ¶
type DescribeEndUserLoginStatisticRequest struct {
*tchttp.BaseRequest
// 环境id
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 终端用户来源
// <li> qcloud </li>
// <li>miniapp</li>
Source *string `json:"Source,omitempty" name:"Source"`
}
func NewDescribeEndUserLoginStatisticRequest ¶
func NewDescribeEndUserLoginStatisticRequest() (request *DescribeEndUserLoginStatisticRequest)
func (*DescribeEndUserLoginStatisticRequest) FromJsonString ¶
func (r *DescribeEndUserLoginStatisticRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEndUserLoginStatisticRequest) ToJsonString ¶
func (r *DescribeEndUserLoginStatisticRequest) ToJsonString() string
type DescribeEndUserLoginStatisticResponse ¶
type DescribeEndUserLoginStatisticResponse struct {
*tchttp.BaseResponse
Response *struct {
// 环境终端用户新增与登录统计
// 注意:此字段可能返回 null,表示取不到有效值。
LoginStatistics []*LoginStatistic `json:"LoginStatistics,omitempty" name:"LoginStatistics" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeEndUserLoginStatisticResponse ¶
func NewDescribeEndUserLoginStatisticResponse() (response *DescribeEndUserLoginStatisticResponse)
func (*DescribeEndUserLoginStatisticResponse) FromJsonString ¶
func (r *DescribeEndUserLoginStatisticResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEndUserLoginStatisticResponse) ToJsonString ¶
func (r *DescribeEndUserLoginStatisticResponse) ToJsonString() string
type DescribeEndUserStatisticRequest ¶
type DescribeEndUserStatisticRequest struct {
*tchttp.BaseRequest
// 环境id
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
}
func NewDescribeEndUserStatisticRequest ¶
func NewDescribeEndUserStatisticRequest() (request *DescribeEndUserStatisticRequest)
func (*DescribeEndUserStatisticRequest) FromJsonString ¶
func (r *DescribeEndUserStatisticRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEndUserStatisticRequest) ToJsonString ¶
func (r *DescribeEndUserStatisticRequest) ToJsonString() string
type DescribeEndUserStatisticResponse ¶
type DescribeEndUserStatisticResponse struct {
*tchttp.BaseResponse
Response *struct {
// 终端用户各平台统计
// 注意:此字段可能返回 null,表示取不到有效值。
PlatformStatistics []*PlatformStatistic `json:"PlatformStatistics,omitempty" name:"PlatformStatistics" list`
// 终端用户总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeEndUserStatisticResponse ¶
func NewDescribeEndUserStatisticResponse() (response *DescribeEndUserStatisticResponse)
func (*DescribeEndUserStatisticResponse) FromJsonString ¶
func (r *DescribeEndUserStatisticResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEndUserStatisticResponse) ToJsonString ¶
func (r *DescribeEndUserStatisticResponse) ToJsonString() string
type DescribeEndUsersRequest ¶
type DescribeEndUsersRequest struct {
*tchttp.BaseRequest
// 开发者的环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 可选参数,偏移量,默认 0
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 可选参数,拉取数量,默认 20
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 按照 uuid 列表过滤,最大个数为100
UUIds []*string `json:"UUIds,omitempty" name:"UUIds" list`
}
func NewDescribeEndUsersRequest ¶
func NewDescribeEndUsersRequest() (request *DescribeEndUsersRequest)
func (*DescribeEndUsersRequest) FromJsonString ¶
func (r *DescribeEndUsersRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEndUsersRequest) ToJsonString ¶
func (r *DescribeEndUsersRequest) ToJsonString() string
type DescribeEndUsersResponse ¶
type DescribeEndUsersResponse struct {
*tchttp.BaseResponse
Response *struct {
// 用户总数
Total *uint64 `json:"Total,omitempty" name:"Total"`
// 用户列表
Users []*EndUserInfo `json:"Users,omitempty" name:"Users" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeEndUsersResponse ¶
func NewDescribeEndUsersResponse() (response *DescribeEndUsersResponse)
func (*DescribeEndUsersResponse) FromJsonString ¶
func (r *DescribeEndUsersResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEndUsersResponse) ToJsonString ¶
func (r *DescribeEndUsersResponse) ToJsonString() string
type DescribeEnvFreeQuotaRequest ¶
type DescribeEnvFreeQuotaRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 资源类型:可选值:CDN, COS, FLEXDB, HOSTING, SCF
// 不传则返回全部资源指标
ResourceTypes []*string `json:"ResourceTypes,omitempty" name:"ResourceTypes" list`
}
func NewDescribeEnvFreeQuotaRequest ¶
func NewDescribeEnvFreeQuotaRequest() (request *DescribeEnvFreeQuotaRequest)
func (*DescribeEnvFreeQuotaRequest) FromJsonString ¶
func (r *DescribeEnvFreeQuotaRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvFreeQuotaRequest) ToJsonString ¶
func (r *DescribeEnvFreeQuotaRequest) ToJsonString() string
type DescribeEnvFreeQuotaResponse ¶
type DescribeEnvFreeQuotaResponse struct {
*tchttp.BaseResponse
Response *struct {
// 免费抵扣配额详情
// 注意:此字段可能返回 null,表示取不到有效值。
QuotaItems []*PostpayEnvQuota `json:"QuotaItems,omitempty" name:"QuotaItems" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeEnvFreeQuotaResponse ¶
func NewDescribeEnvFreeQuotaResponse() (response *DescribeEnvFreeQuotaResponse)
func (*DescribeEnvFreeQuotaResponse) FromJsonString ¶
func (r *DescribeEnvFreeQuotaResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvFreeQuotaResponse) ToJsonString ¶
func (r *DescribeEnvFreeQuotaResponse) ToJsonString() string
type DescribeEnvLimitRequest ¶
type DescribeEnvLimitRequest struct {
*tchttp.BaseRequest
}
func NewDescribeEnvLimitRequest ¶
func NewDescribeEnvLimitRequest() (request *DescribeEnvLimitRequest)
func (*DescribeEnvLimitRequest) FromJsonString ¶
func (r *DescribeEnvLimitRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvLimitRequest) ToJsonString ¶
func (r *DescribeEnvLimitRequest) ToJsonString() string
type DescribeEnvLimitResponse ¶
type DescribeEnvLimitResponse struct {
*tchttp.BaseResponse
Response *struct {
// 环境总数上限
MaxEnvNum *int64 `json:"MaxEnvNum,omitempty" name:"MaxEnvNum"`
// 目前环境总数
CurrentEnvNum *int64 `json:"CurrentEnvNum,omitempty" name:"CurrentEnvNum"`
// 免费环境数量上限
MaxFreeEnvNum *int64 `json:"MaxFreeEnvNum,omitempty" name:"MaxFreeEnvNum"`
// 目前免费环境数量
CurrentFreeEnvNum *int64 `json:"CurrentFreeEnvNum,omitempty" name:"CurrentFreeEnvNum"`
// 总计允许销毁环境次数上限
MaxDeleteTotal *int64 `json:"MaxDeleteTotal,omitempty" name:"MaxDeleteTotal"`
// 目前已销毁环境次数
CurrentDeleteTotal *int64 `json:"CurrentDeleteTotal,omitempty" name:"CurrentDeleteTotal"`
// 每月允许销毁环境次数上限
MaxDeleteMonthly *int64 `json:"MaxDeleteMonthly,omitempty" name:"MaxDeleteMonthly"`
// 本月已销毁环境次数
CurrentDeleteMonthly *int64 `json:"CurrentDeleteMonthly,omitempty" name:"CurrentDeleteMonthly"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeEnvLimitResponse ¶
func NewDescribeEnvLimitResponse() (response *DescribeEnvLimitResponse)
func (*DescribeEnvLimitResponse) FromJsonString ¶
func (r *DescribeEnvLimitResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvLimitResponse) ToJsonString ¶
func (r *DescribeEnvLimitResponse) ToJsonString() string
type DescribeEnvsRequest ¶
type DescribeEnvsRequest struct {
*tchttp.BaseRequest
// 环境ID,如果传了这个参数则只返回该环境的相关信息
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 指定Channels字段为可见渠道列表或不可见渠道列表
// 如只想获取渠道A的环境 就填写IsVisible= true,Channels = ["A"], 过滤渠道A拉取其他渠道环境时填写IsVisible= false,Channels = ["A"]
IsVisible *bool `json:"IsVisible,omitempty" name:"IsVisible"`
// 渠道列表,代表可见或不可见渠道由IsVisible参数指定
Channels []*string `json:"Channels,omitempty" name:"Channels" list`
}
func NewDescribeEnvsRequest ¶
func NewDescribeEnvsRequest() (request *DescribeEnvsRequest)
func (*DescribeEnvsRequest) FromJsonString ¶
func (r *DescribeEnvsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvsRequest) ToJsonString ¶
func (r *DescribeEnvsRequest) ToJsonString() string
type DescribeEnvsResponse ¶
type DescribeEnvsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 环境信息列表
EnvList []*EnvInfo `json:"EnvList,omitempty" name:"EnvList" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeEnvsResponse ¶
func NewDescribeEnvsResponse() (response *DescribeEnvsResponse)
func (*DescribeEnvsResponse) FromJsonString ¶
func (r *DescribeEnvsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvsResponse) ToJsonString ¶
func (r *DescribeEnvsResponse) ToJsonString() string
type DescribeExtensionUploadInfoRequest ¶
type DescribeExtensionUploadInfoRequest struct {
*tchttp.BaseRequest
// 待上传的文件
ExtensionFiles []*ExtensionFile `json:"ExtensionFiles,omitempty" name:"ExtensionFiles" list`
}
func NewDescribeExtensionUploadInfoRequest ¶
func NewDescribeExtensionUploadInfoRequest() (request *DescribeExtensionUploadInfoRequest)
func (*DescribeExtensionUploadInfoRequest) FromJsonString ¶
func (r *DescribeExtensionUploadInfoRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExtensionUploadInfoRequest) ToJsonString ¶
func (r *DescribeExtensionUploadInfoRequest) ToJsonString() string
type DescribeExtensionUploadInfoResponse ¶
type DescribeExtensionUploadInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 待上传文件的信息数组
FilesData []*ExtensionFileInfo `json:"FilesData,omitempty" name:"FilesData" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeExtensionUploadInfoResponse ¶
func NewDescribeExtensionUploadInfoResponse() (response *DescribeExtensionUploadInfoResponse)
func (*DescribeExtensionUploadInfoResponse) FromJsonString ¶
func (r *DescribeExtensionUploadInfoResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExtensionUploadInfoResponse) ToJsonString ¶
func (r *DescribeExtensionUploadInfoResponse) ToJsonString() string
type DescribeExtraPkgBillingInfoRequest ¶
type DescribeExtraPkgBillingInfoRequest struct {
*tchttp.BaseRequest
// 已购买增值包的环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
}
func NewDescribeExtraPkgBillingInfoRequest ¶
func NewDescribeExtraPkgBillingInfoRequest() (request *DescribeExtraPkgBillingInfoRequest)
func (*DescribeExtraPkgBillingInfoRequest) FromJsonString ¶
func (r *DescribeExtraPkgBillingInfoRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExtraPkgBillingInfoRequest) ToJsonString ¶
func (r *DescribeExtraPkgBillingInfoRequest) ToJsonString() string
type DescribeExtraPkgBillingInfoResponse ¶
type DescribeExtraPkgBillingInfoResponse struct {
*tchttp.BaseResponse
Response *struct {
// 增值包计费信息列表
EnvInfoList []*EnvBillingInfoItem `json:"EnvInfoList,omitempty" name:"EnvInfoList" list`
// 增值包数目
Total *uint64 `json:"Total,omitempty" name:"Total"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeExtraPkgBillingInfoResponse ¶
func NewDescribeExtraPkgBillingInfoResponse() (response *DescribeExtraPkgBillingInfoResponse)
func (*DescribeExtraPkgBillingInfoResponse) FromJsonString ¶
func (r *DescribeExtraPkgBillingInfoResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeExtraPkgBillingInfoResponse) ToJsonString ¶
func (r *DescribeExtraPkgBillingInfoResponse) ToJsonString() string
type DescribePostpayFreeQuotasRequest ¶
type DescribePostpayFreeQuotasRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
}
func NewDescribePostpayFreeQuotasRequest ¶
func NewDescribePostpayFreeQuotasRequest() (request *DescribePostpayFreeQuotasRequest)
func (*DescribePostpayFreeQuotasRequest) FromJsonString ¶
func (r *DescribePostpayFreeQuotasRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePostpayFreeQuotasRequest) ToJsonString ¶
func (r *DescribePostpayFreeQuotasRequest) ToJsonString() string
type DescribePostpayFreeQuotasResponse ¶
type DescribePostpayFreeQuotasResponse struct {
*tchttp.BaseResponse
Response *struct {
// 免费量资源信息列表
// 注意:此字段可能返回 null,表示取不到有效值。
FreequotaInfoList []*FreequotaInfo `json:"FreequotaInfoList,omitempty" name:"FreequotaInfoList" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribePostpayFreeQuotasResponse ¶
func NewDescribePostpayFreeQuotasResponse() (response *DescribePostpayFreeQuotasResponse)
func (*DescribePostpayFreeQuotasResponse) FromJsonString ¶
func (r *DescribePostpayFreeQuotasResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePostpayFreeQuotasResponse) ToJsonString ¶
func (r *DescribePostpayFreeQuotasResponse) ToJsonString() string
type DescribePostpayPackageFreeQuotasRequest ¶
type DescribePostpayPackageFreeQuotasRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 免费额度类型标识
FreeQuotaType *string `json:"FreeQuotaType,omitempty" name:"FreeQuotaType"`
}
func NewDescribePostpayPackageFreeQuotasRequest ¶
func NewDescribePostpayPackageFreeQuotasRequest() (request *DescribePostpayPackageFreeQuotasRequest)
func (*DescribePostpayPackageFreeQuotasRequest) FromJsonString ¶
func (r *DescribePostpayPackageFreeQuotasRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePostpayPackageFreeQuotasRequest) ToJsonString ¶
func (r *DescribePostpayPackageFreeQuotasRequest) ToJsonString() string
type DescribePostpayPackageFreeQuotasResponse ¶
type DescribePostpayPackageFreeQuotasResponse struct {
*tchttp.BaseResponse
Response *struct {
// 免费量资源信息列表
// 注意:此字段可能返回 null,表示取不到有效值。
PackageFreeQuotaInfos []*PackageFreeQuotaInfo `json:"PackageFreeQuotaInfos,omitempty" name:"PackageFreeQuotaInfos" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribePostpayPackageFreeQuotasResponse ¶
func NewDescribePostpayPackageFreeQuotasResponse() (response *DescribePostpayPackageFreeQuotasResponse)
func (*DescribePostpayPackageFreeQuotasResponse) FromJsonString ¶
func (r *DescribePostpayPackageFreeQuotasResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePostpayPackageFreeQuotasResponse) ToJsonString ¶
func (r *DescribePostpayPackageFreeQuotasResponse) ToJsonString() string
type DescribeQuotaDataRequest ¶
type DescribeQuotaDataRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// <li> 指标名: </li>
// <li> StorageSizepkg: 当月存储空间容量, 单位MB </li>
// <li> StorageReadpkg: 当月存储读请求次数 </li>
// <li> StorageWritepkg: 当月存储写请求次数 </li>
// <li> StorageCdnOriginFluxpkg: 当月CDN回源流量, 单位字节 </li>
// <li> StorageCdnOriginFluxpkgDay: 当日CDN回源流量, 单位字节 </li>
// <li> StorageReadpkgDay: 当日存储读请求次数 </li>
// <li> StorageWritepkgDay: 当日写请求次数 </li>
// <li> CDNFluxpkg: 当月CDN流量, 单位为字节 </li>
// <li> CDNFluxpkgDay: 当日CDN流量, 单位为字节 </li>
// <li> FunctionInvocationpkg: 当月云函数调用次数 </li>
// <li> FunctionGBspkg: 当月云函数资源使用量, 单位Mb*Ms </li>
// <li> FunctionFluxpkg: 当月云函数流量, 单位千字节(KB) </li>
// <li> FunctionInvocationpkgDay: 当日云函数调用次数 </li>
// <li> FunctionGBspkgDay: 当日云函数资源使用量, 单位Mb*Ms </li>
// <li> FunctionFluxpkgDay: 当日云函数流量, 单位千字节(KB) </li>
// <li> DbSizepkg: 当月数据库容量大小, 单位MB </li>
// <li> DbReadpkg: 当日数据库读请求数 </li>
// <li> DbWritepkg: 当日数据库写请求数 </li>
// <li> StaticFsFluxPkgDay: 当日静态托管流量 </li>
// <li> StaticFsFluxPkg: 当月静态托管流量</li>
// <li> StaticFsSizePkg: 当月静态托管容量 </li>
// <li> TkeCpuUsedPkg: 当月容器托管CPU使用量,单位核*秒 </li>
// <li> TkeCpuUsedPkgDay: 当天容器托管CPU使用量,单位核*秒 </li>
// <li> TkeMemUsedPkg: 当月容器托管内存使用量,单位MB*秒 </li>
// <li> TkeMemUsedPkgDay: 当天容器托管内存使用量,单位MB*秒 </li>
// <li> CodingBuildTimePkgDay: 当天容器托管构建时间使用量,单位毫秒 </li>
// <li> TkeHttpServiceNatPkgDay: 当天容器托管流量使用量,单位B </li>
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 资源ID, 目前仅对云函数、容器托管相关的指标有意义。云函数(FunctionInvocationpkg, FunctionGBspkg, FunctionFluxpkg)、容器托管(服务名称)。如果想查询某个云函数的指标则在ResourceId中传入函数名; 如果只想查询整个namespace的指标, 则留空或不传。
ResourceID *string `json:"ResourceID,omitempty" name:"ResourceID"`
}
func NewDescribeQuotaDataRequest ¶
func NewDescribeQuotaDataRequest() (request *DescribeQuotaDataRequest)
func (*DescribeQuotaDataRequest) FromJsonString ¶
func (r *DescribeQuotaDataRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeQuotaDataRequest) ToJsonString ¶
func (r *DescribeQuotaDataRequest) ToJsonString() string
type DescribeQuotaDataResponse ¶
type DescribeQuotaDataResponse struct {
*tchttp.BaseResponse
Response *struct {
// 指标名
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 指标的值
Value *int64 `json:"Value,omitempty" name:"Value"`
// 指标的附加值信息
// 注意:此字段可能返回 null,表示取不到有效值。
SubValue *string `json:"SubValue,omitempty" name:"SubValue"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeQuotaDataResponse ¶
func NewDescribeQuotaDataResponse() (response *DescribeQuotaDataResponse)
func (*DescribeQuotaDataResponse) FromJsonString ¶
func (r *DescribeQuotaDataResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeQuotaDataResponse) ToJsonString ¶
func (r *DescribeQuotaDataResponse) ToJsonString() string
type DescribeSmsQuotasRequest ¶
type DescribeSmsQuotasRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
}
func NewDescribeSmsQuotasRequest ¶
func NewDescribeSmsQuotasRequest() (request *DescribeSmsQuotasRequest)
func (*DescribeSmsQuotasRequest) FromJsonString ¶
func (r *DescribeSmsQuotasRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSmsQuotasRequest) ToJsonString ¶
func (r *DescribeSmsQuotasRequest) ToJsonString() string
type DescribeSmsQuotasResponse ¶
type DescribeSmsQuotasResponse struct {
*tchttp.BaseResponse
Response *struct {
// 短信免费量信息列表
// 注意:此字段可能返回 null,表示取不到有效值。
SmsFreeQuotaList []*SmsFreeQuota `json:"SmsFreeQuotaList,omitempty" name:"SmsFreeQuotaList" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeSmsQuotasResponse ¶
func NewDescribeSmsQuotasResponse() (response *DescribeSmsQuotasResponse)
func (*DescribeSmsQuotasResponse) FromJsonString ¶
func (r *DescribeSmsQuotasResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSmsQuotasResponse) ToJsonString ¶
func (r *DescribeSmsQuotasResponse) ToJsonString() string
type DescribeWxCloudBaseRunEnvsRequest ¶
type DescribeWxCloudBaseRunEnvsRequest struct {
*tchttp.BaseRequest
// wx应用Id
WxAppId *string `json:"WxAppId,omitempty" name:"WxAppId"`
}
func NewDescribeWxCloudBaseRunEnvsRequest ¶
func NewDescribeWxCloudBaseRunEnvsRequest() (request *DescribeWxCloudBaseRunEnvsRequest)
func (*DescribeWxCloudBaseRunEnvsRequest) FromJsonString ¶
func (r *DescribeWxCloudBaseRunEnvsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWxCloudBaseRunEnvsRequest) ToJsonString ¶
func (r *DescribeWxCloudBaseRunEnvsRequest) ToJsonString() string
type DescribeWxCloudBaseRunEnvsResponse ¶
type DescribeWxCloudBaseRunEnvsResponse struct {
*tchttp.BaseResponse
Response *struct {
// env列表
EnvList []*EnvInfo `json:"EnvList,omitempty" name:"EnvList" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeWxCloudBaseRunEnvsResponse ¶
func NewDescribeWxCloudBaseRunEnvsResponse() (response *DescribeWxCloudBaseRunEnvsResponse)
func (*DescribeWxCloudBaseRunEnvsResponse) FromJsonString ¶
func (r *DescribeWxCloudBaseRunEnvsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWxCloudBaseRunEnvsResponse) ToJsonString ¶
func (r *DescribeWxCloudBaseRunEnvsResponse) ToJsonString() string
type DescribeWxCloudBaseRunSubNetsRequest ¶
type DescribeWxCloudBaseRunSubNetsRequest struct {
*tchttp.BaseRequest
// VPC id
VpcId *string `json:"VpcId,omitempty" name:"VpcId"`
// 查询个数限制,不填或小于等于0,等于不限制
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeWxCloudBaseRunSubNetsRequest ¶
func NewDescribeWxCloudBaseRunSubNetsRequest() (request *DescribeWxCloudBaseRunSubNetsRequest)
func (*DescribeWxCloudBaseRunSubNetsRequest) FromJsonString ¶
func (r *DescribeWxCloudBaseRunSubNetsRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWxCloudBaseRunSubNetsRequest) ToJsonString ¶
func (r *DescribeWxCloudBaseRunSubNetsRequest) ToJsonString() string
type DescribeWxCloudBaseRunSubNetsResponse ¶
type DescribeWxCloudBaseRunSubNetsResponse struct {
*tchttp.BaseResponse
Response *struct {
// 子网Id列表
SubNetIds []*string `json:"SubNetIds,omitempty" name:"SubNetIds" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeWxCloudBaseRunSubNetsResponse ¶
func NewDescribeWxCloudBaseRunSubNetsResponse() (response *DescribeWxCloudBaseRunSubNetsResponse)
func (*DescribeWxCloudBaseRunSubNetsResponse) FromJsonString ¶
func (r *DescribeWxCloudBaseRunSubNetsResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWxCloudBaseRunSubNetsResponse) ToJsonString ¶
func (r *DescribeWxCloudBaseRunSubNetsResponse) ToJsonString() string
type DestroyEnvRequest ¶
type DestroyEnvRequest struct {
*tchttp.BaseRequest
// 环境Id
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 针对预付费 删除隔离中的环境时要传true 正常环境直接跳过隔离期删除
IsForce *bool `json:"IsForce,omitempty" name:"IsForce"`
// 是否绕过资源检查,资源包等额外资源,默认为false,如果为true,则不检查资源是否有数据,直接删除。
BypassCheck *bool `json:"BypassCheck,omitempty" name:"BypassCheck"`
}
func NewDestroyEnvRequest ¶
func NewDestroyEnvRequest() (request *DestroyEnvRequest)
func (*DestroyEnvRequest) FromJsonString ¶
func (r *DestroyEnvRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyEnvRequest) ToJsonString ¶
func (r *DestroyEnvRequest) ToJsonString() string
type DestroyEnvResponse ¶
type DestroyEnvResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDestroyEnvResponse ¶
func NewDestroyEnvResponse() (response *DestroyEnvResponse)
func (*DestroyEnvResponse) FromJsonString ¶
func (r *DestroyEnvResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyEnvResponse) ToJsonString ¶
func (r *DestroyEnvResponse) ToJsonString() string
type DestroyStaticStoreRequest ¶
type DestroyStaticStoreRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// cdn域名
CdnDomain *string `json:"CdnDomain,omitempty" name:"CdnDomain"`
}
func NewDestroyStaticStoreRequest ¶
func NewDestroyStaticStoreRequest() (request *DestroyStaticStoreRequest)
func (*DestroyStaticStoreRequest) FromJsonString ¶
func (r *DestroyStaticStoreRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyStaticStoreRequest) ToJsonString ¶
func (r *DestroyStaticStoreRequest) ToJsonString() string
type DestroyStaticStoreResponse ¶
type DestroyStaticStoreResponse struct {
*tchttp.BaseResponse
Response *struct {
// 条件任务结果(succ/fail)
Result *string `json:"Result,omitempty" name:"Result"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDestroyStaticStoreResponse ¶
func NewDestroyStaticStoreResponse() (response *DestroyStaticStoreResponse)
func (*DestroyStaticStoreResponse) FromJsonString ¶
func (r *DestroyStaticStoreResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyStaticStoreResponse) ToJsonString ¶
func (r *DestroyStaticStoreResponse) ToJsonString() string
type EndUserInfo ¶
type EndUserInfo struct {
// 用户唯一ID
UUId *string `json:"UUId,omitempty" name:"UUId"`
// 微信ID
WXOpenId *string `json:"WXOpenId,omitempty" name:"WXOpenId"`
// qq ID
QQOpenId *string `json:"QQOpenId,omitempty" name:"QQOpenId"`
// 手机号
Phone *string `json:"Phone,omitempty" name:"Phone"`
// 邮箱
Email *string `json:"Email,omitempty" name:"Email"`
// 昵称
NickName *string `json:"NickName,omitempty" name:"NickName"`
// 性别
Gender *string `json:"Gender,omitempty" name:"Gender"`
// 头像地址
AvatarUrl *string `json:"AvatarUrl,omitempty" name:"AvatarUrl"`
// 更新时间
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 创建时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 是否为匿名用户
IsAnonymous *bool `json:"IsAnonymous,omitempty" name:"IsAnonymous"`
// 是否禁用账户
IsDisabled *bool `json:"IsDisabled,omitempty" name:"IsDisabled"`
// 是否设置过密码
HasPassword *bool `json:"HasPassword,omitempty" name:"HasPassword"`
// 用户名
UserName *string `json:"UserName,omitempty" name:"UserName"`
}
type EnvBillingInfoItem ¶
type EnvBillingInfoItem struct {
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// tcb产品套餐ID,参考DescribePackages接口的返回值。
PackageId *string `json:"PackageId,omitempty" name:"PackageId"`
// 自动续费标记
IsAutoRenew *bool `json:"IsAutoRenew,omitempty" name:"IsAutoRenew"`
// 状态。包含以下取值:
// <li> 空字符串:初始化中</li>
// <li> NORMAL:正常</li>
// <li> ISOLATE:隔离</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 支付方式。包含以下取值:
// <li> PREPAYMENT:预付费</li>
// <li> POSTPAID:后付费</li>
PayMode *string `json:"PayMode,omitempty" name:"PayMode"`
// 隔离时间,最近一次隔离的时间
IsolatedTime *string `json:"IsolatedTime,omitempty" name:"IsolatedTime"`
// 过期时间,套餐即将到期的时间
ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
// 创建时间,第一次接入计费方案的时间。
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 更新时间,计费信息最近一次更新的时间。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// true表示从未升级过付费版。
IsAlwaysFree *bool `json:"IsAlwaysFree,omitempty" name:"IsAlwaysFree"`
// 付费渠道。
// <li> miniapp:小程序</li>
// <li> qcloud:腾讯云</li>
// 注意:此字段可能返回 null,表示取不到有效值。
PaymentChannel *string `json:"PaymentChannel,omitempty" name:"PaymentChannel"`
// 最新的订单信息
// 注意:此字段可能返回 null,表示取不到有效值。
OrderInfo *OrderInfo `json:"OrderInfo,omitempty" name:"OrderInfo"`
// 免费配额信息。
// 注意:此字段可能返回 null,表示取不到有效值。
FreeQuota *string `json:"FreeQuota,omitempty" name:"FreeQuota"`
}
type EnvInfo ¶
type EnvInfo struct {
// 账户下该环境唯一标识
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 环境来源。包含以下取值:
// <li>miniapp:微信小程序</li>
// <li>qcloud :腾讯云</li>
Source *string `json:"Source,omitempty" name:"Source"`
// 环境别名,要以a-z开头,不能包含 a-zA-z0-9- 以外的字符
Alias *string `json:"Alias,omitempty" name:"Alias"`
// 创建时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 最后修改时间
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 环境状态。包含以下取值:
// <li>NORMAL:正常可用</li>
// <li>UNAVAILABLE:服务不可用,可能是尚未初始化或者初始化过程中</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 数据库列表
Databases []*DatabasesInfo `json:"Databases,omitempty" name:"Databases" list`
// 存储列表
Storages []*StorageInfo `json:"Storages,omitempty" name:"Storages" list`
// 函数列表
Functions []*FunctionInfo `json:"Functions,omitempty" name:"Functions" list`
// tcb产品套餐ID,参考DescribePackages接口的返回值。
// 注意:此字段可能返回 null,表示取不到有效值。
PackageId *string `json:"PackageId,omitempty" name:"PackageId"`
// 套餐中文名称,参考DescribePackages接口的返回值。
// 注意:此字段可能返回 null,表示取不到有效值。
PackageName *string `json:"PackageName,omitempty" name:"PackageName"`
// 云日志服务列表
// 注意:此字段可能返回 null,表示取不到有效值。
LogServices []*LogServiceInfo `json:"LogServices,omitempty" name:"LogServices" list`
// 静态资源信息
// 注意:此字段可能返回 null,表示取不到有效值。
StaticStorages []*StaticStorageInfo `json:"StaticStorages,omitempty" name:"StaticStorages" list`
// 是否到期自动降为免费版
// 注意:此字段可能返回 null,表示取不到有效值。
IsAutoDegrade *bool `json:"IsAutoDegrade,omitempty" name:"IsAutoDegrade"`
// 环境渠道
// 注意:此字段可能返回 null,表示取不到有效值。
EnvChannel *string `json:"EnvChannel,omitempty" name:"EnvChannel"`
// 支付方式。包含以下取值:
// <li> prepayment:预付费</li>
// <li> postpaid:后付费</li>
// 注意:此字段可能返回 null,表示取不到有效值。
PayMode *string `json:"PayMode,omitempty" name:"PayMode"`
// 是否为默认环境
// 注意:此字段可能返回 null,表示取不到有效值。
IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"`
// 环境所属地域
// 注意:此字段可能返回 null,表示取不到有效值。
Region *string `json:"Region,omitempty" name:"Region"`
}
type EstablishCloudBaseRunServerRequest ¶
type EstablishCloudBaseRunServerRequest struct {
*tchttp.BaseRequest
// 环境id
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 服务名称
ServiceName *string `json:"ServiceName,omitempty" name:"ServiceName"`
// 是否开通外网访问
IsPublic *bool `json:"IsPublic,omitempty" name:"IsPublic"`
// 镜像仓库
ImageRepo *string `json:"ImageRepo,omitempty" name:"ImageRepo"`
// 服务描述
Remark *string `json:"Remark,omitempty" name:"Remark"`
// es信息
EsInfo *CloudBaseEsInfo `json:"EsInfo,omitempty" name:"EsInfo"`
// 日志类型; es/cls
LogType *string `json:"LogType,omitempty" name:"LogType"`
// 操作备注
OperatorRemark *string `json:"OperatorRemark,omitempty" name:"OperatorRemark"`
// 来源方(默认值:qcloud,微信侧来源miniapp)
Source *string `json:"Source,omitempty" name:"Source"`
// vpc信息
VpcInfo *CloudBaseRunVpcInfo `json:"VpcInfo,omitempty" name:"VpcInfo"`
// 0/1=允许公网访问;2=关闭公网访问
PublicAccess *int64 `json:"PublicAccess,omitempty" name:"PublicAccess"`
}
func NewEstablishCloudBaseRunServerRequest ¶
func NewEstablishCloudBaseRunServerRequest() (request *EstablishCloudBaseRunServerRequest)
func (*EstablishCloudBaseRunServerRequest) FromJsonString ¶
func (r *EstablishCloudBaseRunServerRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EstablishCloudBaseRunServerRequest) ToJsonString ¶
func (r *EstablishCloudBaseRunServerRequest) ToJsonString() string
type EstablishCloudBaseRunServerResponse ¶
type EstablishCloudBaseRunServerResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewEstablishCloudBaseRunServerResponse ¶
func NewEstablishCloudBaseRunServerResponse() (response *EstablishCloudBaseRunServerResponse)
func (*EstablishCloudBaseRunServerResponse) FromJsonString ¶
func (r *EstablishCloudBaseRunServerResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EstablishCloudBaseRunServerResponse) ToJsonString ¶
func (r *EstablishCloudBaseRunServerResponse) ToJsonString() string
type EstablishWxGatewayRouteRequest ¶
type EstablishWxGatewayRouteRequest struct {
*tchttp.BaseRequest
// 网关id
GatewayId *string `json:"GatewayId,omitempty" name:"GatewayId"`
// 服务名称
GatewayRouteName *string `json:"GatewayRouteName,omitempty" name:"GatewayRouteName"`
// 服务地址
GatewayRouteAddr *string `json:"GatewayRouteAddr,omitempty" name:"GatewayRouteAddr"`
// 协议类型 http/https
GatewayRouteProtocol *string `json:"GatewayRouteProtocol,omitempty" name:"GatewayRouteProtocol"`
// 服务描述
GatewayRouteDesc *string `json:"GatewayRouteDesc,omitempty" name:"GatewayRouteDesc"`
}
func NewEstablishWxGatewayRouteRequest ¶
func NewEstablishWxGatewayRouteRequest() (request *EstablishWxGatewayRouteRequest)
func (*EstablishWxGatewayRouteRequest) FromJsonString ¶
func (r *EstablishWxGatewayRouteRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EstablishWxGatewayRouteRequest) ToJsonString ¶
func (r *EstablishWxGatewayRouteRequest) ToJsonString() string
type EstablishWxGatewayRouteResponse ¶
type EstablishWxGatewayRouteResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewEstablishWxGatewayRouteResponse ¶
func NewEstablishWxGatewayRouteResponse() (response *EstablishWxGatewayRouteResponse)
func (*EstablishWxGatewayRouteResponse) FromJsonString ¶
func (r *EstablishWxGatewayRouteResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EstablishWxGatewayRouteResponse) ToJsonString ¶
func (r *EstablishWxGatewayRouteResponse) ToJsonString() string
type ExtensionFile ¶
type ExtensionFileInfo ¶
type ExtensionFileInfo struct {
// 模板里使用的地址
CodeUri *string `json:"CodeUri,omitempty" name:"CodeUri"`
// 上传文件的临时地址,含签名
UploadUrl *string `json:"UploadUrl,omitempty" name:"UploadUrl"`
// 自定义密钥。如果为空,则表示不需要加密
CustomKey *string `json:"CustomKey,omitempty" name:"CustomKey"`
// 文件大小限制,单位M,客户端上传前需要主动检查文件大小,超过限制的文件会被删除。
MaxSize *uint64 `json:"MaxSize,omitempty" name:"MaxSize"`
}
type FreequotaInfo ¶
type FreequotaInfo struct {
// 资源类型
// <li>COS</li>
// <li>CDN</li>
// <li>FLEXDB</li>
// <li>SCF</li>
ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`
// 资源指标名称
ResourceMetric *string `json:"ResourceMetric,omitempty" name:"ResourceMetric"`
// 资源指标免费量
FreeQuota *int64 `json:"FreeQuota,omitempty" name:"FreeQuota"`
// 指标单位
MetricUnit *string `json:"MetricUnit,omitempty" name:"MetricUnit"`
// 免费量抵扣周期
// <li>sum-month:以月为单位抵扣</li>
// <li>sum-day:以天为单位抵扣</li>
// <li>totalize:总容量抵扣</li>
// 注意:此字段可能返回 null,表示取不到有效值。
DeductType *string `json:"DeductType,omitempty" name:"DeductType"`
// 免费量类型
// <li>basic:通用量抵扣</li>
// 注意:此字段可能返回 null,表示取不到有效值。
FreeQuotaType *string `json:"FreeQuotaType,omitempty" name:"FreeQuotaType"`
}
type FunctionInfo ¶
type LogServiceInfo ¶
type LogServiceInfo struct {
// log名
LogsetName *string `json:"LogsetName,omitempty" name:"LogsetName"`
// log-id
LogsetId *string `json:"LogsetId,omitempty" name:"LogsetId"`
// topic名
TopicName *string `json:"TopicName,omitempty" name:"TopicName"`
// topic-id
TopicId *string `json:"TopicId,omitempty" name:"TopicId"`
// cls日志所属地域
Region *string `json:"Region,omitempty" name:"Region"`
}
type LoginStatistic ¶
type LoginStatistic struct {
// 统计类型 新增NEWUSER 和登录 LOGIN
// 注意:此字段可能返回 null,表示取不到有效值。
StatisticalType *string `json:"StatisticalType,omitempty" name:"StatisticalType"`
// 统计周期:日DAY,周WEEK,月MONTH
// 注意:此字段可能返回 null,表示取不到有效值。
StatisticalCycle *string `json:"StatisticalCycle,omitempty" name:"StatisticalCycle"`
// 统计总量
// 注意:此字段可能返回 null,表示取不到有效值。
Count *uint64 `json:"Count,omitempty" name:"Count"`
// 更新时间
// 注意:此字段可能返回 null,表示取不到有效值。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}
type ModifyDatabaseACLRequest ¶
type ModifyDatabaseACLRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 集合名称
CollectionName *string `json:"CollectionName,omitempty" name:"CollectionName"`
// 权限标签。包含以下取值:
// <li> READONLY:所有用户可读,仅创建者和管理员可写</li>
// <li> PRIVATE:仅创建者及管理员可读写</li>
// <li> ADMINWRITE:所有用户可读,仅管理员可写</li>
// <li> ADMINONLY:仅管理员可读写</li>
AclTag *string `json:"AclTag,omitempty" name:"AclTag"`
}
func NewModifyDatabaseACLRequest ¶
func NewModifyDatabaseACLRequest() (request *ModifyDatabaseACLRequest)
func (*ModifyDatabaseACLRequest) FromJsonString ¶
func (r *ModifyDatabaseACLRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatabaseACLRequest) ToJsonString ¶
func (r *ModifyDatabaseACLRequest) ToJsonString() string
type ModifyDatabaseACLResponse ¶
type ModifyDatabaseACLResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyDatabaseACLResponse ¶
func NewModifyDatabaseACLResponse() (response *ModifyDatabaseACLResponse)
func (*ModifyDatabaseACLResponse) FromJsonString ¶
func (r *ModifyDatabaseACLResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDatabaseACLResponse) ToJsonString ¶
func (r *ModifyDatabaseACLResponse) ToJsonString() string
type ModifyEndUserRequest ¶
type ModifyEndUserRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// C端用户端的唯一ID
UUId *string `json:"UUId,omitempty" name:"UUId"`
// 帐号的状态
Status *string `json:"Status,omitempty" name:"Status"`
}
func NewModifyEndUserRequest ¶
func NewModifyEndUserRequest() (request *ModifyEndUserRequest)
func (*ModifyEndUserRequest) FromJsonString ¶
func (r *ModifyEndUserRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyEndUserRequest) ToJsonString ¶
func (r *ModifyEndUserRequest) ToJsonString() string
type ModifyEndUserResponse ¶
type ModifyEndUserResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyEndUserResponse ¶
func NewModifyEndUserResponse() (response *ModifyEndUserResponse)
func (*ModifyEndUserResponse) FromJsonString ¶
func (r *ModifyEndUserResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyEndUserResponse) ToJsonString ¶
func (r *ModifyEndUserResponse) ToJsonString() string
type ModifyEnvRequest ¶
type ModifyEnvRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
// 环境备注名,要以a-z开头,不能包含 a-zA-z0-9- 以外的字符
Alias *string `json:"Alias,omitempty" name:"Alias"`
}
func NewModifyEnvRequest ¶
func NewModifyEnvRequest() (request *ModifyEnvRequest)
func (*ModifyEnvRequest) FromJsonString ¶
func (r *ModifyEnvRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyEnvRequest) ToJsonString ¶
func (r *ModifyEnvRequest) ToJsonString() string
type ModifyEnvResponse ¶
type ModifyEnvResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyEnvResponse ¶
func NewModifyEnvResponse() (response *ModifyEnvResponse)
func (*ModifyEnvResponse) FromJsonString ¶
func (r *ModifyEnvResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyEnvResponse) ToJsonString ¶
func (r *ModifyEnvResponse) ToJsonString() string
type OrderInfo ¶
type OrderInfo struct {
// 订单号
TranId *string `json:"TranId,omitempty" name:"TranId"`
// 订单要切换的套餐ID
PackageId *string `json:"PackageId,omitempty" name:"PackageId"`
// 订单类型
// <li>1 购买</li>
// <li>2 续费</li>
// <li>3 变配</li>
TranType *string `json:"TranType,omitempty" name:"TranType"`
// 订单状态。
// <li>1未支付</li>
// <li>2 支付中</li>
// <li>3 发货中</li>
// <li>4 发货成功</li>
// <li>5 发货失败</li>
// <li>6 已退款</li>
// <li>7 已取消</li>
// <li>100 已删除</li>
TranStatus *string `json:"TranStatus,omitempty" name:"TranStatus"`
// 订单更新时间
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 订单创建时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 付费模式.
// <li>prepayment 预付费</li>
// <li>postpaid 后付费</li>
PayMode *string `json:"PayMode,omitempty" name:"PayMode"`
// 订单绑定的扩展ID
// 注意:此字段可能返回 null,表示取不到有效值。
ExtensionId *string `json:"ExtensionId,omitempty" name:"ExtensionId"`
// 资源初始化结果(仅当ExtensionId不为空时有效): successful(初始化成功), failed(初始化失败), doing(初始化进行中), init(准备初始化)
// 注意:此字段可能返回 null,表示取不到有效值。
ResourceReady *string `json:"ResourceReady,omitempty" name:"ResourceReady"`
}
type PackageFreeQuotaInfo ¶
type PackageFreeQuotaInfo struct {
// 资源类型
// <li>COS</li>
// <li>CDN</li>
// <li>FLEXDB</li>
// <li>SCF</li>
// 注意:此字段可能返回 null,表示取不到有效值。
ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`
// 资源指标名称
// 注意:此字段可能返回 null,表示取不到有效值。
ResourceMetric *string `json:"ResourceMetric,omitempty" name:"ResourceMetric"`
// 资源指标免费量
// 注意:此字段可能返回 null,表示取不到有效值。
FreeQuota *int64 `json:"FreeQuota,omitempty" name:"FreeQuota"`
// 指标单位
// 注意:此字段可能返回 null,表示取不到有效值。
MetricUnit *string `json:"MetricUnit,omitempty" name:"MetricUnit"`
// 免费量抵扣周期
// <li>sum-month:以月为单位抵扣</li>
// <li>sum-day:以天为单位抵扣</li>
// <li>totalize:总容量抵扣</li>
// 注意:此字段可能返回 null,表示取不到有效值。
DeductType *string `json:"DeductType,omitempty" name:"DeductType"`
// 免费量类型
// <li>basic:通用量抵扣</li>
// 注意:此字段可能返回 null,表示取不到有效值。
FreeQuotaType *string `json:"FreeQuotaType,omitempty" name:"FreeQuotaType"`
}
type PlatformStatistic ¶
type PlatformStatistic struct {
// 终端用户从属平台
// 注意:此字段可能返回 null,表示取不到有效值。
Platform *string `json:"Platform,omitempty" name:"Platform"`
// 平台终端用户数
// 注意:此字段可能返回 null,表示取不到有效值。
Count *uint64 `json:"Count,omitempty" name:"Count"`
// 更新时间
// 注意:此字段可能返回 null,表示取不到有效值。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}
type PostpayEnvQuota ¶
type PostpayEnvQuota struct {
// 资源类型
ResourceType *string `json:"ResourceType,omitempty" name:"ResourceType"`
// 指标名
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 配额值
Value *uint64 `json:"Value,omitempty" name:"Value"`
// 配额生效时间
// 为空表示没有时间限制
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 配额失效时间
// 为空表示没有时间限制
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
}
type ReinstateEnvRequest ¶
type ReinstateEnvRequest struct {
*tchttp.BaseRequest
// 环境ID
EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
}
func NewReinstateEnvRequest ¶
func NewReinstateEnvRequest() (request *ReinstateEnvRequest)
func (*ReinstateEnvRequest) FromJsonString ¶
func (r *ReinstateEnvRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReinstateEnvRequest) ToJsonString ¶
func (r *ReinstateEnvRequest) ToJsonString() string
type ReinstateEnvResponse ¶
type ReinstateEnvResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewReinstateEnvResponse ¶
func NewReinstateEnvResponse() (response *ReinstateEnvResponse)
func (*ReinstateEnvResponse) FromJsonString ¶
func (r *ReinstateEnvResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReinstateEnvResponse) ToJsonString ¶
func (r *ReinstateEnvResponse) ToJsonString() string
type SmsFreeQuota ¶
type SmsFreeQuota struct {
// 免费量总条数
// 注意:此字段可能返回 null,表示取不到有效值。
FreeQuota *uint64 `json:"FreeQuota,omitempty" name:"FreeQuota"`
// 共计已使用总条数
// 注意:此字段可能返回 null,表示取不到有效值。
TotalUsedQuota *uint64 `json:"TotalUsedQuota,omitempty" name:"TotalUsedQuota"`
// 免费周期起点,0000-00-00 00:00:00 形式
// 注意:此字段可能返回 null,表示取不到有效值。
CycleStart *string `json:"CycleStart,omitempty" name:"CycleStart"`
// 免费周期终点,0000-00-00 00:00:00 形式
// 注意:此字段可能返回 null,表示取不到有效值。
CycleEnd *string `json:"CycleEnd,omitempty" name:"CycleEnd"`
// 今天已使用总条数
// 注意:此字段可能返回 null,表示取不到有效值。
TodayUsedQuota *uint64 `json:"TodayUsedQuota,omitempty" name:"TodayUsedQuota"`
}
type StaticStorageInfo ¶
type StaticStorageInfo struct {
// 静态CDN域名
// 注意:此字段可能返回 null,表示取不到有效值。
StaticDomain *string `json:"StaticDomain,omitempty" name:"StaticDomain"`
// 静态CDN默认文件夹,当前为根目录
// 注意:此字段可能返回 null,表示取不到有效值。
DefaultDirName *string `json:"DefaultDirName,omitempty" name:"DefaultDirName"`
// 资源状态(process/online/offline/init)
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
// cos所属区域
// 注意:此字段可能返回 null,表示取不到有效值。
Region *string `json:"Region,omitempty" name:"Region"`
// bucket信息
// 注意:此字段可能返回 null,表示取不到有效值。
Bucket *string `json:"Bucket,omitempty" name:"Bucket"`
}
type StorageInfo ¶
type StorageInfo struct {
// 资源所属地域。
// 当前支持ap-shanghai
Region *string `json:"Region,omitempty" name:"Region"`
// 桶名,存储资源的唯一标识
Bucket *string `json:"Bucket,omitempty" name:"Bucket"`
// cdn 域名
CdnDomain *string `json:"CdnDomain,omitempty" name:"CdnDomain"`
// 资源所属用户的腾讯云appId
AppId *string `json:"AppId,omitempty" name:"AppId"`
}