model

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Access

type Access struct {

	// 访问地址。
	Address *string `json:"address,omitempty"`

	// 访问方式类型。
	Type *AccessType `json:"type,omitempty"`
}

Access 访问方式。

func (Access) String

func (o Access) String() string

type AccessType

type AccessType struct {
	// contains filtered or unexported fields
}

func (AccessType) MarshalJSON

func (c AccessType) MarshalJSON() ([]byte, error)

func (*AccessType) UnmarshalJSON

func (c *AccessType) UnmarshalJSON(b []byte) error

func (AccessType) Value

func (c AccessType) Value() string

type AccessTypeEnum

type AccessTypeEnum struct {
	LOAD_BALANCER AccessType
	INGRESS       AccessType
}

func GetAccessTypeEnum

func GetAccessTypeEnum() AccessTypeEnum

type ActionOnComponentBuild

type ActionOnComponentBuild struct {
	Archive *Archive `json:"archive,omitempty"`

	// 构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。 - dockerfile_path:自定义dockerfile文件路径 - dockerfile_content:自定义dockerfile内容
	Parameters map[string]string `json:"parameters,omitempty"`
}

ActionOnComponentBuild 构建信息。

func (ActionOnComponentBuild) String

func (o ActionOnComponentBuild) String() string

type ActionOnComponentSource

type ActionOnComponentSource struct {
	Code *Repo `json:"code,omitempty"`

	// 源类型。
	Type *ActionOnComponentSourceType `json:"type,omitempty"`

	// 源子类型。 - 源类型为code时,子类型表示不同的代码仓库,如DevCloud(CodeArts)、GitLab、GitHub、Gitee、Bitbucket。 - 源类型为softwarePackage时,子类型表示不同的软件包仓库,如BinObs、BinDevCloud(CodeArts软件发布库)。
	SubType *ActionOnComponentSourceSubType `json:"sub_type,omitempty"`

	// url地址。 - 源类型为image时,url地址为镜像地址。 - 源类型为code时,url地址为git地址。 - 源类型为softwarePackage时,url地址为软件包地址。
	Url *string `json:"url,omitempty"`
}

ActionOnComponentSource 源信息。

func (ActionOnComponentSource) String

func (o ActionOnComponentSource) String() string

type ActionOnComponentSourceSubType

type ActionOnComponentSourceSubType struct {
	// contains filtered or unexported fields
}

func (ActionOnComponentSourceSubType) MarshalJSON

func (c ActionOnComponentSourceSubType) MarshalJSON() ([]byte, error)

func (*ActionOnComponentSourceSubType) UnmarshalJSON

func (c *ActionOnComponentSourceSubType) UnmarshalJSON(b []byte) error

func (ActionOnComponentSourceSubType) Value

type ActionOnComponentSourceType

type ActionOnComponentSourceType struct {
	// contains filtered or unexported fields
}

func (ActionOnComponentSourceType) MarshalJSON

func (c ActionOnComponentSourceType) MarshalJSON() ([]byte, error)

func (*ActionOnComponentSourceType) UnmarshalJSON

func (c *ActionOnComponentSourceType) UnmarshalJSON(b []byte) error

func (ActionOnComponentSourceType) Value

type ActionOnComponentSourceTypeEnum

type ActionOnComponentSourceTypeEnum struct {
	IMAGE            ActionOnComponentSourceType
	CODE             ActionOnComponentSourceType
	SOFTWARE_PACKAGE ActionOnComponentSourceType
}

func GetActionOnComponentSourceTypeEnum

func GetActionOnComponentSourceTypeEnum() ActionOnComponentSourceTypeEnum

type ActionOnComponentSpec

type ActionOnComponentSpec struct {

	// 快照序号。
	SnapshotIndex *int32 `json:"snapshot_index,omitempty"`

	// 实例个数。
	Replica *int32 `json:"replica,omitempty"`

	Source *ActionOnComponentSource `json:"source,omitempty"`

	ResourceLimit *ResourceLimitForUpgrade `json:"resource_limit,omitempty"`

	Build *ActionOnComponentBuild `json:"build,omitempty"`
}

func (ActionOnComponentSpec) String

func (o ActionOnComponentSpec) String() string

type Agency

type Agency struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion string `json:"api_version"`

	// API类型,固定值“Agency”,该值不可修改。
	Kind string `json:"kind"`

	Metadata *AgencyMetadata `json:"metadata"`
}

func (Agency) String

func (o Agency) String() string

type AgencyItem

type AgencyItem struct {

	// 委托名称,固定值“cae_trust”,该值不可修改。
	Name *string `json:"name,omitempty"`
}

func (AgencyItem) String

func (o AgencyItem) String() string

type AgencyMetadata

type AgencyMetadata struct {

	// 委托名称,固定值“cae_trust”,该值不可修改。
	Name string `json:"name"`
}

AgencyMetadata 请求数据。

func (AgencyMetadata) String

func (o AgencyMetadata) String() string

type AppInfo

type AppInfo struct {

	// 应用ID。
	AppId *string `json:"app_id,omitempty"`

	// 应用名称。
	AppName *string `json:"app_name,omitempty"`
}

func (AppInfo) String

func (o AppInfo) String() string

type ApplicationItem

type ApplicationItem struct {

	// 应用ID。
	Id *string `json:"id,omitempty"`

	// 应用名称。
	Name *string `json:"name,omitempty"`

	// 应用附加属性,当前只支持description参数。
	Annotations map[string]string `json:"annotations,omitempty"`

	// 创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`
}

ApplicationItem 应用信息。

func (ApplicationItem) String

func (o ApplicationItem) String() string

type ApplicationMetadata

type ApplicationMetadata struct {

	// 应用ID。
	Id *string `json:"id,omitempty"`

	// 应用名称。
	Name *string `json:"name,omitempty"`

	// 应用附加属性,当前只支持description参数。
	Annotations map[string]string `json:"annotations,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`
}

ApplicationMetadata 响应数据。

func (ApplicationMetadata) String

func (o ApplicationMetadata) String() string

type Archive

type Archive struct {

	// 产物纳管SWR组织。
	ArtifactNamespace *string `json:"artifact_namespace,omitempty"`
}

Archive 构建产物纳管。

func (Archive) String

func (o Archive) String() string

type Build

type Build struct {
	Archive *Archive `json:"archive"`

	// 构建附加参数。 - base_image:基础镜像地址。 - build_cmd:自定义构建命令。 - dockerfile_path:自定义dockerfile文件路径 - dockerfile_content:自定义dockerfile内容
	Parameters map[string]string `json:"parameters"`
}

Build 构建信息。

func (Build) String

func (o Build) String() string

type CertItem

type CertItem struct {
	Metadata *MetaCert `json:"metadata,omitempty"`

	Spec *SpecCert `json:"spec,omitempty"`
}

func (CertItem) String

func (o CertItem) String() string

type CertReq

type CertReq struct {

	// API版本。
	ApiVersion string `json:"api_version"`

	// API类型,固定值“Certificate”,该值不可修改。
	Kind string `json:"kind"`

	Metadata *CreateMetaCert `json:"metadata"`

	Spec *CreateSpecCert `json:"spec"`
}

func (CertReq) String

func (o CertReq) String() string

type ComponentExecutionResult

type ComponentExecutionResult struct {

	// 组件名称。
	ComponentName *string `json:"component_name,omitempty"`

	// 组件ID。
	ComponentId *string `json:"component_id,omitempty"`

	// 组件执行启停的结果:failed/success。
	Status *string `json:"status,omitempty"`

	// 组件执行启停的错误信息,如果执行结果为成功,则为空。
	ErrorMessage *string `json:"error_message,omitempty"`
}

func (ComponentExecutionResult) String

func (o ComponentExecutionResult) String() string

type ComponentInfo

type ComponentInfo struct {

	// 组件ID。
	ComponentId *string `json:"component_id,omitempty"`

	// 组件名称。
	ComponentName *string `json:"component_name,omitempty"`
}

func (ComponentInfo) String

func (o ComponentInfo) String() string

type ComponentItem

type ComponentItem struct {

	// 组件ID。
	Id *string `json:"id,omitempty"`

	// 组件名称。
	Name *string `json:"name,omitempty"`

	// 资源信息。
	Annotations map[string]string `json:"annotations,omitempty"`

	// 创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	Spec *ComponentSpec `json:"spec,omitempty"`
}

func (ComponentItem) String

func (o ComponentItem) String() string

type ComponentSnapshotContext

type ComponentSnapshotContext struct {

	// 应用ID。
	AppId *string `json:"app_id,omitempty"`

	// 可用实例个数。
	AvailableReplica *int32 `json:"available_replica,omitempty"`

	// 组件构建信息。
	Build *string `json:"build,omitempty"`

	// 构建任务ID。
	BuildId *string `json:"build_id,omitempty"`

	// 构建日志ID。
	BuildLogId *string `json:"build_log_id,omitempty"`

	// 环境ID。
	EnvId *string `json:"env_id,omitempty"`

	// 组件ID。
	Id *string `json:"id,omitempty"`

	// 镜像地址。
	ImageUrl *string `json:"image_url,omitempty"`

	// 任务ID。
	JobId *string `json:"job_id,omitempty"`

	// LTS日志组的ID。
	LogGroupId *string `json:"log_group_id,omitempty"`

	// LTS日志流的ID
	LogStreamId *string `json:"log_stream_id,omitempty"`

	// 组件名称。
	Name *string `json:"name,omitempty"`

	// 组件操作。
	Operation *string `json:"operation,omitempty"`

	// 组件操作状态。
	OperationStatus *string `json:"operation_status,omitempty"`

	// 实例个数。
	Replica *int32 `json:"replica,omitempty"`

	// 组件规格。
	ResourceLimit *string `json:"resource_limit,omitempty"`

	// 语言/运行时。
	Runtime *ComponentSnapshotContextRuntime `json:"runtime,omitempty"`

	// 组件源信息。
	Source *string `json:"source,omitempty"`

	// 组件状态。
	Status *string `json:"status,omitempty"`

	// 组件版本。
	Version *string `json:"version,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`
}

func (ComponentSnapshotContext) String

func (o ComponentSnapshotContext) String() string

type ComponentSnapshotContextRuntime

type ComponentSnapshotContextRuntime struct {
	// contains filtered or unexported fields
}

func (ComponentSnapshotContextRuntime) MarshalJSON

func (c ComponentSnapshotContextRuntime) MarshalJSON() ([]byte, error)

func (*ComponentSnapshotContextRuntime) UnmarshalJSON

func (c *ComponentSnapshotContextRuntime) UnmarshalJSON(b []byte) error

func (ComponentSnapshotContextRuntime) Value

type ComponentSnapshotItem

type ComponentSnapshotItem struct {

	// 组件ID。
	ComponentId *string `json:"component_id,omitempty"`

	// 快照索引。
	Index *int32 `json:"index,omitempty"`

	// 描述信息。
	Description *string `json:"description,omitempty"`

	Context *ComponentSnapshotContext `json:"context,omitempty"`

	// 创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`
}

func (ComponentSnapshotItem) String

func (o ComponentSnapshotItem) String() string

type ComponentSpec

type ComponentSpec struct {

	// 语言/运行时。
	Runtime *ComponentSpecRuntime `json:"runtime,omitempty"`

	// 环境ID。
	EnvId *string `json:"env_id,omitempty"`

	// 实例个数。
	Replica *int32 `json:"replica,omitempty"`

	Source *Source `json:"source,omitempty"`

	Build *Build `json:"build,omitempty"`

	ResourceLimit *ResourceLimit `json:"resource_limit,omitempty"`

	// 访问方式列表。
	AccessInfo *[]Access `json:"access_info,omitempty"`

	// 镜像地址。
	ImageUrl *string `json:"image_url,omitempty"`

	// 可用实例个数。
	AvailableReplica *int32 `json:"available_replica,omitempty"`

	// 任务ID。
	JobId *string `json:"job_id,omitempty"`

	// 构建任务ID。
	BuildId *string `json:"build_id,omitempty"`

	// 组件状态。
	Status *string `json:"status,omitempty"`

	// 构建日志ID。
	BuildLogId *string `json:"build_log_id,omitempty"`
}

ComponentSpec 组件规格。

func (ComponentSpec) String

func (o ComponentSpec) String() string

type ComponentSpecRuntime

type ComponentSpecRuntime struct {
	// contains filtered or unexported fields
}

func (ComponentSpecRuntime) MarshalJSON

func (c ComponentSpecRuntime) MarshalJSON() ([]byte, error)

func (*ComponentSpecRuntime) UnmarshalJSON

func (c *ComponentSpecRuntime) UnmarshalJSON(b []byte) error

func (ComponentSpecRuntime) Value

func (c ComponentSpecRuntime) Value() string

type Configuration

type Configuration struct {

	// 组件配置数据。
	Data *interface{} `json:"data,omitempty"`

	// 操作时间。
	OperatedAt *sdktime.SdkTime `json:"operated_at,omitempty"`

	// 操作ID。
	OperationId *string `json:"operation_id,omitempty"`

	// 组件配置类型,当前CAE支持组件配置如下8类。  - rds:云数据库RDS。  - cse:微服务引擎CSE。  - env:环境变量。  - access:访问方式。  - scaling:伸缩策略。  - volume:云存储配置。  - healthCheck:健康检查。  - lifecycle:生命周期管理。
	Type *ConfigurationType `json:"type,omitempty"`

	// 配置是否生效。
	IsActivated *bool `json:"is_activated,omitempty"`
}

func (Configuration) String

func (o Configuration) String() string

type ConfigurationItem

type ConfigurationItem struct {

	// 组件配置类型,当前CAE支持组件配置如下8类。  - rds:云数据库RDS。  - cse:微服务引擎CSE。  - env:环境变量。  - access:访问方式。  - scaling:伸缩策略。  - volume:云存储配置。  - healthCheck:健康检查。  - lifecycle:生命周期管理。
	Type ConfigurationItemType `json:"type"`

	// 组件配置数据,详细配置参照请求示例。
	Data *interface{} `json:"data"`
}

func (ConfigurationItem) String

func (o ConfigurationItem) String() string

type ConfigurationItemType

type ConfigurationItemType struct {
	// contains filtered or unexported fields
}

func (ConfigurationItemType) MarshalJSON

func (c ConfigurationItemType) MarshalJSON() ([]byte, error)

func (*ConfigurationItemType) UnmarshalJSON

func (c *ConfigurationItemType) UnmarshalJSON(b []byte) error

func (ConfigurationItemType) Value

func (c ConfigurationItemType) Value() string

type ConfigurationType

type ConfigurationType struct {
	// contains filtered or unexported fields
}

func (ConfigurationType) MarshalJSON

func (c ConfigurationType) MarshalJSON() ([]byte, error)

func (*ConfigurationType) UnmarshalJSON

func (c *ConfigurationType) UnmarshalJSON(b []byte) error

func (ConfigurationType) Value

func (c ConfigurationType) Value() string

type ConfigurationTypeEnum

type ConfigurationTypeEnum struct {
	RDS          ConfigurationType
	CSE          ConfigurationType
	ENV          ConfigurationType
	ACCESS       ConfigurationType
	SCALING      ConfigurationType
	VOLUME       ConfigurationType
	HEALTH_CHECK ConfigurationType
	LIFECYCLE    ConfigurationType
}

func GetConfigurationTypeEnum

func GetConfigurationTypeEnum() ConfigurationTypeEnum

type CreateAgencyRequest

type CreateAgencyRequest struct {
	Body *Agency `json:"body,omitempty"`
}

CreateAgencyRequest Request Object

func (CreateAgencyRequest) String

func (o CreateAgencyRequest) String() string

type CreateAgencyResponse

type CreateAgencyResponse struct {
	HttpStatusCode int `json:"-"`
}

CreateAgencyResponse Response Object

func (CreateAgencyResponse) String

func (o CreateAgencyResponse) String() string

type CreateApplicationRequest

type CreateApplicationRequest struct {

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`

	Body *CreateApplicationRequestBody `json:"body,omitempty"`
}

CreateApplicationRequest Request Object

func (CreateApplicationRequest) String

func (o CreateApplicationRequest) String() string

type CreateApplicationRequestBody

type CreateApplicationRequestBody struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion string `json:"api_version"`

	// API类型,固定值“Application”,该值不可修改。
	Kind string `json:"kind"`

	Metadata *CreateApplicationRequestBodyMetadata `json:"metadata"`
}

func (CreateApplicationRequestBody) String

type CreateApplicationRequestBodyMetadata

type CreateApplicationRequestBodyMetadata struct {

	// 应用名称。
	Name string `json:"name"`

	// 创建应用附加参数,当前只支持description参数。
	Annotations map[string]string `json:"annotations,omitempty"`
}

CreateApplicationRequestBodyMetadata 请求数据。

func (CreateApplicationRequestBodyMetadata) String

type CreateApplicationResponse

type CreateApplicationResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“Application”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	Metadata       *ApplicationMetadata `json:"metadata,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

CreateApplicationResponse Response Object

func (CreateApplicationResponse) String

func (o CreateApplicationResponse) String() string

type CreateCertificateRequest

type CreateCertificateRequest struct {

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`

	Body *CertReq `json:"body,omitempty"`
}

CreateCertificateRequest Request Object

func (CreateCertificateRequest) String

func (o CreateCertificateRequest) String() string

type CreateCertificateResponse

type CreateCertificateResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“Certificate”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	// 证书列表。
	Items          *[]CertItem `json:"items,omitempty"`
	HttpStatusCode int         `json:"-"`
}

CreateCertificateResponse Response Object

func (CreateCertificateResponse) String

func (o CreateCertificateResponse) String() string

type CreateComponentConfigurationRequest

type CreateComponentConfigurationRequest struct {

	// 应用ID。
	ApplicationId string `json:"application_id"`

	// 组件ID。
	ComponentId string `json:"component_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`

	Body *CreateComponentConfigurationRequestBody `json:"body,omitempty"`
}

CreateComponentConfigurationRequest Request Object

func (CreateComponentConfigurationRequest) String

type CreateComponentConfigurationRequestBody

type CreateComponentConfigurationRequestBody struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion string `json:"api_version"`

	// API类型,固定值“ComponentConfiguration”,该值不可修改。
	Kind string `json:"kind"`

	// 配置项列表。
	Items []ConfigurationItem `json:"items"`
}

func (CreateComponentConfigurationRequestBody) String

type CreateComponentConfigurationResponse

type CreateComponentConfigurationResponse struct {
	HttpStatusCode int `json:"-"`
}

CreateComponentConfigurationResponse Response Object

func (CreateComponentConfigurationResponse) String

type CreateComponentRequest

type CreateComponentRequest struct {

	// 应用ID。
	ApplicationId string `json:"application_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`

	Body *CreateComponentRequestBody `json:"body,omitempty"`
}

CreateComponentRequest Request Object

func (CreateComponentRequest) String

func (o CreateComponentRequest) String() string

type CreateComponentRequestBody

type CreateComponentRequestBody struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion string `json:"api_version"`

	// API类型,固定值“Component”,该值不可修改。
	Kind string `json:"kind"`

	Metadata *CreateComponentRequestBodyMetadata `json:"metadata,omitempty"`

	Spec *CreateComponentRequestBodySpec `json:"spec,omitempty"`
}

func (CreateComponentRequestBody) String

type CreateComponentRequestBodyMetadata

type CreateComponentRequestBodyMetadata struct {

	// 组件名称。
	Name string `json:"name"`

	// 创建组件请求体附加参数,当前只支持version参数,此参数必填。
	Annotations map[string]string `json:"annotations"`
}

CreateComponentRequestBodyMetadata 请求数据。

func (CreateComponentRequestBodyMetadata) String

type CreateComponentRequestBodySpec

type CreateComponentRequestBodySpec struct {

	// 语言/运行时。
	Runtime CreateComponentRequestBodySpecRuntime `json:"runtime"`

	// 实例个数。
	Replica int32 `json:"replica"`

	Build *Build `json:"build,omitempty"`

	Source *Source `json:"source"`

	ResourceLimit *ResourceLimit `json:"resource_limit"`

	// 镜像地址。
	ImageUrl *string `json:"image_url,omitempty"`
}

CreateComponentRequestBodySpec 组件规格信息。

func (CreateComponentRequestBodySpec) String

type CreateComponentRequestBodySpecRuntime

type CreateComponentRequestBodySpecRuntime struct {
	// contains filtered or unexported fields
}

func (CreateComponentRequestBodySpecRuntime) MarshalJSON

func (c CreateComponentRequestBodySpecRuntime) MarshalJSON() ([]byte, error)

func (*CreateComponentRequestBodySpecRuntime) UnmarshalJSON

func (c *CreateComponentRequestBodySpecRuntime) UnmarshalJSON(b []byte) error

func (CreateComponentRequestBodySpecRuntime) Value

type CreateComponentResponse

type CreateComponentResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“Component”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	Metadata *MetadataResponse `json:"metadata,omitempty"`

	Spec           *CreateComponentSpec `json:"spec,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

CreateComponentResponse Response Object

func (CreateComponentResponse) String

func (o CreateComponentResponse) String() string

type CreateComponentSpec

type CreateComponentSpec struct {

	// 语言/运行时。
	Runtime *CreateComponentSpecRuntime `json:"runtime,omitempty"`

	// 环境ID。
	EnvId *string `json:"env_id,omitempty"`

	// 实例个数。
	Replica *int32 `json:"replica,omitempty"`

	Source *Source `json:"source,omitempty"`

	Build *Build `json:"build,omitempty"`

	ResourceLimit *ResourceLimit `json:"resource_limit,omitempty"`

	// 可用实例个数。
	AvailableReplica *int32 `json:"available_replica,omitempty"`

	// 组件状态。
	Status *string `json:"status,omitempty"`
}

CreateComponentSpec 组件规格。

func (CreateComponentSpec) String

func (o CreateComponentSpec) String() string

type CreateComponentSpecRuntime

type CreateComponentSpecRuntime struct {
	// contains filtered or unexported fields
}

func (CreateComponentSpecRuntime) MarshalJSON

func (c CreateComponentSpecRuntime) MarshalJSON() ([]byte, error)

func (*CreateComponentSpecRuntime) UnmarshalJSON

func (c *CreateComponentSpecRuntime) UnmarshalJSON(b []byte) error

func (CreateComponentSpecRuntime) Value

type CreateDomainReq

type CreateDomainReq struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion string `json:"api_version"`

	// API类型,固定值“Domain”,该值不可修改。
	Kind string `json:"kind"`

	Metadata *CreateMetaDomain `json:"metadata"`
}

func (CreateDomainReq) String

func (o CreateDomainReq) String() string

type CreateDomainRequest

type CreateDomainRequest struct {

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`

	Body *CreateDomainReq `json:"body,omitempty"`
}

CreateDomainRequest Request Object

func (CreateDomainRequest) String

func (o CreateDomainRequest) String() string

type CreateDomainResponse

type CreateDomainResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// 域名列表。
	Items *[]DomainItem `json:"items,omitempty"`

	// API类型,固定值“Domain”,该值不可修改。
	Kind           *string `json:"kind,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateDomainResponse Response Object

func (CreateDomainResponse) String

func (o CreateDomainResponse) String() string

type CreateEnvironmentRequest

type CreateEnvironmentRequest struct {

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	Body *CreateEnvironmentRequestBody `json:"body,omitempty"`
}

CreateEnvironmentRequest Request Object

func (CreateEnvironmentRequest) String

func (o CreateEnvironmentRequest) String() string

type CreateEnvironmentRequestBody

type CreateEnvironmentRequestBody struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion string `json:"api_version"`

	// API类型,固定值“Environment”,该值不可修改。
	Kind string `json:"kind"`

	Metadata *CreateEnvironmentRequestBodyMetadata `json:"metadata"`
}

func (CreateEnvironmentRequestBody) String

type CreateEnvironmentRequestBodyMetadata

type CreateEnvironmentRequestBodyMetadata struct {

	// 创建环境请求体附加参数。 - vpc_id:创建环境绑定的VPC的ID。 - group_name:创建环境绑定的SWR组织的组织名称。 - type:环境类型,当前仅支持exclusive类型。
	Annotations map[string]string `json:"annotations,omitempty"`

	// 环境名称。
	Name string `json:"name"`
}

CreateEnvironmentRequestBodyMetadata 请求数据。

func (CreateEnvironmentRequestBodyMetadata) String

type CreateEnvironmentResponse

type CreateEnvironmentResponse struct {

	// 任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateEnvironmentResponse Response Object

func (CreateEnvironmentResponse) String

func (o CreateEnvironmentResponse) String() string

type CreateMetaCert

type CreateMetaCert struct {

	// 证书名称。
	Name string `json:"name"`
}

func (CreateMetaCert) String

func (o CreateMetaCert) String() string

type CreateMetaDomain

type CreateMetaDomain struct {

	// 域名名称。
	Name string `json:"name"`
}

func (CreateMetaDomain) String

func (o CreateMetaDomain) String() string

type CreateSpecCert

type CreateSpecCert struct {

	// 证书内容。
	Crt string `json:"crt"`

	// 私钥内容。
	Key string `json:"key"`

	// 安全策略。 - tls-1-2-strict - tls-1-2 - tls-1-1 - tls-1-0
	Policy CreateSpecCertPolicy `json:"policy"`
}

func (CreateSpecCert) String

func (o CreateSpecCert) String() string

type CreateSpecCertPolicy

type CreateSpecCertPolicy struct {
	// contains filtered or unexported fields
}

func (CreateSpecCertPolicy) MarshalJSON

func (c CreateSpecCertPolicy) MarshalJSON() ([]byte, error)

func (*CreateSpecCertPolicy) UnmarshalJSON

func (c *CreateSpecCertPolicy) UnmarshalJSON(b []byte) error

func (CreateSpecCertPolicy) Value

func (c CreateSpecCertPolicy) Value() string

type CreateSpecCertPolicyEnum

type CreateSpecCertPolicyEnum struct {
	TLS_1_2_STRICT CreateSpecCertPolicy
	TLS_1_2        CreateSpecCertPolicy
	TLS_1_1        CreateSpecCertPolicy
	TLS_1_0        CreateSpecCertPolicy
}

func GetCreateSpecCertPolicyEnum

func GetCreateSpecCertPolicyEnum() CreateSpecCertPolicyEnum

type CreateTimerRuleReq

type CreateTimerRuleReq struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“TimerRule”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	Spec *UpdateTimerRuleDetails `json:"spec,omitempty"`
}

func (CreateTimerRuleReq) String

func (o CreateTimerRuleReq) String() string

type CreateTimerRuleRequest

type CreateTimerRuleRequest struct {

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`

	Body *CreateTimerRuleReq `json:"body,omitempty"`
}

CreateTimerRuleRequest Request Object

func (CreateTimerRuleRequest) String

func (o CreateTimerRuleRequest) String() string

type CreateTimerRuleResponse

type CreateTimerRuleResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“TimerRule”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	Items          *[]TimerRuleDetails `json:"items,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

CreateTimerRuleResponse Response Object

func (CreateTimerRuleResponse) String

func (o CreateTimerRuleResponse) String() string

type CreateVolumeReq

type CreateVolumeReq struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion string `json:"api_version"`

	// API类型,固定值“Volume”,该值不可修改。
	Kind string `json:"kind"`

	Spec *VolumeSpec `json:"spec"`
}

func (CreateVolumeReq) String

func (o CreateVolumeReq) String() string

type CreateVolumeRequest

type CreateVolumeRequest struct {

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`

	Body *CreateVolumeReq `json:"body,omitempty"`
}

CreateVolumeRequest Request Object

func (CreateVolumeRequest) String

func (o CreateVolumeRequest) String() string

type CreateVolumeResponse

type CreateVolumeResponse struct {
	HttpStatusCode int `json:"-"`
}

CreateVolumeResponse Response Object

func (CreateVolumeResponse) String

func (o CreateVolumeResponse) String() string

type DeleteApplicationRequest

type DeleteApplicationRequest struct {

	// 应用ID。
	ApplicationId string `json:"application_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

DeleteApplicationRequest Request Object

func (DeleteApplicationRequest) String

func (o DeleteApplicationRequest) String() string

type DeleteApplicationResponse

type DeleteApplicationResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteApplicationResponse Response Object

func (DeleteApplicationResponse) String

func (o DeleteApplicationResponse) String() string

type DeleteCertificateRequest

type DeleteCertificateRequest struct {

	// 证书ID。
	CertificateId string `json:"certificate_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

DeleteCertificateRequest Request Object

func (DeleteCertificateRequest) String

func (o DeleteCertificateRequest) String() string

type DeleteCertificateResponse

type DeleteCertificateResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteCertificateResponse Response Object

func (DeleteCertificateResponse) String

func (o DeleteCertificateResponse) String() string

type DeleteComponentConfigurationRequest

type DeleteComponentConfigurationRequest struct {

	// 应用ID。
	ApplicationId string `json:"application_id"`

	// 组件ID。
	ComponentId string `json:"component_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

DeleteComponentConfigurationRequest Request Object

func (DeleteComponentConfigurationRequest) String

type DeleteComponentConfigurationResponse

type DeleteComponentConfigurationResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteComponentConfigurationResponse Response Object

func (DeleteComponentConfigurationResponse) String

type DeleteComponentRequest

type DeleteComponentRequest struct {

	// 应用ID。
	ApplicationId string `json:"application_id"`

	// 组件ID。
	ComponentId string `json:"component_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

DeleteComponentRequest Request Object

func (DeleteComponentRequest) String

func (o DeleteComponentRequest) String() string

type DeleteComponentResponse

type DeleteComponentResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteComponentResponse Response Object

func (DeleteComponentResponse) String

func (o DeleteComponentResponse) String() string

type DeleteDomainRequest

type DeleteDomainRequest struct {

	// 域名ID。
	DomainId string `json:"domain_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

DeleteDomainRequest Request Object

func (DeleteDomainRequest) String

func (o DeleteDomainRequest) String() string

type DeleteDomainResponse

type DeleteDomainResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteDomainResponse Response Object

func (DeleteDomainResponse) String

func (o DeleteDomainResponse) String() string

type DeleteEnvironmentRequest

type DeleteEnvironmentRequest struct {

	// 环境ID。
	EnvironmentId string `json:"environment_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`
}

DeleteEnvironmentRequest Request Object

func (DeleteEnvironmentRequest) String

func (o DeleteEnvironmentRequest) String() string

type DeleteEnvironmentResponse

type DeleteEnvironmentResponse struct {

	// 任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteEnvironmentResponse Response Object

func (DeleteEnvironmentResponse) String

func (o DeleteEnvironmentResponse) String() string

type DeleteTimerRuleRequest

type DeleteTimerRuleRequest struct {

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`

	// 定时启停规则ID。
	TimerRuleId string `json:"timer_rule_id"`
}

DeleteTimerRuleRequest Request Object

func (DeleteTimerRuleRequest) String

func (o DeleteTimerRuleRequest) String() string

type DeleteTimerRuleResponse

type DeleteTimerRuleResponse struct {
	HttpStatusCode int `json:"-"`
}

DeleteTimerRuleResponse Response Object

func (DeleteTimerRuleResponse) String

func (o DeleteTimerRuleResponse) String() string

type DeleteVolumeRequest

type DeleteVolumeRequest struct {

	// 云存储ID。
	Id string `json:"id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

DeleteVolumeRequest Request Object

func (DeleteVolumeRequest) String

func (o DeleteVolumeRequest) String() string

type DeleteVolumeResponse

type DeleteVolumeResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“Component”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	// 挂载组件列表。
	Items          *[]MountComponent `json:"items,omitempty"`
	HttpStatusCode int               `json:"-"`
}

DeleteVolumeResponse Response Object

func (DeleteVolumeResponse) String

func (o DeleteVolumeResponse) String() string

type DomainItem

type DomainItem struct {
	Metadata *MetaDomain `json:"metadata,omitempty"`
}

func (DomainItem) String

func (o DomainItem) String() string

type EnvironmentItem

type EnvironmentItem struct {

	// 环境ID。
	Id *string `json:"id,omitempty"`

	// 环境名称。
	Name *string `json:"name,omitempty"`

	// 任务ID。
	JobId *string `json:"job_id,omitempty"`

	// 环境状态。
	Status *EnvironmentItemStatus `json:"status,omitempty"`

	// 环境附加属性。 - cluster_id:CCE集群ID。 - description: 环境描述信息。 - enterprise_project_id:企业项目ID。 - group_name:主环境绑定的SWR组织名称。 - inbound_eip_addr:负载均衡绑定EIP地址。 - namespace:CCE集群命名空间。 - public_elb_id:ELB ID,主环境绑定的负载均衡ID。 - type:环境类型,当前仅支持exclusive类型。 - vpc_id:主环境绑定的VPC ID。
	Annotations map[string]string `json:"annotations,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`
}

func (EnvironmentItem) String

func (o EnvironmentItem) String() string

type EnvironmentItemStatus

type EnvironmentItemStatus struct {
	// contains filtered or unexported fields
}

func (EnvironmentItemStatus) MarshalJSON

func (c EnvironmentItemStatus) MarshalJSON() ([]byte, error)

func (*EnvironmentItemStatus) UnmarshalJSON

func (c *EnvironmentItemStatus) UnmarshalJSON(b []byte) error

func (EnvironmentItemStatus) Value

func (c EnvironmentItemStatus) Value() string

type EnvironmentItemStatusEnum

type EnvironmentItemStatusEnum struct {
	CREATING      EnvironmentItemStatus
	FINISH        EnvironmentItemStatus
	DELETING      EnvironmentItemStatus
	FREEZE        EnvironmentItemStatus
	POLICE_FREEZE EnvironmentItemStatus
	DELETE_FAILED EnvironmentItemStatus
}

func GetEnvironmentItemStatusEnum

func GetEnvironmentItemStatusEnum() EnvironmentItemStatusEnum

type EventItem

type EventItem struct {

	// 事件名称。
	Name *string `json:"name,omitempty"`

	// 涉及对象类型。
	InvolvedObjectKind *EventItemInvolvedObjectKind `json:"involved_object_kind,omitempty"`

	// 涉及对象。
	InvolvedObject *string `json:"involved_object,omitempty"`

	// 组件事件信息。
	Message *string `json:"message,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 组件事件状态。
	Status *EventItemStatus `json:"status,omitempty"`

	// 事件发生次数。
	Count *int32 `json:"count,omitempty"`
}

func (EventItem) String

func (o EventItem) String() string

type EventItemInvolvedObjectKind

type EventItemInvolvedObjectKind struct {
	// contains filtered or unexported fields
}

func (EventItemInvolvedObjectKind) MarshalJSON

func (c EventItemInvolvedObjectKind) MarshalJSON() ([]byte, error)

func (*EventItemInvolvedObjectKind) UnmarshalJSON

func (c *EventItemInvolvedObjectKind) UnmarshalJSON(b []byte) error

func (EventItemInvolvedObjectKind) Value

type EventItemInvolvedObjectKindEnum

type EventItemInvolvedObjectKindEnum struct {
	COMPONENT          EventItemInvolvedObjectKind
	COMPONENT_INSTANCE EventItemInvolvedObjectKind
	COMPONENT_SCALING  EventItemInvolvedObjectKind
}

func GetEventItemInvolvedObjectKindEnum

func GetEventItemInvolvedObjectKindEnum() EventItemInvolvedObjectKindEnum

type EventItemStatus

type EventItemStatus struct {
	// contains filtered or unexported fields
}

func (EventItemStatus) MarshalJSON

func (c EventItemStatus) MarshalJSON() ([]byte, error)

func (*EventItemStatus) UnmarshalJSON

func (c *EventItemStatus) UnmarshalJSON(b []byte) error

func (EventItemStatus) Value

func (c EventItemStatus) Value() string

type EventItemStatusEnum

type EventItemStatusEnum struct {
	WARNING EventItemStatus
	NORMAL  EventItemStatus
}

func GetEventItemStatusEnum

func GetEventItemStatusEnum() EventItemStatusEnum

type ExecuteActionRequest

type ExecuteActionRequest struct {

	// 应用ID。
	ApplicationId string `json:"application_id"`

	// 组件ID。
	ComponentId string `json:"component_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`

	Body *ExecuteActionRequestBody `json:"body,omitempty"`
}

ExecuteActionRequest Request Object

func (ExecuteActionRequest) String

func (o ExecuteActionRequest) String() string

type ExecuteActionRequestBody

type ExecuteActionRequestBody struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion string `json:"api_version"`

	// API类型,固定值“Action”,该值不可修改。
	Kind string `json:"kind"`

	Metadata *ExecuteActionRequestBodyMetadata `json:"metadata,omitempty"`

	Spec *ActionOnComponentSpec `json:"spec,omitempty"`
}

func (ExecuteActionRequestBody) String

func (o ExecuteActionRequestBody) String() string

type ExecuteActionRequestBodyMetadata

type ExecuteActionRequestBodyMetadata struct {

	// 资源信息。
	Annotations map[string]string `json:"annotations,omitempty"`

	// action名称,具体action如下。 - deploy:部署。 - upgrade:升级。 - configure:生效配置。 - scale:伸缩。 - restart:重启。 - start:启动。 - stop:停止。 - rollback:回滚。
	Name ExecuteActionRequestBodyMetadataName `json:"name"`
}

ExecuteActionRequestBodyMetadata 请求数据。

func (ExecuteActionRequestBodyMetadata) String

type ExecuteActionRequestBodyMetadataName

type ExecuteActionRequestBodyMetadataName struct {
	// contains filtered or unexported fields
}

func (ExecuteActionRequestBodyMetadataName) MarshalJSON

func (c ExecuteActionRequestBodyMetadataName) MarshalJSON() ([]byte, error)

func (*ExecuteActionRequestBodyMetadataName) UnmarshalJSON

func (c *ExecuteActionRequestBodyMetadataName) UnmarshalJSON(b []byte) error

func (ExecuteActionRequestBodyMetadataName) Value

type ExecuteActionResponse

type ExecuteActionResponse struct {

	// 任务ID。
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ExecuteActionResponse Response Object

func (ExecuteActionResponse) String

func (o ExecuteActionResponse) String() string

type ExecutionDetails

type ExecutionDetails struct {

	// 启停策略执行时间。
	LastExecutionTime *string `json:"last_execution_time,omitempty"`

	// 组件启停规则执行结果列表。
	Items *[]ComponentExecutionResult `json:"items,omitempty"`
}

func (ExecutionDetails) String

func (o ExecutionDetails) String() string

type Instance

type Instance struct {

	// 实例ID。
	Id *string `json:"id,omitempty"`

	// 实例名称。
	Name *string `json:"name,omitempty"`

	// 实例状态。
	Status *InstanceStatus `json:"status,omitempty"`
}

func (Instance) String

func (o Instance) String() string

type InstanceStatus

type InstanceStatus struct {
	// contains filtered or unexported fields
}

func (InstanceStatus) MarshalJSON

func (c InstanceStatus) MarshalJSON() ([]byte, error)

func (*InstanceStatus) UnmarshalJSON

func (c *InstanceStatus) UnmarshalJSON(b []byte) error

func (InstanceStatus) Value

func (c InstanceStatus) Value() string

type InstanceStatusEnum

type InstanceStatusEnum struct {
	CREATING    InstanceStatus
	RUNNING     InstanceStatus
	ABNORMAL    InstanceStatus
	FAILED      InstanceStatus
	TERMINATING InstanceStatus
}

func GetInstanceStatusEnum

func GetInstanceStatusEnum() InstanceStatusEnum

type JobSpec

type JobSpec struct {

	// 任务进度。
	Progress float32 `json:"progress,omitempty"`

	// 任务状态。
	Status *string `json:"status,omitempty"`

	// 子任务。
	Tasks *[]Task `json:"tasks,omitempty"`
}

func (JobSpec) String

func (o JobSpec) String() string

type ListAgenciesRequest

type ListAgenciesRequest struct {
}

ListAgenciesRequest Request Object

func (ListAgenciesRequest) String

func (o ListAgenciesRequest) String() string

type ListAgenciesResponse

type ListAgenciesResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“Agency”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	// 委托列表。
	Agencies       *[]AgencyItem `json:"agencies,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListAgenciesResponse Response Object

func (ListAgenciesResponse) String

func (o ListAgenciesResponse) String() string

type ListApplicationsRequest

type ListApplicationsRequest struct {

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

ListApplicationsRequest Request Object

func (ListApplicationsRequest) String

func (o ListApplicationsRequest) String() string

type ListApplicationsResponse

type ListApplicationsResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“Application”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	// 应用列表。
	Items          *[]ApplicationItem `json:"items,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListApplicationsResponse Response Object

func (ListApplicationsResponse) String

func (o ListApplicationsResponse) String() string

type ListCertificatesRequest

type ListCertificatesRequest struct {

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

ListCertificatesRequest Request Object

func (ListCertificatesRequest) String

func (o ListCertificatesRequest) String() string

type ListCertificatesResponse

type ListCertificatesResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“Certificate”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	// 证书列表。
	Items          *[]CertItem `json:"items,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListCertificatesResponse Response Object

func (ListCertificatesResponse) String

func (o ListCertificatesResponse) String() string

type ListComponentConfigurationsRequest

type ListComponentConfigurationsRequest struct {

	// 应用ID。
	ApplicationId string `json:"application_id"`

	// 组件ID。
	ComponentId string `json:"component_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

ListComponentConfigurationsRequest Request Object

func (ListComponentConfigurationsRequest) String

type ListComponentConfigurationsResponse

type ListComponentConfigurationsResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“ComponentConfiguration”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	// 组件配置列表。
	Items          *[]Configuration `json:"items,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListComponentConfigurationsResponse Response Object

func (ListComponentConfigurationsResponse) String

type ListComponentEventsRequest

type ListComponentEventsRequest struct {

	// 应用ID。
	ApplicationId string `json:"application_id"`

	// 组件ID。
	ComponentId string `json:"component_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

ListComponentEventsRequest Request Object

func (ListComponentEventsRequest) String

type ListComponentEventsResponse

type ListComponentEventsResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“ComponentEvent”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	// 事件项。
	Items          *[]EventItem `json:"items,omitempty"`
	HttpStatusCode int          `json:"-"`
}

ListComponentEventsResponse Response Object

func (ListComponentEventsResponse) String

type ListComponentInstancesRequest

type ListComponentInstancesRequest struct {

	// 应用ID。
	ApplicationId string `json:"application_id"`

	// 组件ID。
	ComponentId string `json:"component_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

ListComponentInstancesRequest Request Object

func (ListComponentInstancesRequest) String

type ListComponentInstancesResponse

type ListComponentInstancesResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“ComponentInstance”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	// 组件实例列表。
	Items          *[]Instance `json:"items,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListComponentInstancesResponse Response Object

func (ListComponentInstancesResponse) String

type ListComponentSnapshotsRequest

type ListComponentSnapshotsRequest struct {

	// 应用ID。
	ApplicationId string `json:"application_id"`

	// 组件ID。
	ComponentId string `json:"component_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

ListComponentSnapshotsRequest Request Object

func (ListComponentSnapshotsRequest) String

type ListComponentSnapshotsResponse

type ListComponentSnapshotsResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“ComponentSnapshot”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	// 快照列表。
	Items          *[]ComponentSnapshotItem `json:"items,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

ListComponentSnapshotsResponse Response Object

func (ListComponentSnapshotsResponse) String

type ListComponentsRequest

type ListComponentsRequest struct {

	// 应用ID。
	ApplicationId string `json:"application_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`

	// 限制本次返回结果的条数。
	Limit *string `json:"limit,omitempty"`

	// 分页偏移位,查询起始位置。
	Offset *string `json:"offset,omitempty"`
}

ListComponentsRequest Request Object

func (ListComponentsRequest) String

func (o ListComponentsRequest) String() string

type ListComponentsResponse

type ListComponentsResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“Component”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	// 组件列表。
	Items *[]ComponentItem `json:"items,omitempty"`

	// 分页总数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListComponentsResponse Response Object

func (ListComponentsResponse) String

func (o ListComponentsResponse) String() string

type ListDomainsRequest

type ListDomainsRequest struct {

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

ListDomainsRequest Request Object

func (ListDomainsRequest) String

func (o ListDomainsRequest) String() string

type ListDomainsResponse

type ListDomainsResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// 域名列表。
	Items *[]DomainItem `json:"items,omitempty"`

	// API类型,固定值“Domain”,该值不可修改。
	Kind           *string `json:"kind,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListDomainsResponse Response Object

func (ListDomainsResponse) String

func (o ListDomainsResponse) String() string

type ListEnvironmentsRequest

type ListEnvironmentsRequest struct {

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`
}

ListEnvironmentsRequest Request Object

func (ListEnvironmentsRequest) String

func (o ListEnvironmentsRequest) String() string

type ListEnvironmentsResponse

type ListEnvironmentsResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“Environment”,该值不可修改。
	Kind *string `json:"Kind,omitempty"`

	// 环境列表。
	Items          *[]EnvironmentItem `json:"items,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListEnvironmentsResponse Response Object

func (ListEnvironmentsResponse) String

func (o ListEnvironmentsResponse) String() string

type ListTimerRulesRequest

type ListTimerRulesRequest struct {

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

ListTimerRulesRequest Request Object

func (ListTimerRulesRequest) String

func (o ListTimerRulesRequest) String() string

type ListTimerRulesResponse

type ListTimerRulesResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“TimerRule”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	Items          *[]TimerRuleDetails `json:"items,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

ListTimerRulesResponse Response Object

func (ListTimerRulesResponse) String

func (o ListTimerRulesResponse) String() string

type ListVolumesRequest

type ListVolumesRequest struct {

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`

	// 资源类型,当前只支持“obs”。
	ResourceType string `json:"resource_type"`
}

ListVolumesRequest Request Object

func (ListVolumesRequest) String

func (o ListVolumesRequest) String() string

type ListVolumesResponse

type ListVolumesResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“Volume”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	// 云存储列表。
	Items          *[]Volume `json:"items,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListVolumesResponse Response Object

func (ListVolumesResponse) String

func (o ListVolumesResponse) String() string

type MetaCert

type MetaCert struct {

	// 证书ID。
	Id *string `json:"id,omitempty"`

	// 证书名称。
	Name *string `json:"name,omitempty"`
}

func (MetaCert) String

func (o MetaCert) String() string

type MetaDomain

type MetaDomain struct {

	// 域名ID。
	Id *string `json:"id,omitempty"`

	// 域名名称。
	Name *string `json:"name,omitempty"`

	// 区域ID。
	ZoneId *string `json:"zone_id,omitempty"`

	// 域名类型,默认是公网域名public
	ZoneType *MetaDomainZoneType `json:"zone_type,omitempty"`

	// 创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`
}

func (MetaDomain) String

func (o MetaDomain) String() string

type MetaDomainZoneType

type MetaDomainZoneType struct {
	// contains filtered or unexported fields
}

func (MetaDomainZoneType) MarshalJSON

func (c MetaDomainZoneType) MarshalJSON() ([]byte, error)

func (*MetaDomainZoneType) UnmarshalJSON

func (c *MetaDomainZoneType) UnmarshalJSON(b []byte) error

func (MetaDomainZoneType) Value

func (c MetaDomainZoneType) Value() string

type MetaDomainZoneTypeEnum

type MetaDomainZoneTypeEnum struct {
	PRIVATE MetaDomainZoneType
	PUBLIC  MetaDomainZoneType
}

func GetMetaDomainZoneTypeEnum

func GetMetaDomainZoneTypeEnum() MetaDomainZoneTypeEnum

type MetadataResponse

type MetadataResponse struct {

	// 组件ID。
	Id *string `json:"id,omitempty"`

	// 组件名称。
	Name *string `json:"name,omitempty"`

	// 组件附加属性。 - log_group_id:LTS日志组的ID。 - log_stream_id:LTS日志流的ID。 - version:组件版本。
	Annotations map[string]string `json:"annotations,omitempty"`

	// 创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`
}

MetadataResponse 响应数据。

func (MetadataResponse) String

func (o MetadataResponse) String() string

type MountComponent

type MountComponent struct {

	// 环境ID。
	EnvId *string `json:"env_id,omitempty"`

	// 环境名称。
	EnvName *string `json:"env_name,omitempty"`

	// 应用ID。
	AppId *string `json:"app_id,omitempty"`

	// 应用名称。
	AppName *string `json:"app_name,omitempty"`

	// 组件ID。
	ComponentId *string `json:"component_id,omitempty"`

	// 组件名称。
	ComponentName *string `json:"component_name,omitempty"`
}

func (MountComponent) String

func (o MountComponent) String() string

type Repo

type Repo struct {

	// 授权名称。
	AuthName *string `json:"auth_name,omitempty"`

	// 分支。
	Branch *string `json:"branch,omitempty"`

	// 命名空间,需填写命名空间的Base64编码。
	Namespace *string `json:"namespace,omitempty"`
}

Repo 源码仓库信息。

func (Repo) String

func (o Repo) String() string

type ResourceLimit

type ResourceLimit struct {

	// cpu限额。
	CpuLimit ResourceLimitCpuLimit `json:"cpu_limit"`

	// 内存限额。
	MemoryLimit ResourceLimitMemoryLimit `json:"memory_limit"`
}

ResourceLimit 实例规格。

func (ResourceLimit) String

func (o ResourceLimit) String() string

type ResourceLimitCpuLimit

type ResourceLimitCpuLimit struct {
	// contains filtered or unexported fields
}

func (ResourceLimitCpuLimit) MarshalJSON

func (c ResourceLimitCpuLimit) MarshalJSON() ([]byte, error)

func (*ResourceLimitCpuLimit) UnmarshalJSON

func (c *ResourceLimitCpuLimit) UnmarshalJSON(b []byte) error

func (ResourceLimitCpuLimit) Value

func (c ResourceLimitCpuLimit) Value() string

type ResourceLimitCpuLimitEnum

type ResourceLimitCpuLimitEnum struct {
	E_500M  ResourceLimitCpuLimit
	E_1000M ResourceLimitCpuLimit
	E_2000M ResourceLimitCpuLimit
}

func GetResourceLimitCpuLimitEnum

func GetResourceLimitCpuLimitEnum() ResourceLimitCpuLimitEnum

type ResourceLimitForUpgrade

type ResourceLimitForUpgrade struct {

	// cpu限额。
	CpuLimit *ResourceLimitForUpgradeCpuLimit `json:"cpu_limit,omitempty"`

	// 内存限额。
	MemoryLimit *ResourceLimitForUpgradeMemoryLimit `json:"memory_limit,omitempty"`
}

func (ResourceLimitForUpgrade) String

func (o ResourceLimitForUpgrade) String() string

type ResourceLimitForUpgradeCpuLimit

type ResourceLimitForUpgradeCpuLimit struct {
	// contains filtered or unexported fields
}

func (ResourceLimitForUpgradeCpuLimit) MarshalJSON

func (c ResourceLimitForUpgradeCpuLimit) MarshalJSON() ([]byte, error)

func (*ResourceLimitForUpgradeCpuLimit) UnmarshalJSON

func (c *ResourceLimitForUpgradeCpuLimit) UnmarshalJSON(b []byte) error

func (ResourceLimitForUpgradeCpuLimit) Value

type ResourceLimitForUpgradeCpuLimitEnum

type ResourceLimitForUpgradeCpuLimitEnum struct {
	E_500M  ResourceLimitForUpgradeCpuLimit
	E_1000M ResourceLimitForUpgradeCpuLimit
	E_2000M ResourceLimitForUpgradeCpuLimit
}

func GetResourceLimitForUpgradeCpuLimitEnum

func GetResourceLimitForUpgradeCpuLimitEnum() ResourceLimitForUpgradeCpuLimitEnum

type ResourceLimitForUpgradeMemoryLimit

type ResourceLimitForUpgradeMemoryLimit struct {
	// contains filtered or unexported fields
}

func (ResourceLimitForUpgradeMemoryLimit) MarshalJSON

func (c ResourceLimitForUpgradeMemoryLimit) MarshalJSON() ([]byte, error)

func (*ResourceLimitForUpgradeMemoryLimit) UnmarshalJSON

func (c *ResourceLimitForUpgradeMemoryLimit) UnmarshalJSON(b []byte) error

func (ResourceLimitForUpgradeMemoryLimit) Value

type ResourceLimitMemoryLimit

type ResourceLimitMemoryLimit struct {
	// contains filtered or unexported fields
}

func (ResourceLimitMemoryLimit) MarshalJSON

func (c ResourceLimitMemoryLimit) MarshalJSON() ([]byte, error)

func (*ResourceLimitMemoryLimit) UnmarshalJSON

func (c *ResourceLimitMemoryLimit) UnmarshalJSON(b []byte) error

func (ResourceLimitMemoryLimit) Value

func (c ResourceLimitMemoryLimit) Value() string

type ResourceLimitMemoryLimitEnum

type ResourceLimitMemoryLimitEnum struct {
	E_1_GI ResourceLimitMemoryLimit
	E_2_GI ResourceLimitMemoryLimit
	E_4_GI ResourceLimitMemoryLimit
}

func GetResourceLimitMemoryLimitEnum

func GetResourceLimitMemoryLimitEnum() ResourceLimitMemoryLimitEnum

type RetryJobRequest

type RetryJobRequest struct {

	// 任务ID。
	JobId string `json:"job_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

RetryJobRequest Request Object

func (RetryJobRequest) String

func (o RetryJobRequest) String() string

type RetryJobResponse

type RetryJobResponse struct {
	HttpStatusCode int `json:"-"`
}

RetryJobResponse Response Object

func (RetryJobResponse) String

func (o RetryJobResponse) String() string

type ShowApplicationRequest

type ShowApplicationRequest struct {

	// 应用ID。
	ApplicationId string `json:"application_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

ShowApplicationRequest Request Object

func (ShowApplicationRequest) String

func (o ShowApplicationRequest) String() string

type ShowApplicationResponse

type ShowApplicationResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“Application”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	Metadata       *ApplicationMetadata `json:"metadata,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ShowApplicationResponse Response Object

func (ShowApplicationResponse) String

func (o ShowApplicationResponse) String() string

type ShowComponentRequest

type ShowComponentRequest struct {

	// 应用ID。
	ApplicationId string `json:"application_id"`

	// 组件ID。
	ComponentId string `json:"component_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

ShowComponentRequest Request Object

func (ShowComponentRequest) String

func (o ShowComponentRequest) String() string

type ShowComponentResponse

type ShowComponentResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“Component”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	Metadata *MetadataResponse `json:"metadata,omitempty"`

	Spec           *ComponentSpec `json:"spec,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ShowComponentResponse Response Object

func (ShowComponentResponse) String

func (o ShowComponentResponse) String() string

type ShowExecutionResultRequest

type ShowExecutionResultRequest struct {

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`

	// 定时启停规则ID。
	TimerRuleId string `json:"timer_rule_id"`
}

ShowExecutionResultRequest Request Object

func (ShowExecutionResultRequest) String

type ShowExecutionResultResponse

type ShowExecutionResultResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“TimerRule”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	Spec           *ExecutionDetails `json:"spec,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ShowExecutionResultResponse Response Object

func (ShowExecutionResultResponse) String

type ShowJobRequest

type ShowJobRequest struct {

	// 任务ID。
	JobId string `json:"job_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`
}

ShowJobRequest Request Object

func (ShowJobRequest) String

func (o ShowJobRequest) String() string

type ShowJobResponse

type ShowJobResponse struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion *string `json:"api_version,omitempty"`

	// API类型,固定值“Job”,该值不可修改。
	Kind *string `json:"kind,omitempty"`

	Spec           *JobSpec `json:"spec,omitempty"`
	HttpStatusCode int      `json:"-"`
}

ShowJobResponse Response Object

func (ShowJobResponse) String

func (o ShowJobResponse) String() string

type Source

type Source struct {
	Code *Repo `json:"code,omitempty"`

	// 源类型。
	Type SourceType `json:"type"`

	// 源子类型。 - 源类型为code时,子类型表示不同的代码仓库,如DevCloud(CodeArts)、GitLab、GitHub、Gitee、Bitbucket。 - 源类型为softwarePackage时,子类型表示不同的软件包仓库,如BinObs、BinDevCloud(CodeArts软件发布库)。
	SubType *SourceSubType `json:"sub_type,omitempty"`

	// url地址。 - 源类型为image时,url地址为镜像地址。 - 源类型为code时,url地址为git地址。 - 源类型为softwarePackage时,url地址为软件包地址。
	Url string `json:"url"`
}

Source 源信息。

func (Source) String

func (o Source) String() string

type SourceSubType

type SourceSubType struct {
	// contains filtered or unexported fields
}

func (SourceSubType) MarshalJSON

func (c SourceSubType) MarshalJSON() ([]byte, error)

func (*SourceSubType) UnmarshalJSON

func (c *SourceSubType) UnmarshalJSON(b []byte) error

func (SourceSubType) Value

func (c SourceSubType) Value() string

type SourceSubTypeEnum

type SourceSubTypeEnum struct {
	BIN_OBS       SourceSubType
	BIN_DEV_CLOUD SourceSubType
	GIT_LAB       SourceSubType
	GIT_HUB       SourceSubType
	DEV_CLOUD     SourceSubType
	GITEE         SourceSubType
	BITBUCKET     SourceSubType
}

func GetSourceSubTypeEnum

func GetSourceSubTypeEnum() SourceSubTypeEnum

type SourceType

type SourceType struct {
	// contains filtered or unexported fields
}

func (SourceType) MarshalJSON

func (c SourceType) MarshalJSON() ([]byte, error)

func (*SourceType) UnmarshalJSON

func (c *SourceType) UnmarshalJSON(b []byte) error

func (SourceType) Value

func (c SourceType) Value() string

type SourceTypeEnum

type SourceTypeEnum struct {
	IMAGE            SourceType
	CODE             SourceType
	SOFTWARE_PACKAGE SourceType
}

func GetSourceTypeEnum

func GetSourceTypeEnum() SourceTypeEnum

type SpecCert

type SpecCert struct {

	// 证书内容。
	Crt *string `json:"crt,omitempty"`

	// 私钥内容。
	Key *string `json:"key,omitempty"`

	// 安全策略。 - tls-1-2-strict - tls-1-2 - tls-1-1 - tls-1-0
	Policy *string `json:"policy,omitempty"`

	// 创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`
}

func (SpecCert) String

func (o SpecCert) String() string

type Task

type Task struct {

	// 任务序号。
	Index *int32 `json:"index,omitempty"`

	// 任务名称。
	Name *string `json:"name,omitempty"`

	// 任务状态。
	Status *string `json:"status,omitempty"`

	// 任务详情。
	Detail *string `json:"detail,omitempty"`

	// 创建时间。
	CreatedAt *string `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *string `json:"updated_at,omitempty"`
}

func (Task) String

func (o Task) String() string

type TimerRuleDetails

type TimerRuleDetails struct {

	// 定时启停规则ID,在创建定时启停规则时会忽略。
	Id *string `json:"id,omitempty"`

	// 定时启停规则名称。
	Name *string `json:"name,omitempty"`

	// 定时启停规则的类型:stop/start。
	Type *string `json:"type,omitempty"`

	// 定时启停规则状态(是否开启):on/off。
	Status *string `json:"status,omitempty"`

	// 环境ID。
	EnvId *string `json:"env_id,omitempty"`

	// 定时启停规则所包含的所有应用,只在生效范围为application的时候需要填写。
	Apps *[]AppInfo `json:"apps,omitempty"`

	// 在定时启停规则所包含的所有组件,只在生效范围为component的时候需要填写。
	Components *[]ComponentInfo `json:"components,omitempty"`

	// 定时启停规则包含的组件个数,在创建定时启停规则时会忽略。
	ComponentNumber *int32 `json:"component_number,omitempty"`

	// cron表达式。
	Cron *string `json:"cron,omitempty"`

	// 定时启停规则生效范围: component/application/environment。
	EffectiveRange *string `json:"effective_range,omitempty"`

	// 定时启停规则的定时类别: onetime/periodic。
	EffectivePolicy *string `json:"effective_policy,omitempty"`

	// 上次执行的状态:abnormal/normal/executing,在创建定时启停规则时会忽略。
	LastExecutionStatus *string `json:"last_execution_status,omitempty"`
}

TimerRuleDetails 启停规则列表。

func (TimerRuleDetails) String

func (o TimerRuleDetails) String() string

type UpdateCertReq

type UpdateCertReq struct {

	// API版本.
	ApiVersion string `json:"api_version"`

	// API类型,固定值“Certificate”,该值不可修改。
	Kind string `json:"kind"`

	Spec *UpdateSpecCert `json:"spec"`
}

func (UpdateCertReq) String

func (o UpdateCertReq) String() string

type UpdateCertificateRequest

type UpdateCertificateRequest struct {

	// 证书ID。
	CertificateId string `json:"certificate_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`

	Body *UpdateCertReq `json:"body,omitempty"`
}

UpdateCertificateRequest Request Object

func (UpdateCertificateRequest) String

func (o UpdateCertificateRequest) String() string

type UpdateCertificateResponse

type UpdateCertificateResponse struct {
	HttpStatusCode int `json:"-"`
}

UpdateCertificateResponse Response Object

func (UpdateCertificateResponse) String

func (o UpdateCertificateResponse) String() string

type UpdateComponentRequest

type UpdateComponentRequest struct {

	// 应用ID。
	ApplicationId string `json:"application_id"`

	// 组件ID。
	ComponentId string `json:"component_id"`

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`

	Body *UpdateComponentRequestBody `json:"body,omitempty"`
}

UpdateComponentRequest Request Object

func (UpdateComponentRequest) String

func (o UpdateComponentRequest) String() string

type UpdateComponentRequestBody

type UpdateComponentRequestBody struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion string `json:"api_version"`

	// API类型,固定值“Component”,该值不可修改。
	Kind string `json:"kind"`

	Metadata *UpdateComponentRequestMetadata `json:"metadata,omitempty"`

	Spec *UpdateComponentRequestSpec `json:"spec,omitempty"`
}

func (UpdateComponentRequestBody) String

type UpdateComponentRequestMetadata

type UpdateComponentRequestMetadata struct {

	// 组件名称。
	Name string `json:"name"`

	// 更新组件请求体附加参数,当前只支持version参数,此参数必填。
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (UpdateComponentRequestMetadata) String

type UpdateComponentRequestSpec

type UpdateComponentRequestSpec struct {

	// 语言/运行时。
	Runtime *UpdateComponentRequestSpecRuntime `json:"runtime,omitempty"`

	Source *Source `json:"source,omitempty"`

	Build *Build `json:"build,omitempty"`

	ResourceLimit *ResourceLimit `json:"resource_limit"`

	// 实例个数。
	Replica *int32 `json:"replica,omitempty"`
}

func (UpdateComponentRequestSpec) String

type UpdateComponentRequestSpecRuntime

type UpdateComponentRequestSpecRuntime struct {
	// contains filtered or unexported fields
}

func (UpdateComponentRequestSpecRuntime) MarshalJSON

func (c UpdateComponentRequestSpecRuntime) MarshalJSON() ([]byte, error)

func (*UpdateComponentRequestSpecRuntime) UnmarshalJSON

func (c *UpdateComponentRequestSpecRuntime) UnmarshalJSON(b []byte) error

func (UpdateComponentRequestSpecRuntime) Value

type UpdateComponentResponse

type UpdateComponentResponse struct {
	HttpStatusCode int `json:"-"`
}

UpdateComponentResponse Response Object

func (UpdateComponentResponse) String

func (o UpdateComponentResponse) String() string

type UpdateSpecCert

type UpdateSpecCert struct {

	// 证书内容。
	Crt string `json:"crt"`

	// 私钥内容。
	Key string `json:"key"`

	// 安全策略。 - tls-1-2-strict - tls-1-2 - tls-1-1 - tls-1-0
	Policy UpdateSpecCertPolicy `json:"policy"`
}

func (UpdateSpecCert) String

func (o UpdateSpecCert) String() string

type UpdateSpecCertPolicy

type UpdateSpecCertPolicy struct {
	// contains filtered or unexported fields
}

func (UpdateSpecCertPolicy) MarshalJSON

func (c UpdateSpecCertPolicy) MarshalJSON() ([]byte, error)

func (*UpdateSpecCertPolicy) UnmarshalJSON

func (c *UpdateSpecCertPolicy) UnmarshalJSON(b []byte) error

func (UpdateSpecCertPolicy) Value

func (c UpdateSpecCertPolicy) Value() string

type UpdateSpecCertPolicyEnum

type UpdateSpecCertPolicyEnum struct {
	TLS_1_2_STRICT UpdateSpecCertPolicy
	TLS_1_2        UpdateSpecCertPolicy
	TLS_1_1        UpdateSpecCertPolicy
	TLS_1_0        UpdateSpecCertPolicy
}

func GetUpdateSpecCertPolicyEnum

func GetUpdateSpecCertPolicyEnum() UpdateSpecCertPolicyEnum

type UpdateTimerRuleDetails

type UpdateTimerRuleDetails struct {

	// 定时启停规则名称。
	Name string `json:"name"`

	// 定时启停规则的类型:stop/start。
	Type string `json:"type"`

	// 定时启停规则状态(是否开启):on/off。
	Status string `json:"status"`

	// 定时启停规则所包含的所有应用,只在生效范围为application的时候需要填写。
	Apps *[]AppInfo `json:"apps,omitempty"`

	// 在定时启停规则所包含的所有组件,只在生效范围为component的时候需要填写。
	Components *[]ComponentInfo `json:"components,omitempty"`

	// cron表达式。
	Cron string `json:"cron"`

	// 定时启停规则生效范围: component/application/environment。
	EffectiveRange string `json:"effective_range"`

	// 定时启停规则的定时类别: onetime/periodic。
	EffectivePolicy string `json:"effective_policy"`
}

UpdateTimerRuleDetails 修改启停规则规格信息

func (UpdateTimerRuleDetails) String

func (o UpdateTimerRuleDetails) String() string

type UpdateTimerRuleReq

type UpdateTimerRuleReq struct {

	// API版本,固定值“v1”,该值不可修改。
	ApiVersion string `json:"api_version"`

	// 资源种类。
	Kind string `json:"kind"`

	Spec *UpdateTimerRuleDetails `json:"spec"`
}

func (UpdateTimerRuleReq) String

func (o UpdateTimerRuleReq) String() string

type UpdateTimerRuleRequest

type UpdateTimerRuleRequest struct {

	// 企业项目ID。  - 创建环境时,环境会绑定企业项目ID。      - 最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。     - 该字段不传(或传为字符串“0”)时,则查询默认企业项目下的资源。  > 关于企业项目ID的获取及企业项目特性的详细信息,请参见《[企业管理服务用户指南](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0126101490.html)》。
	XEnterpriseProjectID *string `json:"X-Enterprise-Project-ID,omitempty"`

	// 环境ID。      - 获取环境ID,通过《[云应用引擎API参考](https://support.huaweicloud.com/api-cae/ListEnvironments.html)》的“获取环境列表”章节获取环境信息。     - 请求响应成功后在响应体的items数组中的一个元素即为一个环境的信息,其中id字段即是环境ID。
	XEnvironmentID string `json:"X-Environment-ID"`

	// 定时启停规则ID。
	TimerRuleId string `json:"timer_rule_id"`

	Body *UpdateTimerRuleReq `json:"body,omitempty"`
}

UpdateTimerRuleRequest Request Object

func (UpdateTimerRuleRequest) String

func (o UpdateTimerRuleRequest) String() string

type UpdateTimerRuleResponse

type UpdateTimerRuleResponse struct {
	HttpStatusCode int `json:"-"`
}

UpdateTimerRuleResponse Response Object

func (UpdateTimerRuleResponse) String

func (o UpdateTimerRuleResponse) String() string

type Volume

type Volume struct {

	// 云存储ID。
	Id *string `json:"id,omitempty"`

	// 存储资源详情。
	ResourceInfo map[string]string `json:"resource_info,omitempty"`

	// 并行文件系统或存储桶名称。
	ResourceName *string `json:"resource_name,omitempty"`

	// 资源类型,当前只支持“obs”。
	ResourceType *string `json:"resource_type,omitempty"`

	// 存储资源子类型,例如:并行文件系统、存储桶。
	ResourceSubType *VolumeResourceSubType `json:"resource_sub_type,omitempty"`

	// 创建时间。
	Time *string `json:"time,omitempty"`
}

func (Volume) String

func (o Volume) String() string

type VolumeResourceSubType

type VolumeResourceSubType struct {
	// contains filtered or unexported fields
}

func (VolumeResourceSubType) MarshalJSON

func (c VolumeResourceSubType) MarshalJSON() ([]byte, error)

func (*VolumeResourceSubType) UnmarshalJSON

func (c *VolumeResourceSubType) UnmarshalJSON(b []byte) error

func (VolumeResourceSubType) Value

func (c VolumeResourceSubType) Value() string

type VolumeResourceSubTypeEnum

type VolumeResourceSubTypeEnum struct {
	PARALLEL_FILE_SYSTEM VolumeResourceSubType
	OBJECT_BUCKET        VolumeResourceSubType
}

func GetVolumeResourceSubTypeEnum

func GetVolumeResourceSubTypeEnum() VolumeResourceSubTypeEnum

type VolumeSpec

type VolumeSpec struct {

	// 资源类型,当前只支持“obs”。
	ResourceType string `json:"resource_type"`

	// 对象存储类型,例如:并行文件系统、存储桶。
	ResourceSubType VolumeSpecResourceSubType `json:"resource_sub_type"`

	// 并行文件系统或存储桶名称。
	Resources []string `json:"resources"`
}

func (VolumeSpec) String

func (o VolumeSpec) String() string

type VolumeSpecResourceSubType

type VolumeSpecResourceSubType struct {
	// contains filtered or unexported fields
}

func (VolumeSpecResourceSubType) MarshalJSON

func (c VolumeSpecResourceSubType) MarshalJSON() ([]byte, error)

func (*VolumeSpecResourceSubType) UnmarshalJSON

func (c *VolumeSpecResourceSubType) UnmarshalJSON(b []byte) error

func (VolumeSpecResourceSubType) Value

type VolumeSpecResourceSubTypeEnum

type VolumeSpecResourceSubTypeEnum struct {
	OBJECT_BUCKET        VolumeSpecResourceSubType
	PARALLEL_FILE_SYSTEM VolumeSpecResourceSubType
}

func GetVolumeSpecResourceSubTypeEnum

func GetVolumeSpecResourceSubTypeEnum() VolumeSpecResourceSubTypeEnum

Source Files

Jump to

Keyboard shortcuts

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