v20180608

package
v3.0.169+incompatible Latest Latest
Warning

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

Go to latest
Published: May 12, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

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

func (*CheckTcbServiceResponse) ToJsonString

func (r *CheckTcbServiceResponse) ToJsonString() string

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

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) CreateAuthDomain

func (c *Client) CreateAuthDomain(request *CreateAuthDomainRequest) (response *CreateAuthDomainResponse, err error)

增加安全域名

func (*Client) CreateHostingDomain

func (c *Client) CreateHostingDomain(request *CreateHostingDomainRequest) (response *CreateHostingDomainResponse, err error)

创建托管域名

func (*Client) CreateStaticStore

func (c *Client) CreateStaticStore(request *CreateStaticStoreRequest) (response *CreateStaticStoreResponse, err error)

创建静态托管资源,包括COS和CDN,异步任务创建,查看创建结果需要根据DescribeStaticStore接口来查看

func (*Client) DeleteEndUser

func (c *Client) DeleteEndUser(request *DeleteEndUserRequest) (response *DeleteEndUserResponse, err error)

删除终端用户

func (*Client) DescribeAuthDomains

func (c *Client) DescribeAuthDomains(request *DescribeAuthDomainsRequest) (response *DescribeAuthDomainsResponse, err error)

获取安全域名列表

func (*Client) DescribeDatabaseACL

func (c *Client) DescribeDatabaseACL(request *DescribeDatabaseACLRequest) (response *DescribeDatabaseACLResponse, 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) DescribeQuotaData

func (c *Client) DescribeQuotaData(request *DescribeQuotaDataRequest) (response *DescribeQuotaDataResponse, 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) ModifyDatabaseACL

func (c *Client) ModifyDatabaseACL(request *ModifyDatabaseACLRequest) (response *ModifyDatabaseACLResponse, 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 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

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

func (*CommonServiceAPIResponse) ToJsonString

func (r *CommonServiceAPIResponse) 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

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

func (*CreateAuthDomainResponse) ToJsonString

func (r *CreateAuthDomainResponse) 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

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

func (*CreateHostingDomainResponse) ToJsonString

func (r *CreateHostingDomainResponse) ToJsonString() string

type CreateStaticStoreRequest

type CreateStaticStoreRequest struct {
	*tchttp.BaseRequest

	// 环境ID
	EnvId *string `json:"EnvId,omitempty" name:"EnvId"`
}

func NewCreateStaticStoreRequest

func NewCreateStaticStoreRequest() (request *CreateStaticStoreRequest)

func (*CreateStaticStoreRequest) FromJsonString

func (r *CreateStaticStoreRequest) FromJsonString(s string) error

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

func (*CreateStaticStoreResponse) ToJsonString

func (r *CreateStaticStoreResponse) 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 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

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

func (*DeleteEndUserResponse) ToJsonString

func (r *DeleteEndUserResponse) 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

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

func (*DescribeAuthDomainsResponse) ToJsonString

func (r *DescribeAuthDomainsResponse) 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

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

func (*DescribeDatabaseACLResponse) ToJsonString

func (r *DescribeDatabaseACLResponse) ToJsonString() string

type DescribeEndUsersRequest

type DescribeEndUsersRequest struct {
	*tchttp.BaseRequest

	// 开发者的环境ID
	EnvId *string `json:"EnvId,omitempty" name:"EnvId"`

	// 按照 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

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

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

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

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

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

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

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

func (*DescribeEnvsResponse) ToJsonString

func (r *DescribeEnvsResponse) 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>
	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

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"`

		// 唯一请求 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

func (*DescribeQuotaDataResponse) ToJsonString

func (r *DescribeQuotaDataResponse) 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"`
}

func NewDestroyEnvRequest

func NewDestroyEnvRequest() (request *DestroyEnvRequest)

func (*DestroyEnvRequest) FromJsonString

func (r *DestroyEnvRequest) FromJsonString(s string) error

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

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

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

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"`
}

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"`
}

type FunctionInfo

type FunctionInfo struct {

	// 命名空间
	Namespace *string `json:"Namespace,omitempty" name:"Namespace"`

	// 所属地域。
	// 当前支持ap-shanghai
	Region *string `json:"Region,omitempty" name:"Region"`
}

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 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

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

func (*ModifyDatabaseACLResponse) ToJsonString

func (r *ModifyDatabaseACLResponse) 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

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

func (*ModifyEnvResponse) ToJsonString

func (r *ModifyEnvResponse) ToJsonString() string

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

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

func (*ReinstateEnvResponse) ToJsonString

func (r *ReinstateEnvResponse) ToJsonString() string

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"`
}

Jump to

Keyboard shortcuts

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