v20190416

package
v1.0.941 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// 操作失败。
	FAILEDOPERATION = "FailedOperation"

	// 已经存在同名资源。
	FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"

	// 内部错误。
	INTERNALERROR = "InternalError"

	// 参数错误。
	INVALIDPARAMETER = "InvalidParameter"

	// 资源不存在。
	RESOURCENOTFOUND = "ResourceNotFound"

	// 未授权操作。
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// 操作不支持。
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2019-04-16"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

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

func NewClientWithSecretId

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

Deprecated

func (*Client) CreateJob

func (c *Client) CreateJob(request *CreateJobRequest) (response *CreateJobResponse, err error)

CreateJob 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

创建任务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateJobWithContext added in v1.0.324

func (c *Client) CreateJobWithContext(ctx context.Context, request *CreateJobRequest) (response *CreateJobResponse, err error)

CreateJob 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

创建任务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateRsgAsGroup

func (c *Client) CreateRsgAsGroup(request *CreateRsgAsGroupRequest) (response *CreateRsgAsGroupResponse, err error)

CreateRsgAsGroup 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

创建资源组的伸缩组。当前一个资源组仅允许创建一个伸缩组。

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateRsgAsGroupWithContext added in v1.0.324

func (c *Client) CreateRsgAsGroupWithContext(ctx context.Context, request *CreateRsgAsGroupRequest) (response *CreateRsgAsGroupResponse, err error)

CreateRsgAsGroup 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

创建资源组的伸缩组。当前一个资源组仅允许创建一个伸缩组。

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateRuntime

func (c *Client) CreateRuntime(request *CreateRuntimeRequest) (response *CreateRuntimeResponse, err error)

CreateRuntime 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

创建运行环境

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateRuntimeWithContext added in v1.0.324

func (c *Client) CreateRuntimeWithContext(ctx context.Context, request *CreateRuntimeRequest) (response *CreateRuntimeResponse, err error)

CreateRuntime 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

创建运行环境

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateService

func (c *Client) CreateService(request *CreateServiceRequest) (response *CreateServiceResponse, err error)

CreateService 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

创建服务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateServiceConfig

func (c *Client) CreateServiceConfig(request *CreateServiceConfigRequest) (response *CreateServiceConfigResponse, err error)

CreateServiceConfig 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

创建服务配置

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateServiceConfigWithContext added in v1.0.324

func (c *Client) CreateServiceConfigWithContext(ctx context.Context, request *CreateServiceConfigRequest) (response *CreateServiceConfigResponse, err error)

CreateServiceConfig 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

创建服务配置

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateServiceWithContext added in v1.0.324

func (c *Client) CreateServiceWithContext(ctx context.Context, request *CreateServiceRequest) (response *CreateServiceResponse, err error)

CreateService 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

创建服务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteInstance

func (c *Client) DeleteInstance(request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error)

DeleteInstance 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

删除资源组中的节点。目前仅支持删除已经到期的预付费节点,和按量付费节点。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteInstanceWithContext added in v1.0.324

func (c *Client) DeleteInstanceWithContext(ctx context.Context, request *DeleteInstanceRequest) (response *DeleteInstanceResponse, err error)

DeleteInstance 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

删除资源组中的节点。目前仅支持删除已经到期的预付费节点,和按量付费节点。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteJob

func (c *Client) DeleteJob(request *DeleteJobRequest) (response *DeleteJobResponse, err error)

DeleteJob 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

删除任务

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteJobWithContext added in v1.0.324

func (c *Client) DeleteJobWithContext(ctx context.Context, request *DeleteJobRequest) (response *DeleteJobResponse, err error)

DeleteJob 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

删除任务

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteResourceGroup

func (c *Client) DeleteResourceGroup(request *DeleteResourceGroupRequest) (response *DeleteResourceGroupResponse, err error)

DeleteResourceGroup 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

删除资源组

可能返回的错误码:

INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteResourceGroupWithContext added in v1.0.324

func (c *Client) DeleteResourceGroupWithContext(ctx context.Context, request *DeleteResourceGroupRequest) (response *DeleteResourceGroupResponse, err error)

DeleteResourceGroup 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

删除资源组

可能返回的错误码:

INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteRsgAsGroup

func (c *Client) DeleteRsgAsGroup(request *DeleteRsgAsGroupRequest) (response *DeleteRsgAsGroupResponse, err error)

DeleteRsgAsGroup 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

伸缩

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteRsgAsGroupWithContext added in v1.0.324

func (c *Client) DeleteRsgAsGroupWithContext(ctx context.Context, request *DeleteRsgAsGroupRequest) (response *DeleteRsgAsGroupResponse, err error)

DeleteRsgAsGroup 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

伸缩

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteRuntime

func (c *Client) DeleteRuntime(request *DeleteRuntimeRequest) (response *DeleteRuntimeResponse, err error)

DeleteRuntime 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

删除运行环境

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteRuntimeWithContext added in v1.0.324

func (c *Client) DeleteRuntimeWithContext(ctx context.Context, request *DeleteRuntimeRequest) (response *DeleteRuntimeResponse, err error)

DeleteRuntime 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

删除运行环境

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteService

func (c *Client) DeleteService(request *DeleteServiceRequest) (response *DeleteServiceResponse, err error)

DeleteService 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

删除服务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteServiceConfig

func (c *Client) DeleteServiceConfig(request *DeleteServiceConfigRequest) (response *DeleteServiceConfigResponse, err error)

DeleteServiceConfig 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

删除服务配置

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteServiceConfigWithContext added in v1.0.324

func (c *Client) DeleteServiceConfigWithContext(ctx context.Context, request *DeleteServiceConfigRequest) (response *DeleteServiceConfigResponse, err error)

DeleteServiceConfig 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

删除服务配置

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DeleteServiceWithContext added in v1.0.324

func (c *Client) DeleteServiceWithContext(ctx context.Context, request *DeleteServiceRequest) (response *DeleteServiceResponse, err error)

DeleteService 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

删除服务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeInstances

func (c *Client) DescribeInstances(request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)

DescribeInstances 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

获取节点列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeInstancesWithContext added in v1.0.324

func (c *Client) DescribeInstancesWithContext(ctx context.Context, request *DescribeInstancesRequest) (response *DescribeInstancesResponse, err error)

DescribeInstances 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

获取节点列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeResourceGroups

func (c *Client) DescribeResourceGroups(request *DescribeResourceGroupsRequest) (response *DescribeResourceGroupsResponse, err error)

DescribeResourceGroups 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

获取资源组列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeResourceGroupsWithContext added in v1.0.324

func (c *Client) DescribeResourceGroupsWithContext(ctx context.Context, request *DescribeResourceGroupsRequest) (response *DescribeResourceGroupsResponse, err error)

DescribeResourceGroups 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

获取资源组列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeRsgAsGroupActivities

func (c *Client) DescribeRsgAsGroupActivities(request *DescribeRsgAsGroupActivitiesRequest) (response *DescribeRsgAsGroupActivitiesResponse, err error)

DescribeRsgAsGroupActivities 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

查询伸缩组活动

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRsgAsGroupActivitiesWithContext added in v1.0.324

func (c *Client) DescribeRsgAsGroupActivitiesWithContext(ctx context.Context, request *DescribeRsgAsGroupActivitiesRequest) (response *DescribeRsgAsGroupActivitiesResponse, err error)

DescribeRsgAsGroupActivities 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

查询伸缩组活动

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRsgAsGroups

func (c *Client) DescribeRsgAsGroups(request *DescribeRsgAsGroupsRequest) (response *DescribeRsgAsGroupsResponse, err error)

DescribeRsgAsGroups 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

查询资源组的伸缩组信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRsgAsGroupsWithContext added in v1.0.324

func (c *Client) DescribeRsgAsGroupsWithContext(ctx context.Context, request *DescribeRsgAsGroupsRequest) (response *DescribeRsgAsGroupsResponse, err error)

DescribeRsgAsGroups 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

查询资源组的伸缩组信息

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeRuntimes

func (c *Client) DescribeRuntimes(request *DescribeRuntimesRequest) (response *DescribeRuntimesResponse, err error)

DescribeRuntimes 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

描述服务运行环境

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeRuntimesWithContext added in v1.0.324

func (c *Client) DescribeRuntimesWithContext(ctx context.Context, request *DescribeRuntimesRequest) (response *DescribeRuntimesResponse, err error)

DescribeRuntimes 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

描述服务运行环境

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeServiceConfigs

func (c *Client) DescribeServiceConfigs(request *DescribeServiceConfigsRequest) (response *DescribeServiceConfigsResponse, err error)

DescribeServiceConfigs 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

描述服务配置

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeServiceConfigsWithContext added in v1.0.324

func (c *Client) DescribeServiceConfigsWithContext(ctx context.Context, request *DescribeServiceConfigsRequest) (response *DescribeServiceConfigsResponse, err error)

DescribeServiceConfigs 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

描述服务配置

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeServices

func (c *Client) DescribeServices(request *DescribeServicesRequest) (response *DescribeServicesResponse, err error)

DescribeServices 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

描述服务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeServicesWithContext added in v1.0.324

func (c *Client) DescribeServicesWithContext(ctx context.Context, request *DescribeServicesRequest) (response *DescribeServicesResponse, err error)

DescribeServices 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

描述服务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DisableRsgAsGroup

func (c *Client) DisableRsgAsGroup(request *DisableRsgAsGroupRequest) (response *DisableRsgAsGroupResponse, err error)

DisableRsgAsGroup 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

停用资源组的伸缩组

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DisableRsgAsGroupWithContext added in v1.0.324

func (c *Client) DisableRsgAsGroupWithContext(ctx context.Context, request *DisableRsgAsGroupRequest) (response *DisableRsgAsGroupResponse, err error)

DisableRsgAsGroup 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

停用资源组的伸缩组

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) EnableRsgAsGroup

func (c *Client) EnableRsgAsGroup(request *EnableRsgAsGroupRequest) (response *EnableRsgAsGroupResponse, err error)

EnableRsgAsGroup 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

启用资源组的伸缩组

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) EnableRsgAsGroupWithContext added in v1.0.324

func (c *Client) EnableRsgAsGroupWithContext(ctx context.Context, request *EnableRsgAsGroupRequest) (response *EnableRsgAsGroupResponse, err error)

EnableRsgAsGroup 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

启用资源组的伸缩组

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ExposeService

func (c *Client) ExposeService(request *ExposeServiceRequest) (response *ExposeServiceResponse, err error)

ExposeService 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

暴露服务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ExposeServiceWithContext added in v1.0.324

func (c *Client) ExposeServiceWithContext(ctx context.Context, request *ExposeServiceRequest) (response *ExposeServiceResponse, err error)

ExposeService 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

暴露服务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateJob

func (c *Client) UpdateJob(request *UpdateJobRequest) (response *UpdateJobResponse, err error)

UpdateJob 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

更新任务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) UpdateJobWithContext added in v1.0.324

func (c *Client) UpdateJobWithContext(ctx context.Context, request *UpdateJobRequest) (response *UpdateJobResponse, err error)

UpdateJob 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

更新任务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_ALREADYEXISTS = "FailedOperation.AlreadyExists"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) UpdateRsgAsGroup

func (c *Client) UpdateRsgAsGroup(request *UpdateRsgAsGroupRequest) (response *UpdateRsgAsGroupResponse, err error)

UpdateRsgAsGroup 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

更新资源组的伸缩组

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateRsgAsGroupWithContext added in v1.0.324

func (c *Client) UpdateRsgAsGroupWithContext(ctx context.Context, request *UpdateRsgAsGroupRequest) (response *UpdateRsgAsGroupResponse, err error)

UpdateRsgAsGroup 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

更新资源组的伸缩组

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) UpdateService

func (c *Client) UpdateService(request *UpdateServiceRequest) (response *UpdateServiceResponse, err error)

UpdateService 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

更新服务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) UpdateServiceWithContext added in v1.0.324

func (c *Client) UpdateServiceWithContext(ctx context.Context, request *UpdateServiceRequest) (response *UpdateServiceResponse, err error)

UpdateService 因业务策略调整,腾讯云TI平台TI-EMS已经于2022年6月30日下线并停止提供服务。若您有新增的业务需求,可前往TI-ONE(https://cloud.tencent.com/document/product/851)使用。

更新服务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

type Conditions

type Conditions struct {
	// 原因
	Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"`

	// 具有相同原因的副本个数
	Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"`
}

type Config

type Config struct {
	// Id
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 配置名
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 模型地址
	ModelUri *string `json:"ModelUri,omitnil,omitempty" name:"ModelUri"`

	// 创建时间
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 运行环境
	Runtime *string `json:"Runtime,omitnil,omitempty" name:"Runtime"`

	// 配置版本
	Version *string `json:"Version,omitnil,omitempty" name:"Version"`

	// 更新时间
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// 配置描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

type CreateJobRequest

type CreateJobRequest struct {
	*tchttp.BaseRequest

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

	// 使用的资源组 Id,默认使用共享资源组
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`

	// 处理器配置, 单位为1/1000核;范围[100, 256000]
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 内存配置, 单位为1M;范围[100, 256000]
	Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// 运行集群
	Cluster *string `json:"Cluster,omitnil,omitempty" name:"Cluster"`

	// 预测输入
	PredictInput *PredictInput `json:"PredictInput,omitnil,omitempty" name:"PredictInput"`

	// 任务描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 同时处理任务的 Worker 个数
	WorkerCount *uint64 `json:"WorkerCount,omitnil,omitempty" name:"WorkerCount"`

	// 使用的配置 Id
	ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"`

	// GPU算力配置,单位为1/1000 卡,范围 [0, 256000]
	Gpu *uint64 `json:"Gpu,omitnil,omitempty" name:"Gpu"`

	// 显存配置, 单位为1M,范围 [0, 256000]
	GpuMemory *uint64 `json:"GpuMemory,omitnil,omitempty" name:"GpuMemory"`

	// GPU类型
	GpuType *string `json:"GpuType,omitnil,omitempty" name:"GpuType"`

	// 量化输入
	QuantizationInput *QuantizationInput `json:"QuantizationInput,omitnil,omitempty" name:"QuantizationInput"`

	// Cls日志主题ID
	LogTopicId *string `json:"LogTopicId,omitnil,omitempty" name:"LogTopicId"`
}

func NewCreateJobRequest

func NewCreateJobRequest() (request *CreateJobRequest)

func (*CreateJobRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateJobRequest) ToJsonString

func (r *CreateJobRequest) ToJsonString() string

type CreateJobRequestParams added in v1.0.426

type CreateJobRequestParams struct {
	// 任务名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 使用的资源组 Id,默认使用共享资源组
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`

	// 处理器配置, 单位为1/1000核;范围[100, 256000]
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 内存配置, 单位为1M;范围[100, 256000]
	Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// 运行集群
	Cluster *string `json:"Cluster,omitnil,omitempty" name:"Cluster"`

	// 预测输入
	PredictInput *PredictInput `json:"PredictInput,omitnil,omitempty" name:"PredictInput"`

	// 任务描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 同时处理任务的 Worker 个数
	WorkerCount *uint64 `json:"WorkerCount,omitnil,omitempty" name:"WorkerCount"`

	// 使用的配置 Id
	ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"`

	// GPU算力配置,单位为1/1000 卡,范围 [0, 256000]
	Gpu *uint64 `json:"Gpu,omitnil,omitempty" name:"Gpu"`

	// 显存配置, 单位为1M,范围 [0, 256000]
	GpuMemory *uint64 `json:"GpuMemory,omitnil,omitempty" name:"GpuMemory"`

	// GPU类型
	GpuType *string `json:"GpuType,omitnil,omitempty" name:"GpuType"`

	// 量化输入
	QuantizationInput *QuantizationInput `json:"QuantizationInput,omitnil,omitempty" name:"QuantizationInput"`

	// Cls日志主题ID
	LogTopicId *string `json:"LogTopicId,omitnil,omitempty" name:"LogTopicId"`
}

Predefined struct for user

type CreateJobResponse

type CreateJobResponse struct {
	*tchttp.BaseResponse
	Response *CreateJobResponseParams `json:"Response"`
}

func NewCreateJobResponse

func NewCreateJobResponse() (response *CreateJobResponse)

func (*CreateJobResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateJobResponse) ToJsonString

func (r *CreateJobResponse) ToJsonString() string

type CreateJobResponseParams added in v1.0.426

type CreateJobResponseParams struct {
	// 任务
	Job *Job `json:"Job,omitnil,omitempty" name:"Job"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateRsgAsGroupRequest

type CreateRsgAsGroupRequest struct {
	*tchttp.BaseRequest

	// 资源组 ID
	RsgId *string `json:"RsgId,omitnil,omitempty" name:"RsgId"`

	// 伸缩组允许的最大节点数
	MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"`

	// 伸缩组允许的最小节点数
	MinSize *uint64 `json:"MinSize,omitnil,omitempty" name:"MinSize"`

	// 伸缩组的节点规格
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// 资源组所在的集群名
	Cluster *string `json:"Cluster,omitnil,omitempty" name:"Cluster"`

	// 伸缩组名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 伸缩组期望的节点数
	DesiredSize *uint64 `json:"DesiredSize,omitnil,omitempty" name:"DesiredSize"`
}

func NewCreateRsgAsGroupRequest

func NewCreateRsgAsGroupRequest() (request *CreateRsgAsGroupRequest)

func (*CreateRsgAsGroupRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateRsgAsGroupRequest) ToJsonString

func (r *CreateRsgAsGroupRequest) ToJsonString() string

type CreateRsgAsGroupRequestParams added in v1.0.426

type CreateRsgAsGroupRequestParams struct {
	// 资源组 ID
	RsgId *string `json:"RsgId,omitnil,omitempty" name:"RsgId"`

	// 伸缩组允许的最大节点数
	MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"`

	// 伸缩组允许的最小节点数
	MinSize *uint64 `json:"MinSize,omitnil,omitempty" name:"MinSize"`

	// 伸缩组的节点规格
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// 资源组所在的集群名
	Cluster *string `json:"Cluster,omitnil,omitempty" name:"Cluster"`

	// 伸缩组名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 伸缩组期望的节点数
	DesiredSize *uint64 `json:"DesiredSize,omitnil,omitempty" name:"DesiredSize"`
}

Predefined struct for user

type CreateRsgAsGroupResponse

type CreateRsgAsGroupResponse struct {
	*tchttp.BaseResponse
	Response *CreateRsgAsGroupResponseParams `json:"Response"`
}

func NewCreateRsgAsGroupResponse

func NewCreateRsgAsGroupResponse() (response *CreateRsgAsGroupResponse)

func (*CreateRsgAsGroupResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateRsgAsGroupResponse) ToJsonString

func (r *CreateRsgAsGroupResponse) ToJsonString() string

type CreateRsgAsGroupResponseParams added in v1.0.426

type CreateRsgAsGroupResponseParams struct {
	// 所创建的资源组的伸缩组
	RsgAsGroup *RsgAsGroup `json:"RsgAsGroup,omitnil,omitempty" name:"RsgAsGroup"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateRuntimeRequest

type CreateRuntimeRequest struct {
	*tchttp.BaseRequest

	// 全局唯一的运行环境名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 运行环境镜像地址
	Image *string `json:"Image,omitnil,omitempty" name:"Image"`

	// 运行环境框架
	Framework *string `json:"Framework,omitnil,omitempty" name:"Framework"`

	// 运行环境描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 是否支持健康检查,默认为False
	HealthCheckOn *bool `json:"HealthCheckOn,omitnil,omitempty" name:"HealthCheckOn"`
}

func NewCreateRuntimeRequest

func NewCreateRuntimeRequest() (request *CreateRuntimeRequest)

func (*CreateRuntimeRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateRuntimeRequest) ToJsonString

func (r *CreateRuntimeRequest) ToJsonString() string

type CreateRuntimeRequestParams added in v1.0.426

type CreateRuntimeRequestParams struct {
	// 全局唯一的运行环境名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 运行环境镜像地址
	Image *string `json:"Image,omitnil,omitempty" name:"Image"`

	// 运行环境框架
	Framework *string `json:"Framework,omitnil,omitempty" name:"Framework"`

	// 运行环境描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 是否支持健康检查,默认为False
	HealthCheckOn *bool `json:"HealthCheckOn,omitnil,omitempty" name:"HealthCheckOn"`
}

Predefined struct for user

type CreateRuntimeResponse

type CreateRuntimeResponse struct {
	*tchttp.BaseResponse
	Response *CreateRuntimeResponseParams `json:"Response"`
}

func NewCreateRuntimeResponse

func NewCreateRuntimeResponse() (response *CreateRuntimeResponse)

func (*CreateRuntimeResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateRuntimeResponse) ToJsonString

func (r *CreateRuntimeResponse) ToJsonString() string

type CreateRuntimeResponseParams added in v1.0.426

type CreateRuntimeResponseParams struct {
	// 运行环境
	Runtime *Runtime `json:"Runtime,omitnil,omitempty" name:"Runtime"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateServiceConfigRequest

type CreateServiceConfigRequest struct {
	*tchttp.BaseRequest

	// 配置名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 运行环境
	Runtime *string `json:"Runtime,omitnil,omitempty" name:"Runtime"`

	// 模型地址,支持cos路径,格式为 cos://bucket名-appid.cos.region名.myqcloud.com/模型文件夹路径。为模型文件的上一层文件夹地址。
	ModelUri *string `json:"ModelUri,omitnil,omitempty" name:"ModelUri"`

	// 配置描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func NewCreateServiceConfigRequest

func NewCreateServiceConfigRequest() (request *CreateServiceConfigRequest)

func (*CreateServiceConfigRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateServiceConfigRequest) ToJsonString

func (r *CreateServiceConfigRequest) ToJsonString() string

type CreateServiceConfigRequestParams added in v1.0.426

type CreateServiceConfigRequestParams struct {
	// 配置名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 运行环境
	Runtime *string `json:"Runtime,omitnil,omitempty" name:"Runtime"`

	// 模型地址,支持cos路径,格式为 cos://bucket名-appid.cos.region名.myqcloud.com/模型文件夹路径。为模型文件的上一层文件夹地址。
	ModelUri *string `json:"ModelUri,omitnil,omitempty" name:"ModelUri"`

	// 配置描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

Predefined struct for user

type CreateServiceConfigResponse

type CreateServiceConfigResponse struct {
	*tchttp.BaseResponse
	Response *CreateServiceConfigResponseParams `json:"Response"`
}

func NewCreateServiceConfigResponse

func NewCreateServiceConfigResponse() (response *CreateServiceConfigResponse)

func (*CreateServiceConfigResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateServiceConfigResponse) ToJsonString

func (r *CreateServiceConfigResponse) ToJsonString() string

type CreateServiceConfigResponseParams added in v1.0.426

type CreateServiceConfigResponseParams struct {
	// 服务配置
	ServiceConfig *Config `json:"ServiceConfig,omitnil,omitempty" name:"ServiceConfig"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateServiceRequest

type CreateServiceRequest struct {
	*tchttp.BaseRequest

	// 扩缩容配置
	Scaler *Scaler `json:"Scaler,omitnil,omitempty" name:"Scaler"`

	// 服务配置Id
	ServiceConfigId *string `json:"ServiceConfigId,omitnil,omitempty" name:"ServiceConfigId"`

	// 服务名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 扩缩容方式,支持AUTO, MANUAL,分别表示自动扩缩容和手动扩缩容
	ScaleMode *string `json:"ScaleMode,omitnil,omitempty" name:"ScaleMode"`

	// 部署要使用的资源组Id,默认为共享资源组
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`

	// 处理器配置, 单位为1/1000核;范围[100, 256000]
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 内存配置, 单位为1M;范围[100, 256000]
	Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// 集群,不填则使用默认集群
	Cluster *string `json:"Cluster,omitnil,omitempty" name:"Cluster"`

	// 默认为空,表示不需要鉴权,TOKEN 表示选择 Token 鉴权方式
	Authentication *string `json:"Authentication,omitnil,omitempty" name:"Authentication"`

	// GPU算力配置,单位为1/1000 卡,范围 [0, 256000]
	Gpu *uint64 `json:"Gpu,omitnil,omitempty" name:"Gpu"`

	// 显存配置, 单位为1M,范围 [0, 256000]
	GpuMemory *uint64 `json:"GpuMemory,omitnil,omitempty" name:"GpuMemory"`

	// 备注
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// GPU类型
	GpuType *string `json:"GpuType,omitnil,omitempty" name:"GpuType"`

	// Cls日志主题ID
	LogTopicId *string `json:"LogTopicId,omitnil,omitempty" name:"LogTopicId"`
}

func NewCreateServiceRequest

func NewCreateServiceRequest() (request *CreateServiceRequest)

func (*CreateServiceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateServiceRequest) ToJsonString

func (r *CreateServiceRequest) ToJsonString() string

type CreateServiceRequestParams added in v1.0.426

type CreateServiceRequestParams struct {
	// 扩缩容配置
	Scaler *Scaler `json:"Scaler,omitnil,omitempty" name:"Scaler"`

	// 服务配置Id
	ServiceConfigId *string `json:"ServiceConfigId,omitnil,omitempty" name:"ServiceConfigId"`

	// 服务名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 扩缩容方式,支持AUTO, MANUAL,分别表示自动扩缩容和手动扩缩容
	ScaleMode *string `json:"ScaleMode,omitnil,omitempty" name:"ScaleMode"`

	// 部署要使用的资源组Id,默认为共享资源组
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`

	// 处理器配置, 单位为1/1000核;范围[100, 256000]
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 内存配置, 单位为1M;范围[100, 256000]
	Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// 集群,不填则使用默认集群
	Cluster *string `json:"Cluster,omitnil,omitempty" name:"Cluster"`

	// 默认为空,表示不需要鉴权,TOKEN 表示选择 Token 鉴权方式
	Authentication *string `json:"Authentication,omitnil,omitempty" name:"Authentication"`

	// GPU算力配置,单位为1/1000 卡,范围 [0, 256000]
	Gpu *uint64 `json:"Gpu,omitnil,omitempty" name:"Gpu"`

	// 显存配置, 单位为1M,范围 [0, 256000]
	GpuMemory *uint64 `json:"GpuMemory,omitnil,omitempty" name:"GpuMemory"`

	// 备注
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// GPU类型
	GpuType *string `json:"GpuType,omitnil,omitempty" name:"GpuType"`

	// Cls日志主题ID
	LogTopicId *string `json:"LogTopicId,omitnil,omitempty" name:"LogTopicId"`
}

Predefined struct for user

type CreateServiceResponse

type CreateServiceResponse struct {
	*tchttp.BaseResponse
	Response *CreateServiceResponseParams `json:"Response"`
}

func NewCreateServiceResponse

func NewCreateServiceResponse() (response *CreateServiceResponse)

func (*CreateServiceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateServiceResponse) ToJsonString

func (r *CreateServiceResponse) ToJsonString() string

type CreateServiceResponseParams added in v1.0.426

type CreateServiceResponseParams struct {
	// 服务
	Service *ModelService `json:"Service,omitnil,omitempty" name:"Service"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteInstanceRequest

type DeleteInstanceRequest struct {
	*tchttp.BaseRequest

	// 要删除的节点 ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

func NewDeleteInstanceRequest

func NewDeleteInstanceRequest() (request *DeleteInstanceRequest)

func (*DeleteInstanceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteInstanceRequest) ToJsonString

func (r *DeleteInstanceRequest) ToJsonString() string

type DeleteInstanceRequestParams added in v1.0.426

type DeleteInstanceRequestParams struct {
	// 要删除的节点 ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`
}

Predefined struct for user

type DeleteInstanceResponse

type DeleteInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DeleteInstanceResponseParams `json:"Response"`
}

func NewDeleteInstanceResponse

func NewDeleteInstanceResponse() (response *DeleteInstanceResponse)

func (*DeleteInstanceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteInstanceResponse) ToJsonString

func (r *DeleteInstanceResponse) ToJsonString() string

type DeleteInstanceResponseParams added in v1.0.426

type DeleteInstanceResponseParams struct {
	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteJobRequest

type DeleteJobRequest struct {
	*tchttp.BaseRequest

	// 任务 Id
	JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"`
}

func NewDeleteJobRequest

func NewDeleteJobRequest() (request *DeleteJobRequest)

func (*DeleteJobRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteJobRequest) ToJsonString

func (r *DeleteJobRequest) ToJsonString() string

type DeleteJobRequestParams added in v1.0.426

type DeleteJobRequestParams struct {
	// 任务 Id
	JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"`
}

Predefined struct for user

type DeleteJobResponse

type DeleteJobResponse struct {
	*tchttp.BaseResponse
	Response *DeleteJobResponseParams `json:"Response"`
}

func NewDeleteJobResponse

func NewDeleteJobResponse() (response *DeleteJobResponse)

func (*DeleteJobResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteJobResponse) ToJsonString

func (r *DeleteJobResponse) ToJsonString() string

type DeleteJobResponseParams added in v1.0.426

type DeleteJobResponseParams struct {
	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteResourceGroupRequest

type DeleteResourceGroupRequest struct {
	*tchttp.BaseRequest

	// 要删除的资源组 ID
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`
}

func NewDeleteResourceGroupRequest

func NewDeleteResourceGroupRequest() (request *DeleteResourceGroupRequest)

func (*DeleteResourceGroupRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteResourceGroupRequest) ToJsonString

func (r *DeleteResourceGroupRequest) ToJsonString() string

type DeleteResourceGroupRequestParams added in v1.0.426

type DeleteResourceGroupRequestParams struct {
	// 要删除的资源组 ID
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`
}

Predefined struct for user

type DeleteResourceGroupResponse

type DeleteResourceGroupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteResourceGroupResponseParams `json:"Response"`
}

func NewDeleteResourceGroupResponse

func NewDeleteResourceGroupResponse() (response *DeleteResourceGroupResponse)

func (*DeleteResourceGroupResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteResourceGroupResponse) ToJsonString

func (r *DeleteResourceGroupResponse) ToJsonString() string

type DeleteResourceGroupResponseParams added in v1.0.426

type DeleteResourceGroupResponseParams struct {
	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteRsgAsGroupRequest

type DeleteRsgAsGroupRequest struct {
	*tchttp.BaseRequest

	// 伸缩组 ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func NewDeleteRsgAsGroupRequest

func NewDeleteRsgAsGroupRequest() (request *DeleteRsgAsGroupRequest)

func (*DeleteRsgAsGroupRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteRsgAsGroupRequest) ToJsonString

func (r *DeleteRsgAsGroupRequest) ToJsonString() string

type DeleteRsgAsGroupRequestParams added in v1.0.426

type DeleteRsgAsGroupRequestParams struct {
	// 伸缩组 ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type DeleteRsgAsGroupResponse

type DeleteRsgAsGroupResponse struct {
	*tchttp.BaseResponse
	Response *DeleteRsgAsGroupResponseParams `json:"Response"`
}

func NewDeleteRsgAsGroupResponse

func NewDeleteRsgAsGroupResponse() (response *DeleteRsgAsGroupResponse)

func (*DeleteRsgAsGroupResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteRsgAsGroupResponse) ToJsonString

func (r *DeleteRsgAsGroupResponse) ToJsonString() string

type DeleteRsgAsGroupResponseParams added in v1.0.426

type DeleteRsgAsGroupResponseParams struct {
	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteRuntimeRequest

type DeleteRuntimeRequest struct {
	*tchttp.BaseRequest

	// 要删除的Runtime名
	Runtime *string `json:"Runtime,omitnil,omitempty" name:"Runtime"`
}

func NewDeleteRuntimeRequest

func NewDeleteRuntimeRequest() (request *DeleteRuntimeRequest)

func (*DeleteRuntimeRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteRuntimeRequest) ToJsonString

func (r *DeleteRuntimeRequest) ToJsonString() string

type DeleteRuntimeRequestParams added in v1.0.426

type DeleteRuntimeRequestParams struct {
	// 要删除的Runtime名
	Runtime *string `json:"Runtime,omitnil,omitempty" name:"Runtime"`
}

Predefined struct for user

type DeleteRuntimeResponse

type DeleteRuntimeResponse struct {
	*tchttp.BaseResponse
	Response *DeleteRuntimeResponseParams `json:"Response"`
}

func NewDeleteRuntimeResponse

func NewDeleteRuntimeResponse() (response *DeleteRuntimeResponse)

func (*DeleteRuntimeResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteRuntimeResponse) ToJsonString

func (r *DeleteRuntimeResponse) ToJsonString() string

type DeleteRuntimeResponseParams added in v1.0.426

type DeleteRuntimeResponseParams struct {
	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteServiceConfigRequest

type DeleteServiceConfigRequest struct {
	*tchttp.BaseRequest

	// 服务配置Id
	ServiceConfigId *string `json:"ServiceConfigId,omitnil,omitempty" name:"ServiceConfigId"`

	// 服务配置名称
	ServiceConfigName *string `json:"ServiceConfigName,omitnil,omitempty" name:"ServiceConfigName"`
}

func NewDeleteServiceConfigRequest

func NewDeleteServiceConfigRequest() (request *DeleteServiceConfigRequest)

func (*DeleteServiceConfigRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteServiceConfigRequest) ToJsonString

func (r *DeleteServiceConfigRequest) ToJsonString() string

type DeleteServiceConfigRequestParams added in v1.0.426

type DeleteServiceConfigRequestParams struct {
	// 服务配置Id
	ServiceConfigId *string `json:"ServiceConfigId,omitnil,omitempty" name:"ServiceConfigId"`

	// 服务配置名称
	ServiceConfigName *string `json:"ServiceConfigName,omitnil,omitempty" name:"ServiceConfigName"`
}

Predefined struct for user

type DeleteServiceConfigResponse

type DeleteServiceConfigResponse struct {
	*tchttp.BaseResponse
	Response *DeleteServiceConfigResponseParams `json:"Response"`
}

func NewDeleteServiceConfigResponse

func NewDeleteServiceConfigResponse() (response *DeleteServiceConfigResponse)

func (*DeleteServiceConfigResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteServiceConfigResponse) ToJsonString

func (r *DeleteServiceConfigResponse) ToJsonString() string

type DeleteServiceConfigResponseParams added in v1.0.426

type DeleteServiceConfigResponseParams struct {
	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteServiceRequest

type DeleteServiceRequest struct {
	*tchttp.BaseRequest

	// 服务Id
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`
}

func NewDeleteServiceRequest

func NewDeleteServiceRequest() (request *DeleteServiceRequest)

func (*DeleteServiceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteServiceRequest) ToJsonString

func (r *DeleteServiceRequest) ToJsonString() string

type DeleteServiceRequestParams added in v1.0.426

type DeleteServiceRequestParams struct {
	// 服务Id
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`
}

Predefined struct for user

type DeleteServiceResponse

type DeleteServiceResponse struct {
	*tchttp.BaseResponse
	Response *DeleteServiceResponseParams `json:"Response"`
}

func NewDeleteServiceResponse

func NewDeleteServiceResponse() (response *DeleteServiceResponse)

func (*DeleteServiceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteServiceResponse) ToJsonString

func (r *DeleteServiceResponse) ToJsonString() string

type DeleteServiceResponseParams added in v1.0.426

type DeleteServiceResponseParams struct {
	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeInstancesRequest

type DescribeInstancesRequest struct {
	*tchttp.BaseRequest

	// 筛选选项
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 偏移量,默认为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// 排序的依据字段, 取值范围 "CREATE_TIME", "UPDATE_TIME", "NAME"
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`

	// 要查询的资源组 ID
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`
}

func NewDescribeInstancesRequest

func NewDescribeInstancesRequest() (request *DescribeInstancesRequest)

func (*DescribeInstancesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstancesRequest) ToJsonString

func (r *DescribeInstancesRequest) ToJsonString() string

type DescribeInstancesRequestParams added in v1.0.426

type DescribeInstancesRequestParams struct {
	// 筛选选项
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 偏移量,默认为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// 排序的依据字段, 取值范围 "CREATE_TIME", "UPDATE_TIME", "NAME"
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`

	// 要查询的资源组 ID
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`
}

Predefined struct for user

type DescribeInstancesResponse

type DescribeInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstancesResponseParams `json:"Response"`
}

func NewDescribeInstancesResponse

func NewDescribeInstancesResponse() (response *DescribeInstancesResponse)

func (*DescribeInstancesResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeInstancesResponse) ToJsonString

func (r *DescribeInstancesResponse) ToJsonString() string

type DescribeInstancesResponseParams added in v1.0.426

type DescribeInstancesResponseParams struct {
	// 资源组下节点总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 资源组下节点列表
	Instances []*Instance `json:"Instances,omitnil,omitempty" name:"Instances"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeResourceGroupsRequest

type DescribeResourceGroupsRequest struct {
	*tchttp.BaseRequest

	// 筛选选项
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 偏移量,默认为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// 排序的依据字段, 取值范围 "CREATE_TIME", "UPDATE_TIME", "NAME"
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`
}

func NewDescribeResourceGroupsRequest

func NewDescribeResourceGroupsRequest() (request *DescribeResourceGroupsRequest)

func (*DescribeResourceGroupsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourceGroupsRequest) ToJsonString

func (r *DescribeResourceGroupsRequest) ToJsonString() string

type DescribeResourceGroupsRequestParams added in v1.0.426

type DescribeResourceGroupsRequestParams struct {
	// 筛选选项
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 偏移量,默认为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// 排序的依据字段, 取值范围 "CREATE_TIME", "UPDATE_TIME", "NAME"
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`
}

Predefined struct for user

type DescribeResourceGroupsResponse

type DescribeResourceGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeResourceGroupsResponseParams `json:"Response"`
}

func NewDescribeResourceGroupsResponse

func NewDescribeResourceGroupsResponse() (response *DescribeResourceGroupsResponse)

func (*DescribeResourceGroupsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourceGroupsResponse) ToJsonString

func (r *DescribeResourceGroupsResponse) ToJsonString() string

type DescribeResourceGroupsResponseParams added in v1.0.426

type DescribeResourceGroupsResponseParams struct {
	// 资源组总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 资源组列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceGroups []*ResourceGroup `json:"ResourceGroups,omitnil,omitempty" name:"ResourceGroups"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRsgAsGroupActivitiesRequest

type DescribeRsgAsGroupActivitiesRequest struct {
	*tchttp.BaseRequest

	// 伸缩组 ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 查询活动的开始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 查询互动的结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 筛选选项
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 偏移量,默认为 0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为 20,最大值为 200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 输出列表的排列顺序。取值范围:"ASC", "DESC"
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// 排序的依据字段, 取值范围 "CREATE_TIME", "UPDATE_TIME", "NAME"
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`
}

func NewDescribeRsgAsGroupActivitiesRequest

func NewDescribeRsgAsGroupActivitiesRequest() (request *DescribeRsgAsGroupActivitiesRequest)

func (*DescribeRsgAsGroupActivitiesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRsgAsGroupActivitiesRequest) ToJsonString

func (r *DescribeRsgAsGroupActivitiesRequest) ToJsonString() string

type DescribeRsgAsGroupActivitiesRequestParams added in v1.0.426

type DescribeRsgAsGroupActivitiesRequestParams struct {
	// 伸缩组 ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 查询活动的开始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 查询互动的结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 筛选选项
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 偏移量,默认为 0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为 20,最大值为 200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 输出列表的排列顺序。取值范围:"ASC", "DESC"
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// 排序的依据字段, 取值范围 "CREATE_TIME", "UPDATE_TIME", "NAME"
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`
}

Predefined struct for user

type DescribeRsgAsGroupActivitiesResponse

type DescribeRsgAsGroupActivitiesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRsgAsGroupActivitiesResponseParams `json:"Response"`
}

func NewDescribeRsgAsGroupActivitiesResponse

func NewDescribeRsgAsGroupActivitiesResponse() (response *DescribeRsgAsGroupActivitiesResponse)

func (*DescribeRsgAsGroupActivitiesResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRsgAsGroupActivitiesResponse) ToJsonString

func (r *DescribeRsgAsGroupActivitiesResponse) ToJsonString() string

type DescribeRsgAsGroupActivitiesResponseParams added in v1.0.426

type DescribeRsgAsGroupActivitiesResponseParams struct {
	// 伸缩组活动数组
	// 注意:此字段可能返回 null,表示取不到有效值。
	RsgAsGroupActivitySet []*RsgAsGroupActivity `json:"RsgAsGroupActivitySet,omitnil,omitempty" name:"RsgAsGroupActivitySet"`

	// 所查询的伸缩组活动总数目
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRsgAsGroupsRequest

type DescribeRsgAsGroupsRequest struct {
	*tchttp.BaseRequest

	// 筛选选项
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 偏移量,默认为 0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为 20,最大值为 200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 输出列表的排列顺序。取值范围:"ASC", "DESC"
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// 排序的依据字段, 取值范围 "CREATE_TIME", "UPDATE_TIME", "NAME"
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`
}

func NewDescribeRsgAsGroupsRequest

func NewDescribeRsgAsGroupsRequest() (request *DescribeRsgAsGroupsRequest)

func (*DescribeRsgAsGroupsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRsgAsGroupsRequest) ToJsonString

func (r *DescribeRsgAsGroupsRequest) ToJsonString() string

type DescribeRsgAsGroupsRequestParams added in v1.0.426

type DescribeRsgAsGroupsRequestParams struct {
	// 筛选选项
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 偏移量,默认为 0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为 20,最大值为 200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 输出列表的排列顺序。取值范围:"ASC", "DESC"
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// 排序的依据字段, 取值范围 "CREATE_TIME", "UPDATE_TIME", "NAME"
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`
}

Predefined struct for user

type DescribeRsgAsGroupsResponse

type DescribeRsgAsGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRsgAsGroupsResponseParams `json:"Response"`
}

func NewDescribeRsgAsGroupsResponse

func NewDescribeRsgAsGroupsResponse() (response *DescribeRsgAsGroupsResponse)

func (*DescribeRsgAsGroupsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRsgAsGroupsResponse) ToJsonString

func (r *DescribeRsgAsGroupsResponse) ToJsonString() string

type DescribeRsgAsGroupsResponseParams added in v1.0.426

type DescribeRsgAsGroupsResponseParams struct {
	// 所查询的伸缩组数组
	RsgAsGroupSet []*RsgAsGroup `json:"RsgAsGroupSet,omitnil,omitempty" name:"RsgAsGroupSet"`

	// 伸缩组数组总数目
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeRuntimesRequest

type DescribeRuntimesRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeRuntimesRequest

func NewDescribeRuntimesRequest() (request *DescribeRuntimesRequest)

func (*DescribeRuntimesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRuntimesRequest) ToJsonString

func (r *DescribeRuntimesRequest) ToJsonString() string

type DescribeRuntimesRequestParams added in v1.0.426

type DescribeRuntimesRequestParams struct {
}

Predefined struct for user

type DescribeRuntimesResponse

type DescribeRuntimesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeRuntimesResponseParams `json:"Response"`
}

func NewDescribeRuntimesResponse

func NewDescribeRuntimesResponse() (response *DescribeRuntimesResponse)

func (*DescribeRuntimesResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeRuntimesResponse) ToJsonString

func (r *DescribeRuntimesResponse) ToJsonString() string

type DescribeRuntimesResponseParams added in v1.0.426

type DescribeRuntimesResponseParams struct {
	// TIEMS支持的运行环境列表
	Runtimes []*Runtime `json:"Runtimes,omitnil,omitempty" name:"Runtimes"`

	// 用户对runtime对权限
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserAccess *uint64 `json:"UserAccess,omitnil,omitempty" name:"UserAccess"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeServiceConfigsRequest

type DescribeServiceConfigsRequest struct {
	*tchttp.BaseRequest

	// 筛选选项,支持按照name等进行筛选
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 偏移量,默认为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为1000
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// 排序的依据字段, 取值范围 "CREATE_TIME", "UPDATE_TIME", "NAME"
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`

	// 是否按照配置名分页
	PageByName *bool `json:"PageByName,omitnil,omitempty" name:"PageByName"`
}

func NewDescribeServiceConfigsRequest

func NewDescribeServiceConfigsRequest() (request *DescribeServiceConfigsRequest)

func (*DescribeServiceConfigsRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeServiceConfigsRequest) ToJsonString

func (r *DescribeServiceConfigsRequest) ToJsonString() string

type DescribeServiceConfigsRequestParams added in v1.0.426

type DescribeServiceConfigsRequestParams struct {
	// 筛选选项,支持按照name等进行筛选
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 偏移量,默认为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为1000
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// 排序的依据字段, 取值范围 "CREATE_TIME", "UPDATE_TIME", "NAME"
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`

	// 是否按照配置名分页
	PageByName *bool `json:"PageByName,omitnil,omitempty" name:"PageByName"`
}

Predefined struct for user

type DescribeServiceConfigsResponse

type DescribeServiceConfigsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeServiceConfigsResponseParams `json:"Response"`
}

func NewDescribeServiceConfigsResponse

func NewDescribeServiceConfigsResponse() (response *DescribeServiceConfigsResponse)

func (*DescribeServiceConfigsResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeServiceConfigsResponse) ToJsonString

func (r *DescribeServiceConfigsResponse) ToJsonString() string

type DescribeServiceConfigsResponseParams added in v1.0.426

type DescribeServiceConfigsResponseParams struct {
	// 服务配置
	ServiceConfigs []*Config `json:"ServiceConfigs,omitnil,omitempty" name:"ServiceConfigs"`

	// 服务配置总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeServicesRequest

type DescribeServicesRequest struct {
	*tchttp.BaseRequest

	// 筛选选项,支持筛选的字段:id, region, zone, cluster, status, runtime, rsg_id
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 偏移量,默认为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// 排序的依据字段, 取值范围 "CREATE_TIME" "UPDATE_TIME"
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`
}

func NewDescribeServicesRequest

func NewDescribeServicesRequest() (request *DescribeServicesRequest)

func (*DescribeServicesRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeServicesRequest) ToJsonString

func (r *DescribeServicesRequest) ToJsonString() string

type DescribeServicesRequestParams added in v1.0.426

type DescribeServicesRequestParams struct {
	// 筛选选项,支持筛选的字段:id, region, zone, cluster, status, runtime, rsg_id
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 偏移量,默认为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20,最大值为100
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列
	Order *string `json:"Order,omitnil,omitempty" name:"Order"`

	// 排序的依据字段, 取值范围 "CREATE_TIME" "UPDATE_TIME"
	OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"`
}

Predefined struct for user

type DescribeServicesResponse

type DescribeServicesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeServicesResponseParams `json:"Response"`
}

func NewDescribeServicesResponse

func NewDescribeServicesResponse() (response *DescribeServicesResponse)

func (*DescribeServicesResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeServicesResponse) ToJsonString

func (r *DescribeServicesResponse) ToJsonString() string

type DescribeServicesResponseParams added in v1.0.426

type DescribeServicesResponseParams struct {
	// 服务列表
	Services []*ModelService `json:"Services,omitnil,omitempty" name:"Services"`

	// 服务总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DisableRsgAsGroupRequest

type DisableRsgAsGroupRequest struct {
	*tchttp.BaseRequest

	// 伸缩组 ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func NewDisableRsgAsGroupRequest

func NewDisableRsgAsGroupRequest() (request *DisableRsgAsGroupRequest)

func (*DisableRsgAsGroupRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableRsgAsGroupRequest) ToJsonString

func (r *DisableRsgAsGroupRequest) ToJsonString() string

type DisableRsgAsGroupRequestParams added in v1.0.426

type DisableRsgAsGroupRequestParams struct {
	// 伸缩组 ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type DisableRsgAsGroupResponse

type DisableRsgAsGroupResponse struct {
	*tchttp.BaseResponse
	Response *DisableRsgAsGroupResponseParams `json:"Response"`
}

func NewDisableRsgAsGroupResponse

func NewDisableRsgAsGroupResponse() (response *DisableRsgAsGroupResponse)

func (*DisableRsgAsGroupResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DisableRsgAsGroupResponse) ToJsonString

func (r *DisableRsgAsGroupResponse) ToJsonString() string

type DisableRsgAsGroupResponseParams added in v1.0.426

type DisableRsgAsGroupResponseParams struct {
	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type EnableRsgAsGroupRequest

type EnableRsgAsGroupRequest struct {
	*tchttp.BaseRequest

	// 伸缩组 ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func NewEnableRsgAsGroupRequest

func NewEnableRsgAsGroupRequest() (request *EnableRsgAsGroupRequest)

func (*EnableRsgAsGroupRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableRsgAsGroupRequest) ToJsonString

func (r *EnableRsgAsGroupRequest) ToJsonString() string

type EnableRsgAsGroupRequestParams added in v1.0.426

type EnableRsgAsGroupRequestParams struct {
	// 伸缩组 ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type EnableRsgAsGroupResponse

type EnableRsgAsGroupResponse struct {
	*tchttp.BaseResponse
	Response *EnableRsgAsGroupResponseParams `json:"Response"`
}

func NewEnableRsgAsGroupResponse

func NewEnableRsgAsGroupResponse() (response *EnableRsgAsGroupResponse)

func (*EnableRsgAsGroupResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*EnableRsgAsGroupResponse) ToJsonString

func (r *EnableRsgAsGroupResponse) ToJsonString() string

type EnableRsgAsGroupResponseParams added in v1.0.426

type EnableRsgAsGroupResponseParams struct {
	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ExposeInfo

type ExposeInfo struct {
	// 暴露方式,支持 EXTERNAL(外网暴露),VPC (VPC内网打通)
	ExposeType *string `json:"ExposeType,omitnil,omitempty" name:"ExposeType"`

	// 暴露Ip。暴露方式为 EXTERNAL 为外网 Ip,暴露方式为 VPC 时为指定 Vpc 下的Vip
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// 暴露方式为 VPC 时,打通的私有网络Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 暴露方式为 VPC 时,打通的子网Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// GATEWAY 服务id,ExposeType = GATEWAY 时返回
	// 注意:此字段可能返回 null,表示取不到有效值。
	GateWayServiceId *string `json:"GateWayServiceId,omitnil,omitempty" name:"GateWayServiceId"`

	// GATEWAY api id,ExposeType = GATEWAY 时返回
	// 注意:此字段可能返回 null,表示取不到有效值。
	GateWayAPIId *string `json:"GateWayAPIId,omitnil,omitempty" name:"GateWayAPIId"`

	// GATEWAY domain,ExposeType = GATEWAY 时返回
	// 注意:此字段可能返回 null,表示取不到有效值。
	GateWayDomain *string `json:"GateWayDomain,omitnil,omitempty" name:"GateWayDomain"`
}

type ExposeServiceRequest

type ExposeServiceRequest struct {
	*tchttp.BaseRequest

	// 服务Id
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// 暴露方式,支持 EXTERNAL(外网暴露),VPC (VPC内网打通)
	ExposeType *string `json:"ExposeType,omitnil,omitempty" name:"ExposeType"`

	// 暴露方式为 VPC 时,填写需要打通的私有网络Id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 暴露方式为 VPC 时,填写需要打通的子网Id
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
}

func NewExposeServiceRequest

func NewExposeServiceRequest() (request *ExposeServiceRequest)

func (*ExposeServiceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ExposeServiceRequest) ToJsonString

func (r *ExposeServiceRequest) ToJsonString() string

type ExposeServiceRequestParams added in v1.0.426

type ExposeServiceRequestParams struct {
	// 服务Id
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// 暴露方式,支持 EXTERNAL(外网暴露),VPC (VPC内网打通)
	ExposeType *string `json:"ExposeType,omitnil,omitempty" name:"ExposeType"`

	// 暴露方式为 VPC 时,填写需要打通的私有网络Id
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 暴露方式为 VPC 时,填写需要打通的子网Id
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`
}

Predefined struct for user

type ExposeServiceResponse

type ExposeServiceResponse struct {
	*tchttp.BaseResponse
	Response *ExposeServiceResponseParams `json:"Response"`
}

func NewExposeServiceResponse

func NewExposeServiceResponse() (response *ExposeServiceResponse)

func (*ExposeServiceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ExposeServiceResponse) ToJsonString

func (r *ExposeServiceResponse) ToJsonString() string

type ExposeServiceResponseParams added in v1.0.426

type ExposeServiceResponseParams struct {
	// 暴露方式
	Expose *ExposeInfo `json:"Expose,omitnil,omitempty" name:"Expose"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Filter

type Filter struct {
	// 名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 取值
	Values []*string `json:"Values,omitnil,omitempty" name:"Values"`
}

type Instance

type Instance struct {
	// 节点 ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 节点所在地区
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// 节点类型
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// 节点充值类型
	InstanceChargeType *string `json:"InstanceChargeType,omitnil,omitempty" name:"InstanceChargeType"`

	// Cpu 核数
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 内存
	Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// Gpu 核数
	Gpu *uint64 `json:"Gpu,omitnil,omitempty" name:"Gpu"`

	// 节点状态
	State *string `json:"State,omitnil,omitempty" name:"State"`

	// 节点故障信息
	AbnormalReason *string `json:"AbnormalReason,omitnil,omitempty" name:"AbnormalReason"`

	// 创建时间
	Created *string `json:"Created,omitnil,omitempty" name:"Created"`

	// 更新时间
	Updated *string `json:"Updated,omitnil,omitempty" name:"Updated"`

	// 到期时间
	DeadlineTime *string `json:"DeadlineTime,omitnil,omitempty" name:"DeadlineTime"`

	// 所属资源组 ID
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`

	// 自动续费标签
	RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`

	// 节点所在地域
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// 当前 Cpu 申请使用量
	CpuRequested *uint64 `json:"CpuRequested,omitnil,omitempty" name:"CpuRequested"`

	// 当前 Memory 申请使用量
	MemoryRequested *uint64 `json:"MemoryRequested,omitnil,omitempty" name:"MemoryRequested"`

	// 当前 Gpu 申请使用量
	GpuRequested *uint64 `json:"GpuRequested,omitnil,omitempty" name:"GpuRequested"`

	// 节点所在伸缩组 ID
	RsgAsGroupId *string `json:"RsgAsGroupId,omitnil,omitempty" name:"RsgAsGroupId"`
}

type Job

type Job struct {
	// 任务 Id
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 集群名
	// 注意:此字段可能返回 null,表示取不到有效值。
	Cluster *string `json:"Cluster,omitnil,omitempty" name:"Cluster"`

	// Region 名
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

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

	// Worker 使用的运行环境
	// 注意:此字段可能返回 null,表示取不到有效值。
	Runtime *string `json:"Runtime,omitnil,omitempty" name:"Runtime"`

	// 任务描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 配置 Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"`

	// 预测输入
	// 注意:此字段可能返回 null,表示取不到有效值。
	PredictInput *PredictInput `json:"PredictInput,omitnil,omitempty" name:"PredictInput"`

	// 任务状态
	Status *JobStatus `json:"Status,omitnil,omitempty" name:"Status"`

	// 任务创建时间
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 任务开始时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 任务结束时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 任务取消时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	CancelTime *string `json:"CancelTime,omitnil,omitempty" name:"CancelTime"`

	// 任务使用资源组 Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`

	// 处理器配置, 单位为1/1000核;范围[100, 256000]
	// 注意:此字段可能返回 null,表示取不到有效值。
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 内存配置, 单位为1M;范围[100, 256000]
	// 注意:此字段可能返回 null,表示取不到有效值。
	Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// GPU算力配置,单位为1/1000 卡,范围 [0, 256000]
	// 注意:此字段可能返回 null,表示取不到有效值。
	Gpu *uint64 `json:"Gpu,omitnil,omitempty" name:"Gpu"`

	// 显存配置, 单位为1M,范围 [0, 256000]
	// 注意:此字段可能返回 null,表示取不到有效值。
	GpuMemory *uint64 `json:"GpuMemory,omitnil,omitempty" name:"GpuMemory"`

	// 任务使用资源组名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceGroupName *string `json:"ResourceGroupName,omitnil,omitempty" name:"ResourceGroupName"`

	// GPU类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	GpuType *string `json:"GpuType,omitnil,omitempty" name:"GpuType"`

	// 配置名
	// 注意:此字段可能返回 null,表示取不到有效值。
	ConfigName *string `json:"ConfigName,omitnil,omitempty" name:"ConfigName"`

	// 配置版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	ConfigVersion *string `json:"ConfigVersion,omitnil,omitempty" name:"ConfigVersion"`

	// Job类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	JobType *string `json:"JobType,omitnil,omitempty" name:"JobType"`

	// 量化输入
	// 注意:此字段可能返回 null,表示取不到有效值。
	QuantizationInput *QuantizationInput `json:"QuantizationInput,omitnil,omitempty" name:"QuantizationInput"`

	// Cls日志主题ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	LogTopicId *string `json:"LogTopicId,omitnil,omitempty" name:"LogTopicId"`
}

type JobStatus

type JobStatus struct {
	// 任务状态
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 错误时为错误描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`

	// 预期Worker数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	DesiredWorkers *uint64 `json:"DesiredWorkers,omitnil,omitempty" name:"DesiredWorkers"`

	// 当前Worker数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	CurrentWorkers *uint64 `json:"CurrentWorkers,omitnil,omitempty" name:"CurrentWorkers"`

	// 副本名
	// 注意:此字段可能返回 null,表示取不到有效值。
	Replicas []*string `json:"Replicas,omitnil,omitempty" name:"Replicas"`

	// 副本实例
	// 注意:此字段可能返回 null,表示取不到有效值。
	ReplicaInfos []*ReplicaInfo `json:"ReplicaInfos,omitnil,omitempty" name:"ReplicaInfos"`
}

type ModelService

type ModelService struct {
	// 服务ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 运行集群
	// 注意:此字段可能返回 null,表示取不到有效值。
	Cluster *string `json:"Cluster,omitnil,omitempty" name:"Cluster"`

	// 服务名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 运行环境
	Runtime *string `json:"Runtime,omitnil,omitempty" name:"Runtime"`

	// 模型地址
	ModelUri *string `json:"ModelUri,omitnil,omitempty" name:"ModelUri"`

	// 处理器配置, 单位为1/1000核
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 内存配置, 单位为1M
	Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// GPU 配置, 单位为1/1000 卡
	Gpu *uint64 `json:"Gpu,omitnil,omitempty" name:"Gpu"`

	// 显存配置, 单位为1M
	GpuMemory *uint64 `json:"GpuMemory,omitnil,omitempty" name:"GpuMemory"`

	// 创建时间
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 更新时间
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// 支持AUTO, MANUAL
	ScaleMode *string `json:"ScaleMode,omitnil,omitempty" name:"ScaleMode"`

	// 弹性伸缩配置
	Scaler *Scaler `json:"Scaler,omitnil,omitempty" name:"Scaler"`

	// 服务状态
	Status *ServiceStatus `json:"Status,omitnil,omitempty" name:"Status"`

	// 访问密钥
	// 注意:此字段可能返回 null,表示取不到有效值。
	AccessToken *string `json:"AccessToken,omitnil,omitempty" name:"AccessToken"`

	// 服务配置Id
	ConfigId *string `json:"ConfigId,omitnil,omitempty" name:"ConfigId"`

	// 服务配置名
	ConfigName *string `json:"ConfigName,omitnil,omitempty" name:"ConfigName"`

	// 服务运行时长
	ServeSeconds *uint64 `json:"ServeSeconds,omitnil,omitempty" name:"ServeSeconds"`

	// 配置版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	ConfigVersion *string `json:"ConfigVersion,omitnil,omitempty" name:"ConfigVersion"`

	// 服务使用资源组 Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"`

	// 暴露方式
	// 注意:此字段可能返回 null,表示取不到有效值。
	Exposes []*ExposeInfo `json:"Exposes,omitnil,omitempty" name:"Exposes"`

	// Region 名
	// 注意:此字段可能返回 null,表示取不到有效值。
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// 服务使用资源组名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceGroupName *string `json:"ResourceGroupName,omitnil,omitempty" name:"ResourceGroupName"`

	// 备注
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// GPU类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	GpuType *string `json:"GpuType,omitnil,omitempty" name:"GpuType"`

	// Cls日志主题Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	LogTopicId *string `json:"LogTopicId,omitnil,omitempty" name:"LogTopicId"`
}

type Option

type Option struct {
	// 名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 取值
	Value *int64 `json:"Value,omitnil,omitempty" name:"Value"`
}

type PredictInput

type PredictInput struct {
	// 输入路径,支持 cos 格式路径文件夹或文件
	InputPath *string `json:"InputPath,omitnil,omitempty" name:"InputPath"`

	// 输出路径,支持 cos 格式路径
	OutputPath *string `json:"OutputPath,omitnil,omitempty" name:"OutputPath"`

	// 输入数据格式,目前支持:JSON
	InputDataFormat *string `json:"InputDataFormat,omitnil,omitempty" name:"InputDataFormat"`

	// 输出数据格式,目前支持:JSON
	OutputDataFormat *string `json:"OutputDataFormat,omitnil,omitempty" name:"OutputDataFormat"`

	// 预测批大小,默认为 64
	BatchSize *uint64 `json:"BatchSize,omitnil,omitempty" name:"BatchSize"`

	// 模型签名
	// 注意:此字段可能返回 null,表示取不到有效值。
	SignatureName *string `json:"SignatureName,omitnil,omitempty" name:"SignatureName"`
}

type QuantizationInput

type QuantizationInput struct {
	// 量化输入路径
	InputPath *string `json:"InputPath,omitnil,omitempty" name:"InputPath"`

	// 量化输出路径
	OutputPath *string `json:"OutputPath,omitnil,omitempty" name:"OutputPath"`

	// 量化批大小
	BatchSize *uint64 `json:"BatchSize,omitnil,omitempty" name:"BatchSize"`

	// 量化精度,支持:FP32,FP16,INT8
	Precision *string `json:"Precision,omitnil,omitempty" name:"Precision"`

	// 转换类型
	ConvertType *string `json:"ConvertType,omitnil,omitempty" name:"ConvertType"`
}

type ReplicaInfo

type ReplicaInfo struct {
	// 实例名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 弹性网卡模式时,弹性网卡Ip
	// 注意:此字段可能返回 null,表示取不到有效值。
	EniIp *string `json:"EniIp,omitnil,omitempty" name:"EniIp"`

	// Normal: 正常运行中; Abnormal: 异常;Waiting:等待中
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 当 status为 Abnormal 的时候,一些额外的信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`

	// 启动时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 创建时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 重启次数
	Restarted *uint64 `json:"Restarted,omitnil,omitempty" name:"Restarted"`
}

type ResourceGroup

type ResourceGroup struct {
	// 资源组 Id
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 地域
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// 集群
	// 注意:此字段可能返回 null,表示取不到有效值。
	Cluster *string `json:"Cluster,omitnil,omitempty" name:"Cluster"`

	// 资源组名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 资源组描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 创建时间
	Created *string `json:"Created,omitnil,omitempty" name:"Created"`

	// 更新时间
	Updated *string `json:"Updated,omitnil,omitempty" name:"Updated"`

	// 资源组主机数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"`

	// 使用资源组的服务数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	ServiceCount *uint64 `json:"ServiceCount,omitnil,omitempty" name:"ServiceCount"`

	// 使用资源组的任务数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	JobCount *uint64 `json:"JobCount,omitnil,omitempty" name:"JobCount"`

	// 资源组是否为公共资源组
	// 注意:此字段可能返回 null,表示取不到有效值。
	Public *bool `json:"Public,omitnil,omitempty" name:"Public"`

	// 机器类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// 资源组状态
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 显卡总张数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Gpu *uint64 `json:"Gpu,omitnil,omitempty" name:"Gpu"`

	// 处理器总核数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 内存总量,单位为G
	// 注意:此字段可能返回 null,表示取不到有效值。
	Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// 可用区
	// 注意:此字段可能返回 null,表示取不到有效值。
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// Gpu类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	GpuType []*string `json:"GpuType,omitnil,omitempty" name:"GpuType"`

	// 该资源组下是否有预付费资源
	// 注意:此字段可能返回 null,表示取不到有效值。
	HasPrepaid *bool `json:"HasPrepaid,omitnil,omitempty" name:"HasPrepaid"`

	// 资源组是否允许预付费或后付费模式
	// 注意:此字段可能返回 null,表示取不到有效值。
	PayMode *string `json:"PayMode,omitnil,omitempty" name:"PayMode"`
}

type RsgAsActivityRelatedInstance

type RsgAsActivityRelatedInstance struct {
	// 节点 ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 节点状态
	InstanceStatus *string `json:"InstanceStatus,omitnil,omitempty" name:"InstanceStatus"`
}

type RsgAsGroup

type RsgAsGroup struct {
	// 伸缩组 ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 伸缩组所在地域
	Region *string `json:"Region,omitnil,omitempty" name:"Region"`

	// 伸缩组所在可用区
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// 伸缩组所在集群
	Cluster *string `json:"Cluster,omitnil,omitempty" name:"Cluster"`

	// 伸缩组所在资源组 ID
	RsgId *string `json:"RsgId,omitnil,omitempty" name:"RsgId"`

	// 伸缩组名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 伸缩组允许的最大节点个数
	MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"`

	// 伸缩组允许的最小节点个数
	MinSize *uint64 `json:"MinSize,omitnil,omitempty" name:"MinSize"`

	// 伸缩组创建时间
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 伸缩组更新时间
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// 伸缩组状态
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 伸缩组节点类型
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// 伸缩组内节点个数
	InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"`

	// 伸缩组起始节点数
	DesiredSize *uint64 `json:"DesiredSize,omitnil,omitempty" name:"DesiredSize"`
}

type RsgAsGroupActivity

type RsgAsGroupActivity struct {
	// 伸缩组活动 ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 关联的伸缩组 ID
	RsgAsGroupId *string `json:"RsgAsGroupId,omitnil,omitempty" name:"RsgAsGroupId"`

	// 活动类型
	ActivityType *string `json:"ActivityType,omitnil,omitempty" name:"ActivityType"`

	// 状态的编码
	StatusCode *string `json:"StatusCode,omitnil,omitempty" name:"StatusCode"`

	// 状态的消息
	StatusMessage *string `json:"StatusMessage,omitnil,omitempty" name:"StatusMessage"`

	// 活动原因
	Cause *string `json:"Cause,omitnil,omitempty" name:"Cause"`

	// 活动描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 活动开始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 活动结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 活动创建时间
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 活动相关联的节点
	RsgAsActivityRelatedInstance []*RsgAsActivityRelatedInstance `json:"RsgAsActivityRelatedInstance,omitnil,omitempty" name:"RsgAsActivityRelatedInstance"`

	// 简略的状态消息
	StatusMessageSimplified *string `json:"StatusMessageSimplified,omitnil,omitempty" name:"StatusMessageSimplified"`
}

type Runtime

type Runtime struct {
	// 运行环境名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 运行环境框架
	Framework *string `json:"Framework,omitnil,omitempty" name:"Framework"`

	// 运行环境描述
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// 是否为公开运行环境
	// 注意:此字段可能返回 null,表示取不到有效值。
	Public *bool `json:"Public,omitnil,omitempty" name:"Public"`

	// 是否打开健康检查
	// 注意:此字段可能返回 null,表示取不到有效值。
	HealthCheckOn *bool `json:"HealthCheckOn,omitnil,omitempty" name:"HealthCheckOn"`

	// 镜像地址
	// 注意:此字段可能返回 null,表示取不到有效值。
	Image *string `json:"Image,omitnil,omitempty" name:"Image"`

	// 创建时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type Scaler

type Scaler struct {
	// 最大副本数,ScaleMode 为 MANUAL 时辞会此值会被置为 StartReplicas 取值
	MaxReplicas *uint64 `json:"MaxReplicas,omitnil,omitempty" name:"MaxReplicas"`

	// 最小副本数,ScaleMode 为 MANUAL 时辞会此值会被置为 StartReplicas 取值
	MinReplicas *uint64 `json:"MinReplicas,omitnil,omitempty" name:"MinReplicas"`

	// 起始副本数
	StartReplicas *uint64 `json:"StartReplicas,omitnil,omitempty" name:"StartReplicas"`

	// 扩缩容指标,选择自动扩缩容时至少需要选择一个指标,支持CPU-UTIL、MEMORY-UTIL
	HpaMetrics []*Option `json:"HpaMetrics,omitnil,omitempty" name:"HpaMetrics"`
}

type ServiceStatus

type ServiceStatus struct {
	// 预期副本数
	DesiredReplicas *uint64 `json:"DesiredReplicas,omitnil,omitempty" name:"DesiredReplicas"`

	// 当前副本数
	CurrentReplicas *uint64 `json:"CurrentReplicas,omitnil,omitempty" name:"CurrentReplicas"`

	// Normal:正常运行中;Abnormal:服务异常,例如容器启动失败等;Waiting:服务等待中,例如容器下载镜像过程等;Stopped:已停止 Stopping 停止中;Resuming:重启中;Updating:服务更新中
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 服务处于当前状态的原因集合
	// 注意:此字段可能返回 null,表示取不到有效值。
	Conditions []*Conditions `json:"Conditions,omitnil,omitempty" name:"Conditions"`

	// 副本名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	Replicas []*string `json:"Replicas,omitnil,omitempty" name:"Replicas"`

	// 运行状态对额外信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`

	// 副本信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	ReplicaInfos []*ReplicaInfo `json:"ReplicaInfos,omitnil,omitempty" name:"ReplicaInfos"`
}

type UpdateJobRequest

type UpdateJobRequest struct {
	*tchttp.BaseRequest

	// 任务 Id
	JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"`

	// 任务更新动作,支持:Cancel
	JobAction *string `json:"JobAction,omitnil,omitempty" name:"JobAction"`

	// 备注
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

func NewUpdateJobRequest

func NewUpdateJobRequest() (request *UpdateJobRequest)

func (*UpdateJobRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateJobRequest) ToJsonString

func (r *UpdateJobRequest) ToJsonString() string

type UpdateJobRequestParams added in v1.0.426

type UpdateJobRequestParams struct {
	// 任务 Id
	JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"`

	// 任务更新动作,支持:Cancel
	JobAction *string `json:"JobAction,omitnil,omitempty" name:"JobAction"`

	// 备注
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

Predefined struct for user

type UpdateJobResponse

type UpdateJobResponse struct {
	*tchttp.BaseResponse
	Response *UpdateJobResponseParams `json:"Response"`
}

func NewUpdateJobResponse

func NewUpdateJobResponse() (response *UpdateJobResponse)

func (*UpdateJobResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateJobResponse) ToJsonString

func (r *UpdateJobResponse) ToJsonString() string

type UpdateJobResponseParams added in v1.0.426

type UpdateJobResponseParams struct {
	// 任务
	// 注意:此字段可能返回 null,表示取不到有效值。
	Job *Job `json:"Job,omitnil,omitempty" name:"Job"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateRsgAsGroupRequest

type UpdateRsgAsGroupRequest struct {
	*tchttp.BaseRequest

	// 伸缩组 ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 重命名名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 伸缩组最大节点数
	MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"`

	// 伸缩组最小节点数
	MinSize *uint64 `json:"MinSize,omitnil,omitempty" name:"MinSize"`

	// 伸缩组期望的节点数
	DesiredSize *uint64 `json:"DesiredSize,omitnil,omitempty" name:"DesiredSize"`
}

func NewUpdateRsgAsGroupRequest

func NewUpdateRsgAsGroupRequest() (request *UpdateRsgAsGroupRequest)

func (*UpdateRsgAsGroupRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateRsgAsGroupRequest) ToJsonString

func (r *UpdateRsgAsGroupRequest) ToJsonString() string

type UpdateRsgAsGroupRequestParams added in v1.0.426

type UpdateRsgAsGroupRequestParams struct {
	// 伸缩组 ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 重命名名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 伸缩组最大节点数
	MaxSize *uint64 `json:"MaxSize,omitnil,omitempty" name:"MaxSize"`

	// 伸缩组最小节点数
	MinSize *uint64 `json:"MinSize,omitnil,omitempty" name:"MinSize"`

	// 伸缩组期望的节点数
	DesiredSize *uint64 `json:"DesiredSize,omitnil,omitempty" name:"DesiredSize"`
}

Predefined struct for user

type UpdateRsgAsGroupResponse

type UpdateRsgAsGroupResponse struct {
	*tchttp.BaseResponse
	Response *UpdateRsgAsGroupResponseParams `json:"Response"`
}

func NewUpdateRsgAsGroupResponse

func NewUpdateRsgAsGroupResponse() (response *UpdateRsgAsGroupResponse)

func (*UpdateRsgAsGroupResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateRsgAsGroupResponse) ToJsonString

func (r *UpdateRsgAsGroupResponse) ToJsonString() string

type UpdateRsgAsGroupResponseParams added in v1.0.426

type UpdateRsgAsGroupResponseParams struct {
	// 资源组的伸缩组
	RsgAsGroup *RsgAsGroup `json:"RsgAsGroup,omitnil,omitempty" name:"RsgAsGroup"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateServiceRequest

type UpdateServiceRequest struct {
	*tchttp.BaseRequest

	// 服务Id
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// 扩缩容配置
	Scaler *Scaler `json:"Scaler,omitnil,omitempty" name:"Scaler"`

	// 服务配置Id
	ServiceConfigId *string `json:"ServiceConfigId,omitnil,omitempty" name:"ServiceConfigId"`

	// 支持AUTO, MANUAL,分别表示自动扩缩容,手动扩缩容
	ScaleMode *string `json:"ScaleMode,omitnil,omitempty" name:"ScaleMode"`

	// 支持STOP(停止) RESUME(重启)
	ServiceAction *string `json:"ServiceAction,omitnil,omitempty" name:"ServiceAction"`

	// 备注
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// GPU卡类型
	GpuType *string `json:"GpuType,omitnil,omitempty" name:"GpuType"`

	// 处理器配置,单位为 1/1000 核
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 内存配置,单位为1M
	Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// 显卡配置,单位为 1/1000 卡
	Gpu *uint64 `json:"Gpu,omitnil,omitempty" name:"Gpu"`

	// Cls日志主题ID
	LogTopicId *string `json:"LogTopicId,omitnil,omitempty" name:"LogTopicId"`
}

func NewUpdateServiceRequest

func NewUpdateServiceRequest() (request *UpdateServiceRequest)

func (*UpdateServiceRequest) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateServiceRequest) ToJsonString

func (r *UpdateServiceRequest) ToJsonString() string

type UpdateServiceRequestParams added in v1.0.426

type UpdateServiceRequestParams struct {
	// 服务Id
	ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"`

	// 扩缩容配置
	Scaler *Scaler `json:"Scaler,omitnil,omitempty" name:"Scaler"`

	// 服务配置Id
	ServiceConfigId *string `json:"ServiceConfigId,omitnil,omitempty" name:"ServiceConfigId"`

	// 支持AUTO, MANUAL,分别表示自动扩缩容,手动扩缩容
	ScaleMode *string `json:"ScaleMode,omitnil,omitempty" name:"ScaleMode"`

	// 支持STOP(停止) RESUME(重启)
	ServiceAction *string `json:"ServiceAction,omitnil,omitempty" name:"ServiceAction"`

	// 备注
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`

	// GPU卡类型
	GpuType *string `json:"GpuType,omitnil,omitempty" name:"GpuType"`

	// 处理器配置,单位为 1/1000 核
	Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"`

	// 内存配置,单位为1M
	Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"`

	// 显卡配置,单位为 1/1000 卡
	Gpu *uint64 `json:"Gpu,omitnil,omitempty" name:"Gpu"`

	// Cls日志主题ID
	LogTopicId *string `json:"LogTopicId,omitnil,omitempty" name:"LogTopicId"`
}

Predefined struct for user

type UpdateServiceResponse

type UpdateServiceResponse struct {
	*tchttp.BaseResponse
	Response *UpdateServiceResponseParams `json:"Response"`
}

func NewUpdateServiceResponse

func NewUpdateServiceResponse() (response *UpdateServiceResponse)

func (*UpdateServiceResponse) FromJsonString

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

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateServiceResponse) ToJsonString

func (r *UpdateServiceResponse) ToJsonString() string

type UpdateServiceResponseParams added in v1.0.426

type UpdateServiceResponseParams struct {
	// 服务
	Service *ModelService `json:"Service,omitnil,omitempty" name:"Service"`

	// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

Jump to

Keyboard shortcuts

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