v20170312

package
v3.0.798+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// `ComputeEnv` and `EnvId` cannot be both specified.
	ALLOWEDONEATTRIBUTEINENVIDANDCOMPUTEENV = "AllowedOneAttributeInEnvIdAndComputeEnv"

	// Internal error.
	INTERNALERROR = "InternalError"

	// The CPM API call returns an error.
	INTERNALERROR_CALLCPMAPI = "InternalError.CallCpmAPI"

	// An error is returned for the CVM API call.
	INTERNALERROR_CALLCVM = "InternalError.CallCvm"

	// Error while obtaining the Tag component.
	INTERNALERROR_CALLTAGAPI = "InternalError.CallTagAPI"

	// The specified filter is not supported.
	INVALIDFILTER = "InvalidFilter"

	// Invalid compute node ID format.
	INVALIDPARAMETER_COMPUTENODEIDMALFORMED = "InvalidParameter.ComputeNodeIdMalformed"

	// Invalid CVM parameter.
	INVALIDPARAMETER_CVMPARAMETERS = "InvalidParameter.CvmParameters"

	// The compute environment description is too long.
	INVALIDPARAMETER_ENVDESCRIPTIONTOOLONG = "InvalidParameter.EnvDescriptionTooLong"

	// Invalid compute environment ID format.
	INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"

	// The compute environment name is too long.
	INVALIDPARAMETER_ENVNAMETOOLONG = "InvalidParameter.EnvNameTooLong"

	// Incorrect image ID.
	INVALIDPARAMETER_IMAGEIDMALFORMED = "InvalidParameter.ImageIdMalformed"

	// Invalid parameter combination.
	INVALIDPARAMETER_INVALIDPARAMETERCOMBINATION = "InvalidParameter.InvalidParameterCombination"

	// Invalid job ID format.
	INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"

	// Duplicate message notification event name.
	INVALIDPARAMETER_NOTIFICATIONEVENTNAMEDUPLICATE = "InvalidParameter.NotificationEventNameDuplicate"

	// Invalid topic name.
	INVALIDPARAMETER_NOTIFICATIONTOPICNAME = "InvalidParameter.NotificationTopicName"

	// The topic name is too long.
	INVALIDPARAMETER_NOTIFICATIONTOPICNAMETOOLONG = "InvalidParameter.NotificationTopicNameTooLong"

	// Invalid task name.
	INVALIDPARAMETER_TASKNAME = "InvalidParameter.TaskName"

	// The task name is too long.
	INVALIDPARAMETER_TASKNAMETOOLONG = "InvalidParameter.TaskNameTooLong"

	// The task template description is too long.
	INVALIDPARAMETER_TASKTEMPLATEDESCRIPTIONTOOLONG = "InvalidParameter.TaskTemplateDescriptionTooLong"

	// Invalid task template ID format.
	INVALIDPARAMETER_TASKTEMPLATEIDMALFORMED = "InvalidParameter.TaskTemplateIdMalformed"

	// Invalid task template name.
	INVALIDPARAMETER_TASKTEMPLATENAME = "InvalidParameter.TaskTemplateName"

	// The task template name is too long.
	INVALIDPARAMETER_TASKTEMPLATENAMETOOLONG = "InvalidParameter.TaskTemplateNameTooLong"

	// At least one of `TaskTemplateName`, `TaskTemplateDescription`, and `TaskTemplateInfo` must be specified.
	INVALIDPARAMETERATLEASTONEATTRIBUTE = "InvalidParameterAtLeastOneAttribute"

	// Incorrect parameter value.
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// Compute environment parameter validation failed.
	INVALIDPARAMETERVALUE_COMPUTEENV = "InvalidParameterValue.ComputeEnv"

	// The dependent task definition was not found.
	INVALIDPARAMETERVALUE_DEPENDENCENOTFOUNDTASKNAME = "InvalidParameterValue.DependenceNotFoundTaskName"

	// Loop task dependency is prohibited.
	INVALIDPARAMETERVALUE_DEPENDENCEUNFEASIBLE = "InvalidParameterValue.DependenceUnfeasible"

	// Instance IDs duplicate.
	INVALIDPARAMETERVALUE_INSTANCEIDDUPLICATED = "InvalidParameterValue.InstanceIdDuplicated"

	// The specified instance type is not supported.
	INVALIDPARAMETERVALUE_INSTANCETYPE = "InvalidParameterValue.InstanceType"

	// The instance type value must be unique.
	INVALIDPARAMETERVALUE_INSTANCETYPEDUPLICATE = "InvalidParameterValue.InstanceTypeDuplicate"

	// The list of instance types cannot be empty.
	INVALIDPARAMETERVALUE_INSTANCETYPESEMPTY = "InvalidParameterValue.InstanceTypesEmpty"

	// The value of `DataTypeAny` is invalid.
	INVALIDPARAMETERVALUE_INVALIDDATATYPEANY = "InvalidParameterValue.InvalidDataTypeAny"

	// Incorrect `Filter` parameter.
	INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"

	// The availability zone and the region do not match.
	INVALIDPARAMETERVALUE_INVALIDZONEMISMATCHREGION = "InvalidParameterValue.InvalidZoneMismatchRegion"

	// The number of filter parameter values exceeds the limit.
	INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"

	// Invalid local storage path.
	INVALIDPARAMETERVALUE_LOCALPATH = "InvalidParameterValue.LocalPath"

	// Too many retry attempts
	INVALIDPARAMETERVALUE_MAXRETRYCOUNT = "InvalidParameterValue.MaxRetryCount"

	// Invalid negative parameter.
	INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"

	// Invalid storage path format.
	INVALIDPARAMETERVALUE_REMOTESTORAGEPATH = "InvalidParameterValue.RemoteStoragePath"

	// Invalid storage type.
	INVALIDPARAMETERVALUE_REMOTESTORAGESCHEMETYPE = "InvalidParameterValue.RemoteStorageSchemeType"

	// The specified `ResourceType` is invalid.
	INVALIDPARAMETERVALUE_RESOURCETYPE = "InvalidParameterValue.ResourceType"

	// The availability zone is unavailable.
	INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone"

	// The model billing type is not supported by BatchCompute.
	INVALIDPARAMETERVALUE_UNSUPPORTEDBATCHINSTANCECHARGETYPE = "InvalidParameterValue.UnsupportedBatchInstanceChargeType"

	// The specified zone does not exist.
	INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion"

	// Insufficient compute environment quota.
	LIMITEXCEEDED_COMPUTEENVQUOTA = "LimitExceeded.ComputeEnvQuota"

	// Insufficient CPU quota.
	LIMITEXCEEDED_CPUQUOTA = "LimitExceeded.CpuQuota"

	// Insufficient task template quota.
	LIMITEXCEEDED_TASKTEMPLATEQUOTA = "LimitExceeded.TaskTemplateQuota"

	// The job is in use.
	RESOURCEINUSE_JOB = "ResourceInUse.Job"

	// The specified compute environment does not exist.
	RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"

	// The specified compute node does not exist.
	RESOURCENOTFOUND_COMPUTENODE = "ResourceNotFound.ComputeNode"

	// The specified job does not exist.
	RESOURCENOTFOUND_JOB = "ResourceNotFound.Job"

	// The specified job task does not exist.
	RESOURCENOTFOUND_TASK = "ResourceNotFound.Task"

	// The specified task instance does not exist.
	RESOURCENOTFOUND_TASKINSTANCE = "ResourceNotFound.TaskInstance"

	// The specified task template ID does not exist.
	RESOURCENOTFOUND_TASKTEMPLATE = "ResourceNotFound.TaskTemplate"

	// It is prohibited to use the BatchCompute service.
	UNAUTHORIZEDOPERATION_USERNOTALLOWEDTOUSEBATCH = "UnauthorizedOperation.UserNotAllowedToUseBatch"

	// Unknown parameter error.
	UNKNOWNPARAMETER = "UnknownParameter"

	// Unsupported operation.
	UNSUPPORTEDOPERATION = "UnsupportedOperation"

	// Another request is being processed and deletion is prohibited.
	UNSUPPORTEDOPERATION_ACCEPTOTHERREQUEST = "UnsupportedOperation.AcceptOtherRequest"

	// The compute environment accepts other requests.
	UNSUPPORTEDOPERATION_COMPUTEENVACCEPTOTHERREQUEST = "UnsupportedOperation.ComputeEnvAcceptOtherRequest"

	// Deletion is prohibited.
	UNSUPPORTEDOPERATION_COMPUTEENVOPERATION = "UnsupportedOperation.ComputeEnvOperation"

	// Compute node termination is prohibited.
	UNSUPPORTEDOPERATION_COMPUTENODEFORBIDTERMINATE = "UnsupportedOperation.ComputeNodeForbidTerminate"

	// The compute node is terminating.
	UNSUPPORTEDOPERATION_COMPUTENODEISTERMINATING = "UnsupportedOperation.ComputeNodeIsTerminating"

	// This instance cannot be added to the compute environment.
	UNSUPPORTEDOPERATION_INSTANCESNOTALLOWTOATTACH = "UnsupportedOperation.InstancesNotAllowToAttach"

	// The number of compute nodes to be removed for scale-in is greater than the number of existing compute nodes.
	UNSUPPORTEDOPERATION_NOTENOUGHCOMPUTENODESTOTERMINATE = "UnsupportedOperation.NotEnoughComputeNodesToTerminate"

	// This operation is prohibited for the task instances in the specified compute environment.
	UNSUPPORTEDOPERATION_TERMINATEOPERATIONWITHENVID = "UnsupportedOperation.TerminateOperationWithEnvId"
)
View Source
const APIVersion = "2017-03-12"

Variables

This section is empty.

Functions

This section is empty.

Types

type Activity

type Activity struct {
	// Activity ID
	ActivityId *string `json:"ActivityId,omitnil" name:"ActivityId"`

	// Compute node ID
	ComputeNodeId *string `json:"ComputeNodeId,omitnil" name:"ComputeNodeId"`

	// Activity type. Values: `CREATE_COMPUTE_NODE`, `TERMINATE_COMPUTE_NODE`
	ComputeNodeActivityType *string `json:"ComputeNodeActivityType,omitnil" name:"ComputeNodeActivityType"`

	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// Cause of the activity
	Cause *string `json:"Cause,omitnil" name:"Cause"`

	// Activity state
	ActivityState *string `json:"ActivityState,omitnil" name:"ActivityState"`

	// Reason of going to this state
	StateReason *string `json:"StateReason,omitnil" name:"StateReason"`

	// Activity start time
	StartTime *string `json:"StartTime,omitnil" name:"StartTime"`

	// Activity end time
	// Note: This field may return `null`, indicating that no valid value was found.
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// CVM instance ID
	// Note: This field may return `null`, indicating that no valid value was found.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`
}

type AgentRunningMode

type AgentRunningMode struct {
	// Scenario type. Windows is supported
	Scene *string `json:"Scene,omitnil" name:"Scene"`

	// The user that runs the Agent
	User *string `json:"User,omitnil" name:"User"`

	// The session that runs the Agent
	Session *string `json:"Session,omitnil" name:"Session"`
}

type AnonymousComputeEnv

type AnonymousComputeEnv struct {
	// Compute environment management type
	EnvType *string `json:"EnvType,omitnil" name:"EnvType"`

	// Compute environment's parameters
	EnvData *EnvData `json:"EnvData,omitnil" name:"EnvData"`

	// Data disk mounting option
	MountDataDisks []*MountDataDisk `json:"MountDataDisks,omitnil" name:"MountDataDisks"`

	// Agent running mode; applicable for Windows
	AgentRunningMode *AgentRunningMode `json:"AgentRunningMode,omitnil" name:"AgentRunningMode"`
}

type Application

type Application struct {
	// Task execution command
	Command *string `json:"Command,omitnil" name:"Command"`

	// Delivery form of the application. Values: `PACKAGE` (package stored in a remote location), `LOCAL` (local computer).
	DeliveryForm *string `json:"DeliveryForm,omitnil" name:"DeliveryForm"`

	// Remote storage path of the application package
	PackagePath *string `json:"PackagePath,omitnil" name:"PackagePath"`

	// Relevant configuration of the Docker used by the application. In case that the Docker configuration is used, "LOCAL" DeliveryForm means that the application software inside the Docker image is used directly and run in Docker mode; "PACKAGE" DeliveryForm means that the remote application package is run in Docker mode after being injected into the Docker image. To avoid compatibility issues with different versions of Docker, the Docker installation package and relevant dependencies are taken care of by BatchCompute. For custom images where Docker has already been installed, uninstall Docker first and then use the Docker feature.
	Docker *Docker `json:"Docker,omitnil" name:"Docker"`
}

type AttachInstancesRequest

type AttachInstancesRequest struct {
	*tchttp.BaseRequest

	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// List of instances that added to the compute environment
	Instances []*Instance `json:"Instances,omitnil" name:"Instances"`
}

func NewAttachInstancesRequest

func NewAttachInstancesRequest() (request *AttachInstancesRequest)

func (*AttachInstancesRequest) FromJsonString

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

func (r *AttachInstancesRequest) ToJsonString() string

type AttachInstancesRequestParams

type AttachInstancesRequestParams struct {
	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// List of instances that added to the compute environment
	Instances []*Instance `json:"Instances,omitnil" name:"Instances"`
}

Predefined struct for user

type AttachInstancesResponse

type AttachInstancesResponse struct {
	*tchttp.BaseResponse
	Response *AttachInstancesResponseParams `json:"Response"`
}

func NewAttachInstancesResponse

func NewAttachInstancesResponse() (response *AttachInstancesResponse)

func (*AttachInstancesResponse) FromJsonString

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

func (r *AttachInstancesResponse) ToJsonString() string

type AttachInstancesResponseParams

type AttachInstancesResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type Authentication

type Authentication struct {
	// Authentication scenario such as COS
	Scene *string `json:"Scene,omitnil" name:"Scene"`

	// SecretId
	SecretId *string `json:"SecretId,omitnil" name:"SecretId"`

	// SecretKey
	SecretKey *string `json:"SecretKey,omitnil" name:"SecretKey"`
}

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

func (c *Client) AttachInstances(request *AttachInstancesRequest) (response *AttachInstancesResponse, err error)

AttachInstances This API is used to add existing instances to the compute environment.

Requirements: <br/>

1. The instance is not in the batch compute system.<br/>

2. The instance is in “Running” status.<br/>

3. Spot instances are not supported.<b/>

For instances added to the compute environment, their UserData will be reset, and the operating systems will be reinstalled.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_CALLCVM = "InternalError.CallCvm"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
INVALIDPARAMETERVALUE_INSTANCEIDDUPLICATED = "InvalidParameterValue.InstanceIdDuplicated"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INSTANCESNOTALLOWTOATTACH = "UnsupportedOperation.InstancesNotAllowToAttach"

func (*Client) AttachInstancesWithContext

func (c *Client) AttachInstancesWithContext(ctx context.Context, request *AttachInstancesRequest) (response *AttachInstancesResponse, err error)

AttachInstances This API is used to add existing instances to the compute environment.

Requirements: <br/>

1. The instance is not in the batch compute system.<br/>

2. The instance is in “Running” status.<br/>

3. Spot instances are not supported.<b/>

For instances added to the compute environment, their UserData will be reset, and the operating systems will be reinstalled.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_CALLCVM = "InternalError.CallCvm"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
INVALIDPARAMETERVALUE_INSTANCEIDDUPLICATED = "InvalidParameterValue.InstanceIdDuplicated"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_INSTANCESNOTALLOWTOATTACH = "UnsupportedOperation.InstancesNotAllowToAttach"

func (*Client) CreateComputeEnv

func (c *Client) CreateComputeEnv(request *CreateComputeEnvRequest) (response *CreateComputeEnvResponse, err error)

CreateComputeEnv This API is used to create a compute environment.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_CALLCVM = "InternalError.CallCvm"
INTERNALERROR_CALLTAGAPI = "InternalError.CallTagAPI"
INVALIDPARAMETER_CVMPARAMETERS = "InvalidParameter.CvmParameters"
INVALIDPARAMETER_ENVDESCRIPTIONTOOLONG = "InvalidParameter.EnvDescriptionTooLong"
INVALIDPARAMETER_ENVNAMETOOLONG = "InvalidParameter.EnvNameTooLong"
INVALIDPARAMETER_IMAGEIDMALFORMED = "InvalidParameter.ImageIdMalformed"
INVALIDPARAMETER_INVALIDPARAMETERCOMBINATION = "InvalidParameter.InvalidParameterCombination"
INVALIDPARAMETER_NOTIFICATIONEVENTNAMEDUPLICATE = "InvalidParameter.NotificationEventNameDuplicate"
INVALIDPARAMETER_NOTIFICATIONTOPICNAME = "InvalidParameter.NotificationTopicName"
INVALIDPARAMETER_NOTIFICATIONTOPICNAMETOOLONG = "InvalidParameter.NotificationTopicNameTooLong"
INVALIDPARAMETERVALUE_COMPUTEENV = "InvalidParameterValue.ComputeEnv"
INVALIDPARAMETERVALUE_INSTANCETYPE = "InvalidParameterValue.InstanceType"
INVALIDPARAMETERVALUE_INVALIDDATATYPEANY = "InvalidParameterValue.InvalidDataTypeAny"
INVALIDPARAMETERVALUE_INVALIDZONEMISMATCHREGION = "InvalidParameterValue.InvalidZoneMismatchRegion"
INVALIDPARAMETERVALUE_LOCALPATH = "InvalidParameterValue.LocalPath"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_REMOTESTORAGEPATH = "InvalidParameterValue.RemoteStoragePath"
INVALIDPARAMETERVALUE_REMOTESTORAGESCHEMETYPE = "InvalidParameterValue.RemoteStorageSchemeType"
INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone"
INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion"
LIMITEXCEEDED_COMPUTEENVQUOTA = "LimitExceeded.ComputeEnvQuota"
LIMITEXCEEDED_CPUQUOTA = "LimitExceeded.CpuQuota"
UNAUTHORIZEDOPERATION_USERNOTALLOWEDTOUSEBATCH = "UnauthorizedOperation.UserNotAllowedToUseBatch"

func (*Client) CreateComputeEnvWithContext

func (c *Client) CreateComputeEnvWithContext(ctx context.Context, request *CreateComputeEnvRequest) (response *CreateComputeEnvResponse, err error)

CreateComputeEnv This API is used to create a compute environment.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_CALLCVM = "InternalError.CallCvm"
INTERNALERROR_CALLTAGAPI = "InternalError.CallTagAPI"
INVALIDPARAMETER_CVMPARAMETERS = "InvalidParameter.CvmParameters"
INVALIDPARAMETER_ENVDESCRIPTIONTOOLONG = "InvalidParameter.EnvDescriptionTooLong"
INVALIDPARAMETER_ENVNAMETOOLONG = "InvalidParameter.EnvNameTooLong"
INVALIDPARAMETER_IMAGEIDMALFORMED = "InvalidParameter.ImageIdMalformed"
INVALIDPARAMETER_INVALIDPARAMETERCOMBINATION = "InvalidParameter.InvalidParameterCombination"
INVALIDPARAMETER_NOTIFICATIONEVENTNAMEDUPLICATE = "InvalidParameter.NotificationEventNameDuplicate"
INVALIDPARAMETER_NOTIFICATIONTOPICNAME = "InvalidParameter.NotificationTopicName"
INVALIDPARAMETER_NOTIFICATIONTOPICNAMETOOLONG = "InvalidParameter.NotificationTopicNameTooLong"
INVALIDPARAMETERVALUE_COMPUTEENV = "InvalidParameterValue.ComputeEnv"
INVALIDPARAMETERVALUE_INSTANCETYPE = "InvalidParameterValue.InstanceType"
INVALIDPARAMETERVALUE_INVALIDDATATYPEANY = "InvalidParameterValue.InvalidDataTypeAny"
INVALIDPARAMETERVALUE_INVALIDZONEMISMATCHREGION = "InvalidParameterValue.InvalidZoneMismatchRegion"
INVALIDPARAMETERVALUE_LOCALPATH = "InvalidParameterValue.LocalPath"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_REMOTESTORAGEPATH = "InvalidParameterValue.RemoteStoragePath"
INVALIDPARAMETERVALUE_REMOTESTORAGESCHEMETYPE = "InvalidParameterValue.RemoteStorageSchemeType"
INVALIDPARAMETERVALUE_UNAVAILABLEZONE = "InvalidParameterValue.UnavailableZone"
INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion"
LIMITEXCEEDED_COMPUTEENVQUOTA = "LimitExceeded.ComputeEnvQuota"
LIMITEXCEEDED_CPUQUOTA = "LimitExceeded.CpuQuota"
UNAUTHORIZEDOPERATION_USERNOTALLOWEDTOUSEBATCH = "UnauthorizedOperation.UserNotAllowedToUseBatch"

func (*Client) CreateTaskTemplate

func (c *Client) CreateTaskTemplate(request *CreateTaskTemplateRequest) (response *CreateTaskTemplateResponse, err error)

CreateTaskTemplate This API is used to create a task template.

error code that may be returned:

ALLOWEDONEATTRIBUTEINENVIDANDCOMPUTEENV = "AllowedOneAttributeInEnvIdAndComputeEnv"
INTERNALERROR = "InternalError"
INTERNALERROR_CALLTAGAPI = "InternalError.CallTagAPI"
INVALIDPARAMETER_CVMPARAMETERS = "InvalidParameter.CvmParameters"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
INVALIDPARAMETER_IMAGEIDMALFORMED = "InvalidParameter.ImageIdMalformed"
INVALIDPARAMETER_TASKNAME = "InvalidParameter.TaskName"
INVALIDPARAMETER_TASKNAMETOOLONG = "InvalidParameter.TaskNameTooLong"
INVALIDPARAMETER_TASKTEMPLATENAME = "InvalidParameter.TaskTemplateName"
INVALIDPARAMETER_TASKTEMPLATENAMETOOLONG = "InvalidParameter.TaskTemplateNameTooLong"
INVALIDPARAMETERVALUE_COMPUTEENV = "InvalidParameterValue.ComputeEnv"
INVALIDPARAMETERVALUE_DEPENDENCENOTFOUNDTASKNAME = "InvalidParameterValue.DependenceNotFoundTaskName"
INVALIDPARAMETERVALUE_DEPENDENCEUNFEASIBLE = "InvalidParameterValue.DependenceUnfeasible"
INVALIDPARAMETERVALUE_INVALIDDATATYPEANY = "InvalidParameterValue.InvalidDataTypeAny"
INVALIDPARAMETERVALUE_LOCALPATH = "InvalidParameterValue.LocalPath"
INVALIDPARAMETERVALUE_MAXRETRYCOUNT = "InvalidParameterValue.MaxRetryCount"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_REMOTESTORAGEPATH = "InvalidParameterValue.RemoteStoragePath"
INVALIDPARAMETERVALUE_REMOTESTORAGESCHEMETYPE = "InvalidParameterValue.RemoteStorageSchemeType"
LIMITEXCEEDED_TASKTEMPLATEQUOTA = "LimitExceeded.TaskTemplateQuota"

func (*Client) CreateTaskTemplateWithContext

func (c *Client) CreateTaskTemplateWithContext(ctx context.Context, request *CreateTaskTemplateRequest) (response *CreateTaskTemplateResponse, err error)

CreateTaskTemplate This API is used to create a task template.

error code that may be returned:

ALLOWEDONEATTRIBUTEINENVIDANDCOMPUTEENV = "AllowedOneAttributeInEnvIdAndComputeEnv"
INTERNALERROR = "InternalError"
INTERNALERROR_CALLTAGAPI = "InternalError.CallTagAPI"
INVALIDPARAMETER_CVMPARAMETERS = "InvalidParameter.CvmParameters"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
INVALIDPARAMETER_IMAGEIDMALFORMED = "InvalidParameter.ImageIdMalformed"
INVALIDPARAMETER_TASKNAME = "InvalidParameter.TaskName"
INVALIDPARAMETER_TASKNAMETOOLONG = "InvalidParameter.TaskNameTooLong"
INVALIDPARAMETER_TASKTEMPLATENAME = "InvalidParameter.TaskTemplateName"
INVALIDPARAMETER_TASKTEMPLATENAMETOOLONG = "InvalidParameter.TaskTemplateNameTooLong"
INVALIDPARAMETERVALUE_COMPUTEENV = "InvalidParameterValue.ComputeEnv"
INVALIDPARAMETERVALUE_DEPENDENCENOTFOUNDTASKNAME = "InvalidParameterValue.DependenceNotFoundTaskName"
INVALIDPARAMETERVALUE_DEPENDENCEUNFEASIBLE = "InvalidParameterValue.DependenceUnfeasible"
INVALIDPARAMETERVALUE_INVALIDDATATYPEANY = "InvalidParameterValue.InvalidDataTypeAny"
INVALIDPARAMETERVALUE_LOCALPATH = "InvalidParameterValue.LocalPath"
INVALIDPARAMETERVALUE_MAXRETRYCOUNT = "InvalidParameterValue.MaxRetryCount"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_REMOTESTORAGEPATH = "InvalidParameterValue.RemoteStoragePath"
INVALIDPARAMETERVALUE_REMOTESTORAGESCHEMETYPE = "InvalidParameterValue.RemoteStorageSchemeType"
LIMITEXCEEDED_TASKTEMPLATEQUOTA = "LimitExceeded.TaskTemplateQuota"

func (*Client) DeleteComputeEnv

func (c *Client) DeleteComputeEnv(request *DeleteComputeEnvRequest) (response *DeleteComputeEnvResponse, err error)

DeleteComputeEnv This API is used to delete a compute environment.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ACCEPTOTHERREQUEST = "UnsupportedOperation.AcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTEENVACCEPTOTHERREQUEST = "UnsupportedOperation.ComputeEnvAcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTEENVOPERATION = "UnsupportedOperation.ComputeEnvOperation"
UNSUPPORTEDOPERATION_COMPUTENODEFORBIDTERMINATE = "UnsupportedOperation.ComputeNodeForbidTerminate"

func (*Client) DeleteComputeEnvWithContext

func (c *Client) DeleteComputeEnvWithContext(ctx context.Context, request *DeleteComputeEnvRequest) (response *DeleteComputeEnvResponse, err error)

DeleteComputeEnv This API is used to delete a compute environment.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ACCEPTOTHERREQUEST = "UnsupportedOperation.AcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTEENVACCEPTOTHERREQUEST = "UnsupportedOperation.ComputeEnvAcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTEENVOPERATION = "UnsupportedOperation.ComputeEnvOperation"
UNSUPPORTEDOPERATION_COMPUTENODEFORBIDTERMINATE = "UnsupportedOperation.ComputeNodeForbidTerminate"

func (*Client) DeleteJob

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

DeleteJob This API is used to delete a job.

When a job is deleted, all related information is deleted and the job cannot be queried.

To delete a job, the job and all its task instances must be in SUCCEED or FAILED status.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
RESOURCEINUSE_JOB = "ResourceInUse.Job"
RESOURCENOTFOUND_JOB = "ResourceNotFound.Job"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteJobWithContext

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

DeleteJob This API is used to delete a job.

When a job is deleted, all related information is deleted and the job cannot be queried.

To delete a job, the job and all its task instances must be in SUCCEED or FAILED status.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
RESOURCEINUSE_JOB = "ResourceInUse.Job"
RESOURCENOTFOUND_JOB = "ResourceNotFound.Job"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteTaskTemplates

func (c *Client) DeleteTaskTemplates(request *DeleteTaskTemplatesRequest) (response *DeleteTaskTemplatesResponse, err error)

DeleteTaskTemplates This API is used to delete task template information.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_TASKTEMPLATEIDMALFORMED = "InvalidParameter.TaskTemplateIdMalformed"
RESOURCENOTFOUND_TASKTEMPLATE = "ResourceNotFound.TaskTemplate"

func (*Client) DeleteTaskTemplatesWithContext

func (c *Client) DeleteTaskTemplatesWithContext(ctx context.Context, request *DeleteTaskTemplatesRequest) (response *DeleteTaskTemplatesResponse, err error)

DeleteTaskTemplates This API is used to delete task template information.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_TASKTEMPLATEIDMALFORMED = "InvalidParameter.TaskTemplateIdMalformed"
RESOURCENOTFOUND_TASKTEMPLATE = "ResourceNotFound.TaskTemplate"

func (*Client) DescribeAvailableCvmInstanceTypes

func (c *Client) DescribeAvailableCvmInstanceTypes(request *DescribeAvailableCvmInstanceTypesRequest) (response *DescribeAvailableCvmInstanceTypesResponse, err error)

DescribeAvailableCvmInstanceTypes This API is used to view the information of available CVM model configurations.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_CALLCVM = "InternalError.CallCvm"
INVALIDFILTER = "InvalidFilter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDZONEMISMATCHREGION = "InvalidParameterValue.InvalidZoneMismatchRegion"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion"

func (*Client) DescribeAvailableCvmInstanceTypesWithContext

func (c *Client) DescribeAvailableCvmInstanceTypesWithContext(ctx context.Context, request *DescribeAvailableCvmInstanceTypesRequest) (response *DescribeAvailableCvmInstanceTypesResponse, err error)

DescribeAvailableCvmInstanceTypes This API is used to view the information of available CVM model configurations.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_CALLCVM = "InternalError.CallCvm"
INVALIDFILTER = "InvalidFilter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDZONEMISMATCHREGION = "InvalidParameterValue.InvalidZoneMismatchRegion"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion"

func (*Client) DescribeComputeEnv

func (c *Client) DescribeComputeEnv(request *DescribeComputeEnvRequest) (response *DescribeComputeEnvResponse, err error)

DescribeComputeEnv This API is used to query compute environment details.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"

func (*Client) DescribeComputeEnvActivities

func (c *Client) DescribeComputeEnvActivities(request *DescribeComputeEnvActivitiesRequest) (response *DescribeComputeEnvActivitiesResponse, err error)

DescribeComputeEnvActivities This API is used to query the information of activities in the compute environment.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_COMPUTENODEIDMALFORMED = "InvalidParameter.ComputeNodeIdMalformed"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeComputeEnvActivitiesWithContext

func (c *Client) DescribeComputeEnvActivitiesWithContext(ctx context.Context, request *DescribeComputeEnvActivitiesRequest) (response *DescribeComputeEnvActivitiesResponse, err error)

DescribeComputeEnvActivities This API is used to query the information of activities in the compute environment.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_COMPUTENODEIDMALFORMED = "InvalidParameter.ComputeNodeIdMalformed"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeComputeEnvCreateInfo

func (c *Client) DescribeComputeEnvCreateInfo(request *DescribeComputeEnvCreateInfoRequest) (response *DescribeComputeEnvCreateInfoResponse, err error)

DescribeComputeEnvCreateInfo This API is used to query the compute environment creation information.

error code that may be returned:

INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"

func (*Client) DescribeComputeEnvCreateInfoWithContext

func (c *Client) DescribeComputeEnvCreateInfoWithContext(ctx context.Context, request *DescribeComputeEnvCreateInfoRequest) (response *DescribeComputeEnvCreateInfoResponse, err error)

DescribeComputeEnvCreateInfo This API is used to query the compute environment creation information.

error code that may be returned:

INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"

func (*Client) DescribeComputeEnvCreateInfos

func (c *Client) DescribeComputeEnvCreateInfos(request *DescribeComputeEnvCreateInfosRequest) (response *DescribeComputeEnvCreateInfosResponse, err error)

DescribeComputeEnvCreateInfos This API is used to view the list of information of compute environment creation, including name, description, type, environment parameters, notifications, and number of desired nodes.

error code that may be returned:

INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
INVALIDPARAMETER_INVALIDPARAMETERCOMBINATION = "InvalidParameter.InvalidParameterCombination"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeComputeEnvCreateInfosWithContext

func (c *Client) DescribeComputeEnvCreateInfosWithContext(ctx context.Context, request *DescribeComputeEnvCreateInfosRequest) (response *DescribeComputeEnvCreateInfosResponse, err error)

DescribeComputeEnvCreateInfos This API is used to view the list of information of compute environment creation, including name, description, type, environment parameters, notifications, and number of desired nodes.

error code that may be returned:

INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
INVALIDPARAMETER_INVALIDPARAMETERCOMBINATION = "InvalidParameter.InvalidParameterCombination"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeComputeEnvWithContext

func (c *Client) DescribeComputeEnvWithContext(ctx context.Context, request *DescribeComputeEnvRequest) (response *DescribeComputeEnvResponse, err error)

DescribeComputeEnv This API is used to query compute environment details.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"

func (*Client) DescribeComputeEnvs

func (c *Client) DescribeComputeEnvs(request *DescribeComputeEnvsRequest) (response *DescribeComputeEnvsResponse, err error)

DescribeComputeEnvs This API is used to get the list of compute environments.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDFILTER = "InvalidFilter"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
INVALIDPARAMETER_INVALIDPARAMETERCOMBINATION = "InvalidParameter.InvalidParameterCombination"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_RESOURCETYPE = "InvalidParameterValue.ResourceType"
INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeComputeEnvsWithContext

func (c *Client) DescribeComputeEnvsWithContext(ctx context.Context, request *DescribeComputeEnvsRequest) (response *DescribeComputeEnvsResponse, err error)

DescribeComputeEnvs This API is used to get the list of compute environments.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDFILTER = "InvalidFilter"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
INVALIDPARAMETER_INVALIDPARAMETERCOMBINATION = "InvalidParameter.InvalidParameterCombination"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_RESOURCETYPE = "InvalidParameterValue.ResourceType"
INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeCvmZoneInstanceConfigInfos

func (c *Client) DescribeCvmZoneInstanceConfigInfos(request *DescribeCvmZoneInstanceConfigInfosRequest) (response *DescribeCvmZoneInstanceConfigInfosResponse, err error)

DescribeCvmZoneInstanceConfigInfos This API is used to get the model configuration information of the availability zone of BatchCompute.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_CALLCVM = "InternalError.CallCvm"
INVALIDFILTER = "InvalidFilter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDZONEMISMATCHREGION = "InvalidParameterValue.InvalidZoneMismatchRegion"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_UNSUPPORTEDBATCHINSTANCECHARGETYPE = "InvalidParameterValue.UnsupportedBatchInstanceChargeType"
INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion"

func (*Client) DescribeCvmZoneInstanceConfigInfosWithContext

func (c *Client) DescribeCvmZoneInstanceConfigInfosWithContext(ctx context.Context, request *DescribeCvmZoneInstanceConfigInfosRequest) (response *DescribeCvmZoneInstanceConfigInfosResponse, err error)

DescribeCvmZoneInstanceConfigInfos This API is used to get the model configuration information of the availability zone of BatchCompute.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_CALLCVM = "InternalError.CallCvm"
INVALIDFILTER = "InvalidFilter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_INVALIDZONEMISMATCHREGION = "InvalidParameterValue.InvalidZoneMismatchRegion"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_UNSUPPORTEDBATCHINSTANCECHARGETYPE = "InvalidParameterValue.UnsupportedBatchInstanceChargeType"
INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion"

func (*Client) DescribeInstanceCategories

func (c *Client) DescribeInstanceCategories(request *DescribeInstanceCategoriesRequest) (response *DescribeInstanceCategoriesResponse, err error)

DescribeInstanceCategories Currently, CVM instance families are classified into different category, and each category contains several instance families. This API is used to query the instance category information.

error code that may be returned:

INTERNALERROR = "InternalError"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeInstanceCategoriesWithContext

func (c *Client) DescribeInstanceCategoriesWithContext(ctx context.Context, request *DescribeInstanceCategoriesRequest) (response *DescribeInstanceCategoriesResponse, err error)

DescribeInstanceCategories Currently, CVM instance families are classified into different category, and each category contains several instance families. This API is used to query the instance category information.

error code that may be returned:

INTERNALERROR = "InternalError"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeJob

func (c *Client) DescribeJob(request *DescribeJobRequest) (response *DescribeJobResponse, err error)

DescribeJob This API is used to query the details of a job, including internal task (`Task`) and dependency (`Dependence`) information.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
RESOURCENOTFOUND_JOB = "ResourceNotFound.Job"

func (*Client) DescribeJobSubmitInfo

func (c *Client) DescribeJobSubmitInfo(request *DescribeJobSubmitInfoRequest) (response *DescribeJobSubmitInfoResponse, err error)

DescribeJobSubmitInfo This API is used to query the submission information of the specified job, with the return including the job submission information used as input parameters in the JobId and SubmitJob APIs.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
RESOURCENOTFOUND_JOB = "ResourceNotFound.Job"

func (*Client) DescribeJobSubmitInfoWithContext

func (c *Client) DescribeJobSubmitInfoWithContext(ctx context.Context, request *DescribeJobSubmitInfoRequest) (response *DescribeJobSubmitInfoResponse, err error)

DescribeJobSubmitInfo This API is used to query the submission information of the specified job, with the return including the job submission information used as input parameters in the JobId and SubmitJob APIs.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
RESOURCENOTFOUND_JOB = "ResourceNotFound.Job"

func (*Client) DescribeJobWithContext

func (c *Client) DescribeJobWithContext(ctx context.Context, request *DescribeJobRequest) (response *DescribeJobResponse, err error)

DescribeJob This API is used to query the details of a job, including internal task (`Task`) and dependency (`Dependence`) information.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
RESOURCENOTFOUND_JOB = "ResourceNotFound.Job"

func (*Client) DescribeJobs

func (c *Client) DescribeJobs(request *DescribeJobsRequest) (response *DescribeJobsResponse, err error)

DescribeJobs This API is used to query the overview information of several jobs.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDFILTER = "InvalidFilter"
INVALIDPARAMETER_INVALIDPARAMETERCOMBINATION = "InvalidParameter.InvalidParameterCombination"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeJobsWithContext

func (c *Client) DescribeJobsWithContext(ctx context.Context, request *DescribeJobsRequest) (response *DescribeJobsResponse, err error)

DescribeJobs This API is used to query the overview information of several jobs.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDFILTER = "InvalidFilter"
INVALIDPARAMETER_INVALIDPARAMETERCOMBINATION = "InvalidParameter.InvalidParameterCombination"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDZONE_MISMATCHREGION = "InvalidZone.MismatchRegion"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeTask

func (c *Client) DescribeTask(request *DescribeTaskRequest) (response *DescribeTaskResponse, err error)

DescribeTask This API is used to query the details of a specified task, including information of the task instances inside the task.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
RESOURCENOTFOUND_TASK = "ResourceNotFound.Task"

func (*Client) DescribeTaskLogs

func (c *Client) DescribeTaskLogs(request *DescribeTaskLogsRequest) (response *DescribeTaskLogsResponse, err error)

DescribeTaskLogs This API is used to get the standard outputs and standard error logs of multiple task instances.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
INVALIDPARAMETER_TASKNAME = "InvalidParameter.TaskName"
INVALIDPARAMETER_TASKNAMETOOLONG = "InvalidParameter.TaskNameTooLong"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
RESOURCENOTFOUND_JOB = "ResourceNotFound.Job"
RESOURCENOTFOUND_TASK = "ResourceNotFound.Task"
RESOURCENOTFOUND_TASKINSTANCE = "ResourceNotFound.TaskInstance"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeTaskLogsWithContext

func (c *Client) DescribeTaskLogsWithContext(ctx context.Context, request *DescribeTaskLogsRequest) (response *DescribeTaskLogsResponse, err error)

DescribeTaskLogs This API is used to get the standard outputs and standard error logs of multiple task instances.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
INVALIDPARAMETER_TASKNAME = "InvalidParameter.TaskName"
INVALIDPARAMETER_TASKNAMETOOLONG = "InvalidParameter.TaskNameTooLong"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
RESOURCENOTFOUND_JOB = "ResourceNotFound.Job"
RESOURCENOTFOUND_TASK = "ResourceNotFound.Task"
RESOURCENOTFOUND_TASKINSTANCE = "ResourceNotFound.TaskInstance"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeTaskTemplates

func (c *Client) DescribeTaskTemplates(request *DescribeTaskTemplatesRequest) (response *DescribeTaskTemplatesResponse, err error)

DescribeTaskTemplates This API is used to query the information of task templates.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDPARAMETERCOMBINATION = "InvalidParameter.InvalidParameterCombination"
INVALIDPARAMETER_TASKTEMPLATEIDMALFORMED = "InvalidParameter.TaskTemplateIdMalformed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeTaskTemplatesWithContext

func (c *Client) DescribeTaskTemplatesWithContext(ctx context.Context, request *DescribeTaskTemplatesRequest) (response *DescribeTaskTemplatesResponse, err error)

DescribeTaskTemplates This API is used to query the information of task templates.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_INVALIDPARAMETERCOMBINATION = "InvalidParameter.InvalidParameterCombination"
INVALIDPARAMETER_TASKTEMPLATEIDMALFORMED = "InvalidParameter.TaskTemplateIdMalformed"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) DescribeTaskWithContext

func (c *Client) DescribeTaskWithContext(ctx context.Context, request *DescribeTaskRequest) (response *DescribeTaskResponse, err error)

DescribeTask This API is used to query the details of a specified task, including information of the task instances inside the task.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
RESOURCENOTFOUND_TASK = "ResourceNotFound.Task"

func (*Client) DetachInstances

func (c *Client) DetachInstances(request *DetachInstancesRequest) (response *DetachInstancesResponse, err error)

DetachInstances This API is used to remove instances that from compute environment.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_CALLCVM = "InternalError.CallCvm"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
INVALIDPARAMETERVALUE_INSTANCEIDDUPLICATED = "InvalidParameterValue.InstanceIdDuplicated"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DetachInstancesWithContext

func (c *Client) DetachInstancesWithContext(ctx context.Context, request *DetachInstancesRequest) (response *DetachInstancesResponse, err error)

DetachInstances This API is used to remove instances that from compute environment.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_CALLCVM = "InternalError.CallCvm"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
INVALIDPARAMETERVALUE_INSTANCEIDDUPLICATED = "InvalidParameterValue.InstanceIdDuplicated"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyComputeEnv

func (c *Client) ModifyComputeEnv(request *ModifyComputeEnvRequest) (response *ModifyComputeEnvResponse, err error)

ModifyComputeEnv This API is used to modify the attributes of a compute environment.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_CALLCPMAPI = "InternalError.CallCpmAPI"
INVALIDPARAMETER_ENVDESCRIPTIONTOOLONG = "InvalidParameter.EnvDescriptionTooLong"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
INVALIDPARAMETER_ENVNAMETOOLONG = "InvalidParameter.EnvNameTooLong"
INVALIDPARAMETERVALUE_INSTANCETYPE = "InvalidParameterValue.InstanceType"
INVALIDPARAMETERVALUE_INSTANCETYPEDUPLICATE = "InvalidParameterValue.InstanceTypeDuplicate"
INVALIDPARAMETERVALUE_INSTANCETYPESEMPTY = "InvalidParameterValue.InstanceTypesEmpty"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
LIMITEXCEEDED_CPUQUOTA = "LimitExceeded.CpuQuota"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"
UNSUPPORTEDOPERATION_ACCEPTOTHERREQUEST = "UnsupportedOperation.AcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTEENVACCEPTOTHERREQUEST = "UnsupportedOperation.ComputeEnvAcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTENODEFORBIDTERMINATE = "UnsupportedOperation.ComputeNodeForbidTerminate"
UNSUPPORTEDOPERATION_NOTENOUGHCOMPUTENODESTOTERMINATE = "UnsupportedOperation.NotEnoughComputeNodesToTerminate"

func (*Client) ModifyComputeEnvWithContext

func (c *Client) ModifyComputeEnvWithContext(ctx context.Context, request *ModifyComputeEnvRequest) (response *ModifyComputeEnvResponse, err error)

ModifyComputeEnv This API is used to modify the attributes of a compute environment.

error code that may be returned:

INTERNALERROR = "InternalError"
INTERNALERROR_CALLCPMAPI = "InternalError.CallCpmAPI"
INVALIDPARAMETER_ENVDESCRIPTIONTOOLONG = "InvalidParameter.EnvDescriptionTooLong"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
INVALIDPARAMETER_ENVNAMETOOLONG = "InvalidParameter.EnvNameTooLong"
INVALIDPARAMETERVALUE_INSTANCETYPE = "InvalidParameterValue.InstanceType"
INVALIDPARAMETERVALUE_INSTANCETYPEDUPLICATE = "InvalidParameterValue.InstanceTypeDuplicate"
INVALIDPARAMETERVALUE_INSTANCETYPESEMPTY = "InvalidParameterValue.InstanceTypesEmpty"
INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
LIMITEXCEEDED_CPUQUOTA = "LimitExceeded.CpuQuota"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"
UNSUPPORTEDOPERATION_ACCEPTOTHERREQUEST = "UnsupportedOperation.AcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTEENVACCEPTOTHERREQUEST = "UnsupportedOperation.ComputeEnvAcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTENODEFORBIDTERMINATE = "UnsupportedOperation.ComputeNodeForbidTerminate"
UNSUPPORTEDOPERATION_NOTENOUGHCOMPUTENODESTOTERMINATE = "UnsupportedOperation.NotEnoughComputeNodesToTerminate"

func (*Client) ModifyTaskTemplate

func (c *Client) ModifyTaskTemplate(request *ModifyTaskTemplateRequest) (response *ModifyTaskTemplateResponse, err error)

ModifyTaskTemplate This API is used to modify a task template.

error code that may be returned:

ALLOWEDONEATTRIBUTEINENVIDANDCOMPUTEENV = "AllowedOneAttributeInEnvIdAndComputeEnv"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_CVMPARAMETERS = "InvalidParameter.CvmParameters"
INVALIDPARAMETER_TASKNAME = "InvalidParameter.TaskName"
INVALIDPARAMETER_TASKNAMETOOLONG = "InvalidParameter.TaskNameTooLong"
INVALIDPARAMETER_TASKTEMPLATEDESCRIPTIONTOOLONG = "InvalidParameter.TaskTemplateDescriptionTooLong"
INVALIDPARAMETER_TASKTEMPLATEIDMALFORMED = "InvalidParameter.TaskTemplateIdMalformed"
INVALIDPARAMETER_TASKTEMPLATENAME = "InvalidParameter.TaskTemplateName"
INVALIDPARAMETER_TASKTEMPLATENAMETOOLONG = "InvalidParameter.TaskTemplateNameTooLong"
INVALIDPARAMETERATLEASTONEATTRIBUTE = "InvalidParameterAtLeastOneAttribute"
INVALIDPARAMETERVALUE_COMPUTEENV = "InvalidParameterValue.ComputeEnv"
INVALIDPARAMETERVALUE_DEPENDENCENOTFOUNDTASKNAME = "InvalidParameterValue.DependenceNotFoundTaskName"
INVALIDPARAMETERVALUE_DEPENDENCEUNFEASIBLE = "InvalidParameterValue.DependenceUnfeasible"
INVALIDPARAMETERVALUE_LOCALPATH = "InvalidParameterValue.LocalPath"
INVALIDPARAMETERVALUE_MAXRETRYCOUNT = "InvalidParameterValue.MaxRetryCount"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_REMOTESTORAGEPATH = "InvalidParameterValue.RemoteStoragePath"
INVALIDPARAMETERVALUE_REMOTESTORAGESCHEMETYPE = "InvalidParameterValue.RemoteStorageSchemeType"
RESOURCENOTFOUND_TASKTEMPLATE = "ResourceNotFound.TaskTemplate"

func (*Client) ModifyTaskTemplateWithContext

func (c *Client) ModifyTaskTemplateWithContext(ctx context.Context, request *ModifyTaskTemplateRequest) (response *ModifyTaskTemplateResponse, err error)

ModifyTaskTemplate This API is used to modify a task template.

error code that may be returned:

ALLOWEDONEATTRIBUTEINENVIDANDCOMPUTEENV = "AllowedOneAttributeInEnvIdAndComputeEnv"
INTERNALERROR = "InternalError"
INVALIDPARAMETER_CVMPARAMETERS = "InvalidParameter.CvmParameters"
INVALIDPARAMETER_TASKNAME = "InvalidParameter.TaskName"
INVALIDPARAMETER_TASKNAMETOOLONG = "InvalidParameter.TaskNameTooLong"
INVALIDPARAMETER_TASKTEMPLATEDESCRIPTIONTOOLONG = "InvalidParameter.TaskTemplateDescriptionTooLong"
INVALIDPARAMETER_TASKTEMPLATEIDMALFORMED = "InvalidParameter.TaskTemplateIdMalformed"
INVALIDPARAMETER_TASKTEMPLATENAME = "InvalidParameter.TaskTemplateName"
INVALIDPARAMETER_TASKTEMPLATENAMETOOLONG = "InvalidParameter.TaskTemplateNameTooLong"
INVALIDPARAMETERATLEASTONEATTRIBUTE = "InvalidParameterAtLeastOneAttribute"
INVALIDPARAMETERVALUE_COMPUTEENV = "InvalidParameterValue.ComputeEnv"
INVALIDPARAMETERVALUE_DEPENDENCENOTFOUNDTASKNAME = "InvalidParameterValue.DependenceNotFoundTaskName"
INVALIDPARAMETERVALUE_DEPENDENCEUNFEASIBLE = "InvalidParameterValue.DependenceUnfeasible"
INVALIDPARAMETERVALUE_LOCALPATH = "InvalidParameterValue.LocalPath"
INVALIDPARAMETERVALUE_MAXRETRYCOUNT = "InvalidParameterValue.MaxRetryCount"
INVALIDPARAMETERVALUE_NEGATIVE = "InvalidParameterValue.Negative"
INVALIDPARAMETERVALUE_REMOTESTORAGEPATH = "InvalidParameterValue.RemoteStoragePath"
INVALIDPARAMETERVALUE_REMOTESTORAGESCHEMETYPE = "InvalidParameterValue.RemoteStorageSchemeType"
RESOURCENOTFOUND_TASKTEMPLATE = "ResourceNotFound.TaskTemplate"

func (*Client) RetryJobs

func (c *Client) RetryJobs(request *RetryJobsRequest) (response *RetryJobsResponse, err error)

RetryJobs This API is used to retry the failed task instances in a job.

Job retry is supported only if a job is in the "FAILED" state. After the retry operation succeeds, the job will retry the failing task instances in each task in turn according to the task dependencies specified in the "DAG". The history information of the task instances will be reset, the instances will participate in subsequent scheduling and execution as if they are run for the first time.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
RESOURCENOTFOUND_JOB = "ResourceNotFound.Job"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) RetryJobsWithContext

func (c *Client) RetryJobsWithContext(ctx context.Context, request *RetryJobsRequest) (response *RetryJobsResponse, err error)

RetryJobs This API is used to retry the failed task instances in a job.

Job retry is supported only if a job is in the "FAILED" state. After the retry operation succeeds, the job will retry the failing task instances in each task in turn according to the task dependencies specified in the "DAG". The history information of the task instances will be reset, the instances will participate in subsequent scheduling and execution as if they are run for the first time.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
RESOURCENOTFOUND_JOB = "ResourceNotFound.Job"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) TerminateComputeNode

func (c *Client) TerminateComputeNode(request *TerminateComputeNodeRequest) (response *TerminateComputeNodeResponse, err error)

TerminateComputeNode This API is used to terminate a compute node.

Termination is allowed for nodes in the CREATED, CREATION_FAILED, RUNNING or ABNORMAL state.

error code that may be returned:

INVALIDPARAMETER_COMPUTENODEIDMALFORMED = "InvalidParameter.ComputeNodeIdMalformed"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"
RESOURCENOTFOUND_COMPUTENODE = "ResourceNotFound.ComputeNode"
UNSUPPORTEDOPERATION_ACCEPTOTHERREQUEST = "UnsupportedOperation.AcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTEENVACCEPTOTHERREQUEST = "UnsupportedOperation.ComputeEnvAcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTEENVOPERATION = "UnsupportedOperation.ComputeEnvOperation"
UNSUPPORTEDOPERATION_COMPUTENODEFORBIDTERMINATE = "UnsupportedOperation.ComputeNodeForbidTerminate"
UNSUPPORTEDOPERATION_COMPUTENODEISTERMINATING = "UnsupportedOperation.ComputeNodeIsTerminating"

func (*Client) TerminateComputeNodeWithContext

func (c *Client) TerminateComputeNodeWithContext(ctx context.Context, request *TerminateComputeNodeRequest) (response *TerminateComputeNodeResponse, err error)

TerminateComputeNode This API is used to terminate a compute node.

Termination is allowed for nodes in the CREATED, CREATION_FAILED, RUNNING or ABNORMAL state.

error code that may be returned:

INVALIDPARAMETER_COMPUTENODEIDMALFORMED = "InvalidParameter.ComputeNodeIdMalformed"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"
RESOURCENOTFOUND_COMPUTENODE = "ResourceNotFound.ComputeNode"
UNSUPPORTEDOPERATION_ACCEPTOTHERREQUEST = "UnsupportedOperation.AcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTEENVACCEPTOTHERREQUEST = "UnsupportedOperation.ComputeEnvAcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTEENVOPERATION = "UnsupportedOperation.ComputeEnvOperation"
UNSUPPORTEDOPERATION_COMPUTENODEFORBIDTERMINATE = "UnsupportedOperation.ComputeNodeForbidTerminate"
UNSUPPORTEDOPERATION_COMPUTENODEISTERMINATING = "UnsupportedOperation.ComputeNodeIsTerminating"

func (*Client) TerminateComputeNodes

func (c *Client) TerminateComputeNodes(request *TerminateComputeNodesRequest) (response *TerminateComputeNodesResponse, err error)

TerminateComputeNodes This API is used to terminate compute nodes in batches. It is not allowed to repeatedly terminate the same node.

error code that may be returned:

INVALIDPARAMETER_COMPUTENODEIDMALFORMED = "InvalidParameter.ComputeNodeIdMalformed"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"
RESOURCENOTFOUND_COMPUTENODE = "ResourceNotFound.ComputeNode"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ACCEPTOTHERREQUEST = "UnsupportedOperation.AcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTEENVACCEPTOTHERREQUEST = "UnsupportedOperation.ComputeEnvAcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTENODEFORBIDTERMINATE = "UnsupportedOperation.ComputeNodeForbidTerminate"

func (*Client) TerminateComputeNodesWithContext

func (c *Client) TerminateComputeNodesWithContext(ctx context.Context, request *TerminateComputeNodesRequest) (response *TerminateComputeNodesResponse, err error)

TerminateComputeNodes This API is used to terminate compute nodes in batches. It is not allowed to repeatedly terminate the same node.

error code that may be returned:

INVALIDPARAMETER_COMPUTENODEIDMALFORMED = "InvalidParameter.ComputeNodeIdMalformed"
INVALIDPARAMETER_ENVIDMALFORMED = "InvalidParameter.EnvIdMalformed"
RESOURCENOTFOUND_COMPUTEENV = "ResourceNotFound.ComputeEnv"
RESOURCENOTFOUND_COMPUTENODE = "ResourceNotFound.ComputeNode"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_ACCEPTOTHERREQUEST = "UnsupportedOperation.AcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTEENVACCEPTOTHERREQUEST = "UnsupportedOperation.ComputeEnvAcceptOtherRequest"
UNSUPPORTEDOPERATION_COMPUTENODEFORBIDTERMINATE = "UnsupportedOperation.ComputeNodeForbidTerminate"

func (*Client) TerminateJob

func (c *Client) TerminateJob(request *TerminateJobRequest) (response *TerminateJobResponse, err error)

TerminateJob This API is used to terminate a job.

Termination is prohibited if a job is in the `SUBMITTED` state and does not take effect if it is in the `SUCCEED` state.

Job termination is an asynchronous process, and the time it takes to complete the entire process is directly proportional to the total number of tasks. The effect of terminating a job is equivalent to performing the TerminateTaskInstance operation on all the task instances contained in the job. For more information on the specific effect and usage, see TerminateTaskInstance.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
RESOURCEINUSE_JOB = "ResourceInUse.Job"
RESOURCENOTFOUND_JOB = "ResourceNotFound.Job"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_TERMINATEOPERATIONWITHENVID = "UnsupportedOperation.TerminateOperationWithEnvId"

func (*Client) TerminateJobWithContext

func (c *Client) TerminateJobWithContext(ctx context.Context, request *TerminateJobRequest) (response *TerminateJobResponse, err error)

TerminateJob This API is used to terminate a job.

Termination is prohibited if a job is in the `SUBMITTED` state and does not take effect if it is in the `SUCCEED` state.

Job termination is an asynchronous process, and the time it takes to complete the entire process is directly proportional to the total number of tasks. The effect of terminating a job is equivalent to performing the TerminateTaskInstance operation on all the task instances contained in the job. For more information on the specific effect and usage, see TerminateTaskInstance.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
RESOURCEINUSE_JOB = "ResourceInUse.Job"
RESOURCENOTFOUND_JOB = "ResourceNotFound.Job"
UNSUPPORTEDOPERATION = "UnsupportedOperation"
UNSUPPORTEDOPERATION_TERMINATEOPERATIONWITHENVID = "UnsupportedOperation.TerminateOperationWithEnvId"

func (*Client) TerminateTaskInstance

func (c *Client) TerminateTaskInstance(request *TerminateTaskInstanceRequest) (response *TerminateTaskInstanceResponse, err error)

TerminateTaskInstance This API is used to terminate a task instance.

`SUCCEED` and `FAILED` task instances: No action

`SUBMITTED`, `PENDING`, and `RUNNABLE` task instances: Change status to `FAILED`.

`STARTING`, `RUNNING` and `FAILED_INTERRUPTED` task instances: If `EnvId` is not specified, the CVM instance is terminated, and then the task status goes to `FAILED`. If `EnvId` is specified, the task instance changes to `FAILED`, then the related CVM instance is restarted.

`FAILED_INTERRUPTED` task instances: The related resources and quotas will be released only after the termination actually succeeds.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
RESOURCENOTFOUND_TASKINSTANCE = "ResourceNotFound.TaskInstance"
UNSUPPORTEDOPERATION_TERMINATEOPERATIONWITHENVID = "UnsupportedOperation.TerminateOperationWithEnvId"

func (*Client) TerminateTaskInstanceWithContext

func (c *Client) TerminateTaskInstanceWithContext(ctx context.Context, request *TerminateTaskInstanceRequest) (response *TerminateTaskInstanceResponse, err error)

TerminateTaskInstance This API is used to terminate a task instance.

`SUCCEED` and `FAILED` task instances: No action

`SUBMITTED`, `PENDING`, and `RUNNABLE` task instances: Change status to `FAILED`.

`STARTING`, `RUNNING` and `FAILED_INTERRUPTED` task instances: If `EnvId` is not specified, the CVM instance is terminated, and then the task status goes to `FAILED`. If `EnvId` is specified, the task instance changes to `FAILED`, then the related CVM instance is restarted.

`FAILED_INTERRUPTED` task instances: The related resources and quotas will be released only after the termination actually succeeds.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_JOBIDMALFORMED = "InvalidParameter.JobIdMalformed"
RESOURCENOTFOUND_TASKINSTANCE = "ResourceNotFound.TaskInstance"
UNSUPPORTEDOPERATION_TERMINATEOPERATIONWITHENVID = "UnsupportedOperation.TerminateOperationWithEnvId"

type ComputeEnvCreateInfo

type ComputeEnvCreateInfo struct {
	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// Compute environment name
	// Note: This field may return `null`, indicating that no valid value was found.
	EnvName *string `json:"EnvName,omitnil" name:"EnvName"`

	// Compute environment description
	// Note: This field may return `null`, indicating that no valid value was found.
	EnvDescription *string `json:"EnvDescription,omitnil" name:"EnvDescription"`

	// Compute environment type. Only "MANAGED" type is supported
	EnvType *string `json:"EnvType,omitnil" name:"EnvType"`

	// Compute environment parameter
	EnvData *EnvData `json:"EnvData,omitnil" name:"EnvData"`

	// Data disk mounting option
	// Note: This field may return `null`, indicating that no valid value was found.
	MountDataDisks []*MountDataDisk `json:"MountDataDisks,omitnil" name:"MountDataDisks"`

	// Input mapping
	// Note: This field may return `null`, indicating that no valid value was found.
	InputMappings []*InputMapping `json:"InputMappings,omitnil" name:"InputMappings"`

	// Authorization information
	// Note: This field may return `null`, indicating that no valid value was found.
	Authentications []*Authentication `json:"Authentications,omitnil" name:"Authentications"`

	// Notification information
	// Note: This field may return `null`, indicating that no valid value was found.
	Notifications []*Notification `json:"Notifications,omitnil" name:"Notifications"`

	// Number of desired compute nodes
	DesiredComputeNodeCount *uint64 `json:"DesiredComputeNodeCount,omitnil" name:"DesiredComputeNodeCount"`

	// Tag list of the compute environment.
	// Note: This field may return `null`, indicating that no valid value was found.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`
}

type ComputeEnvData

type ComputeEnvData struct {
	// List of CVM instance types
	InstanceTypes []*string `json:"InstanceTypes,omitnil" name:"InstanceTypes"`
}

type ComputeEnvView

type ComputeEnvView struct {
	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// Compute environment name
	EnvName *string `json:"EnvName,omitnil" name:"EnvName"`

	// Location information
	Placement *Placement `json:"Placement,omitnil" name:"Placement"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Compute node statistical metrics
	ComputeNodeMetrics *ComputeNodeMetrics `json:"ComputeNodeMetrics,omitnil" name:"ComputeNodeMetrics"`

	// Compute environment type
	EnvType *string `json:"EnvType,omitnil" name:"EnvType"`

	// Number of desired compute nodes
	DesiredComputeNodeCount *uint64 `json:"DesiredComputeNodeCount,omitnil" name:"DesiredComputeNodeCount"`

	// Compute environment resource type. Values: `CVM`, `CPM` (Bare Metal)
	ResourceType *string `json:"ResourceType,omitnil" name:"ResourceType"`

	// Next action
	NextAction *string `json:"NextAction,omitnil" name:"NextAction"`

	// Number of compute nodes added to the compute environment
	AttachedComputeNodeCount *uint64 `json:"AttachedComputeNodeCount,omitnil" name:"AttachedComputeNodeCount"`

	// Tag list bound to the compute environment.
	// Note: This field may return `null`, indicating that no valid value was found.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`
}

type ComputeNode

type ComputeNode struct {
	// Compute node ID
	ComputeNodeId *string `json:"ComputeNodeId,omitnil" name:"ComputeNodeId"`

	// Compute node instance ID. In a CVM scenario, this parameter is the CVM InstanceId
	ComputeNodeInstanceId *string `json:"ComputeNodeInstanceId,omitnil" name:"ComputeNodeInstanceId"`

	// Compute node state
	ComputeNodeState *string `json:"ComputeNodeState,omitnil" name:"ComputeNodeState"`

	// Number of CPU cores
	Cpu *uint64 `json:"Cpu,omitnil" name:"Cpu"`

	// Memory size in GiB
	Mem *uint64 `json:"Mem,omitnil" name:"Mem"`

	// Resource creation time
	ResourceCreatedTime *string `json:"ResourceCreatedTime,omitnil" name:"ResourceCreatedTime"`

	// Available capacity of the compute node when running TaskInstance. 0 means that the compute node is busy.
	TaskInstanceNumAvailable *uint64 `json:"TaskInstanceNumAvailable,omitnil" name:"TaskInstanceNumAvailable"`

	// BatchCompute Agent version
	AgentVersion *string `json:"AgentVersion,omitnil" name:"AgentVersion"`

	// Private IP of the instance
	PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitnil" name:"PrivateIpAddresses"`

	// Public IP of the instance
	PublicIpAddresses []*string `json:"PublicIpAddresses,omitnil" name:"PublicIpAddresses"`

	// Compute environment resource type. Values: `CVM`, `CPM` (Bare Metal)
	ResourceType *string `json:"ResourceType,omitnil" name:"ResourceType"`

	// Source of compute environment resources. <br>`BATCH_CREATED`: Instances created by BatchCompute.<br>
	// `USER_ATTACHED`: Instances added to the compute environment by the user.
	ResourceOrigin *string `json:"ResourceOrigin,omitnil" name:"ResourceOrigin"`
}

type ComputeNodeMetrics

type ComputeNodeMetrics struct {
	// Number of compute nodes that have been submitted
	SubmittedCount *uint64 `json:"SubmittedCount,omitnil" name:"SubmittedCount"`

	// Number of compute nodes that are being created
	CreatingCount *uint64 `json:"CreatingCount,omitnil" name:"CreatingCount"`

	// Number of compute nodes that failed to be created
	CreationFailedCount *uint64 `json:"CreationFailedCount,omitnil" name:"CreationFailedCount"`

	// Number of compute nodes that have been created
	CreatedCount *uint64 `json:"CreatedCount,omitnil" name:"CreatedCount"`

	// Number of running compute nodes
	RunningCount *uint64 `json:"RunningCount,omitnil" name:"RunningCount"`

	// Number of compute nodes that are being terminated
	DeletingCount *uint64 `json:"DeletingCount,omitnil" name:"DeletingCount"`

	// Number of exceptional compute nodes
	AbnormalCount *uint64 `json:"AbnormalCount,omitnil" name:"AbnormalCount"`
}

type CreateComputeEnvRequest

type CreateComputeEnvRequest struct {
	*tchttp.BaseRequest

	// Compute environment information
	ComputeEnv *NamedComputeEnv `json:"ComputeEnv,omitnil" name:"ComputeEnv"`

	// Location information
	Placement *Placement `json:"Placement,omitnil" name:"Placement"`

	// The string used to guarantee the idempotency of the request, which is generated by the user and must be unique for different requests. The maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed.
	ClientToken *string `json:"ClientToken,omitnil" name:"ClientToken"`
}

func NewCreateComputeEnvRequest

func NewCreateComputeEnvRequest() (request *CreateComputeEnvRequest)

func (*CreateComputeEnvRequest) FromJsonString

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

func (r *CreateComputeEnvRequest) ToJsonString() string

type CreateComputeEnvRequestParams

type CreateComputeEnvRequestParams struct {
	// Compute environment information
	ComputeEnv *NamedComputeEnv `json:"ComputeEnv,omitnil" name:"ComputeEnv"`

	// Location information
	Placement *Placement `json:"Placement,omitnil" name:"Placement"`

	// The string used to guarantee the idempotency of the request, which is generated by the user and must be unique for different requests. The maximum length is 64 ASCII characters. If this parameter is not specified, the idempotency of the request cannot be guaranteed.
	ClientToken *string `json:"ClientToken,omitnil" name:"ClientToken"`
}

Predefined struct for user

type CreateComputeEnvResponse

type CreateComputeEnvResponse struct {
	*tchttp.BaseResponse
	Response *CreateComputeEnvResponseParams `json:"Response"`
}

func NewCreateComputeEnvResponse

func NewCreateComputeEnvResponse() (response *CreateComputeEnvResponse)

func (*CreateComputeEnvResponse) FromJsonString

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

func (r *CreateComputeEnvResponse) ToJsonString() string

type CreateComputeEnvResponseParams

type CreateComputeEnvResponseParams struct {
	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type CreateTaskTemplateRequest

type CreateTaskTemplateRequest struct {
	*tchttp.BaseRequest

	// Task template name
	TaskTemplateName *string `json:"TaskTemplateName,omitnil" name:"TaskTemplateName"`

	// Task template content with the same parameter requirements as the task
	TaskTemplateInfo *Task `json:"TaskTemplateInfo,omitnil" name:"TaskTemplateInfo"`

	// Task template description
	TaskTemplateDescription *string `json:"TaskTemplateDescription,omitnil" name:"TaskTemplateDescription"`

	// Specifies the tags you want to bind to a task template. Each task template supports up to 10 tags.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`
}

func NewCreateTaskTemplateRequest

func NewCreateTaskTemplateRequest() (request *CreateTaskTemplateRequest)

func (*CreateTaskTemplateRequest) FromJsonString

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

func (r *CreateTaskTemplateRequest) ToJsonString() string

type CreateTaskTemplateRequestParams

type CreateTaskTemplateRequestParams struct {
	// Task template name
	TaskTemplateName *string `json:"TaskTemplateName,omitnil" name:"TaskTemplateName"`

	// Task template content with the same parameter requirements as the task
	TaskTemplateInfo *Task `json:"TaskTemplateInfo,omitnil" name:"TaskTemplateInfo"`

	// Task template description
	TaskTemplateDescription *string `json:"TaskTemplateDescription,omitnil" name:"TaskTemplateDescription"`

	// Specifies the tags you want to bind to a task template. Each task template supports up to 10 tags.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`
}

Predefined struct for user

type CreateTaskTemplateResponse

type CreateTaskTemplateResponse struct {
	*tchttp.BaseResponse
	Response *CreateTaskTemplateResponseParams `json:"Response"`
}

func NewCreateTaskTemplateResponse

func NewCreateTaskTemplateResponse() (response *CreateTaskTemplateResponse)

func (*CreateTaskTemplateResponse) FromJsonString

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

func (r *CreateTaskTemplateResponse) ToJsonString() string

type CreateTaskTemplateResponseParams

type CreateTaskTemplateResponseParams struct {
	// Task template ID
	TaskTemplateId *string `json:"TaskTemplateId,omitnil" name:"TaskTemplateId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DataDisk

type DataDisk struct {
	// Data disk size (in GB). The minimum adjustment increment is 10 GB. The value range varies by data disk type. For more information on limits, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). The default value is 0, indicating that no data disk is purchased. For more information, see the product documentation.
	DiskSize *int64 `json:"DiskSize,omitnil" name:"DiskSize"`

	// Data disk type. For more information about limits on different data disk types, see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Valid values: <br><li>LOCAL_BASIC: local disk<br><li>LOCAL_SSD: local SSD disk<br><li>LOCAL_NVME: local NVME disk, specified in the `InstanceType`<br><li>LOCAL_PRO: local HDD disk, specified in the `InstanceType`<br><li>CLOUD_BASIC: HDD cloud disk<br><li>CLOUD_PREMIUM: Premium Cloud Storage<br><li>CLOUD_SSD: SSD<br><li>CLOUD_HSSD: Enhanced SSD<br><li>CLOUD_TSSD: Tremendous SSD<br><li>CLOUD_BSSD: Balanced SSD<br><br>Default value: LOCAL_BASIC.<br><br>This parameter is invalid for the `ResizeInstanceDisk` API.
	DiskType *string `json:"DiskType,omitnil" name:"DiskType"`

	// Data disk ID. Note that it’s not available for `LOCAL_BASIC` and `LOCAL_SSD` disks.
	// It is only used as a response parameter for APIs such as `DescribeInstances`, and cannot be used as a request parameter for APIs such as `RunInstances`.
	DiskId *string `json:"DiskId,omitnil" name:"DiskId"`

	// Whether to terminate the data disk when its CVM is terminated. Valid values:
	// <li>TRUE: terminate the data disk when its CVM is terminated. This value only supports pay-as-you-go cloud disks billed on an hourly basis.
	// <li>FALSE: retain the data disk when its CVM is terminated.<br>
	// Default value: TRUE<br>
	// Currently this parameter is only used in the `RunInstances` API.
	// Note: This field may return null, indicating that no valid value is found.
	DeleteWithInstance *bool `json:"DeleteWithInstance,omitnil" name:"DeleteWithInstance"`

	// Data disk snapshot ID. The size of the selected data disk snapshot must be smaller than that of the data disk.
	// Note: This field may return null, indicating that no valid value is found.
	SnapshotId *string `json:"SnapshotId,omitnil" name:"SnapshotId"`

	// Specifies whether the data disk is encrypted. Valid values:
	// <li>TRUE: encrypted
	// <li>FALSE: not encrypted<br>
	// Default value: FALSE<br>
	// This parameter is only used with `RunInstances`.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	Encrypt *bool `json:"Encrypt,omitnil" name:"Encrypt"`

	// ID of the custom CMK in the format of UUID or “kms-abcd1234”. This parameter is used to encrypt cloud disks.
	//
	// Currently, this parameter is only used in the `RunInstances` API.
	// Note: this field may return null, indicating that no valid values can be obtained.
	KmsKeyId *string `json:"KmsKeyId,omitnil" name:"KmsKeyId"`

	// Cloud disk performance, in MB/s
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	ThroughputPerformance *int64 `json:"ThroughputPerformance,omitnil" name:"ThroughputPerformance"`

	// ID of the dedicated cluster to which the instance belongs.
	// Note: this field may return `null`, indicating that no valid values can be obtained.
	CdcId *string `json:"CdcId,omitnil" name:"CdcId"`
}

type DeleteComputeEnvRequest

type DeleteComputeEnvRequest struct {
	*tchttp.BaseRequest

	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`
}

func NewDeleteComputeEnvRequest

func NewDeleteComputeEnvRequest() (request *DeleteComputeEnvRequest)

func (*DeleteComputeEnvRequest) FromJsonString

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

func (r *DeleteComputeEnvRequest) ToJsonString() string

type DeleteComputeEnvRequestParams

type DeleteComputeEnvRequestParams struct {
	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`
}

Predefined struct for user

type DeleteComputeEnvResponse

type DeleteComputeEnvResponse struct {
	*tchttp.BaseResponse
	Response *DeleteComputeEnvResponseParams `json:"Response"`
}

func NewDeleteComputeEnvResponse

func NewDeleteComputeEnvResponse() (response *DeleteComputeEnvResponse)

func (*DeleteComputeEnvResponse) FromJsonString

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

func (r *DeleteComputeEnvResponse) ToJsonString() string

type DeleteComputeEnvResponseParams

type DeleteComputeEnvResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteJobRequest

type DeleteJobRequest struct {
	*tchttp.BaseRequest

	// Job ID
	JobId *string `json:"JobId,omitnil" 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

type DeleteJobRequestParams struct {
	// Job ID
	JobId *string `json:"JobId,omitnil" 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

type DeleteJobResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DeleteTaskTemplatesRequest

type DeleteTaskTemplatesRequest struct {
	*tchttp.BaseRequest

	// This API is used to delete task template information.
	TaskTemplateIds []*string `json:"TaskTemplateIds,omitnil" name:"TaskTemplateIds"`
}

func NewDeleteTaskTemplatesRequest

func NewDeleteTaskTemplatesRequest() (request *DeleteTaskTemplatesRequest)

func (*DeleteTaskTemplatesRequest) FromJsonString

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

func (r *DeleteTaskTemplatesRequest) ToJsonString() string

type DeleteTaskTemplatesRequestParams

type DeleteTaskTemplatesRequestParams struct {
	// This API is used to delete task template information.
	TaskTemplateIds []*string `json:"TaskTemplateIds,omitnil" name:"TaskTemplateIds"`
}

Predefined struct for user

type DeleteTaskTemplatesResponse

type DeleteTaskTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteTaskTemplatesResponseParams `json:"Response"`
}

func NewDeleteTaskTemplatesResponse

func NewDeleteTaskTemplatesResponse() (response *DeleteTaskTemplatesResponse)

func (*DeleteTaskTemplatesResponse) FromJsonString

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

func (r *DeleteTaskTemplatesResponse) ToJsonString() string

type DeleteTaskTemplatesResponseParams

type DeleteTaskTemplatesResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type Dependence

type Dependence struct {
	// Dependency start task name
	StartTask *string `json:"StartTask,omitnil" name:"StartTask"`

	// Dependency end task name
	EndTask *string `json:"EndTask,omitnil" name:"EndTask"`
}

type DescribeAvailableCvmInstanceTypesRequest

type DescribeAvailableCvmInstanceTypesRequest struct {
	*tchttp.BaseRequest

	// Filter.
	// <li> zone - String - Required: No - (Filter) Filter by availability zone.</li>
	// <li> instance-family - String - Required: No - (Filter) Filter by model family such as S1, I1, and M1.</li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

func NewDescribeAvailableCvmInstanceTypesRequest

func NewDescribeAvailableCvmInstanceTypesRequest() (request *DescribeAvailableCvmInstanceTypesRequest)

func (*DescribeAvailableCvmInstanceTypesRequest) FromJsonString

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

func (*DescribeAvailableCvmInstanceTypesRequest) ToJsonString

type DescribeAvailableCvmInstanceTypesRequestParams

type DescribeAvailableCvmInstanceTypesRequestParams struct {
	// Filter.
	// <li> zone - String - Required: No - (Filter) Filter by availability zone.</li>
	// <li> instance-family - String - Required: No - (Filter) Filter by model family such as S1, I1, and M1.</li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

Predefined struct for user

type DescribeAvailableCvmInstanceTypesResponse

type DescribeAvailableCvmInstanceTypesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAvailableCvmInstanceTypesResponseParams `json:"Response"`
}

func NewDescribeAvailableCvmInstanceTypesResponse

func NewDescribeAvailableCvmInstanceTypesResponse() (response *DescribeAvailableCvmInstanceTypesResponse)

func (*DescribeAvailableCvmInstanceTypesResponse) FromJsonString

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

func (*DescribeAvailableCvmInstanceTypesResponse) ToJsonString

type DescribeAvailableCvmInstanceTypesResponseParams

type DescribeAvailableCvmInstanceTypesResponseParams struct {
	// Array of model configurations
	InstanceTypeConfigSet []*InstanceTypeConfig `json:"InstanceTypeConfigSet,omitnil" name:"InstanceTypeConfigSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeComputeEnvActivitiesRequest

type DescribeComputeEnvActivitiesRequest struct {
	*tchttp.BaseRequest

	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// Offset
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of returned items
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Filter
	// <li> `compute-node-id` - String - Optional - Filter by the compute node ID.</li>
	Filters *Filter `json:"Filters,omitnil" name:"Filters"`
}

func NewDescribeComputeEnvActivitiesRequest

func NewDescribeComputeEnvActivitiesRequest() (request *DescribeComputeEnvActivitiesRequest)

func (*DescribeComputeEnvActivitiesRequest) FromJsonString

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

func (r *DescribeComputeEnvActivitiesRequest) ToJsonString() string

type DescribeComputeEnvActivitiesRequestParams

type DescribeComputeEnvActivitiesRequestParams struct {
	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// Offset
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of returned items
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`

	// Filter
	// <li> `compute-node-id` - String - Optional - Filter by the compute node ID.</li>
	Filters *Filter `json:"Filters,omitnil" name:"Filters"`
}

Predefined struct for user

type DescribeComputeEnvActivitiesResponse

type DescribeComputeEnvActivitiesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeComputeEnvActivitiesResponseParams `json:"Response"`
}

func NewDescribeComputeEnvActivitiesResponse

func NewDescribeComputeEnvActivitiesResponse() (response *DescribeComputeEnvActivitiesResponse)

func (*DescribeComputeEnvActivitiesResponse) FromJsonString

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

func (r *DescribeComputeEnvActivitiesResponse) ToJsonString() string

type DescribeComputeEnvActivitiesResponseParams

type DescribeComputeEnvActivitiesResponseParams struct {
	// List of activities in the compute environment
	ActivitySet []*Activity `json:"ActivitySet,omitnil" name:"ActivitySet"`

	// Number of activities
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeComputeEnvCreateInfoRequest

type DescribeComputeEnvCreateInfoRequest struct {
	*tchttp.BaseRequest

	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`
}

func NewDescribeComputeEnvCreateInfoRequest

func NewDescribeComputeEnvCreateInfoRequest() (request *DescribeComputeEnvCreateInfoRequest)

func (*DescribeComputeEnvCreateInfoRequest) FromJsonString

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

func (r *DescribeComputeEnvCreateInfoRequest) ToJsonString() string

type DescribeComputeEnvCreateInfoRequestParams

type DescribeComputeEnvCreateInfoRequestParams struct {
	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`
}

Predefined struct for user

type DescribeComputeEnvCreateInfoResponse

type DescribeComputeEnvCreateInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeComputeEnvCreateInfoResponseParams `json:"Response"`
}

func NewDescribeComputeEnvCreateInfoResponse

func NewDescribeComputeEnvCreateInfoResponse() (response *DescribeComputeEnvCreateInfoResponse)

func (*DescribeComputeEnvCreateInfoResponse) FromJsonString

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

func (r *DescribeComputeEnvCreateInfoResponse) ToJsonString() string

type DescribeComputeEnvCreateInfoResponseParams

type DescribeComputeEnvCreateInfoResponseParams struct {
	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// Compute environment name
	EnvName *string `json:"EnvName,omitnil" name:"EnvName"`

	// Compute environment description
	// Note: This field may return `null`, indicating that no valid value was found.
	EnvDescription *string `json:"EnvDescription,omitnil" name:"EnvDescription"`

	// Compute environment type. Only `MANAGED` is supported
	EnvType *string `json:"EnvType,omitnil" name:"EnvType"`

	// Compute environment parameter
	EnvData *EnvData `json:"EnvData,omitnil" name:"EnvData"`

	// Data disk mounting option
	MountDataDisks []*MountDataDisk `json:"MountDataDisks,omitnil" name:"MountDataDisks"`

	// Input mapping
	InputMappings []*InputMapping `json:"InputMappings,omitnil" name:"InputMappings"`

	// Authorization information
	Authentications []*Authentication `json:"Authentications,omitnil" name:"Authentications"`

	// Notification information
	Notifications []*Notification `json:"Notifications,omitnil" name:"Notifications"`

	// Number of desired compute nodes
	DesiredComputeNodeCount *int64 `json:"DesiredComputeNodeCount,omitnil" name:"DesiredComputeNodeCount"`

	// Tag list bound to the compute environment.
	// Note: This field may return `null`, indicating that no valid value was found.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeComputeEnvCreateInfosRequest

type DescribeComputeEnvCreateInfosRequest struct {
	*tchttp.BaseRequest

	// List of compute environment IDs, which cannot be specified together with the `Filters` parameter.
	EnvIds []*string `json:"EnvIds,omitnil" name:"EnvIds"`

	// Filter conditions
	// <li> `zone` - String - Optional - Filter by the availability zone.</li>
	// <li> `env-id` - String - Optional - Filter by the compute environment ID.</li>
	// <li> `env-name` - String - Optional - Filter by the compute environment name.</li>
	// It cannot be specified together with `EnvIds`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Offset
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of returned items
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`
}

func NewDescribeComputeEnvCreateInfosRequest

func NewDescribeComputeEnvCreateInfosRequest() (request *DescribeComputeEnvCreateInfosRequest)

func (*DescribeComputeEnvCreateInfosRequest) FromJsonString

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

func (r *DescribeComputeEnvCreateInfosRequest) ToJsonString() string

type DescribeComputeEnvCreateInfosRequestParams

type DescribeComputeEnvCreateInfosRequestParams struct {
	// List of compute environment IDs, which cannot be specified together with the `Filters` parameter.
	EnvIds []*string `json:"EnvIds,omitnil" name:"EnvIds"`

	// Filter conditions
	// <li> `zone` - String - Optional - Filter by the availability zone.</li>
	// <li> `env-id` - String - Optional - Filter by the compute environment ID.</li>
	// <li> `env-name` - String - Optional - Filter by the compute environment name.</li>
	// It cannot be specified together with `EnvIds`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Offset
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of returned items
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`
}

Predefined struct for user

type DescribeComputeEnvCreateInfosResponse

type DescribeComputeEnvCreateInfosResponse struct {
	*tchttp.BaseResponse
	Response *DescribeComputeEnvCreateInfosResponseParams `json:"Response"`
}

func NewDescribeComputeEnvCreateInfosResponse

func NewDescribeComputeEnvCreateInfosResponse() (response *DescribeComputeEnvCreateInfosResponse)

func (*DescribeComputeEnvCreateInfosResponse) FromJsonString

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

type DescribeComputeEnvCreateInfosResponseParams

type DescribeComputeEnvCreateInfosResponseParams struct {
	// Number of compute environments
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// List of compute environment creation information
	ComputeEnvCreateInfoSet []*ComputeEnvCreateInfo `json:"ComputeEnvCreateInfoSet,omitnil" name:"ComputeEnvCreateInfoSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeComputeEnvRequest

type DescribeComputeEnvRequest struct {
	*tchttp.BaseRequest

	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`
}

func NewDescribeComputeEnvRequest

func NewDescribeComputeEnvRequest() (request *DescribeComputeEnvRequest)

func (*DescribeComputeEnvRequest) FromJsonString

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

func (r *DescribeComputeEnvRequest) ToJsonString() string

type DescribeComputeEnvRequestParams

type DescribeComputeEnvRequestParams struct {
	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`
}

Predefined struct for user

type DescribeComputeEnvResponse

type DescribeComputeEnvResponse struct {
	*tchttp.BaseResponse
	Response *DescribeComputeEnvResponseParams `json:"Response"`
}

func NewDescribeComputeEnvResponse

func NewDescribeComputeEnvResponse() (response *DescribeComputeEnvResponse)

func (*DescribeComputeEnvResponse) FromJsonString

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

func (r *DescribeComputeEnvResponse) ToJsonString() string

type DescribeComputeEnvResponseParams

type DescribeComputeEnvResponseParams struct {
	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// Compute environment name
	EnvName *string `json:"EnvName,omitnil" name:"EnvName"`

	// Location information
	Placement *Placement `json:"Placement,omitnil" name:"Placement"`

	// Compute environment creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// List of compute nodes
	ComputeNodeSet []*ComputeNode `json:"ComputeNodeSet,omitnil" name:"ComputeNodeSet"`

	// Compute node statistical metrics
	ComputeNodeMetrics *ComputeNodeMetrics `json:"ComputeNodeMetrics,omitnil" name:"ComputeNodeMetrics"`

	// Number of desired compute nodes
	DesiredComputeNodeCount *uint64 `json:"DesiredComputeNodeCount,omitnil" name:"DesiredComputeNodeCount"`

	// Compute environment type
	EnvType *string `json:"EnvType,omitnil" name:"EnvType"`

	// Compute environment resource type. Values: `CVM`, `CPM` (Bare Metal)
	ResourceType *string `json:"ResourceType,omitnil" name:"ResourceType"`

	// Next action
	NextAction *string `json:"NextAction,omitnil" name:"NextAction"`

	// Number of compute nodes added to the compute environment
	AttachedComputeNodeCount *uint64 `json:"AttachedComputeNodeCount,omitnil" name:"AttachedComputeNodeCount"`

	// Tag list bound to the compute environment.
	// Note: This field may return `null`, indicating that no valid value was found.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeComputeEnvsRequest

type DescribeComputeEnvsRequest struct {
	*tchttp.BaseRequest

	// List of compute environment IDs, which cannot be specified together with the `Filters` parameter.
	EnvIds []*string `json:"EnvIds,omitnil" name:"EnvIds"`

	// Filters
	// <li> `zone` - String - Optional - Availability zone.</li>
	// <li> `env-id` - String - Optional - Compute environment ID.</li>
	// <li> `env-name` - String - Optional - Compute environment name.</li>
	// <li> `resource-type` - String - Optional - Compute resource type (`CVM` or `CPM`).</li>
	// <li> `tag-key` - String - Optional - Tag key.</li>
	// </li>`tag-value` - String - Optional - Tag value.</li>
	// <li> `tag:tag-key` - String - Optional - Tag key-value pair. Replace `tag-key` with the actual tag key.</li>
	// It cannot be specified together with `EnvIds`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Offset
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of returned items
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`
}

func NewDescribeComputeEnvsRequest

func NewDescribeComputeEnvsRequest() (request *DescribeComputeEnvsRequest)

func (*DescribeComputeEnvsRequest) FromJsonString

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

func (r *DescribeComputeEnvsRequest) ToJsonString() string

type DescribeComputeEnvsRequestParams

type DescribeComputeEnvsRequestParams struct {
	// List of compute environment IDs, which cannot be specified together with the `Filters` parameter.
	EnvIds []*string `json:"EnvIds,omitnil" name:"EnvIds"`

	// Filters
	// <li> `zone` - String - Optional - Availability zone.</li>
	// <li> `env-id` - String - Optional - Compute environment ID.</li>
	// <li> `env-name` - String - Optional - Compute environment name.</li>
	// <li> `resource-type` - String - Optional - Compute resource type (`CVM` or `CPM`).</li>
	// <li> `tag-key` - String - Optional - Tag key.</li>
	// </li>`tag-value` - String - Optional - Tag value.</li>
	// <li> `tag:tag-key` - String - Optional - Tag key-value pair. Replace `tag-key` with the actual tag key.</li>
	// It cannot be specified together with `EnvIds`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Offset
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of returned items
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`
}

Predefined struct for user

type DescribeComputeEnvsResponse

type DescribeComputeEnvsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeComputeEnvsResponseParams `json:"Response"`
}

func NewDescribeComputeEnvsResponse

func NewDescribeComputeEnvsResponse() (response *DescribeComputeEnvsResponse)

func (*DescribeComputeEnvsResponse) FromJsonString

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

func (r *DescribeComputeEnvsResponse) ToJsonString() string

type DescribeComputeEnvsResponseParams

type DescribeComputeEnvsResponseParams struct {
	// List of compute environments
	ComputeEnvSet []*ComputeEnvView `json:"ComputeEnvSet,omitnil" name:"ComputeEnvSet"`

	// Number of compute environments
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeCvmZoneInstanceConfigInfosRequest

type DescribeCvmZoneInstanceConfigInfosRequest struct {
	*tchttp.BaseRequest

	// Filter.
	// <li> zone - String - Required: No - (Filter) Filter by availability zone.</li>
	// <li> instance-family - String - Required: No - (Filter) Filter by model family such as S1, I1, and M1.</li>
	// <li> instance-type - String - Required: No - (Filter) Filter by model.</li>
	// <li> instance-charge-type - String - Required: No - (Filter) Filter by instance billing method. ( POSTPAID_BY_HOUR: pay-as-you-go | SPOTPAID: bidding.)  </li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

func NewDescribeCvmZoneInstanceConfigInfosRequest

func NewDescribeCvmZoneInstanceConfigInfosRequest() (request *DescribeCvmZoneInstanceConfigInfosRequest)

func (*DescribeCvmZoneInstanceConfigInfosRequest) FromJsonString

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

func (*DescribeCvmZoneInstanceConfigInfosRequest) ToJsonString

type DescribeCvmZoneInstanceConfigInfosRequestParams

type DescribeCvmZoneInstanceConfigInfosRequestParams struct {
	// Filter.
	// <li> zone - String - Required: No - (Filter) Filter by availability zone.</li>
	// <li> instance-family - String - Required: No - (Filter) Filter by model family such as S1, I1, and M1.</li>
	// <li> instance-type - String - Required: No - (Filter) Filter by model.</li>
	// <li> instance-charge-type - String - Required: No - (Filter) Filter by instance billing method. ( POSTPAID_BY_HOUR: pay-as-you-go | SPOTPAID: bidding.)  </li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

Predefined struct for user

type DescribeCvmZoneInstanceConfigInfosResponse

type DescribeCvmZoneInstanceConfigInfosResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCvmZoneInstanceConfigInfosResponseParams `json:"Response"`
}

func NewDescribeCvmZoneInstanceConfigInfosResponse

func NewDescribeCvmZoneInstanceConfigInfosResponse() (response *DescribeCvmZoneInstanceConfigInfosResponse)

func (*DescribeCvmZoneInstanceConfigInfosResponse) FromJsonString

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

func (*DescribeCvmZoneInstanceConfigInfosResponse) ToJsonString

type DescribeCvmZoneInstanceConfigInfosResponseParams

type DescribeCvmZoneInstanceConfigInfosResponseParams struct {
	// List of model configurations in the availability zone.
	InstanceTypeQuotaSet []*InstanceTypeQuotaItem `json:"InstanceTypeQuotaSet,omitnil" name:"InstanceTypeQuotaSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeInstanceCategoriesRequest

type DescribeInstanceCategoriesRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeInstanceCategoriesRequest

func NewDescribeInstanceCategoriesRequest() (request *DescribeInstanceCategoriesRequest)

func (*DescribeInstanceCategoriesRequest) FromJsonString

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

func (r *DescribeInstanceCategoriesRequest) ToJsonString() string

type DescribeInstanceCategoriesRequestParams

type DescribeInstanceCategoriesRequestParams struct {
}

Predefined struct for user

type DescribeInstanceCategoriesResponse

type DescribeInstanceCategoriesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeInstanceCategoriesResponseParams `json:"Response"`
}

func NewDescribeInstanceCategoriesResponse

func NewDescribeInstanceCategoriesResponse() (response *DescribeInstanceCategoriesResponse)

func (*DescribeInstanceCategoriesResponse) FromJsonString

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

func (r *DescribeInstanceCategoriesResponse) ToJsonString() string

type DescribeInstanceCategoriesResponseParams

type DescribeInstanceCategoriesResponseParams struct {
	// List of CVM instance categories
	InstanceCategorySet []*InstanceCategoryItem `json:"InstanceCategorySet,omitnil" name:"InstanceCategorySet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeJobRequest

type DescribeJobRequest struct {
	*tchttp.BaseRequest

	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`
}

func NewDescribeJobRequest

func NewDescribeJobRequest() (request *DescribeJobRequest)

func (*DescribeJobRequest) FromJsonString

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

func (r *DescribeJobRequest) ToJsonString() string

type DescribeJobRequestParams

type DescribeJobRequestParams struct {
	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`
}

Predefined struct for user

type DescribeJobResponse

type DescribeJobResponse struct {
	*tchttp.BaseResponse
	Response *DescribeJobResponseParams `json:"Response"`
}

func NewDescribeJobResponse

func NewDescribeJobResponse() (response *DescribeJobResponse)

func (*DescribeJobResponse) FromJsonString

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

func (r *DescribeJobResponse) ToJsonString() string

type DescribeJobResponseParams

type DescribeJobResponseParams struct {
	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// Job name
	JobName *string `json:"JobName,omitnil" name:"JobName"`

	// Availability zone information
	Zone *string `json:"Zone,omitnil" name:"Zone"`

	// Job priority
	Priority *int64 `json:"Priority,omitnil" name:"Priority"`

	// Job state
	JobState *string `json:"JobState,omitnil" name:"JobState"`

	// Creation Date
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// End time
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Task view information
	TaskSet []*TaskView `json:"TaskSet,omitnil" name:"TaskSet"`

	// Information of the dependency among tasks
	DependenceSet []*Dependence `json:"DependenceSet,omitnil" name:"DependenceSet"`

	// Task statistical metrics
	TaskMetrics *TaskMetrics `json:"TaskMetrics,omitnil" name:"TaskMetrics"`

	// Task instance statistical metrics
	TaskInstanceMetrics *TaskInstanceMetrics `json:"TaskInstanceMetrics,omitnil" name:"TaskInstanceMetrics"`

	// Job failure reason
	StateReason *string `json:"StateReason,omitnil" name:"StateReason"`

	// List of tags bound with the job.
	// Note: This field may return `null`, indicating that no valid value was found.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// Next action
	// Note: This field may return `null`, indicating that no valid value was found.
	NextAction *string `json:"NextAction,omitnil" name:"NextAction"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeJobSubmitInfoRequest

type DescribeJobSubmitInfoRequest struct {
	*tchttp.BaseRequest

	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`
}

func NewDescribeJobSubmitInfoRequest

func NewDescribeJobSubmitInfoRequest() (request *DescribeJobSubmitInfoRequest)

func (*DescribeJobSubmitInfoRequest) FromJsonString

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

func (r *DescribeJobSubmitInfoRequest) ToJsonString() string

type DescribeJobSubmitInfoRequestParams

type DescribeJobSubmitInfoRequestParams struct {
	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`
}

Predefined struct for user

type DescribeJobSubmitInfoResponse

type DescribeJobSubmitInfoResponse struct {
	*tchttp.BaseResponse
	Response *DescribeJobSubmitInfoResponseParams `json:"Response"`
}

func NewDescribeJobSubmitInfoResponse

func NewDescribeJobSubmitInfoResponse() (response *DescribeJobSubmitInfoResponse)

func (*DescribeJobSubmitInfoResponse) FromJsonString

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

func (r *DescribeJobSubmitInfoResponse) ToJsonString() string

type DescribeJobSubmitInfoResponseParams

type DescribeJobSubmitInfoResponseParams struct {
	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// Job name
	JobName *string `json:"JobName,omitnil" name:"JobName"`

	// Job description
	JobDescription *string `json:"JobDescription,omitnil" name:"JobDescription"`

	// Job priority. Tasks (Task) and task instances (TaskInstance) inherit the job priority
	Priority *int64 `json:"Priority,omitnil" name:"Priority"`

	// Information of tasks in the job
	Tasks []*Task `json:"Tasks,omitnil" name:"Tasks"`

	// Dependency information
	Dependences []*Dependence `json:"Dependences,omitnil" name:"Dependences"`

	// List of tags bound with the job.
	// Note: This field may return `null`, indicating that no valid value was found.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeJobsRequest

type DescribeJobsRequest struct {
	*tchttp.BaseRequest

	// List of job IDs. It cannot be specified together with `Filters`.
	JobIds []*string `json:"JobIds,omitnil" name:"JobIds"`

	// Filter
	// <li> `job-id` - String - Optional - Filter by the job ID.</li>
	// <li> `job-name` - String - Optional - Filter by the job name.</li>
	// <li> `job-state` - String - Optional - Filter by the job state.</li>
	// <li> `zone` - String - Optional - Filter by the availability zone.</li>
	// <li> `tag-key` - String - Optional - Tag key.</li>
	// <li> `tag-value` - String - Optional - Tag value.</li>
	// <li> `tag:tag-key` - String - Optional - Filter by the tag key-value pair. The tag-key should be replaced by a specified tag key.</li>
	// It cannot be specified together with `JobIds`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Offset
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of returned items
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

func NewDescribeJobsRequest

func NewDescribeJobsRequest() (request *DescribeJobsRequest)

func (*DescribeJobsRequest) FromJsonString

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

func (r *DescribeJobsRequest) ToJsonString() string

type DescribeJobsRequestParams

type DescribeJobsRequestParams struct {
	// List of job IDs. It cannot be specified together with `Filters`.
	JobIds []*string `json:"JobIds,omitnil" name:"JobIds"`

	// Filter
	// <li> `job-id` - String - Optional - Filter by the job ID.</li>
	// <li> `job-name` - String - Optional - Filter by the job name.</li>
	// <li> `job-state` - String - Optional - Filter by the job state.</li>
	// <li> `zone` - String - Optional - Filter by the availability zone.</li>
	// <li> `tag-key` - String - Optional - Tag key.</li>
	// <li> `tag-value` - String - Optional - Tag value.</li>
	// <li> `tag:tag-key` - String - Optional - Filter by the tag key-value pair. The tag-key should be replaced by a specified tag key.</li>
	// It cannot be specified together with `JobIds`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Offset
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of returned items
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

Predefined struct for user

type DescribeJobsResponse

type DescribeJobsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeJobsResponseParams `json:"Response"`
}

func NewDescribeJobsResponse

func NewDescribeJobsResponse() (response *DescribeJobsResponse)

func (*DescribeJobsResponse) FromJsonString

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

func (r *DescribeJobsResponse) ToJsonString() string

type DescribeJobsResponseParams

type DescribeJobsResponseParams struct {
	// List of jobs
	JobSet []*JobView `json:"JobSet,omitnil" name:"JobSet"`

	// Number of matched jobs
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeTaskLogsRequest

type DescribeTaskLogsRequest struct {
	*tchttp.BaseRequest

	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// Task name
	TaskName *string `json:"TaskName,omitnil" name:"TaskName"`

	// Set of task instances
	TaskInstanceIndexes []*uint64 `json:"TaskInstanceIndexes,omitnil" name:"TaskInstanceIndexes"`

	// The start point of query
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of task instances returned
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`
}

func NewDescribeTaskLogsRequest

func NewDescribeTaskLogsRequest() (request *DescribeTaskLogsRequest)

func (*DescribeTaskLogsRequest) FromJsonString

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

func (r *DescribeTaskLogsRequest) ToJsonString() string

type DescribeTaskLogsRequestParams

type DescribeTaskLogsRequestParams struct {
	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// Task name
	TaskName *string `json:"TaskName,omitnil" name:"TaskName"`

	// Set of task instances
	TaskInstanceIndexes []*uint64 `json:"TaskInstanceIndexes,omitnil" name:"TaskInstanceIndexes"`

	// The start point of query
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of task instances returned
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`
}

Predefined struct for user

type DescribeTaskLogsResponse

type DescribeTaskLogsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTaskLogsResponseParams `json:"Response"`
}

func NewDescribeTaskLogsResponse

func NewDescribeTaskLogsResponse() (response *DescribeTaskLogsResponse)

func (*DescribeTaskLogsResponse) FromJsonString

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

func (r *DescribeTaskLogsResponse) ToJsonString() string

type DescribeTaskLogsResponseParams

type DescribeTaskLogsResponseParams struct {
	// Total number of task instances
	TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// Set of task instance log details
	TaskInstanceLogSet []*TaskInstanceLog `json:"TaskInstanceLogSet,omitnil" name:"TaskInstanceLogSet"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeTaskRequest

type DescribeTaskRequest struct {
	*tchttp.BaseRequest

	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// Task name
	TaskName *string `json:"TaskName,omitnil" name:"TaskName"`

	// Offset
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Number of returned results. Default value: 100. Maximum value: 1,000.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Filter as detailed below:
	// <li> `task-instance-type` - String - Optional - Filter by the task instance state. (`SUBMITTED`, `PENDING`, `RUNNABLE`, `STARTING`, `RUNNING`, `SUCCEED`, `FAILED`, `FAILED_INTERRUPTED`).</li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

func NewDescribeTaskRequest

func NewDescribeTaskRequest() (request *DescribeTaskRequest)

func (*DescribeTaskRequest) FromJsonString

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

func (r *DescribeTaskRequest) ToJsonString() string

type DescribeTaskRequestParams

type DescribeTaskRequestParams struct {
	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// Task name
	TaskName *string `json:"TaskName,omitnil" name:"TaskName"`

	// Offset
	Offset *uint64 `json:"Offset,omitnil" name:"Offset"`

	// Number of returned results. Default value: 100. Maximum value: 1,000.
	Limit *uint64 `json:"Limit,omitnil" name:"Limit"`

	// Filter as detailed below:
	// <li> `task-instance-type` - String - Optional - Filter by the task instance state. (`SUBMITTED`, `PENDING`, `RUNNABLE`, `STARTING`, `RUNNING`, `SUCCEED`, `FAILED`, `FAILED_INTERRUPTED`).</li>
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`
}

Predefined struct for user

type DescribeTaskResponse

type DescribeTaskResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTaskResponseParams `json:"Response"`
}

func NewDescribeTaskResponse

func NewDescribeTaskResponse() (response *DescribeTaskResponse)

func (*DescribeTaskResponse) FromJsonString

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

func (r *DescribeTaskResponse) ToJsonString() string

type DescribeTaskResponseParams

type DescribeTaskResponseParams struct {
	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// Task name
	TaskName *string `json:"TaskName,omitnil" name:"TaskName"`

	// Task status
	TaskState *string `json:"TaskState,omitnil" name:"TaskState"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// End time
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Total number of task instances
	TaskInstanceTotalCount *int64 `json:"TaskInstanceTotalCount,omitnil" name:"TaskInstanceTotalCount"`

	// Task instance information
	TaskInstanceSet []*TaskInstanceView `json:"TaskInstanceSet,omitnil" name:"TaskInstanceSet"`

	// Task instance statistical metrics
	TaskInstanceMetrics *TaskInstanceMetrics `json:"TaskInstanceMetrics,omitnil" name:"TaskInstanceMetrics"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DescribeTaskTemplatesRequest

type DescribeTaskTemplatesRequest struct {
	*tchttp.BaseRequest

	// List of task template IDs. It cannot be specified together with `Filters`.
	TaskTemplateIds []*string `json:"TaskTemplateIds,omitnil" name:"TaskTemplateIds"`

	// Filter
	// <li> `task-template-name` - String - Optional - Task template name.</li>
	// <li> `tag-key` - String - Optional - Tag key.</li>
	// <li> `tag-value` - String - Optional - Tag value.</li>
	// <li> `tag:tag-key` - String - Optional - Tag key-value pair. The tag-key should be replaced by a specified tag key.</li>
	// It cannot be specified together with `TaskTemplateIds`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Offset
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of returned items
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

func NewDescribeTaskTemplatesRequest

func NewDescribeTaskTemplatesRequest() (request *DescribeTaskTemplatesRequest)

func (*DescribeTaskTemplatesRequest) FromJsonString

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

func (r *DescribeTaskTemplatesRequest) ToJsonString() string

type DescribeTaskTemplatesRequestParams

type DescribeTaskTemplatesRequestParams struct {
	// List of task template IDs. It cannot be specified together with `Filters`.
	TaskTemplateIds []*string `json:"TaskTemplateIds,omitnil" name:"TaskTemplateIds"`

	// Filter
	// <li> `task-template-name` - String - Optional - Task template name.</li>
	// <li> `tag-key` - String - Optional - Tag key.</li>
	// <li> `tag-value` - String - Optional - Tag value.</li>
	// <li> `tag:tag-key` - String - Optional - Tag key-value pair. The tag-key should be replaced by a specified tag key.</li>
	// It cannot be specified together with `TaskTemplateIds`.
	Filters []*Filter `json:"Filters,omitnil" name:"Filters"`

	// Offset
	Offset *int64 `json:"Offset,omitnil" name:"Offset"`

	// Maximum number of returned items
	Limit *int64 `json:"Limit,omitnil" name:"Limit"`
}

Predefined struct for user

type DescribeTaskTemplatesResponse

type DescribeTaskTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTaskTemplatesResponseParams `json:"Response"`
}

func NewDescribeTaskTemplatesResponse

func NewDescribeTaskTemplatesResponse() (response *DescribeTaskTemplatesResponse)

func (*DescribeTaskTemplatesResponse) FromJsonString

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

func (r *DescribeTaskTemplatesResponse) ToJsonString() string

type DescribeTaskTemplatesResponseParams

type DescribeTaskTemplatesResponseParams struct {
	// List of task templates
	TaskTemplateSet []*TaskTemplateView `json:"TaskTemplateSet,omitnil" name:"TaskTemplateSet"`

	// Number of task templates
	TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type DetachInstancesRequest

type DetachInstancesRequest struct {
	*tchttp.BaseRequest

	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// List of instance IDs
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`
}

func NewDetachInstancesRequest

func NewDetachInstancesRequest() (request *DetachInstancesRequest)

func (*DetachInstancesRequest) FromJsonString

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

func (r *DetachInstancesRequest) ToJsonString() string

type DetachInstancesRequestParams

type DetachInstancesRequestParams struct {
	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// List of instance IDs
	InstanceIds []*string `json:"InstanceIds,omitnil" name:"InstanceIds"`
}

Predefined struct for user

type DetachInstancesResponse

type DetachInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DetachInstancesResponseParams `json:"Response"`
}

func NewDetachInstancesResponse

func NewDetachInstancesResponse() (response *DetachInstancesResponse)

func (*DetachInstancesResponse) FromJsonString

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

func (r *DetachInstancesResponse) ToJsonString() string

type DetachInstancesResponseParams

type DetachInstancesResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type Docker

type Docker struct {
	// Docker Hub username or Tencent Registry username
	User *string `json:"User,omitnil" name:"User"`

	// Docker Hub password or Tencent Registry password
	Password *string `json:"Password,omitnil" name:"Password"`

	// For Docker Hub, enter "[user/repo]:[tag]"; for Tencent Registry, enter "ccr.ccs.tencentyun.com/[namespace/repo]:[tag]"
	Image *string `json:"Image,omitnil" name:"Image"`

	// For Docker Hub, this can be left blank, but please ensure public network access is present. For Tencent Registry, the server address is "ccr.ccs.tencentyun.com"
	Server *string `json:"Server,omitnil" name:"Server"`

	// Maximum retry attempts to load docket images. Range: 0 - 10. Default: `0`
	MaxRetryCount *uint64 `json:"MaxRetryCount,omitnil" name:"MaxRetryCount"`

	// Docker image loading timeout period (in seconds). Range: 1 - 360
	DelayOnRetry *uint64 `json:"DelayOnRetry,omitnil" name:"DelayOnRetry"`

	// Docker command execution parameter
	// Note: This field may return `null`, indicating that no valid value was found.
	DockerRunOption *string `json:"DockerRunOption,omitnil" name:"DockerRunOption"`
}

type EnhancedService

type EnhancedService struct {
	// Enables cloud security service. If this parameter is not specified, the cloud security service will be enabled by default.
	SecurityService *RunSecurityServiceEnabled `json:"SecurityService,omitnil" name:"SecurityService"`

	// Enables cloud monitor service. If this parameter is not specified, the cloud monitor service will be enabled by default.
	MonitorService *RunMonitorServiceEnabled `json:"MonitorService,omitnil" name:"MonitorService"`

	// Whether to enable the TAT service. If this parameter is not specified, the TAT service is enabled for public images and disabled for other images by default.
	AutomationService *RunAutomationServiceEnabled `json:"AutomationService,omitnil" name:"AutomationService"`
}

type EnvData

type EnvData struct {
	// CVM instance type. It cannot be specified together with `InstanceTypes` or `InstanceTypeOptions`.
	InstanceType *string `json:"InstanceType,omitnil" name:"InstanceType"`

	// CVM image ID
	ImageId *string `json:"ImageId,omitnil" name:"ImageId"`

	// System disk configuration of the instance
	SystemDisk *SystemDisk `json:"SystemDisk,omitnil" name:"SystemDisk"`

	// Data disk configuration of the instance
	DataDisks []*DataDisk `json:"DataDisks,omitnil" name:"DataDisks"`

	// Information of the VPC configuration. It cannot be specified together with `Zones` and `VirtualPrivateClouds`.
	VirtualPrivateCloud *VirtualPrivateCloud `json:"VirtualPrivateCloud,omitnil" name:"VirtualPrivateCloud"`

	// Public network bandwidth configuration
	InternetAccessible *InternetAccessible `json:"InternetAccessible,omitnil" name:"InternetAccessible"`

	// CVM instance display name
	InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"`

	// Instance login settings
	LoginSettings *LoginSettings `json:"LoginSettings,omitnil" name:"LoginSettings"`

	// Security groups associated with the instance
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil" name:"SecurityGroupIds"`

	// Whether to activate CWPP agent and Cloud Monitor. CWPP agent and Cloud Monitor are activated by default.
	EnhancedService *EnhancedService `json:"EnhancedService,omitnil" name:"EnhancedService"`

	// CVM instance billing method <br><li>`POSTPAID_BY_HOUR` (default): Hourly-billed pay-as-you-go <br><li>`SPOTPAID`: Spot instance <br>
	InstanceChargeType *string `json:"InstanceChargeType,omitnil" name:"InstanceChargeType"`

	// Market-related options for instances, such as parameters related to spot instances.
	InstanceMarketOptions *InstanceMarketOptionsRequest `json:"InstanceMarketOptions,omitnil" name:"InstanceMarketOptions"`

	// Types of CVM instances to create (up to 10). The system creates compute nodes of types specified in this list from top to down till the creation is successful. It cannot be specified together with `InstanceType` or `InstanceTypeOptions`.
	InstanceTypes []*string `json:"InstanceTypes,omitnil" name:"InstanceTypes"`

	// CVM instance model configuration. It cannot be specified together with `InstanceType` or `InstanceTypes`.
	InstanceTypeOptions *InstanceTypeOptions `json:"InstanceTypeOptions,omitnil" name:"InstanceTypeOptions"`

	// List of availability zones. You can create CVM cross AZs in the same region. It cannot be specified together with `VirtualPrivateCloud` or `VirtualPrivateClouds`.
	Zones []*string `json:"Zones,omitnil" name:"Zones"`

	// List of VPCs (creation of CVM instances across VPCs is supported). It cannot be specified together with `VirtualPrivateCloud` or `Zones`.
	VirtualPrivateClouds []*VirtualPrivateCloud `json:"VirtualPrivateClouds,omitnil" name:"VirtualPrivateClouds"`
}

type EnvVar

type EnvVar struct {
	// Environment variable name
	Name *string `json:"Name,omitnil" name:"Name"`

	// Environment variable value
	Value *string `json:"Value,omitnil" name:"Value"`
}

type EventConfig

type EventConfig struct {
	// Event type. Value range: <br/><li>`JOB_RUNNING`: The job is running, applicable to `SubmitJob`. </li><li>`JOB_SUCCEED`: The job succeeded, applicable to `SubmitJob`. </li><li>`JOB_FAILED`: The job failed, applicable to `SubmitJob`. </li><li>`JOB_FAILED_INTERRUPTED`: The job failed and the instance is retained, applicable to `SubmitJob`. </li><li>`TASK_RUNNING`: The task is running, applicable to `SubmitJob`. </li><li>`TASK_SUCCEED`: The task succeeded, applicable to `SubmitJob`. </li><li>`TASK_FAILED`: The task failed, applicable to `SubmitJob`. </li><li>`TASK_FAILED_INTERRUPTED`: The task failed and the instance is retained, applicable to `SubmitJob`. </li><li>`TASK_INSTANCE_RUNNING`: The task instance is running, applicable to `SubmitJob`. </li><li>`TASK_INSTANCE_SUCCEED`: The task instance succeeded, applicable to `SubmitJob`. </li><li>`TASK_INSTANCE_FAILED`: The task instance failed, applicable to `SubmitJob`. </li><li>`TASK_INSTANCE_FAILED_INTERRUPTED`: The task instance failed and the instance is retained, applicable to `SubmitJob`. </li><li>`COMPUTE_ENV_CREATED`: the compute environment has been created, applicable to "CreateComputeEnv". </li><li>`COMPUTE_ENV_DELETED`: The compute environment has been deleted, applicable to `CreateComputeEnv`. </li><li>`COMPUTE_NODE_CREATED`: The compute node has been created, applicable to `CreateComputeEnv` and `SubmitJob`. </li><li>`COMPUTE_NODE_CREATION_FAILED`: The compute node creation failed, applicable to `CreateComputeEnv` and `SubmitJob`. </li><li>`COMPUTE_NODE_RUNNING`: The compute node is running, applicable to `CreateComputeEnv` and `SubmitJob`. </li><li>`COMPUTE_NODE_ABNORMAL`: The compute node is exceptional, applicable to "CreateComputeEnv" and "SubmitJob". </li><li>`COMPUTE_NODE_DELETING`: The compute node has been deleted, applicable to `CreateComputeEnv` and `SubmitJob`. </li>
	EventName *string `json:"EventName,omitnil" name:"EventName"`

	// Custom key-value pair
	EventVars []*EventVar `json:"EventVars,omitnil" name:"EventVars"`
}

type EventVar

type EventVar struct {
	// Custom key
	Name *string `json:"Name,omitnil" name:"Name"`

	// Custom value
	Value *string `json:"Value,omitnil" name:"Value"`
}

type Externals

type Externals struct {
	// Release address
	// Note: This field may return null, indicating that no valid value is found.
	ReleaseAddress *bool `json:"ReleaseAddress,omitnil" name:"ReleaseAddress"`

	// Not supported network. Value: <br><li>BASIC: classic network<br><li>VPC1.0: VPC1.0
	// Note: This field may return null, indicating that no valid value was found.
	UnsupportNetworks []*string `json:"UnsupportNetworks,omitnil" name:"UnsupportNetworks"`

	// Attributes of local HDD storage
	// Note: This field may return null, indicating that no valid value is found.
	StorageBlockAttr *StorageBlock `json:"StorageBlockAttr,omitnil" name:"StorageBlockAttr"`
}

type Filter

type Filter struct {
	// Filters.
	Name *string `json:"Name,omitnil" name:"Name"`

	// Filter values.
	Values []*string `json:"Values,omitnil" name:"Values"`
}

type InputMapping

type InputMapping struct {
	// Source path
	SourcePath *string `json:"SourcePath,omitnil" name:"SourcePath"`

	// Destination path
	DestinationPath *string `json:"DestinationPath,omitnil" name:"DestinationPath"`

	// Mounting configuration item parameter
	MountOptionParameter *string `json:"MountOptionParameter,omitnil" name:"MountOptionParameter"`
}

type Instance

type Instance struct {
	// Instance ID.
	InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"`

	// Image ID
	ImageId *string `json:"ImageId,omitnil" name:"ImageId"`

	// Instance login settings.
	LoginSettings *LoginSettings `json:"LoginSettings,omitnil" name:"LoginSettings"`
}

type InstanceCategoryItem

type InstanceCategoryItem struct {
	// Instance type name
	InstanceCategory *string `json:"InstanceCategory,omitnil" name:"InstanceCategory"`

	// List of instance families
	InstanceFamilySet []*string `json:"InstanceFamilySet,omitnil" name:"InstanceFamilySet"`
}

type InstanceMarketOptionsRequest

type InstanceMarketOptionsRequest struct {
	// Spot-related options
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	SpotOptions *SpotMarketOptions `json:"SpotOptions,omitnil" name:"SpotOptions"`

	// Market type. Valid value: `spot`.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	MarketType *string `json:"MarketType,omitnil" name:"MarketType"`
}

type InstanceTypeConfig

type InstanceTypeConfig struct {
	// Memory size in GB.
	Mem *int64 `json:"Mem,omitnil" name:"Mem"`

	// Number of CPU cores.
	Cpu *int64 `json:"Cpu,omitnil" name:"Cpu"`

	// Instance model.
	InstanceType *string `json:"InstanceType,omitnil" name:"InstanceType"`

	// Availability zone.
	Zone *string `json:"Zone,omitnil" name:"Zone"`

	// Instance model family.
	InstanceFamily *string `json:"InstanceFamily,omitnil" name:"InstanceFamily"`
}

type InstanceTypeOptions

type InstanceTypeOptions struct {
	// Number of CPU cores
	CPU *uint64 `json:"CPU,omitnil" name:"CPU"`

	// Memory size in GB.
	Memory *uint64 `json:"Memory,omitnil" name:"Memory"`

	// Instance model category. Values: `ALL` (default), `GENERAL`, `GENERAL_2`, `GENERAL_3`, `COMPUTE`, `COMPUTE_2`, and `COMPUTE_3`.
	InstanceCategories []*string `json:"InstanceCategories,omitnil" name:"InstanceCategories"`
}

type InstanceTypeQuotaItem

type InstanceTypeQuotaItem struct {
	// Availability zone.
	Zone *string `json:"Zone,omitnil" name:"Zone"`

	// Instance model.
	InstanceType *string `json:"InstanceType,omitnil" name:"InstanceType"`

	// Instance billing plan. Valid values: <br><li>POSTPAID_BY_HOUR: pay after use. You are billed for your traffic by the hour.<br><li>`CDHPAID`: [`CDH`](https://intl.cloud.tencent.com/document/product/416?from_cn_redirect=1) billing plan. Applicable to `CDH` only, not the instances on the host.
	InstanceChargeType *string `json:"InstanceChargeType,omitnil" name:"InstanceChargeType"`

	// ENI type. For example, 25 represents an ENI of 25 GB.
	NetworkCard *int64 `json:"NetworkCard,omitnil" name:"NetworkCard"`

	// Additional data.
	// Note: This field may return null, indicating that no valid value is found.
	Externals *Externals `json:"Externals,omitnil" name:"Externals"`

	// Number of CPU cores of an instance model.
	Cpu *int64 `json:"Cpu,omitnil" name:"Cpu"`

	// Instance memory capacity; unit: `GB`.
	Memory *int64 `json:"Memory,omitnil" name:"Memory"`

	// Instance model family.
	InstanceFamily *string `json:"InstanceFamily,omitnil" name:"InstanceFamily"`

	// Model name.
	TypeName *string `json:"TypeName,omitnil" name:"TypeName"`

	// List of local disk specifications. If the parameter returns null, it means that local disks cannot be created.
	LocalDiskTypeList []*LocalDiskType `json:"LocalDiskTypeList,omitnil" name:"LocalDiskTypeList"`

	// Whether an instance model is available. Valid values: <br><li>SELL: available <br><li>SOLD_OUT: sold out
	Status *string `json:"Status,omitnil" name:"Status"`

	// Price of an instance model.
	Price *ItemPrice `json:"Price,omitnil" name:"Price"`

	// Details of out-of-stock items
	// Note: this field may return null, indicating that no valid value is obtained.
	SoldOutReason *string `json:"SoldOutReason,omitnil" name:"SoldOutReason"`

	// Private network bandwidth, in Gbps.
	InstanceBandwidth *float64 `json:"InstanceBandwidth,omitnil" name:"InstanceBandwidth"`

	// The max packet sending and receiving capability (in 10k PPS).
	InstancePps *int64 `json:"InstancePps,omitnil" name:"InstancePps"`

	// Number of local storage blocks.
	StorageBlockAmount *int64 `json:"StorageBlockAmount,omitnil" name:"StorageBlockAmount"`

	// CPU type.
	CpuType *string `json:"CpuType,omitnil" name:"CpuType"`

	// Number of GPUs of the instance.
	Gpu *int64 `json:"Gpu,omitnil" name:"Gpu"`

	// Number of FPGAs of the instance.
	Fpga *int64 `json:"Fpga,omitnil" name:"Fpga"`

	// Descriptive information of the instance.
	Remark *string `json:"Remark,omitnil" name:"Remark"`

	GpuCount *float64 `json:"GpuCount,omitnil" name:"GpuCount"`

	// CPU clock rate of the instance
	Frequency *string `json:"Frequency,omitnil" name:"Frequency"`
}

type InternetAccessible

type InternetAccessible struct {
	// Network connection billing plan. Valid value: <br><li>TRAFFIC_POSTPAID_BY_HOUR: pay after use. You are billed for your traffic, by the hour.
	InternetChargeType *string `json:"InternetChargeType,omitnil" name:"InternetChargeType"`

	// The maximum outbound bandwidth of the public network, in Mbps. The default value is 0 Mbps. The upper limit of bandwidth varies for different models. For more information, see [Purchase Network Bandwidth](https://intl.cloud.tencent.com/document/product/213/12523?from_cn_redirect=1).
	InternetMaxBandwidthOut *int64 `json:"InternetMaxBandwidthOut,omitnil" name:"InternetMaxBandwidthOut"`

	// Whether to assign a public IP. Valid values: <br><li>TRUE: Assign a public IP <br><li>FALSE: Do not assign a public IP <br><br>If the public network bandwidth is greater than 0 Mbps, you can choose whether to assign a public IP; by default a public IP will be assigned. If the public network bandwidth is 0 Mbps, you will not be able to assign a public IP.
	PublicIpAssigned *bool `json:"PublicIpAssigned,omitnil" name:"PublicIpAssigned"`

	// Bandwidth package ID. To obatin the IDs, you can call [`DescribeBandwidthPackages`](https://intl.cloud.tencent.com/document/api/215/19209?from_cn_redirect=1) and look for the `BandwidthPackageId` fields in the response.
	BandwidthPackageId *string `json:"BandwidthPackageId,omitnil" name:"BandwidthPackageId"`
}

type ItemPrice

type ItemPrice struct {
	// The original unit price for pay-as-you-go mode in USD. <br><li>When a billing tier is returned, it indicates the price fo the returned billing tier. For example, if `UnitPriceSecondStep` is returned, it refers to the unit price for the usage between 0 to 96 hours. Otherwise, it refers to that the unit price for unlimited usage.
	// Note: this field may return null, indicating that no valid value is obtained.
	UnitPrice *float64 `json:"UnitPrice,omitnil" name:"UnitPrice"`

	// Billing unit for pay-as-you-go mode. Valid values: <br><li>HOUR: billed on an hourly basis. It's used for hourly postpaid instances (`POSTPAID_BY_HOUR`). <br><li>GB: bill by traffic in GB. It's used for postpaid products that are billed by the hourly traffic (`TRAFFIC_POSTPAID_BY_HOUR`).
	// Note: this field may return null, indicating that no valid value is obtained.
	ChargeUnit *string `json:"ChargeUnit,omitnil" name:"ChargeUnit"`

	// The original price of a pay-in-advance instance, in USD.
	// Note: this field may return null, indicating that no valid value is obtained.
	OriginalPrice *float64 `json:"OriginalPrice,omitnil" name:"OriginalPrice"`

	// Discount price of a prepaid instance, in USD.
	// Note: this field may return null, indicating that no valid value is obtained.
	DiscountPrice *float64 `json:"DiscountPrice,omitnil" name:"DiscountPrice"`

	// Percentage of the original price. For example, if you enter "20.0", the discounted price will be 20% of the original price.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Discount *float64 `json:"Discount,omitnil" name:"Discount"`

	// The discounted unit price for pay-as-you-go mode in USD. <br><li>When a billing tier is returned, it indicates the price fo the returned billing tier. For example, if `UnitPriceSecondStep` is returned, it refers to the unit price for the usage between 0 to 96 hours. Otherwise, it refers to that the unit price for unlimited usage.
	// Note: this field may return null, indicating that no valid value is obtained.
	UnitPriceDiscount *float64 `json:"UnitPriceDiscount,omitnil" name:"UnitPriceDiscount"`

	// Original unit price for the usage between 96 to 360 hours in USD. It's applicable to pay-as-you-go mode.
	// Note: this field may return null, indicating that no valid value is obtained.
	UnitPriceSecondStep *float64 `json:"UnitPriceSecondStep,omitnil" name:"UnitPriceSecondStep"`

	// Discounted unit price for the usage between 96 to 360 hours in USD. It's applicable to pay-as-you-go mode.
	// Note: this field may return null, indicating that no valid value is obtained.
	UnitPriceDiscountSecondStep *float64 `json:"UnitPriceDiscountSecondStep,omitnil" name:"UnitPriceDiscountSecondStep"`

	// Original unit price for the usage after 360 hours in USD. It's applicable to pay-as-you-go mode.
	// Note: this field may return null, indicating that no valid value is obtained.
	UnitPriceThirdStep *float64 `json:"UnitPriceThirdStep,omitnil" name:"UnitPriceThirdStep"`

	// Discounted unit price for the usage after 360 hours in USD. It's applicable to pay-as-you-go mode.
	// Note: this field may return null, indicating that no valid value is obtained.
	UnitPriceDiscountThirdStep *float64 `json:"UnitPriceDiscountThirdStep,omitnil" name:"UnitPriceDiscountThirdStep"`

	// Original 3-year payment, in USD. This parameter is only available to upfront payment mode.
	// Note: this field may return `null`, indicating that no valid value was found.
	// Note: this field may return `null`, indicating that no valid value was found.
	OriginalPriceThreeYear *float64 `json:"OriginalPriceThreeYear,omitnil" name:"OriginalPriceThreeYear"`

	// Discounted 3-year upfront payment, in USD. This parameter is only available to upfront payment mode.
	// Note: this field may return `null`, indicating that no valid value was found.
	// Note: this field may return `null`, indicating that no valid value was found.
	DiscountPriceThreeYear *float64 `json:"DiscountPriceThreeYear,omitnil" name:"DiscountPriceThreeYear"`

	// Discount for 3-year upfront payment. For example, 20.0 indicates 80% off.
	// Note: this field may return `null`, indicating that no valid value was found.
	// Note: this field may return `null`, indicating that no valid value was found.
	DiscountThreeYear *float64 `json:"DiscountThreeYear,omitnil" name:"DiscountThreeYear"`

	// Original 5-year payment, in USD. This parameter is only available to upfront payment mode.
	// Note: this field may return `null`, indicating that no valid value was found.
	// Note: this field may return `null`, indicating that no valid value was found.
	OriginalPriceFiveYear *float64 `json:"OriginalPriceFiveYear,omitnil" name:"OriginalPriceFiveYear"`

	// Discounted 5-year upfront payment, in USD. This parameter is only available to upfront payment mode.
	// Note: this field may return `null`, indicating that no valid value was found.
	// Note: this field may return `null`, indicating that no valid value was found.
	DiscountPriceFiveYear *float64 `json:"DiscountPriceFiveYear,omitnil" name:"DiscountPriceFiveYear"`

	// Discount for 5-year upfront payment. For example, 20.0 indicates 80% off.
	// Note: this field may return `null`, indicating that no valid value was found.
	// Note: this field may return `null`, indicating that no valid value was found.
	DiscountFiveYear *float64 `json:"DiscountFiveYear,omitnil" name:"DiscountFiveYear"`

	// Original 1-year payment, in USD. This parameter is only available to upfront payment mode.
	// Note: this field may return `null`, indicating that no valid value was found.
	// Note: this field may return `null`, indicating that no valid value was found.
	OriginalPriceOneYear *float64 `json:"OriginalPriceOneYear,omitnil" name:"OriginalPriceOneYear"`

	// Discounted 1-year payment, in USD. This parameter is only available to upfront payment mode.
	// Note: this field may return `null`, indicating that no valid value was found.
	// Note: this field may return `null`, indicating that no valid value was found.
	DiscountPriceOneYear *float64 `json:"DiscountPriceOneYear,omitnil" name:"DiscountPriceOneYear"`

	// Discount for 1-year upfront payment. For example, 20.0 indicates 80% off.
	// Note: this field may return `null`, indicating that no valid value was found.
	// Note: this field may return `null`, indicating that no valid value was found.
	DiscountOneYear *float64 `json:"DiscountOneYear,omitnil" name:"DiscountOneYear"`
}

type JobView

type JobView struct {
	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// Job name
	JobName *string `json:"JobName,omitnil" name:"JobName"`

	// Job state
	JobState *string `json:"JobState,omitnil" name:"JobState"`

	// Job priority
	Priority *int64 `json:"Priority,omitnil" name:"Priority"`

	// Location information
	// Note: This field may return `null`, indicating that no valid value was found.
	Placement *Placement `json:"Placement,omitnil" name:"Placement"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// End time
	// Note: This field may return `null`, indicating that no valid value was found.
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Task statistical metrics
	TaskMetrics *TaskMetrics `json:"TaskMetrics,omitnil" name:"TaskMetrics"`

	// List of tags bound with the job.
	// Note: This field may return `null`, indicating that no valid value was found.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`
}

type LocalDiskType

type LocalDiskType struct {
	// Type of a local disk.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Attributes of a local disk.
	PartitionType *string `json:"PartitionType,omitnil" name:"PartitionType"`

	// Minimum size of a local disk.
	MinSize *int64 `json:"MinSize,omitnil" name:"MinSize"`

	// Maximum size of a local disk.
	MaxSize *int64 `json:"MaxSize,omitnil" name:"MaxSize"`

	// Whether a local disk is required during purchase. Valid values:<br><li>REQUIRED: required<br><li>OPTIONAL: optional
	Required *string `json:"Required,omitnil" name:"Required"`
}

type LoginSettings

type LoginSettings struct {
	// Login password of the instance. <br><li>Linux instances: 8-16 characters, containing at least two of the following categories: [a-z, A-Z], [0-9] and [()`~!@#$%^&*-+=|{}[]:;',.?/]. <br><li>Windows instances: 12-16 characters, containing at least three of the following categories: [a-z], [A-Z], [0-9] and [()`~!@#$%^&*-+={}[]:;',.?/]. <br><br>If this parameter is not specified, a random password will be generated and sent to you via the Message Center.
	Password *string `json:"Password,omitnil" name:"Password"`

	// List of key IDs. After an instance is associated with a key, you can access the instance with the private key in the key pair. You can call `DescribeKeyPairs` to obtain `KeyId`. Key and password cannot be specified at the same time. Windows instances do not support keys. Currently, you can only specify one key when purchasing an instance.
	KeyIds []*string `json:"KeyIds,omitnil" name:"KeyIds"`

	// Whether to keep the original settings of an image. Values: `TRUE` (default), `FALSE`. It cannot be specified together with `Password` or `KeyIds.N`. You can specify this parameter as `TRUE` only when you create an instance using a custom image, a shared image, or an imported image.
	KeepImageLogin *string `json:"KeepImageLogin,omitnil" name:"KeepImageLogin"`
}

type ModifyComputeEnvRequest

type ModifyComputeEnvRequest struct {
	*tchttp.BaseRequest

	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// Number of desired compute nodes
	DesiredComputeNodeCount *int64 `json:"DesiredComputeNodeCount,omitnil" name:"DesiredComputeNodeCount"`

	// Compute environment name
	EnvName *string `json:"EnvName,omitnil" name:"EnvName"`

	// Compute environment description
	EnvDescription *string `json:"EnvDescription,omitnil" name:"EnvDescription"`

	// Compute environment attributes
	EnvData *ComputeEnvData `json:"EnvData,omitnil" name:"EnvData"`
}

func NewModifyComputeEnvRequest

func NewModifyComputeEnvRequest() (request *ModifyComputeEnvRequest)

func (*ModifyComputeEnvRequest) FromJsonString

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

func (r *ModifyComputeEnvRequest) ToJsonString() string

type ModifyComputeEnvRequestParams

type ModifyComputeEnvRequestParams struct {
	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// Number of desired compute nodes
	DesiredComputeNodeCount *int64 `json:"DesiredComputeNodeCount,omitnil" name:"DesiredComputeNodeCount"`

	// Compute environment name
	EnvName *string `json:"EnvName,omitnil" name:"EnvName"`

	// Compute environment description
	EnvDescription *string `json:"EnvDescription,omitnil" name:"EnvDescription"`

	// Compute environment attributes
	EnvData *ComputeEnvData `json:"EnvData,omitnil" name:"EnvData"`
}

Predefined struct for user

type ModifyComputeEnvResponse

type ModifyComputeEnvResponse struct {
	*tchttp.BaseResponse
	Response *ModifyComputeEnvResponseParams `json:"Response"`
}

func NewModifyComputeEnvResponse

func NewModifyComputeEnvResponse() (response *ModifyComputeEnvResponse)

func (*ModifyComputeEnvResponse) FromJsonString

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

func (r *ModifyComputeEnvResponse) ToJsonString() string

type ModifyComputeEnvResponseParams

type ModifyComputeEnvResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type ModifyTaskTemplateRequest

type ModifyTaskTemplateRequest struct {
	*tchttp.BaseRequest

	// Task template ID
	TaskTemplateId *string `json:"TaskTemplateId,omitnil" name:"TaskTemplateId"`

	// Task template name
	TaskTemplateName *string `json:"TaskTemplateName,omitnil" name:"TaskTemplateName"`

	// Task template description
	TaskTemplateDescription *string `json:"TaskTemplateDescription,omitnil" name:"TaskTemplateDescription"`

	// Task template information
	TaskTemplateInfo *Task `json:"TaskTemplateInfo,omitnil" name:"TaskTemplateInfo"`
}

func NewModifyTaskTemplateRequest

func NewModifyTaskTemplateRequest() (request *ModifyTaskTemplateRequest)

func (*ModifyTaskTemplateRequest) FromJsonString

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

func (r *ModifyTaskTemplateRequest) ToJsonString() string

type ModifyTaskTemplateRequestParams

type ModifyTaskTemplateRequestParams struct {
	// Task template ID
	TaskTemplateId *string `json:"TaskTemplateId,omitnil" name:"TaskTemplateId"`

	// Task template name
	TaskTemplateName *string `json:"TaskTemplateName,omitnil" name:"TaskTemplateName"`

	// Task template description
	TaskTemplateDescription *string `json:"TaskTemplateDescription,omitnil" name:"TaskTemplateDescription"`

	// Task template information
	TaskTemplateInfo *Task `json:"TaskTemplateInfo,omitnil" name:"TaskTemplateInfo"`
}

Predefined struct for user

type ModifyTaskTemplateResponse

type ModifyTaskTemplateResponse struct {
	*tchttp.BaseResponse
	Response *ModifyTaskTemplateResponseParams `json:"Response"`
}

func NewModifyTaskTemplateResponse

func NewModifyTaskTemplateResponse() (response *ModifyTaskTemplateResponse)

func (*ModifyTaskTemplateResponse) FromJsonString

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

func (r *ModifyTaskTemplateResponse) ToJsonString() string

type ModifyTaskTemplateResponseParams

type ModifyTaskTemplateResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type MountDataDisk

type MountDataDisk struct {
	// Mounting point. A valid path (for Linux) for a drive (for Windows, such as "H:\\")
	LocalPath *string `json:"LocalPath,omitnil" name:"LocalPath"`

	// File system type. Linux: `EXT3` (default) and `EXT4`. Windows: `NTFS`
	FileSystemType *string `json:"FileSystemType,omitnil" name:"FileSystemType"`
}

type NamedComputeEnv

type NamedComputeEnv struct {
	// Compute environment name
	EnvName *string `json:"EnvName,omitnil" name:"EnvName"`

	// Number of desired compute nodes
	DesiredComputeNodeCount *int64 `json:"DesiredComputeNodeCount,omitnil" name:"DesiredComputeNodeCount"`

	// Compute environment description
	EnvDescription *string `json:"EnvDescription,omitnil" name:"EnvDescription"`

	// Compute environment management type
	EnvType *string `json:"EnvType,omitnil" name:"EnvType"`

	// Compute environment's specific parameters
	EnvData *EnvData `json:"EnvData,omitnil" name:"EnvData"`

	// Data disk mounting option
	MountDataDisks []*MountDataDisk `json:"MountDataDisks,omitnil" name:"MountDataDisks"`

	// Authorization information
	Authentications []*Authentication `json:"Authentications,omitnil" name:"Authentications"`

	// Input mapping information
	InputMappings []*InputMapping `json:"InputMappings,omitnil" name:"InputMappings"`

	// Agent running mode; applicable for Windows
	AgentRunningMode *AgentRunningMode `json:"AgentRunningMode,omitnil" name:"AgentRunningMode"`

	// Notification information
	Notifications []*Notification `json:"Notifications,omitnil" name:"Notifications"`

	// Policy for inactive nodes. Default: `RECREATE`, which means that instance resources will be re-created periodically for compute nodes where instance creation fails or is abnormally returned.
	ActionIfComputeNodeInactive *string `json:"ActionIfComputeNodeInactive,omitnil" name:"ActionIfComputeNodeInactive"`

	// When the instances are failed to be created or returned because of exceptions, the related compute node will retry to create instances periodically. This parameter specifies the maximum retry attempts. The max value is 100 and the default value is `7`.
	ResourceMaxRetryCount *int64 `json:"ResourceMaxRetryCount,omitnil" name:"ResourceMaxRetryCount"`

	// List of tags to bind with a compute environment. Each compute environment can have up to 10 tags.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`

	// Target of the notification
	// Values: `CMQ`, `TDMQ_CMQ`
	// `CMQ`: Tencent Cloud CMQ (default)
	// `TDMQ_CMQ`: Tencent Cloud TDMQ_CMQ.<br/>Note: CMQ has been discontinued. Please use `TDMQ_CMQ`. See [CMQ Queue Migration to TDMQ for CMQ](https://intl.cloud.tencent.com/document/product/406/60860?from_cn_redirect=1)
	NotificationTarget *string `json:"NotificationTarget,omitnil" name:"NotificationTarget"`
}

type Notification

type Notification struct {
	// CMQ topic name which should be valid and associated with a subscription
	TopicName *string `json:"TopicName,omitnil" name:"TopicName"`

	// Event configuration
	EventConfigs []*EventConfig `json:"EventConfigs,omitnil" name:"EventConfigs"`
}

type OutputMapping

type OutputMapping struct {
	// Source path
	SourcePath *string `json:"SourcePath,omitnil" name:"SourcePath"`

	// Destination path
	DestinationPath *string `json:"DestinationPath,omitnil" name:"DestinationPath"`

	// Output mapping options
	// Note: This field may return `null`, indicating that no valid value was found.
	OutputMappingOption *OutputMappingOption `json:"OutputMappingOption,omitnil" name:"OutputMappingOption"`
}

type OutputMappingConfig

type OutputMappingConfig struct {
	// Storage type. Only `COS` is supported.
	Scene *string `json:"Scene,omitnil" name:"Scene"`

	// Number of concurrent workers
	WorkerNum *int64 `json:"WorkerNum,omitnil" name:"WorkerNum"`

	// Size of a worker part, in MB.
	WorkerPartSize *int64 `json:"WorkerPartSize,omitnil" name:"WorkerPartSize"`
}

type OutputMappingOption

type OutputMappingOption struct {
	// The mapped output workspace on the container side for the instance.
	// `BATCH_WORKSPACE` (Default): The workspace is the workspace defined for the usage of Batch Compute. Batch Compute ensures the isolation between jobs.
	// `GLOBAL_WORKSPACE`: The workspace is the instance OS space..
	// Note: This field may return `null`, indicating that no valid value was found.
	Workspace *string `json:"Workspace,omitnil" name:"Workspace"`
}

type Placement

type Placement struct {
	// ID of the availability zone where the instance resides. You can call the [DescribeZones](https://intl.cloud.tencent.com/document/product/213/35071) API and obtain the ID in the returned `Zone` field.
	Zone *string `json:"Zone,omitnil" name:"Zone"`

	// ID of the project to which the instance belongs. This parameter can be obtained from the `projectId` returned by [DescribeProject](https://intl.cloud.tencent.com/document/api/651/78725?from_cn_redirect=1). If this is left empty, the default project is used.
	ProjectId *int64 `json:"ProjectId,omitnil" name:"ProjectId"`

	// ID list of CDHs from which the instance can be created. If you have purchased CDHs and specify this parameter, the instances you purchase will be randomly deployed on the CDHs.
	HostIds []*string `json:"HostIds,omitnil" name:"HostIds"`

	// IPs of the hosts to create CVMs
	HostIps []*string `json:"HostIps,omitnil" name:"HostIps"`

	// The ID of the CDH to which the instance belongs, only used as an output parameter.
	HostId *string `json:"HostId,omitnil" name:"HostId"`
}

type RedirectInfo

type RedirectInfo struct {
	// Standard output redirection path
	StdoutRedirectPath *string `json:"StdoutRedirectPath,omitnil" name:"StdoutRedirectPath"`

	// Standard error redirection path
	StderrRedirectPath *string `json:"StderrRedirectPath,omitnil" name:"StderrRedirectPath"`

	// Standard output redirection file name, which supports three placeholders: `${BATCH_JOB_ID}`, `${BATCH_TASK_NAME}`, and `${BATCH_TASK_INSTANCE_INDEX}`
	StdoutRedirectFileName *string `json:"StdoutRedirectFileName,omitnil" name:"StdoutRedirectFileName"`

	// Standard error redirection file name, which supports three placeholders: `${BATCH_JOB_ID}`, `${BATCH_TASK_NAME}`, and `${BATCH_TASK_INSTANCE_INDEX}`
	StderrRedirectFileName *string `json:"StderrRedirectFileName,omitnil" name:"StderrRedirectFileName"`
}

type RedirectLocalInfo

type RedirectLocalInfo struct {
	// Standard output redirection local path
	StdoutLocalPath *string `json:"StdoutLocalPath,omitnil" name:"StdoutLocalPath"`

	// Standard error redirection local path
	StderrLocalPath *string `json:"StderrLocalPath,omitnil" name:"StderrLocalPath"`

	// Standard output redirection local file name, which supports three placeholders: `${BATCH_JOB_ID}`, `${BATCH_TASK_NAME}`, and `${BATCH_TASK_INSTANCE_INDEX}`
	StdoutLocalFileName *string `json:"StdoutLocalFileName,omitnil" name:"StdoutLocalFileName"`

	// Standard error redirection local file name, which supports three placeholders: `${BATCH_JOB_ID}`, `${BATCH_TASK_NAME}`, and `${BATCH_TASK_INSTANCE_INDEX}`
	StderrLocalFileName *string `json:"StderrLocalFileName,omitnil" name:"StderrLocalFileName"`
}

type RetryJobsRequest

type RetryJobsRequest struct {
	*tchttp.BaseRequest

	// List of job IDs.
	JobIds []*string `json:"JobIds,omitnil" name:"JobIds"`
}

func NewRetryJobsRequest

func NewRetryJobsRequest() (request *RetryJobsRequest)

func (*RetryJobsRequest) FromJsonString

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

func (r *RetryJobsRequest) ToJsonString() string

type RetryJobsRequestParams

type RetryJobsRequestParams struct {
	// List of job IDs.
	JobIds []*string `json:"JobIds,omitnil" name:"JobIds"`
}

Predefined struct for user

type RetryJobsResponse

type RetryJobsResponse struct {
	*tchttp.BaseResponse
	Response *RetryJobsResponseParams `json:"Response"`
}

func NewRetryJobsResponse

func NewRetryJobsResponse() (response *RetryJobsResponse)

func (*RetryJobsResponse) FromJsonString

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

func (r *RetryJobsResponse) ToJsonString() string

type RetryJobsResponseParams

type RetryJobsResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type RunAutomationServiceEnabled

type RunAutomationServiceEnabled struct {
	// Whether to enable the TAT service. Valid values: <br><li>`TRUE`: yes;<br><li>`FALSE`: no<br><br>Default: `FALSE`.
	Enabled *bool `json:"Enabled,omitnil" name:"Enabled"`
}

type RunMonitorServiceEnabled

type RunMonitorServiceEnabled struct {
	// Whether to enable [Cloud Monitor](https://intl.cloud.tencent.com/document/product/248?from_cn_redirect=1). Valid values: <br><li>TRUE: enable Cloud Monitor <br><li>FALSE: do not enable Cloud Monitor <br><br>Default value: TRUE.
	Enabled *bool `json:"Enabled,omitnil" name:"Enabled"`
}

type RunSecurityServiceEnabled

type RunSecurityServiceEnabled struct {
	// Whether to enable [Cloud Security](https://intl.cloud.tencent.com/document/product/296?from_cn_redirect=1). Valid values: <br><li>TRUE: enable Cloud Security <br><li>FALSE: do not enable Cloud Security <br><br>Default value: TRUE.
	Enabled *bool `json:"Enabled,omitnil" name:"Enabled"`
}

type SpotMarketOptions

type SpotMarketOptions struct {
	// Bidding price
	MaxPrice *string `json:"MaxPrice,omitnil" name:"MaxPrice"`

	// Bidding request type. Currently only "one-time" is supported.
	SpotInstanceType *string `json:"SpotInstanceType,omitnil" name:"SpotInstanceType"`
}

type StorageBlock

type StorageBlock struct {
	// Local HDD storage type. Value: LOCAL_PRO.
	// Note: This field may return null, indicating that no valid value is found.
	Type *string `json:"Type,omitnil" name:"Type"`

	// Minimum capacity of local HDD storage
	// Note: This field may return null, indicating that no valid value is found.
	MinSize *int64 `json:"MinSize,omitnil" name:"MinSize"`

	// Maximum capacity of local HDD storage
	// Note: This field may return null, indicating that no valid value is found.
	MaxSize *int64 `json:"MaxSize,omitnil" name:"MaxSize"`
}

type SystemDisk

type SystemDisk struct {
	// System disk type. For more information about the limits of system disk types, please see [Storage Overview](https://intl.cloud.tencent.com/document/product/213/4952?from_cn_redirect=1). Valid values:<br><li>LOCAL_BASIC: local disk<br><li>LOCAL_SSD: local SSD disk<br><li>CLOUD_BASIC: HDD cloud disk<br><li>CLOUD_SSD: SSD cloud disk<br><li>CLOUD_PREMIUM: Premium cloud storage<br><li>CLOUD_BSSD: Balanced SSD<br><br>The disk currently in stock will be used by default.
	DiskType *string `json:"DiskType,omitnil" name:"DiskType"`

	// System disk ID. System disks whose type is `LOCAL_BASIC` or `LOCAL_SSD` do not have an ID and do not support this parameter.
	// It is only used as a response parameter for APIs such as `DescribeInstances`, and cannot be used as a request parameter for APIs such as `RunInstances`.
	DiskId *string `json:"DiskId,omitnil" name:"DiskId"`

	// System disk size; unit: GB; default value: 50 GB.
	DiskSize *int64 `json:"DiskSize,omitnil" name:"DiskSize"`

	// ID of the dedicated cluster to which the instance belongs.
	CdcId *string `json:"CdcId,omitnil" name:"CdcId"`
}

type Tag

type Tag struct {
	// Tag key
	// Note: This field may return `null`, indicating that no valid value was found.
	Key *string `json:"Key,omitnil" name:"Key"`

	// Tag value
	// Note: This field may return `null`, indicating that no valid value was found.
	Value *string `json:"Value,omitnil" name:"Value"`
}

type Task

type Task struct {
	// Application information
	Application *Application `json:"Application,omitnil" name:"Application"`

	// Task name, which should be unique within a job
	TaskName *string `json:"TaskName,omitnil" name:"TaskName"`

	// Number of running task instances
	TaskInstanceNum *uint64 `json:"TaskInstanceNum,omitnil" name:"TaskInstanceNum"`

	// Compute environment information. One (and only one) parameter must be specified for ComputeEnv and EnvId.
	ComputeEnv *AnonymousComputeEnv `json:"ComputeEnv,omitnil" name:"ComputeEnv"`

	// Compute environment ID. One (and only one) parameter must be specified for ComputeEnv and EnvId.
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// Redirection information
	RedirectInfo *RedirectInfo `json:"RedirectInfo,omitnil" name:"RedirectInfo"`

	// Local redirection information
	RedirectLocalInfo *RedirectLocalInfo `json:"RedirectLocalInfo,omitnil" name:"RedirectLocalInfo"`

	// Input mapping
	InputMappings []*InputMapping `json:"InputMappings,omitnil" name:"InputMappings"`

	// Output mapping
	OutputMappings []*OutputMapping `json:"OutputMappings,omitnil" name:"OutputMappings"`

	// Output mapping configuration
	OutputMappingConfigs []*OutputMappingConfig `json:"OutputMappingConfigs,omitnil" name:"OutputMappingConfigs"`

	// Custom environment variable
	EnvVars []*EnvVar `json:"EnvVars,omitnil" name:"EnvVars"`

	// Authorization information
	Authentications []*Authentication `json:"Authentications,omitnil" name:"Authentications"`

	// The processing method after the TaskInstance fails; Value range: `TERMINATE` (default), `INTERRUPT`, `FAST_INTERRUPT`.
	FailedAction *string `json:"FailedAction,omitnil" name:"FailedAction"`

	// The maximum number of retries after the task fails. Range: 0 - 5. Default value: 0
	MaxRetryCount *uint64 `json:"MaxRetryCount,omitnil" name:"MaxRetryCount"`

	// Timeout period of the task in seconds. Defaults value: 86400
	Timeout *uint64 `json:"Timeout,omitnil" name:"Timeout"`

	// The maximum number of concurrent tasks. Range: 0 - 200000. There is no limit by default.
	MaxConcurrentNum *uint64 `json:"MaxConcurrentNum,omitnil" name:"MaxConcurrentNum"`

	// Restarts the compute node after the task is completed. This is suitable for specifying the compute environment for task execution.
	RestartComputeNode *bool `json:"RestartComputeNode,omitnil" name:"RestartComputeNode"`

	// Maximum number of retry attempts after failing to create computing resources such as the CVM in the task launch process. Default: `0`; Maximum: `100`.
	ResourceMaxRetryCount *uint64 `json:"ResourceMaxRetryCount,omitnil" name:"ResourceMaxRetryCount"`
}

type TaskInstanceLog

type TaskInstanceLog struct {
	// Task instance
	TaskInstanceIndex *uint64 `json:"TaskInstanceIndex,omitnil" name:"TaskInstanceIndex"`

	// Standard output log (Base64-encoded, up to 2048 bytes after decompression)
	// Note: This field may return `null`, indicating that no valid value was found.
	StdoutLog *string `json:"StdoutLog,omitnil" name:"StdoutLog"`

	// Standard error log (Base64-encoded, up to 2048 bytes after decompression)
	// Note: This field may return `null`, indicating that no valid value was found.
	StderrLog *string `json:"StderrLog,omitnil" name:"StderrLog"`

	// Standard output redirection path
	// Note: This field may return `null`, indicating that no valid value was found.
	StdoutRedirectPath *string `json:"StdoutRedirectPath,omitnil" name:"StdoutRedirectPath"`

	// Standard error redirection path
	// Note: This field may return `null`, indicating that no valid value was found.
	StderrRedirectPath *string `json:"StderrRedirectPath,omitnil" name:"StderrRedirectPath"`

	// Standard output redirection file name
	// Note: This field may return `null`, indicating that no valid value was found.
	StdoutRedirectFileName *string `json:"StdoutRedirectFileName,omitnil" name:"StdoutRedirectFileName"`

	// Standard error redirection file name
	// Note: This field may return `null`, indicating that no valid value was found.
	StderrRedirectFileName *string `json:"StderrRedirectFileName,omitnil" name:"StderrRedirectFileName"`
}

type TaskInstanceMetrics

type TaskInstanceMetrics struct {
	// Number of submitted tasks
	SubmittedCount *int64 `json:"SubmittedCount,omitnil" name:"SubmittedCount"`

	// Number of pending tasks
	PendingCount *int64 `json:"PendingCount,omitnil" name:"PendingCount"`

	// Number of Runnable tasks
	RunnableCount *int64 `json:"RunnableCount,omitnil" name:"RunnableCount"`

	// Number of starting tasks
	StartingCount *int64 `json:"StartingCount,omitnil" name:"StartingCount"`

	// Number of running tasks
	RunningCount *int64 `json:"RunningCount,omitnil" name:"RunningCount"`

	// Number of successful tasks
	SucceedCount *int64 `json:"SucceedCount,omitnil" name:"SucceedCount"`

	// Number of failed and interrupted tasks
	FailedInterruptedCount *int64 `json:"FailedInterruptedCount,omitnil" name:"FailedInterruptedCount"`

	// Number of failed tasks
	FailedCount *int64 `json:"FailedCount,omitnil" name:"FailedCount"`
}

type TaskInstanceView

type TaskInstanceView struct {
	// Task instance index
	TaskInstanceIndex *int64 `json:"TaskInstanceIndex,omitnil" name:"TaskInstanceIndex"`

	// Task instance state
	TaskInstanceState *string `json:"TaskInstanceState,omitnil" name:"TaskInstanceState"`

	// Exit code after application execution is completed
	// Note: This field may return `null`, indicating that no valid value was found.
	ExitCode *int64 `json:"ExitCode,omitnil" name:"ExitCode"`

	// Task instance state reason. If the task instance fails, the reason for the failure will be logged.
	StateReason *string `json:"StateReason,omitnil" name:"StateReason"`

	// The `InstanceId` of the compute node (e.g., CVM instance) where the task instance is running. This field is empty if the task instance is not running or has already been completed and will change when the task instance is retried.
	// Note: This field may return `null`, indicating that no valid value was found.
	ComputeNodeInstanceId *string `json:"ComputeNodeInstanceId,omitnil" name:"ComputeNodeInstanceId"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Start time
	// Note: This field may return `null`, indicating that no valid value was found.
	LaunchTime *string `json:"LaunchTime,omitnil" name:"LaunchTime"`

	// Running start time
	// Note: This field may return `null`, indicating that no valid value was found.
	RunningTime *string `json:"RunningTime,omitnil" name:"RunningTime"`

	// Task end time
	// Note: This field may return `null`, indicating that no valid value was found.
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`

	// Redirection information
	RedirectInfo *RedirectInfo `json:"RedirectInfo,omitnil" name:"RedirectInfo"`

	// Task instance state reason details. If the task instance fails, the reason for the failure will be logged
	StateDetailedReason *string `json:"StateDetailedReason,omitnil" name:"StateDetailedReason"`
}

type TaskMetrics

type TaskMetrics struct {
	// Number of submitted tasks
	SubmittedCount *int64 `json:"SubmittedCount,omitnil" name:"SubmittedCount"`

	// Number of pending tasks
	PendingCount *int64 `json:"PendingCount,omitnil" name:"PendingCount"`

	// Number of Runnable tasks
	RunnableCount *int64 `json:"RunnableCount,omitnil" name:"RunnableCount"`

	// Number of starting tasks
	StartingCount *int64 `json:"StartingCount,omitnil" name:"StartingCount"`

	// Number of running tasks
	RunningCount *int64 `json:"RunningCount,omitnil" name:"RunningCount"`

	// Number of successful tasks
	SucceedCount *int64 `json:"SucceedCount,omitnil" name:"SucceedCount"`

	// Number of failed and interrupted tasks
	FailedInterruptedCount *int64 `json:"FailedInterruptedCount,omitnil" name:"FailedInterruptedCount"`

	// Failed count
	FailedCount *int64 `json:"FailedCount,omitnil" name:"FailedCount"`
}

type TaskTemplateView

type TaskTemplateView struct {
	// Task template ID
	TaskTemplateId *string `json:"TaskTemplateId,omitnil" name:"TaskTemplateId"`

	// Task template name
	TaskTemplateName *string `json:"TaskTemplateName,omitnil" name:"TaskTemplateName"`

	// Task template description
	TaskTemplateDescription *string `json:"TaskTemplateDescription,omitnil" name:"TaskTemplateDescription"`

	// Task template information
	TaskTemplateInfo *Task `json:"TaskTemplateInfo,omitnil" name:"TaskTemplateInfo"`

	// Creation time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// Tag list bound to the task template.
	// Note: This field may return `null`, indicating that no valid value was found.
	Tags []*Tag `json:"Tags,omitnil" name:"Tags"`
}

type TaskView

type TaskView struct {
	// Task name
	TaskName *string `json:"TaskName,omitnil" name:"TaskName"`

	// Task status
	TaskState *string `json:"TaskState,omitnil" name:"TaskState"`

	// Start time
	CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"`

	// End time
	// Note: This field may return `null`, indicating that no valid value was found.
	EndTime *string `json:"EndTime,omitnil" name:"EndTime"`
}

type TerminateComputeNodeRequest

type TerminateComputeNodeRequest struct {
	*tchttp.BaseRequest

	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// Compute node ID
	ComputeNodeId *string `json:"ComputeNodeId,omitnil" name:"ComputeNodeId"`
}

func NewTerminateComputeNodeRequest

func NewTerminateComputeNodeRequest() (request *TerminateComputeNodeRequest)

func (*TerminateComputeNodeRequest) FromJsonString

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

func (r *TerminateComputeNodeRequest) ToJsonString() string

type TerminateComputeNodeRequestParams

type TerminateComputeNodeRequestParams struct {
	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// Compute node ID
	ComputeNodeId *string `json:"ComputeNodeId,omitnil" name:"ComputeNodeId"`
}

Predefined struct for user

type TerminateComputeNodeResponse

type TerminateComputeNodeResponse struct {
	*tchttp.BaseResponse
	Response *TerminateComputeNodeResponseParams `json:"Response"`
}

func NewTerminateComputeNodeResponse

func NewTerminateComputeNodeResponse() (response *TerminateComputeNodeResponse)

func (*TerminateComputeNodeResponse) FromJsonString

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

func (r *TerminateComputeNodeResponse) ToJsonString() string

type TerminateComputeNodeResponseParams

type TerminateComputeNodeResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type TerminateComputeNodesRequest

type TerminateComputeNodesRequest struct {
	*tchttp.BaseRequest

	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// List of compute node IDs
	ComputeNodeIds []*string `json:"ComputeNodeIds,omitnil" name:"ComputeNodeIds"`
}

func NewTerminateComputeNodesRequest

func NewTerminateComputeNodesRequest() (request *TerminateComputeNodesRequest)

func (*TerminateComputeNodesRequest) FromJsonString

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

func (r *TerminateComputeNodesRequest) ToJsonString() string

type TerminateComputeNodesRequestParams

type TerminateComputeNodesRequestParams struct {
	// Compute environment ID
	EnvId *string `json:"EnvId,omitnil" name:"EnvId"`

	// List of compute node IDs
	ComputeNodeIds []*string `json:"ComputeNodeIds,omitnil" name:"ComputeNodeIds"`
}

Predefined struct for user

type TerminateComputeNodesResponse

type TerminateComputeNodesResponse struct {
	*tchttp.BaseResponse
	Response *TerminateComputeNodesResponseParams `json:"Response"`
}

func NewTerminateComputeNodesResponse

func NewTerminateComputeNodesResponse() (response *TerminateComputeNodesResponse)

func (*TerminateComputeNodesResponse) FromJsonString

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

func (r *TerminateComputeNodesResponse) ToJsonString() string

type TerminateComputeNodesResponseParams

type TerminateComputeNodesResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type TerminateJobRequest

type TerminateJobRequest struct {
	*tchttp.BaseRequest

	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`
}

func NewTerminateJobRequest

func NewTerminateJobRequest() (request *TerminateJobRequest)

func (*TerminateJobRequest) FromJsonString

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

func (r *TerminateJobRequest) ToJsonString() string

type TerminateJobRequestParams

type TerminateJobRequestParams struct {
	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`
}

Predefined struct for user

type TerminateJobResponse

type TerminateJobResponse struct {
	*tchttp.BaseResponse
	Response *TerminateJobResponseParams `json:"Response"`
}

func NewTerminateJobResponse

func NewTerminateJobResponse() (response *TerminateJobResponse)

func (*TerminateJobResponse) FromJsonString

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

func (r *TerminateJobResponse) ToJsonString() string

type TerminateJobResponseParams

type TerminateJobResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type TerminateTaskInstanceRequest

type TerminateTaskInstanceRequest struct {
	*tchttp.BaseRequest

	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// Task name
	TaskName *string `json:"TaskName,omitnil" name:"TaskName"`

	// Task instance index
	TaskInstanceIndex *int64 `json:"TaskInstanceIndex,omitnil" name:"TaskInstanceIndex"`
}

func NewTerminateTaskInstanceRequest

func NewTerminateTaskInstanceRequest() (request *TerminateTaskInstanceRequest)

func (*TerminateTaskInstanceRequest) FromJsonString

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

func (r *TerminateTaskInstanceRequest) ToJsonString() string

type TerminateTaskInstanceRequestParams

type TerminateTaskInstanceRequestParams struct {
	// Job ID
	JobId *string `json:"JobId,omitnil" name:"JobId"`

	// Task name
	TaskName *string `json:"TaskName,omitnil" name:"TaskName"`

	// Task instance index
	TaskInstanceIndex *int64 `json:"TaskInstanceIndex,omitnil" name:"TaskInstanceIndex"`
}

Predefined struct for user

type TerminateTaskInstanceResponse

type TerminateTaskInstanceResponse struct {
	*tchttp.BaseResponse
	Response *TerminateTaskInstanceResponseParams `json:"Response"`
}

func NewTerminateTaskInstanceResponse

func NewTerminateTaskInstanceResponse() (response *TerminateTaskInstanceResponse)

func (*TerminateTaskInstanceResponse) FromJsonString

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

func (r *TerminateTaskInstanceResponse) ToJsonString() string

type TerminateTaskInstanceResponseParams

type TerminateTaskInstanceResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil" name:"RequestId"`
}

Predefined struct for user

type VirtualPrivateCloud

type VirtualPrivateCloud struct {
	// VPC ID in the format of `vpc-xxx`. To obtain valid VPC IDs, you can log in to the [console](https://console.cloud.tencent.com/vpc/vpc?rid=1) or call the [DescribeVpcEx](https://intl.cloud.tencent.com/document/api/215/1372?from_cn_redirect=1) API and look for the `unVpcId` fields in the response. If you specify `DEFAULT` for both `VpcId` and `SubnetId` when creating an instance, the default VPC will be used.
	VpcId *string `json:"VpcId,omitnil" name:"VpcId"`

	// VPC subnet ID in the format `subnet-xxx`. To obtain valid subnet IDs, you can log in to the [console](https://console.cloud.tencent.com/vpc/subnet?rid=1) or call [DescribeSubnets](https://intl.cloud.tencent.com/document/api/215/15784?from_cn_redirect=1) and look for the `unSubnetId` fields in the response. If you specify `DEFAULT` for both `SubnetId` and `VpcId` when creating an instance, the default VPC will be used.
	SubnetId *string `json:"SubnetId,omitnil" name:"SubnetId"`

	// Whether to use a CVM instance as a public gateway. The public gateway is only available when the instance has a public IP and resides in a VPC. Valid values: <br><li>`TRUE`: yes;<br><li>`FALSE`: no<br><br>Default: `FALSE`.
	AsVpcGateway *bool `json:"AsVpcGateway,omitnil" name:"AsVpcGateway"`

	// Array of VPC subnet IPs. You can use this parameter when creating instances or modifying VPC attributes of instances. Currently you can specify multiple IPs in one subnet only when creating multiple instances at the same time.
	PrivateIpAddresses []*string `json:"PrivateIpAddresses,omitnil" name:"PrivateIpAddresses"`

	// Number of IPv6 addresses randomly generated for the ENI.
	Ipv6AddressCount *uint64 `json:"Ipv6AddressCount,omitnil" name:"Ipv6AddressCount"`
}

Jump to

Keyboard shortcuts

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