v20191022

package
v1.0.934 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (

	// CAM签名/鉴权错误。
	AUTHFAILURE = "AuthFailure"

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

	// 尚未开通CLS日志服务,请开前往开通。
	FAILEDOPERATION_CLSSERVICENOTACTIVED = "FailedOperation.ClsServiceNotActived"

	// 名称重复。
	FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName"

	// 操作不允许。
	FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow"

	// 存储库有绑定的实例,请先删除绑定的实例。
	FAILEDOPERATION_REPOBINDBYINSTANCE = "FailedOperation.RepoBindByInstance"

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

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

	// 参数取值错误。
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// 名称不合法。
	INVALIDPARAMETERVALUE_BADNAME = "InvalidParameterValue.BadName"

	// 请设置日志集、日志主题ID。
	INVALIDPARAMETERVALUE_CLSCONFIGREQUIRED = "InvalidParameterValue.ClsConfigRequired"

	// 存储库不存在。
	INVALIDPARAMETERVALUE_CODEREPONOTFOUND = "InvalidParameterValue.CodeRepoNotFound"

	// 实例名称冲突,请更换名称后重试。
	INVALIDPARAMETERVALUE_DUPLICATENAME = "InvalidParameterValue.DuplicateName"

	// 文件系统作为训练数据源时需要指定VPC配置。
	INVALIDPARAMETERVALUE_FILESYSTEMNEEDVPCCONFIGSUPPORT = "InvalidParameterValue.FileSystemNeedVpcConfigSupport"

	// 文件系统超过限额,最大为2。
	INVALIDPARAMETERVALUE_FILESYSTEMNUMLIMIT = "InvalidParameterValue.FileSystemNumLimit"

	// 文件系统的vpc必须和任务的vpc相同。
	INVALIDPARAMETERVALUE_FILESYSTEMVPCNOTMATCH = "InvalidParameterValue.FileSystemVpcNotMatch"

	// 训练框架对应的版本不支持,请阅读文档查看TIONE目前支持的框架和版本。
	INVALIDPARAMETERVALUE_FRAMEWORKVERSIONNOTSUPPORT = "InvalidParameterValue.FrameworkVersionNotSupport"

	// 训练任务镜像不存在。
	INVALIDPARAMETERVALUE_IMAGENOTFOUND = "InvalidParameterValue.ImageNotFound"

	// 无效的资源类型,支持的资源类型参考:https://cloud.tencent.com/document/product/851/41239
	INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType"

	// 训练任务镜像名称无效。
	INVALIDPARAMETERVALUE_INVALIDTRAININGIMAGENAME = "InvalidParameterValue.InvalidTrainingImageName"

	// KMS密钥不存在。
	INVALIDPARAMETERVALUE_KMSKEYNOTFOUND = "InvalidParameterValue.KmsKeyNotFound"

	// 未找到当前日志集。
	INVALIDPARAMETERVALUE_LOGSETNOTFOUND = "InvalidParameterValue.LogSetNotFound"

	// MPI分布式任务参数ti_mpi_num_of_processes_per_host不能超过GPU卡数。
	INVALIDPARAMETERVALUE_MPIPROCESSESPERHOSTTOOMUCH = "InvalidParameterValue.MpiProcessesPerHostTooMuch"

	// 存储库地址无效。
	INVALIDPARAMETERVALUE_REPOSITORYURLINVALID = "InvalidParameterValue.RepositoryUrlInvalid"

	// 子网不存在。
	INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"

	// 未找到当前日志主题。
	INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound"

	// 训练代码不存在或无效。
	INVALIDPARAMETERVALUE_TRAINCODENOTFOUND = "InvalidParameterValue.TrainCodeNotFound"

	// Notebook卷大小只能增加,如需减小容量请重新创建实例。
	INVALIDPARAMETERVALUE_VOLUMESHRINKNOTALLOW = "InvalidParameterValue.VolumeShrinkNotAllow"

	// 超过配额限制。
	LIMITEXCEEDED = "LimitExceeded"

	// 资源不足。
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

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

	// 资源不可用。
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// 未开通该地域服务,请先开通。
	RESOURCEUNAVAILABLE_BILLNOTACTIVATED = "ResourceUnavailable.BillNotActivated"

	// 实例未成功启动。
	RESOURCEUNAVAILABLE_NOTALIVE = "ResourceUnavailable.NotAlive"

	// 未授权操作。
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
)
View Source
const APIVersion = "2019-10-22"

Variables

This section is empty.

Functions

This section is empty.

Types

type AlgorithmSpecification

type AlgorithmSpecification struct {
	// 镜像名字
	// 注意:此字段可能返回 null,表示取不到有效值。
	TrainingImageName *string `json:"TrainingImageName,omitnil,omitempty" name:"TrainingImageName"`

	// 输入模式File|Pipe
	// 注意:此字段可能返回 null,表示取不到有效值。
	TrainingInputMode *string `json:"TrainingInputMode,omitnil,omitempty" name:"TrainingInputMode"`

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

type BillingLabel

type BillingLabel struct {
	// 计费项标识
	// 注意:此字段可能返回 null,表示取不到有效值。
	Label *string `json:"Label,omitnil,omitempty" name:"Label"`

	// 存储大小
	VolumeSize *int64 `json:"VolumeSize,omitnil,omitempty" name:"VolumeSize"`

	// 计费状态
	// None: 不计费
	// StorageOnly: 仅存储计费
	// Computing: 计算和存储都计费
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}

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

func (c *Client) CreateCodeRepository(request *CreateCodeRepositoryRequest) (response *CreateCodeRepositoryResponse, err error)

CreateCodeRepository 创建存储库

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATENAME = "InvalidParameterValue.DuplicateName"
INVALIDPARAMETERVALUE_KMSKEYNOTFOUND = "InvalidParameterValue.KmsKeyNotFound"
INVALIDPARAMETERVALUE_REPOSITORYURLINVALID = "InvalidParameterValue.RepositoryUrlInvalid"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEUNAVAILABLE_BILLNOTACTIVATED = "ResourceUnavailable.BillNotActivated"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateCodeRepositoryWithContext added in v1.0.324

func (c *Client) CreateCodeRepositoryWithContext(ctx context.Context, request *CreateCodeRepositoryRequest) (response *CreateCodeRepositoryResponse, err error)

CreateCodeRepository 创建存储库

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_DUPLICATENAME = "InvalidParameterValue.DuplicateName"
INVALIDPARAMETERVALUE_KMSKEYNOTFOUND = "InvalidParameterValue.KmsKeyNotFound"
INVALIDPARAMETERVALUE_REPOSITORYURLINVALID = "InvalidParameterValue.RepositoryUrlInvalid"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEUNAVAILABLE_BILLNOTACTIVATED = "ResourceUnavailable.BillNotActivated"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateNotebookInstance

func (c *Client) CreateNotebookInstance(request *CreateNotebookInstanceRequest) (response *CreateNotebookInstanceResponse, err error)

CreateNotebookInstance 创建Notebook实例

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLSSERVICENOTACTIVED = "FailedOperation.ClsServiceNotActived"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CLSCONFIGREQUIRED = "InvalidParameterValue.ClsConfigRequired"
INVALIDPARAMETERVALUE_CODEREPONOTFOUND = "InvalidParameterValue.CodeRepoNotFound"
INVALIDPARAMETERVALUE_DUPLICATENAME = "InvalidParameterValue.DuplicateName"
INVALIDPARAMETERVALUE_LOGSETNOTFOUND = "InvalidParameterValue.LogSetNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_BILLNOTACTIVATED = "ResourceUnavailable.BillNotActivated"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateNotebookInstanceWithContext added in v1.0.324

func (c *Client) CreateNotebookInstanceWithContext(ctx context.Context, request *CreateNotebookInstanceRequest) (response *CreateNotebookInstanceResponse, err error)

CreateNotebookInstance 创建Notebook实例

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLSSERVICENOTACTIVED = "FailedOperation.ClsServiceNotActived"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CLSCONFIGREQUIRED = "InvalidParameterValue.ClsConfigRequired"
INVALIDPARAMETERVALUE_CODEREPONOTFOUND = "InvalidParameterValue.CodeRepoNotFound"
INVALIDPARAMETERVALUE_DUPLICATENAME = "InvalidParameterValue.DuplicateName"
INVALIDPARAMETERVALUE_LOGSETNOTFOUND = "InvalidParameterValue.LogSetNotFound"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_BILLNOTACTIVATED = "ResourceUnavailable.BillNotActivated"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateNotebookLifecycleScript

func (c *Client) CreateNotebookLifecycleScript(request *CreateNotebookLifecycleScriptRequest) (response *CreateNotebookLifecycleScriptResponse, err error)

CreateNotebookLifecycleScript 创建Notebook生命周期脚本

可能返回的错误码:

FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_BADNAME = "InvalidParameterValue.BadName"
INVALIDPARAMETERVALUE_DUPLICATENAME = "InvalidParameterValue.DuplicateName"

func (*Client) CreateNotebookLifecycleScriptWithContext added in v1.0.324

func (c *Client) CreateNotebookLifecycleScriptWithContext(ctx context.Context, request *CreateNotebookLifecycleScriptRequest) (response *CreateNotebookLifecycleScriptResponse, err error)

CreateNotebookLifecycleScript 创建Notebook生命周期脚本

可能返回的错误码:

FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_BADNAME = "InvalidParameterValue.BadName"
INVALIDPARAMETERVALUE_DUPLICATENAME = "InvalidParameterValue.DuplicateName"

func (*Client) CreatePresignedNotebookInstanceUrl

func (c *Client) CreatePresignedNotebookInstanceUrl(request *CreatePresignedNotebookInstanceUrlRequest) (response *CreatePresignedNotebookInstanceUrlResponse, err error)

CreatePresignedNotebookInstanceUrl 创建Notebook授权Url

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_NOTALIVE = "ResourceUnavailable.NotAlive"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreatePresignedNotebookInstanceUrlWithContext added in v1.0.324

func (c *Client) CreatePresignedNotebookInstanceUrlWithContext(ctx context.Context, request *CreatePresignedNotebookInstanceUrlRequest) (response *CreatePresignedNotebookInstanceUrlResponse, err error)

CreatePresignedNotebookInstanceUrl 创建Notebook授权Url

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_NOTALIVE = "ResourceUnavailable.NotAlive"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) CreateTrainingJob

func (c *Client) CreateTrainingJob(request *CreateTrainingJobRequest) (response *CreateTrainingJobResponse, err error)

CreateTrainingJob 创建训练任务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLSSERVICENOTACTIVED = "FailedOperation.ClsServiceNotActived"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DUPLICATENAME = "InvalidParameterValue.DuplicateName"
INVALIDPARAMETERVALUE_FILESYSTEMNEEDVPCCONFIGSUPPORT = "InvalidParameterValue.FileSystemNeedVpcConfigSupport"
INVALIDPARAMETERVALUE_FILESYSTEMNUMLIMIT = "InvalidParameterValue.FileSystemNumLimit"
INVALIDPARAMETERVALUE_FILESYSTEMVPCNOTMATCH = "InvalidParameterValue.FileSystemVpcNotMatch"
INVALIDPARAMETERVALUE_FRAMEWORKVERSIONNOTSUPPORT = "InvalidParameterValue.FrameworkVersionNotSupport"
INVALIDPARAMETERVALUE_IMAGENOTFOUND = "InvalidParameterValue.ImageNotFound"
INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType"
INVALIDPARAMETERVALUE_INVALIDTRAININGIMAGENAME = "InvalidParameterValue.InvalidTrainingImageName"
INVALIDPARAMETERVALUE_MPIPROCESSESPERHOSTTOOMUCH = "InvalidParameterValue.MpiProcessesPerHostTooMuch"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_TRAINCODENOTFOUND = "InvalidParameterValue.TrainCodeNotFound"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) CreateTrainingJobWithContext added in v1.0.324

func (c *Client) CreateTrainingJobWithContext(ctx context.Context, request *CreateTrainingJobRequest) (response *CreateTrainingJobResponse, err error)

CreateTrainingJob 创建训练任务

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLSSERVICENOTACTIVED = "FailedOperation.ClsServiceNotActived"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_DUPLICATENAME = "InvalidParameterValue.DuplicateName"
INVALIDPARAMETERVALUE_FILESYSTEMNEEDVPCCONFIGSUPPORT = "InvalidParameterValue.FileSystemNeedVpcConfigSupport"
INVALIDPARAMETERVALUE_FILESYSTEMNUMLIMIT = "InvalidParameterValue.FileSystemNumLimit"
INVALIDPARAMETERVALUE_FILESYSTEMVPCNOTMATCH = "InvalidParameterValue.FileSystemVpcNotMatch"
INVALIDPARAMETERVALUE_FRAMEWORKVERSIONNOTSUPPORT = "InvalidParameterValue.FrameworkVersionNotSupport"
INVALIDPARAMETERVALUE_IMAGENOTFOUND = "InvalidParameterValue.ImageNotFound"
INVALIDPARAMETERVALUE_INVALIDINSTANCETYPE = "InvalidParameterValue.InvalidInstanceType"
INVALIDPARAMETERVALUE_INVALIDTRAININGIMAGENAME = "InvalidParameterValue.InvalidTrainingImageName"
INVALIDPARAMETERVALUE_MPIPROCESSESPERHOSTTOOMUCH = "InvalidParameterValue.MpiProcessesPerHostTooMuch"
INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound"
INVALIDPARAMETERVALUE_TRAINCODENOTFOUND = "InvalidParameterValue.TrainCodeNotFound"
LIMITEXCEEDED = "LimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DeleteCodeRepository

func (c *Client) DeleteCodeRepository(request *DeleteCodeRepositoryRequest) (response *DeleteCodeRepositoryResponse, err error)

DeleteCodeRepository 删除存储库

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REPOBINDBYINSTANCE = "FailedOperation.RepoBindByInstance"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_BILLNOTACTIVATED = "ResourceUnavailable.BillNotActivated"

func (*Client) DeleteCodeRepositoryWithContext added in v1.0.324

func (c *Client) DeleteCodeRepositoryWithContext(ctx context.Context, request *DeleteCodeRepositoryRequest) (response *DeleteCodeRepositoryResponse, err error)

DeleteCodeRepository 删除存储库

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_REPOBINDBYINSTANCE = "FailedOperation.RepoBindByInstance"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_BILLNOTACTIVATED = "ResourceUnavailable.BillNotActivated"

func (*Client) DeleteNotebookInstance

func (c *Client) DeleteNotebookInstance(request *DeleteNotebookInstanceRequest) (response *DeleteNotebookInstanceResponse, err error)

DeleteNotebookInstance 删除notebook实例

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteNotebookInstanceWithContext added in v1.0.324

func (c *Client) DeleteNotebookInstanceWithContext(ctx context.Context, request *DeleteNotebookInstanceRequest) (response *DeleteNotebookInstanceResponse, err error)

DeleteNotebookInstance 删除notebook实例

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteNotebookLifecycleScript

func (c *Client) DeleteNotebookLifecycleScript(request *DeleteNotebookLifecycleScriptRequest) (response *DeleteNotebookLifecycleScriptResponse, err error)

DeleteNotebookLifecycleScript 删除Notebook生命周期脚本

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_BADNAME = "InvalidParameterValue.BadName"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteNotebookLifecycleScriptWithContext added in v1.0.324

func (c *Client) DeleteNotebookLifecycleScriptWithContext(ctx context.Context, request *DeleteNotebookLifecycleScriptRequest) (response *DeleteNotebookLifecycleScriptResponse, err error)

DeleteNotebookLifecycleScript 删除Notebook生命周期脚本

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_BADNAME = "InvalidParameterValue.BadName"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeCodeRepositories

func (c *Client) DescribeCodeRepositories(request *DescribeCodeRepositoriesRequest) (response *DescribeCodeRepositoriesResponse, err error)

DescribeCodeRepositories 查询存储库列表

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_BILLNOTACTIVATED = "ResourceUnavailable.BillNotActivated"

func (*Client) DescribeCodeRepositoriesWithContext added in v1.0.324

func (c *Client) DescribeCodeRepositoriesWithContext(ctx context.Context, request *DescribeCodeRepositoriesRequest) (response *DescribeCodeRepositoriesResponse, err error)

DescribeCodeRepositories 查询存储库列表

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_BILLNOTACTIVATED = "ResourceUnavailable.BillNotActivated"

func (*Client) DescribeCodeRepository

func (c *Client) DescribeCodeRepository(request *DescribeCodeRepositoryRequest) (response *DescribeCodeRepositoryResponse, err error)

DescribeCodeRepository 查询存储库详情

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_BILLNOTACTIVATED = "ResourceUnavailable.BillNotActivated"

func (*Client) DescribeCodeRepositoryWithContext added in v1.0.324

func (c *Client) DescribeCodeRepositoryWithContext(ctx context.Context, request *DescribeCodeRepositoryRequest) (response *DescribeCodeRepositoryResponse, err error)

DescribeCodeRepository 查询存储库详情

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCEUNAVAILABLE_BILLNOTACTIVATED = "ResourceUnavailable.BillNotActivated"

func (*Client) DescribeNotebookInstance

func (c *Client) DescribeNotebookInstance(request *DescribeNotebookInstanceRequest) (response *DescribeNotebookInstanceResponse, err error)

DescribeNotebookInstance 查询Notebook实例详情

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeNotebookInstanceWithContext added in v1.0.324

func (c *Client) DescribeNotebookInstanceWithContext(ctx context.Context, request *DescribeNotebookInstanceRequest) (response *DescribeNotebookInstanceResponse, err error)

DescribeNotebookInstance 查询Notebook实例详情

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

func (*Client) DescribeNotebookInstances

func (c *Client) DescribeNotebookInstances(request *DescribeNotebookInstancesRequest) (response *DescribeNotebookInstancesResponse, err error)

DescribeNotebookInstances 查询Notebook实例列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DescribeNotebookInstancesWithContext added in v1.0.324

func (c *Client) DescribeNotebookInstancesWithContext(ctx context.Context, request *DescribeNotebookInstancesRequest) (response *DescribeNotebookInstancesResponse, err error)

DescribeNotebookInstances 查询Notebook实例列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DescribeNotebookLifecycleScript

func (c *Client) DescribeNotebookLifecycleScript(request *DescribeNotebookLifecycleScriptRequest) (response *DescribeNotebookLifecycleScriptResponse, err error)

DescribeNotebookLifecycleScript 查看notebook生命周期脚本详情

可能返回的错误码:

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

func (*Client) DescribeNotebookLifecycleScriptWithContext added in v1.0.324

func (c *Client) DescribeNotebookLifecycleScriptWithContext(ctx context.Context, request *DescribeNotebookLifecycleScriptRequest) (response *DescribeNotebookLifecycleScriptResponse, err error)

DescribeNotebookLifecycleScript 查看notebook生命周期脚本详情

可能返回的错误码:

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

func (*Client) DescribeNotebookLifecycleScripts

func (c *Client) DescribeNotebookLifecycleScripts(request *DescribeNotebookLifecycleScriptsRequest) (response *DescribeNotebookLifecycleScriptsResponse, err error)

DescribeNotebookLifecycleScripts 查看notebook生命周期脚本列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_BADNAME = "InvalidParameterValue.BadName"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeNotebookLifecycleScriptsWithContext added in v1.0.324

func (c *Client) DescribeNotebookLifecycleScriptsWithContext(ctx context.Context, request *DescribeNotebookLifecycleScriptsRequest) (response *DescribeNotebookLifecycleScriptsResponse, err error)

DescribeNotebookLifecycleScripts 查看notebook生命周期脚本列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE_BADNAME = "InvalidParameterValue.BadName"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeNotebookSummary

func (c *Client) DescribeNotebookSummary(request *DescribeNotebookSummaryRequest) (response *DescribeNotebookSummaryResponse, err error)

DescribeNotebookSummary 查询Notebook概览数据

可能返回的错误码:

INTERNALERROR = "InternalError"

func (*Client) DescribeNotebookSummaryWithContext added in v1.0.324

func (c *Client) DescribeNotebookSummaryWithContext(ctx context.Context, request *DescribeNotebookSummaryRequest) (response *DescribeNotebookSummaryResponse, err error)

DescribeNotebookSummary 查询Notebook概览数据

可能返回的错误码:

INTERNALERROR = "InternalError"

func (*Client) DescribeTrainingJob

func (c *Client) DescribeTrainingJob(request *DescribeTrainingJobRequest) (response *DescribeTrainingJobResponse, err error)

DescribeTrainingJob 查询训练任务

可能返回的错误码:

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

func (*Client) DescribeTrainingJobWithContext added in v1.0.324

func (c *Client) DescribeTrainingJobWithContext(ctx context.Context, request *DescribeTrainingJobRequest) (response *DescribeTrainingJobResponse, err error)

DescribeTrainingJob 查询训练任务

可能返回的错误码:

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

func (*Client) DescribeTrainingJobs

func (c *Client) DescribeTrainingJobs(request *DescribeTrainingJobsRequest) (response *DescribeTrainingJobsResponse, err error)

DescribeTrainingJobs 查询训练任务列表

可能返回的错误码:

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

func (*Client) DescribeTrainingJobsWithContext added in v1.0.324

func (c *Client) DescribeTrainingJobsWithContext(ctx context.Context, request *DescribeTrainingJobsRequest) (response *DescribeTrainingJobsResponse, err error)

DescribeTrainingJobs 查询训练任务列表

可能返回的错误码:

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

func (*Client) StartNotebookInstance

func (c *Client) StartNotebookInstance(request *StartNotebookInstanceRequest) (response *StartNotebookInstanceResponse, err error)

StartNotebookInstance 启动Notebook实例

可能返回的错误码:

FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) StartNotebookInstanceWithContext added in v1.0.324

func (c *Client) StartNotebookInstanceWithContext(ctx context.Context, request *StartNotebookInstanceRequest) (response *StartNotebookInstanceResponse, err error)

StartNotebookInstance 启动Notebook实例

可能返回的错误码:

FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) StopNotebookInstance

func (c *Client) StopNotebookInstance(request *StopNotebookInstanceRequest) (response *StopNotebookInstanceResponse, err error)

StopNotebookInstance 停止Notebook实例

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) StopNotebookInstanceWithContext added in v1.0.324

func (c *Client) StopNotebookInstanceWithContext(ctx context.Context, request *StopNotebookInstanceRequest) (response *StopNotebookInstanceResponse, err error)

StopNotebookInstance 停止Notebook实例

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) StopTrainingJob

func (c *Client) StopTrainingJob(request *StopTrainingJobRequest) (response *StopTrainingJobResponse, err error)

StopTrainingJob 停止训练任务

可能返回的错误码:

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

func (*Client) StopTrainingJobWithContext added in v1.0.324

func (c *Client) StopTrainingJobWithContext(ctx context.Context, request *StopTrainingJobRequest) (response *StopTrainingJobResponse, err error)

StopTrainingJob 停止训练任务

可能返回的错误码:

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

func (*Client) UpdateCodeRepository

func (c *Client) UpdateCodeRepository(request *UpdateCodeRepositoryRequest) (response *UpdateCodeRepositoryResponse, err error)

UpdateCodeRepository 更新存储库

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_KMSKEYNOTFOUND = "InvalidParameterValue.KmsKeyNotFound"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_BILLNOTACTIVATED = "ResourceUnavailable.BillNotActivated"

func (*Client) UpdateCodeRepositoryWithContext added in v1.0.324

func (c *Client) UpdateCodeRepositoryWithContext(ctx context.Context, request *UpdateCodeRepositoryRequest) (response *UpdateCodeRepositoryResponse, err error)

UpdateCodeRepository 更新存储库

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_KMSKEYNOTFOUND = "InvalidParameterValue.KmsKeyNotFound"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_BILLNOTACTIVATED = "ResourceUnavailable.BillNotActivated"

func (*Client) UpdateNotebookInstance

func (c *Client) UpdateNotebookInstance(request *UpdateNotebookInstanceRequest) (response *UpdateNotebookInstanceResponse, err error)

UpdateNotebookInstance 更新Notebook实例

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLSSERVICENOTACTIVED = "FailedOperation.ClsServiceNotActived"
FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CLSCONFIGREQUIRED = "InvalidParameterValue.ClsConfigRequired"
INVALIDPARAMETERVALUE_CODEREPONOTFOUND = "InvalidParameterValue.CodeRepoNotFound"
INVALIDPARAMETERVALUE_LOGSETNOTFOUND = "InvalidParameterValue.LogSetNotFound"
INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound"
INVALIDPARAMETERVALUE_VOLUMESHRINKNOTALLOW = "InvalidParameterValue.VolumeShrinkNotAllow"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_BILLNOTACTIVATED = "ResourceUnavailable.BillNotActivated"

func (*Client) UpdateNotebookInstanceWithContext added in v1.0.324

func (c *Client) UpdateNotebookInstanceWithContext(ctx context.Context, request *UpdateNotebookInstanceRequest) (response *UpdateNotebookInstanceResponse, err error)

UpdateNotebookInstance 更新Notebook实例

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_CLSSERVICENOTACTIVED = "FailedOperation.ClsServiceNotActived"
FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
INVALIDPARAMETERVALUE_CLSCONFIGREQUIRED = "InvalidParameterValue.ClsConfigRequired"
INVALIDPARAMETERVALUE_CODEREPONOTFOUND = "InvalidParameterValue.CodeRepoNotFound"
INVALIDPARAMETERVALUE_LOGSETNOTFOUND = "InvalidParameterValue.LogSetNotFound"
INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound"
INVALIDPARAMETERVALUE_VOLUMESHRINKNOTALLOW = "InvalidParameterValue.VolumeShrinkNotAllow"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE_BILLNOTACTIVATED = "ResourceUnavailable.BillNotActivated"

type ClsConfig

type ClsConfig struct {
	// 接入类型,可选项为free、customer
	Type *string `json:"Type,omitnil,omitempty" name:"Type"`

	// 自定义CLS的日志集ID,只有当Type为customer时生效
	LogSetId *string `json:"LogSetId,omitnil,omitempty" name:"LogSetId"`

	// 自定义CLS的日志主题ID,只有当Type为customer时生效
	TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"`
}

type CodeRepoSummary

type CodeRepoSummary struct {
	// 创建时间
	CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"`

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

	// 存储库名称
	CodeRepositoryName *string `json:"CodeRepositoryName,omitnil,omitempty" name:"CodeRepositoryName"`

	// Git配置
	GitConfig *GitConfig `json:"GitConfig,omitnil,omitempty" name:"GitConfig"`

	// 是否有Git凭证
	NoSecret *bool `json:"NoSecret,omitnil,omitempty" name:"NoSecret"`
}

type CosDataSource

type CosDataSource struct {
	// cos桶
	// 注意:此字段可能返回 null,表示取不到有效值。
	Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"`

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

	// 分布式数据下载方式
	// 注意:此字段可能返回 null,表示取不到有效值。
	DataDistributionType *string `json:"DataDistributionType,omitnil,omitempty" name:"DataDistributionType"`

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

type CreateCodeRepositoryRequest

type CreateCodeRepositoryRequest struct {
	*tchttp.BaseRequest

	// 存储库名称
	CodeRepositoryName *string `json:"CodeRepositoryName,omitnil,omitempty" name:"CodeRepositoryName"`

	// Git相关配置
	GitConfig *GitConfig `json:"GitConfig,omitnil,omitempty" name:"GitConfig"`

	// Git凭证
	GitSecret *GitSecret `json:"GitSecret,omitnil,omitempty" name:"GitSecret"`
}

func NewCreateCodeRepositoryRequest

func NewCreateCodeRepositoryRequest() (request *CreateCodeRepositoryRequest)

func (*CreateCodeRepositoryRequest) FromJsonString

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

func (r *CreateCodeRepositoryRequest) ToJsonString() string

type CreateCodeRepositoryRequestParams added in v1.0.426

type CreateCodeRepositoryRequestParams struct {
	// 存储库名称
	CodeRepositoryName *string `json:"CodeRepositoryName,omitnil,omitempty" name:"CodeRepositoryName"`

	// Git相关配置
	GitConfig *GitConfig `json:"GitConfig,omitnil,omitempty" name:"GitConfig"`

	// Git凭证
	GitSecret *GitSecret `json:"GitSecret,omitnil,omitempty" name:"GitSecret"`
}

Predefined struct for user

type CreateCodeRepositoryResponse

type CreateCodeRepositoryResponse struct {
	*tchttp.BaseResponse
	Response *CreateCodeRepositoryResponseParams `json:"Response"`
}

func NewCreateCodeRepositoryResponse

func NewCreateCodeRepositoryResponse() (response *CreateCodeRepositoryResponse)

func (*CreateCodeRepositoryResponse) FromJsonString

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

func (r *CreateCodeRepositoryResponse) ToJsonString() string

type CreateCodeRepositoryResponseParams added in v1.0.426

type CreateCodeRepositoryResponseParams struct {
	// 存储库名称
	CodeRepositoryName *string `json:"CodeRepositoryName,omitnil,omitempty" name:"CodeRepositoryName"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateNotebookInstanceRequest

type CreateNotebookInstanceRequest struct {
	*tchttp.BaseRequest

	// Notebook实例名称,不能超过63个字符
	// 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$”
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`

	// Notebook算力类型
	// 参考https://cloud.tencent.com/document/product/851/41239
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// 数据卷大小(GB)
	// 用户持久化Notebook实例的数据
	VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitnil,omitempty" name:"VolumeSizeInGB"`

	// 外网访问权限,可取值Enabled/Disabled
	// 开启后,Notebook实例可以具有访问外网80,443端口的权限
	DirectInternetAccess *string `json:"DirectInternetAccess,omitnil,omitempty" name:"DirectInternetAccess"`

	// Root用户权限,可取值Enabled/Disabled
	// 开启后,Notebook实例可以切换至root用户执行命令
	RootAccess *string `json:"RootAccess,omitnil,omitempty" name:"RootAccess"`

	// 子网ID
	// 如果需要Notebook实例访问VPC内的资源,则需要选择对应的子网
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 生命周期脚本名称
	// 必须是已存在的生命周期脚本,具体参考https://cloud.tencent.com/document/product/851/43140
	LifecycleScriptsName *string `json:"LifecycleScriptsName,omitnil,omitempty" name:"LifecycleScriptsName"`

	// 默认存储库名称
	// 可以是已创建的存储库名称或者已https://开头的公共git库
	// 参考https://cloud.tencent.com/document/product/851/43139
	DefaultCodeRepository *string `json:"DefaultCodeRepository,omitnil,omitempty" name:"DefaultCodeRepository"`

	// 其他存储库列表
	// 每个元素可以是已创建的存储库名称或者已https://开头的公共git库
	// 参考https://cloud.tencent.com/document/product/851/43139
	AdditionalCodeRepositories []*string `json:"AdditionalCodeRepositories,omitnil,omitempty" name:"AdditionalCodeRepositories"`

	// 已弃用,请使用ClsConfig配置。
	// 是否开启CLS日志服务,可取值Enabled/Disabled,默认为Disabled
	// 开启后,Notebook运行的日志会收集到CLS中,CLS会产生费用,请根据需要选择
	ClsAccess *string `json:"ClsAccess,omitnil,omitempty" name:"ClsAccess"`

	// 自动停止配置
	// 选择定时停止Notebook实例
	StoppingCondition *StoppingCondition `json:"StoppingCondition,omitnil,omitempty" name:"StoppingCondition"`

	// 自动停止,可取值Enabled/Disabled
	// 取值为Disabled的时候StoppingCondition将被忽略
	// 取值为Enabled的时候读取StoppingCondition作为自动停止的配置
	AutoStopping *string `json:"AutoStopping,omitnil,omitempty" name:"AutoStopping"`

	// 接入日志的配置,默认接入免费日志
	ClsConfig *ClsConfig `json:"ClsConfig,omitnil,omitempty" name:"ClsConfig"`
}

func NewCreateNotebookInstanceRequest

func NewCreateNotebookInstanceRequest() (request *CreateNotebookInstanceRequest)

func (*CreateNotebookInstanceRequest) FromJsonString

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

func (r *CreateNotebookInstanceRequest) ToJsonString() string

type CreateNotebookInstanceRequestParams added in v1.0.426

type CreateNotebookInstanceRequestParams struct {
	// Notebook实例名称,不能超过63个字符
	// 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$”
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`

	// Notebook算力类型
	// 参考https://cloud.tencent.com/document/product/851/41239
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// 数据卷大小(GB)
	// 用户持久化Notebook实例的数据
	VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitnil,omitempty" name:"VolumeSizeInGB"`

	// 外网访问权限,可取值Enabled/Disabled
	// 开启后,Notebook实例可以具有访问外网80,443端口的权限
	DirectInternetAccess *string `json:"DirectInternetAccess,omitnil,omitempty" name:"DirectInternetAccess"`

	// Root用户权限,可取值Enabled/Disabled
	// 开启后,Notebook实例可以切换至root用户执行命令
	RootAccess *string `json:"RootAccess,omitnil,omitempty" name:"RootAccess"`

	// 子网ID
	// 如果需要Notebook实例访问VPC内的资源,则需要选择对应的子网
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 生命周期脚本名称
	// 必须是已存在的生命周期脚本,具体参考https://cloud.tencent.com/document/product/851/43140
	LifecycleScriptsName *string `json:"LifecycleScriptsName,omitnil,omitempty" name:"LifecycleScriptsName"`

	// 默认存储库名称
	// 可以是已创建的存储库名称或者已https://开头的公共git库
	// 参考https://cloud.tencent.com/document/product/851/43139
	DefaultCodeRepository *string `json:"DefaultCodeRepository,omitnil,omitempty" name:"DefaultCodeRepository"`

	// 其他存储库列表
	// 每个元素可以是已创建的存储库名称或者已https://开头的公共git库
	// 参考https://cloud.tencent.com/document/product/851/43139
	AdditionalCodeRepositories []*string `json:"AdditionalCodeRepositories,omitnil,omitempty" name:"AdditionalCodeRepositories"`

	// 已弃用,请使用ClsConfig配置。
	// 是否开启CLS日志服务,可取值Enabled/Disabled,默认为Disabled
	// 开启后,Notebook运行的日志会收集到CLS中,CLS会产生费用,请根据需要选择
	ClsAccess *string `json:"ClsAccess,omitnil,omitempty" name:"ClsAccess"`

	// 自动停止配置
	// 选择定时停止Notebook实例
	StoppingCondition *StoppingCondition `json:"StoppingCondition,omitnil,omitempty" name:"StoppingCondition"`

	// 自动停止,可取值Enabled/Disabled
	// 取值为Disabled的时候StoppingCondition将被忽略
	// 取值为Enabled的时候读取StoppingCondition作为自动停止的配置
	AutoStopping *string `json:"AutoStopping,omitnil,omitempty" name:"AutoStopping"`

	// 接入日志的配置,默认接入免费日志
	ClsConfig *ClsConfig `json:"ClsConfig,omitnil,omitempty" name:"ClsConfig"`
}

Predefined struct for user

type CreateNotebookInstanceResponse

type CreateNotebookInstanceResponse struct {
	*tchttp.BaseResponse
	Response *CreateNotebookInstanceResponseParams `json:"Response"`
}

func NewCreateNotebookInstanceResponse

func NewCreateNotebookInstanceResponse() (response *CreateNotebookInstanceResponse)

func (*CreateNotebookInstanceResponse) FromJsonString

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

func (r *CreateNotebookInstanceResponse) ToJsonString() string

type CreateNotebookInstanceResponseParams added in v1.0.426

type CreateNotebookInstanceResponseParams struct {
	// Notebook实例名字
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateNotebookLifecycleScriptRequest

type CreateNotebookLifecycleScriptRequest struct {
	*tchttp.BaseRequest

	// Notebook生命周期脚本名称
	NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitnil,omitempty" name:"NotebookLifecycleScriptsName"`

	// 创建脚本,base64编码
	// base64后的脚本长度不能超过16384个字符
	CreateScript *string `json:"CreateScript,omitnil,omitempty" name:"CreateScript"`

	// 启动脚本,base64编码
	// base64后的脚本长度不能超过16384个字符
	StartScript *string `json:"StartScript,omitnil,omitempty" name:"StartScript"`
}

func NewCreateNotebookLifecycleScriptRequest

func NewCreateNotebookLifecycleScriptRequest() (request *CreateNotebookLifecycleScriptRequest)

func (*CreateNotebookLifecycleScriptRequest) FromJsonString

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

func (r *CreateNotebookLifecycleScriptRequest) ToJsonString() string

type CreateNotebookLifecycleScriptRequestParams added in v1.0.426

type CreateNotebookLifecycleScriptRequestParams struct {
	// Notebook生命周期脚本名称
	NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitnil,omitempty" name:"NotebookLifecycleScriptsName"`

	// 创建脚本,base64编码
	// base64后的脚本长度不能超过16384个字符
	CreateScript *string `json:"CreateScript,omitnil,omitempty" name:"CreateScript"`

	// 启动脚本,base64编码
	// base64后的脚本长度不能超过16384个字符
	StartScript *string `json:"StartScript,omitnil,omitempty" name:"StartScript"`
}

Predefined struct for user

type CreateNotebookLifecycleScriptResponse

type CreateNotebookLifecycleScriptResponse struct {
	*tchttp.BaseResponse
	Response *CreateNotebookLifecycleScriptResponseParams `json:"Response"`
}

func NewCreateNotebookLifecycleScriptResponse

func NewCreateNotebookLifecycleScriptResponse() (response *CreateNotebookLifecycleScriptResponse)

func (*CreateNotebookLifecycleScriptResponse) FromJsonString

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

type CreateNotebookLifecycleScriptResponseParams added in v1.0.426

type CreateNotebookLifecycleScriptResponseParams struct {
	// 生命周期脚本名称
	NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitnil,omitempty" name:"NotebookLifecycleScriptsName"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreatePresignedNotebookInstanceUrlRequest

type CreatePresignedNotebookInstanceUrlRequest struct {
	*tchttp.BaseRequest

	// Notebook实例名称
	// 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$”
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`

	// session有效时间,秒,取值范围[1800, 43200]
	SessionExpirationDurationInSeconds *int64 `json:"SessionExpirationDurationInSeconds,omitnil,omitempty" name:"SessionExpirationDurationInSeconds"`
}

func NewCreatePresignedNotebookInstanceUrlRequest

func NewCreatePresignedNotebookInstanceUrlRequest() (request *CreatePresignedNotebookInstanceUrlRequest)

func (*CreatePresignedNotebookInstanceUrlRequest) FromJsonString

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

func (*CreatePresignedNotebookInstanceUrlRequest) ToJsonString

type CreatePresignedNotebookInstanceUrlRequestParams added in v1.0.426

type CreatePresignedNotebookInstanceUrlRequestParams struct {
	// Notebook实例名称
	// 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$”
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`

	// session有效时间,秒,取值范围[1800, 43200]
	SessionExpirationDurationInSeconds *int64 `json:"SessionExpirationDurationInSeconds,omitnil,omitempty" name:"SessionExpirationDurationInSeconds"`
}

Predefined struct for user

type CreatePresignedNotebookInstanceUrlResponse

type CreatePresignedNotebookInstanceUrlResponse struct {
	*tchttp.BaseResponse
	Response *CreatePresignedNotebookInstanceUrlResponseParams `json:"Response"`
}

func NewCreatePresignedNotebookInstanceUrlResponse

func NewCreatePresignedNotebookInstanceUrlResponse() (response *CreatePresignedNotebookInstanceUrlResponse)

func (*CreatePresignedNotebookInstanceUrlResponse) FromJsonString

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

func (*CreatePresignedNotebookInstanceUrlResponse) ToJsonString

type CreatePresignedNotebookInstanceUrlResponseParams added in v1.0.426

type CreatePresignedNotebookInstanceUrlResponseParams struct {
	// 授权url
	AuthorizedUrl *string `json:"AuthorizedUrl,omitnil,omitempty" name:"AuthorizedUrl"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateTrainingJobRequest

type CreateTrainingJobRequest struct {
	*tchttp.BaseRequest

	// 算法镜像配置
	AlgorithmSpecification *AlgorithmSpecification `json:"AlgorithmSpecification,omitnil,omitempty" name:"AlgorithmSpecification"`

	// 输出数据配置
	OutputDataConfig *OutputDataConfig `json:"OutputDataConfig,omitnil,omitempty" name:"OutputDataConfig"`

	// 资源实例配置
	ResourceConfig *ResourceConfig `json:"ResourceConfig,omitnil,omitempty" name:"ResourceConfig"`

	// 训练任务名称
	TrainingJobName *string `json:"TrainingJobName,omitnil,omitempty" name:"TrainingJobName"`

	// 输入数据配置
	InputDataConfig []*InputDataConfig `json:"InputDataConfig,omitnil,omitempty" name:"InputDataConfig"`

	// 中止条件
	StoppingCondition *StoppingCondition `json:"StoppingCondition,omitnil,omitempty" name:"StoppingCondition"`

	// 私有网络配置
	VpcConfig *VpcConfig `json:"VpcConfig,omitnil,omitempty" name:"VpcConfig"`

	// 算法超级参数
	HyperParameters *string `json:"HyperParameters,omitnil,omitempty" name:"HyperParameters"`

	// 环境变量配置
	EnvConfig []*EnvConfig `json:"EnvConfig,omitnil,omitempty" name:"EnvConfig"`

	// 角色名称
	RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`

	// 在资源不足(ResourceInsufficient)时后台不定时尝试重新创建训练任务。可取值Enabled/Disabled
	// 默认值为Disabled即不重新尝试。设为Enabled时重新尝试有一定的时间期限,定义在 StoppingCondition 中 MaxWaitTimeInSecond中 ,默认值为1天,超过该期限创建失败。
	RetryWhenResourceInsufficient *string `json:"RetryWhenResourceInsufficient,omitnil,omitempty" name:"RetryWhenResourceInsufficient"`
}

func NewCreateTrainingJobRequest

func NewCreateTrainingJobRequest() (request *CreateTrainingJobRequest)

func (*CreateTrainingJobRequest) FromJsonString

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

func (r *CreateTrainingJobRequest) ToJsonString() string

type CreateTrainingJobRequestParams added in v1.0.426

type CreateTrainingJobRequestParams struct {
	// 算法镜像配置
	AlgorithmSpecification *AlgorithmSpecification `json:"AlgorithmSpecification,omitnil,omitempty" name:"AlgorithmSpecification"`

	// 输出数据配置
	OutputDataConfig *OutputDataConfig `json:"OutputDataConfig,omitnil,omitempty" name:"OutputDataConfig"`

	// 资源实例配置
	ResourceConfig *ResourceConfig `json:"ResourceConfig,omitnil,omitempty" name:"ResourceConfig"`

	// 训练任务名称
	TrainingJobName *string `json:"TrainingJobName,omitnil,omitempty" name:"TrainingJobName"`

	// 输入数据配置
	InputDataConfig []*InputDataConfig `json:"InputDataConfig,omitnil,omitempty" name:"InputDataConfig"`

	// 中止条件
	StoppingCondition *StoppingCondition `json:"StoppingCondition,omitnil,omitempty" name:"StoppingCondition"`

	// 私有网络配置
	VpcConfig *VpcConfig `json:"VpcConfig,omitnil,omitempty" name:"VpcConfig"`

	// 算法超级参数
	HyperParameters *string `json:"HyperParameters,omitnil,omitempty" name:"HyperParameters"`

	// 环境变量配置
	EnvConfig []*EnvConfig `json:"EnvConfig,omitnil,omitempty" name:"EnvConfig"`

	// 角色名称
	RoleName *string `json:"RoleName,omitnil,omitempty" name:"RoleName"`

	// 在资源不足(ResourceInsufficient)时后台不定时尝试重新创建训练任务。可取值Enabled/Disabled
	// 默认值为Disabled即不重新尝试。设为Enabled时重新尝试有一定的时间期限,定义在 StoppingCondition 中 MaxWaitTimeInSecond中 ,默认值为1天,超过该期限创建失败。
	RetryWhenResourceInsufficient *string `json:"RetryWhenResourceInsufficient,omitnil,omitempty" name:"RetryWhenResourceInsufficient"`
}

Predefined struct for user

type CreateTrainingJobResponse

type CreateTrainingJobResponse struct {
	*tchttp.BaseResponse
	Response *CreateTrainingJobResponseParams `json:"Response"`
}

func NewCreateTrainingJobResponse

func NewCreateTrainingJobResponse() (response *CreateTrainingJobResponse)

func (*CreateTrainingJobResponse) FromJsonString

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

func (r *CreateTrainingJobResponse) ToJsonString() string

type CreateTrainingJobResponseParams added in v1.0.426

type CreateTrainingJobResponseParams struct {
	// 训练任务名称
	TrainingJobName *string `json:"TrainingJobName,omitnil,omitempty" name:"TrainingJobName"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DataSource

type DataSource struct {
	// cos数据源
	// 注意:此字段可能返回 null,表示取不到有效值。
	CosDataSource *CosDataSource `json:"CosDataSource,omitnil,omitempty" name:"CosDataSource"`

	// 文件系统输入源
	// 注意:此字段可能返回 null,表示取不到有效值。
	FileSystemDataSource *FileSystemDataSource `json:"FileSystemDataSource,omitnil,omitempty" name:"FileSystemDataSource"`
}

type DeleteCodeRepositoryRequest

type DeleteCodeRepositoryRequest struct {
	*tchttp.BaseRequest

	// 存储库名称
	CodeRepositoryName *string `json:"CodeRepositoryName,omitnil,omitempty" name:"CodeRepositoryName"`
}

func NewDeleteCodeRepositoryRequest

func NewDeleteCodeRepositoryRequest() (request *DeleteCodeRepositoryRequest)

func (*DeleteCodeRepositoryRequest) FromJsonString

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

func (r *DeleteCodeRepositoryRequest) ToJsonString() string

type DeleteCodeRepositoryRequestParams added in v1.0.426

type DeleteCodeRepositoryRequestParams struct {
	// 存储库名称
	CodeRepositoryName *string `json:"CodeRepositoryName,omitnil,omitempty" name:"CodeRepositoryName"`
}

Predefined struct for user

type DeleteCodeRepositoryResponse

type DeleteCodeRepositoryResponse struct {
	*tchttp.BaseResponse
	Response *DeleteCodeRepositoryResponseParams `json:"Response"`
}

func NewDeleteCodeRepositoryResponse

func NewDeleteCodeRepositoryResponse() (response *DeleteCodeRepositoryResponse)

func (*DeleteCodeRepositoryResponse) FromJsonString

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

func (r *DeleteCodeRepositoryResponse) ToJsonString() string

type DeleteCodeRepositoryResponseParams added in v1.0.426

type DeleteCodeRepositoryResponseParams struct {
	// 存储库名称
	CodeRepositoryName *string `json:"CodeRepositoryName,omitnil,omitempty" name:"CodeRepositoryName"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteNotebookInstanceRequest

type DeleteNotebookInstanceRequest struct {
	*tchttp.BaseRequest

	// Notebook实例名称
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`
}

func NewDeleteNotebookInstanceRequest

func NewDeleteNotebookInstanceRequest() (request *DeleteNotebookInstanceRequest)

func (*DeleteNotebookInstanceRequest) FromJsonString

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

func (r *DeleteNotebookInstanceRequest) ToJsonString() string

type DeleteNotebookInstanceRequestParams added in v1.0.426

type DeleteNotebookInstanceRequestParams struct {
	// Notebook实例名称
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`
}

Predefined struct for user

type DeleteNotebookInstanceResponse

type DeleteNotebookInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DeleteNotebookInstanceResponseParams `json:"Response"`
}

func NewDeleteNotebookInstanceResponse

func NewDeleteNotebookInstanceResponse() (response *DeleteNotebookInstanceResponse)

func (*DeleteNotebookInstanceResponse) FromJsonString

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

func (r *DeleteNotebookInstanceResponse) ToJsonString() string

type DeleteNotebookInstanceResponseParams added in v1.0.426

type DeleteNotebookInstanceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteNotebookLifecycleScriptRequest

type DeleteNotebookLifecycleScriptRequest struct {
	*tchttp.BaseRequest

	// 生命周期脚本名称
	NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitnil,omitempty" name:"NotebookLifecycleScriptsName"`

	// 是否忽略已关联的 notebook 实例强行删除生命周期脚本,默认 false
	Forcible *bool `json:"Forcible,omitnil,omitempty" name:"Forcible"`
}

func NewDeleteNotebookLifecycleScriptRequest

func NewDeleteNotebookLifecycleScriptRequest() (request *DeleteNotebookLifecycleScriptRequest)

func (*DeleteNotebookLifecycleScriptRequest) FromJsonString

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

func (r *DeleteNotebookLifecycleScriptRequest) ToJsonString() string

type DeleteNotebookLifecycleScriptRequestParams added in v1.0.426

type DeleteNotebookLifecycleScriptRequestParams struct {
	// 生命周期脚本名称
	NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitnil,omitempty" name:"NotebookLifecycleScriptsName"`

	// 是否忽略已关联的 notebook 实例强行删除生命周期脚本,默认 false
	Forcible *bool `json:"Forcible,omitnil,omitempty" name:"Forcible"`
}

Predefined struct for user

type DeleteNotebookLifecycleScriptResponse

type DeleteNotebookLifecycleScriptResponse struct {
	*tchttp.BaseResponse
	Response *DeleteNotebookLifecycleScriptResponseParams `json:"Response"`
}

func NewDeleteNotebookLifecycleScriptResponse

func NewDeleteNotebookLifecycleScriptResponse() (response *DeleteNotebookLifecycleScriptResponse)

func (*DeleteNotebookLifecycleScriptResponse) FromJsonString

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

type DeleteNotebookLifecycleScriptResponseParams added in v1.0.426

type DeleteNotebookLifecycleScriptResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCodeRepositoriesRequest

type DescribeCodeRepositoriesRequest struct {
	*tchttp.BaseRequest

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

	// 返回数量,默认为20
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤条件。
	// instance-name - String - 是否必填:否 -(过滤条件)按照名称过滤。
	// search-by-name - String - 是否必填:否 -(过滤条件)按照名称检索,模糊匹配。
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 排序规则。默认取Descending
	// Descending 按更新时间降序
	// Ascending 按更新时间升序
	SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`
}

func NewDescribeCodeRepositoriesRequest

func NewDescribeCodeRepositoriesRequest() (request *DescribeCodeRepositoriesRequest)

func (*DescribeCodeRepositoriesRequest) FromJsonString

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

func (r *DescribeCodeRepositoriesRequest) ToJsonString() string

type DescribeCodeRepositoriesRequestParams added in v1.0.426

type DescribeCodeRepositoriesRequestParams struct {
	// 偏移量,默认为0
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 返回数量,默认为20
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 过滤条件。
	// instance-name - String - 是否必填:否 -(过滤条件)按照名称过滤。
	// search-by-name - String - 是否必填:否 -(过滤条件)按照名称检索,模糊匹配。
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 排序规则。默认取Descending
	// Descending 按更新时间降序
	// Ascending 按更新时间升序
	SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`
}

Predefined struct for user

type DescribeCodeRepositoriesResponse

type DescribeCodeRepositoriesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCodeRepositoriesResponseParams `json:"Response"`
}

func NewDescribeCodeRepositoriesResponse

func NewDescribeCodeRepositoriesResponse() (response *DescribeCodeRepositoriesResponse)

func (*DescribeCodeRepositoriesResponse) FromJsonString

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

func (r *DescribeCodeRepositoriesResponse) ToJsonString() string

type DescribeCodeRepositoriesResponseParams added in v1.0.426

type DescribeCodeRepositoriesResponseParams struct {
	// 存储库总数目
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 存储库列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	CodeRepoSet []*CodeRepoSummary `json:"CodeRepoSet,omitnil,omitempty" name:"CodeRepoSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCodeRepositoryRequest

type DescribeCodeRepositoryRequest struct {
	*tchttp.BaseRequest

	// 存储库名称
	CodeRepositoryName *string `json:"CodeRepositoryName,omitnil,omitempty" name:"CodeRepositoryName"`
}

func NewDescribeCodeRepositoryRequest

func NewDescribeCodeRepositoryRequest() (request *DescribeCodeRepositoryRequest)

func (*DescribeCodeRepositoryRequest) FromJsonString

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

func (r *DescribeCodeRepositoryRequest) ToJsonString() string

type DescribeCodeRepositoryRequestParams added in v1.0.426

type DescribeCodeRepositoryRequestParams struct {
	// 存储库名称
	CodeRepositoryName *string `json:"CodeRepositoryName,omitnil,omitempty" name:"CodeRepositoryName"`
}

Predefined struct for user

type DescribeCodeRepositoryResponse

type DescribeCodeRepositoryResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCodeRepositoryResponseParams `json:"Response"`
}

func NewDescribeCodeRepositoryResponse

func NewDescribeCodeRepositoryResponse() (response *DescribeCodeRepositoryResponse)

func (*DescribeCodeRepositoryResponse) FromJsonString

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

func (r *DescribeCodeRepositoryResponse) ToJsonString() string

type DescribeCodeRepositoryResponseParams added in v1.0.426

type DescribeCodeRepositoryResponseParams struct {
	// 创建时间
	CreationTime *string `json:"CreationTime,omitnil,omitempty" name:"CreationTime"`

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

	// 存储库名称
	CodeRepositoryName *string `json:"CodeRepositoryName,omitnil,omitempty" name:"CodeRepositoryName"`

	// Git存储配置
	GitConfig *GitConfig `json:"GitConfig,omitnil,omitempty" name:"GitConfig"`

	// 是否有Git凭证
	NoSecret *bool `json:"NoSecret,omitnil,omitempty" name:"NoSecret"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeNotebookInstanceRequest

type DescribeNotebookInstanceRequest struct {
	*tchttp.BaseRequest

	// Notebook实例名称
	// 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$”
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`
}

func NewDescribeNotebookInstanceRequest

func NewDescribeNotebookInstanceRequest() (request *DescribeNotebookInstanceRequest)

func (*DescribeNotebookInstanceRequest) FromJsonString

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

func (r *DescribeNotebookInstanceRequest) ToJsonString() string

type DescribeNotebookInstanceRequestParams added in v1.0.426

type DescribeNotebookInstanceRequestParams struct {
	// Notebook实例名称
	// 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$”
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`
}

Predefined struct for user

type DescribeNotebookInstanceResponse

type DescribeNotebookInstanceResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNotebookInstanceResponseParams `json:"Response"`
}

func NewDescribeNotebookInstanceResponse

func NewDescribeNotebookInstanceResponse() (response *DescribeNotebookInstanceResponse)

func (*DescribeNotebookInstanceResponse) FromJsonString

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

func (r *DescribeNotebookInstanceResponse) ToJsonString() string

type DescribeNotebookInstanceResponseParams added in v1.0.426

type DescribeNotebookInstanceResponseParams struct {
	// Notebook实例名称
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`

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

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

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

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

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

	// 数据卷大小(GB)
	// 注意:此字段可能返回 null,表示取不到有效值。
	VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitnil,omitempty" name:"VolumeSizeInGB"`

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

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

	// Notebook实例最近修改时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	LastModifiedTime *string `json:"LastModifiedTime,omitnil,omitempty" name:"LastModifiedTime"`

	// Notebook实例日志链接
	// 注意:此字段可能返回 null,表示取不到有效值。
	LogUrl *string `json:"LogUrl,omitnil,omitempty" name:"LogUrl"`

	// Notebook实例状态
	//
	// Pending: 创建中
	// Inservice: 运行中
	// Stopping: 停止中
	// Stopped: 已停止
	// Failed: 失败
	// 注意:此字段可能返回 null,表示取不到有效值。
	NotebookInstanceStatus *string `json:"NotebookInstanceStatus,omitnil,omitempty" name:"NotebookInstanceStatus"`

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

	// notebook生命周期脚本名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	LifecycleScriptsName *string `json:"LifecycleScriptsName,omitnil,omitempty" name:"LifecycleScriptsName"`

	// 默认存储库名称
	// 可以是已创建的存储库名称或者已https://开头的公共git库
	// 注意:此字段可能返回 null,表示取不到有效值。
	DefaultCodeRepository *string `json:"DefaultCodeRepository,omitnil,omitempty" name:"DefaultCodeRepository"`

	// 其他存储库列表
	// 每个元素可以是已创建的存储库名称或者已https://开头的公共git库
	// 注意:此字段可能返回 null,表示取不到有效值。
	AdditionalCodeRepositories []*string `json:"AdditionalCodeRepositories,omitnil,omitempty" name:"AdditionalCodeRepositories"`

	// 是否开启CLS日志服务
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClsAccess *string `json:"ClsAccess,omitnil,omitempty" name:"ClsAccess"`

	// 是否预付费实例
	// 注意:此字段可能返回 null,表示取不到有效值。
	Prepay *bool `json:"Prepay,omitnil,omitempty" name:"Prepay"`

	// 实例运行截止时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	Deadline *string `json:"Deadline,omitnil,omitempty" name:"Deadline"`

	// 自动停止配置
	// 注意:此字段可能返回 null,表示取不到有效值。
	StoppingCondition *StoppingCondition `json:"StoppingCondition,omitnil,omitempty" name:"StoppingCondition"`

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

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeNotebookInstancesRequest

type DescribeNotebookInstancesRequest struct {
	*tchttp.BaseRequest

	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 限制数目
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 排序规则。默认取Descending
	// Descending 按更新时间降序
	// Ascending 按更新时间升序
	SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`

	// 过滤条件。
	// instance-name - String - 是否必填:否 -(过滤条件)按照名称过滤。
	// search-by-name - String - 是否必填:否 -(过滤条件)按照名称检索,模糊匹配。
	// lifecycle-name - String - 是否必填:否 -(过滤条件)按照生命周期脚本名称过滤。
	// default-code-repo-name - String - 是否必填:否 -(过滤条件)按照默认存储库名称过滤。
	// additional-code-repo-name - String - 是否必填:否 -(过滤条件)按照其他存储库名称过滤。
	// billing-status - String - 是否必填:否 - (过滤条件)按照计费状态过滤,可取以下值
	//    StorageOnly:仅存储计费的实例
	//    Computing:计算和存储都计费的实例
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 【废弃字段】排序字段
	SortBy *string `json:"SortBy,omitnil,omitempty" name:"SortBy"`
}

func NewDescribeNotebookInstancesRequest

func NewDescribeNotebookInstancesRequest() (request *DescribeNotebookInstancesRequest)

func (*DescribeNotebookInstancesRequest) FromJsonString

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

func (r *DescribeNotebookInstancesRequest) ToJsonString() string

type DescribeNotebookInstancesRequestParams added in v1.0.426

type DescribeNotebookInstancesRequestParams struct {
	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 限制数目
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 排序规则。默认取Descending
	// Descending 按更新时间降序
	// Ascending 按更新时间升序
	SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`

	// 过滤条件。
	// instance-name - String - 是否必填:否 -(过滤条件)按照名称过滤。
	// search-by-name - String - 是否必填:否 -(过滤条件)按照名称检索,模糊匹配。
	// lifecycle-name - String - 是否必填:否 -(过滤条件)按照生命周期脚本名称过滤。
	// default-code-repo-name - String - 是否必填:否 -(过滤条件)按照默认存储库名称过滤。
	// additional-code-repo-name - String - 是否必填:否 -(过滤条件)按照其他存储库名称过滤。
	// billing-status - String - 是否必填:否 - (过滤条件)按照计费状态过滤,可取以下值
	//    StorageOnly:仅存储计费的实例
	//    Computing:计算和存储都计费的实例
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 【废弃字段】排序字段
	SortBy *string `json:"SortBy,omitnil,omitempty" name:"SortBy"`
}

Predefined struct for user

type DescribeNotebookInstancesResponse

type DescribeNotebookInstancesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNotebookInstancesResponseParams `json:"Response"`
}

func NewDescribeNotebookInstancesResponse

func NewDescribeNotebookInstancesResponse() (response *DescribeNotebookInstancesResponse)

func (*DescribeNotebookInstancesResponse) FromJsonString

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

func (r *DescribeNotebookInstancesResponse) ToJsonString() string

type DescribeNotebookInstancesResponseParams added in v1.0.426

type DescribeNotebookInstancesResponseParams struct {
	// Notebook实例列表
	NotebookInstanceSet []*NotebookInstanceSummary `json:"NotebookInstanceSet,omitnil,omitempty" name:"NotebookInstanceSet"`

	// Notebook实例总数目
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeNotebookLifecycleScriptRequest

type DescribeNotebookLifecycleScriptRequest struct {
	*tchttp.BaseRequest

	// 生命周期脚本名称
	NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitnil,omitempty" name:"NotebookLifecycleScriptsName"`
}

func NewDescribeNotebookLifecycleScriptRequest

func NewDescribeNotebookLifecycleScriptRequest() (request *DescribeNotebookLifecycleScriptRequest)

func (*DescribeNotebookLifecycleScriptRequest) FromJsonString

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

func (*DescribeNotebookLifecycleScriptRequest) ToJsonString

type DescribeNotebookLifecycleScriptRequestParams added in v1.0.426

type DescribeNotebookLifecycleScriptRequestParams struct {
	// 生命周期脚本名称
	NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitnil,omitempty" name:"NotebookLifecycleScriptsName"`
}

Predefined struct for user

type DescribeNotebookLifecycleScriptResponse

type DescribeNotebookLifecycleScriptResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNotebookLifecycleScriptResponseParams `json:"Response"`
}

func NewDescribeNotebookLifecycleScriptResponse

func NewDescribeNotebookLifecycleScriptResponse() (response *DescribeNotebookLifecycleScriptResponse)

func (*DescribeNotebookLifecycleScriptResponse) FromJsonString

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

func (*DescribeNotebookLifecycleScriptResponse) ToJsonString

type DescribeNotebookLifecycleScriptResponseParams added in v1.0.426

type DescribeNotebookLifecycleScriptResponseParams struct {
	// 生命周期脚本名称
	NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitnil,omitempty" name:"NotebookLifecycleScriptsName"`

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

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

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

	// 最后修改时间
	LastModifiedTime *string `json:"LastModifiedTime,omitnil,omitempty" name:"LastModifiedTime"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeNotebookLifecycleScriptsRequest

type DescribeNotebookLifecycleScriptsRequest struct {
	*tchttp.BaseRequest

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

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

	// 过滤条件。
	// instance-name - String - 是否必填:否 -(过滤条件)按照名称过滤。
	// search-by-name - String - 是否必填:否 -(过滤条件)按照名称检索,模糊匹配。
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 排序规则。默认取Descending
	// Descending 按更新时间降序
	// Ascending 按更新时间升序
	SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`
}

func NewDescribeNotebookLifecycleScriptsRequest

func NewDescribeNotebookLifecycleScriptsRequest() (request *DescribeNotebookLifecycleScriptsRequest)

func (*DescribeNotebookLifecycleScriptsRequest) FromJsonString

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

func (*DescribeNotebookLifecycleScriptsRequest) ToJsonString

type DescribeNotebookLifecycleScriptsRequestParams added in v1.0.426

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

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

	// 过滤条件。
	// instance-name - String - 是否必填:否 -(过滤条件)按照名称过滤。
	// search-by-name - String - 是否必填:否 -(过滤条件)按照名称检索,模糊匹配。
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 排序规则。默认取Descending
	// Descending 按更新时间降序
	// Ascending 按更新时间升序
	SortOrder *string `json:"SortOrder,omitnil,omitempty" name:"SortOrder"`
}

Predefined struct for user

type DescribeNotebookLifecycleScriptsResponse

type DescribeNotebookLifecycleScriptsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNotebookLifecycleScriptsResponseParams `json:"Response"`
}

func NewDescribeNotebookLifecycleScriptsResponse

func NewDescribeNotebookLifecycleScriptsResponse() (response *DescribeNotebookLifecycleScriptsResponse)

func (*DescribeNotebookLifecycleScriptsResponse) FromJsonString

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

func (*DescribeNotebookLifecycleScriptsResponse) ToJsonString

type DescribeNotebookLifecycleScriptsResponseParams added in v1.0.426

type DescribeNotebookLifecycleScriptsResponseParams struct {
	// Notebook生命周期脚本列表
	NotebookLifecycleScriptsSet []*NotebookLifecycleScriptsSummary `json:"NotebookLifecycleScriptsSet,omitnil,omitempty" name:"NotebookLifecycleScriptsSet"`

	// Notebook生命周期脚本总数量
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeNotebookSummaryRequest

type DescribeNotebookSummaryRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeNotebookSummaryRequest

func NewDescribeNotebookSummaryRequest() (request *DescribeNotebookSummaryRequest)

func (*DescribeNotebookSummaryRequest) FromJsonString

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

func (r *DescribeNotebookSummaryRequest) ToJsonString() string

type DescribeNotebookSummaryRequestParams added in v1.0.426

type DescribeNotebookSummaryRequestParams struct {
}

Predefined struct for user

type DescribeNotebookSummaryResponse

type DescribeNotebookSummaryResponse struct {
	*tchttp.BaseResponse
	Response *DescribeNotebookSummaryResponseParams `json:"Response"`
}

func NewDescribeNotebookSummaryResponse

func NewDescribeNotebookSummaryResponse() (response *DescribeNotebookSummaryResponse)

func (*DescribeNotebookSummaryResponse) FromJsonString

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

func (r *DescribeNotebookSummaryResponse) ToJsonString() string

type DescribeNotebookSummaryResponseParams added in v1.0.426

type DescribeNotebookSummaryResponseParams struct {
	// 实例总数
	AllInstanceCnt *int64 `json:"AllInstanceCnt,omitnil,omitempty" name:"AllInstanceCnt"`

	// 计费实例总数
	BillingInstanceCnt *int64 `json:"BillingInstanceCnt,omitnil,omitempty" name:"BillingInstanceCnt"`

	// 仅存储计费的实例总数
	StorageOnlyBillingInstanceCnt *int64 `json:"StorageOnlyBillingInstanceCnt,omitnil,omitempty" name:"StorageOnlyBillingInstanceCnt"`

	// 计算和存储都计费的实例总数
	ComputingBillingInstanceCnt *int64 `json:"ComputingBillingInstanceCnt,omitnil,omitempty" name:"ComputingBillingInstanceCnt"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTrainingJobRequest

type DescribeTrainingJobRequest struct {
	*tchttp.BaseRequest

	// 训练任务名称
	TrainingJobName *string `json:"TrainingJobName,omitnil,omitempty" name:"TrainingJobName"`
}

func NewDescribeTrainingJobRequest

func NewDescribeTrainingJobRequest() (request *DescribeTrainingJobRequest)

func (*DescribeTrainingJobRequest) FromJsonString

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

func (r *DescribeTrainingJobRequest) ToJsonString() string

type DescribeTrainingJobRequestParams added in v1.0.426

type DescribeTrainingJobRequestParams struct {
	// 训练任务名称
	TrainingJobName *string `json:"TrainingJobName,omitnil,omitempty" name:"TrainingJobName"`
}

Predefined struct for user

type DescribeTrainingJobResponse

type DescribeTrainingJobResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTrainingJobResponseParams `json:"Response"`
}

func NewDescribeTrainingJobResponse

func NewDescribeTrainingJobResponse() (response *DescribeTrainingJobResponse)

func (*DescribeTrainingJobResponse) FromJsonString

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

func (r *DescribeTrainingJobResponse) ToJsonString() string

type DescribeTrainingJobResponseParams added in v1.0.426

type DescribeTrainingJobResponseParams struct {
	// 算法镜像配置
	AlgorithmSpecification *AlgorithmSpecification `json:"AlgorithmSpecification,omitnil,omitempty" name:"AlgorithmSpecification"`

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

	// 算法超级参数
	// 注意:此字段可能返回 null,表示取不到有效值。
	HyperParameters *string `json:"HyperParameters,omitnil,omitempty" name:"HyperParameters"`

	// 输入数据配置
	InputDataConfig []*InputDataConfig `json:"InputDataConfig,omitnil,omitempty" name:"InputDataConfig"`

	// 输出数据配置
	OutputDataConfig *OutputDataConfig `json:"OutputDataConfig,omitnil,omitempty" name:"OutputDataConfig"`

	// 中止条件
	// 注意:此字段可能返回 null,表示取不到有效值。
	StoppingCondition *StoppingCondition `json:"StoppingCondition,omitnil,omitempty" name:"StoppingCondition"`

	// 计算实例配置
	ResourceConfig *ResourceConfig `json:"ResourceConfig,omitnil,omitempty" name:"ResourceConfig"`

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

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

	// 最近修改时间
	LastModifiedTime *string `json:"LastModifiedTime,omitnil,omitempty" name:"LastModifiedTime"`

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

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

	// 模型输出配置
	// 注意:此字段可能返回 null,表示取不到有效值。
	ModelArtifacts *ModelArtifacts `json:"ModelArtifacts,omitnil,omitempty" name:"ModelArtifacts"`

	// 详细状态,取值范围
	// Starting:启动中
	// Downloading: 准备训练数据
	// Training: 正在训练
	// Uploading: 上传训练结果
	// Completed:已完成
	// Failed: 失败
	// MaxRuntimeExceeded: 任务超过最大运行时间
	// Stopping: 停止中
	// Stopped:已停止
	SecondaryStatus *string `json:"SecondaryStatus,omitnil,omitempty" name:"SecondaryStatus"`

	// 详细状态事件记录
	// 注意:此字段可能返回 null,表示取不到有效值。
	SecondaryStatusTransitions []*SecondaryStatusTransition `json:"SecondaryStatusTransitions,omitnil,omitempty" name:"SecondaryStatusTransitions"`

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

	// 训练任务状态,取值范围
	// InProgress:运行中
	// Completed: 已完成
	// Failed: 失败
	// Stopping: 停止中
	// Stopped:已停止
	TrainingJobStatus *string `json:"TrainingJobStatus,omitnil,omitempty" name:"TrainingJobStatus"`

	// 训练任务日志链接
	// 注意:此字段可能返回 null,表示取不到有效值。
	LogUrl *string `json:"LogUrl,omitnil,omitempty" name:"LogUrl"`

	// 训练任务实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeTrainingJobsRequest

type DescribeTrainingJobsRequest struct {
	*tchttp.BaseRequest

	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 限制数目
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 创建时间晚于
	CreationTimeAfter *string `json:"CreationTimeAfter,omitnil,omitempty" name:"CreationTimeAfter"`

	// 创建时间早于
	CreationTimeBefore *string `json:"CreationTimeBefore,omitnil,omitempty" name:"CreationTimeBefore"`

	// 根据名称过滤
	NameContains *string `json:"NameContains,omitnil,omitempty" name:"NameContains"`

	// 根据状态过滤
	StatusEquals *string `json:"StatusEquals,omitnil,omitempty" name:"StatusEquals"`

	// 过滤条件。
	// instance-name - String - 是否必填:否 -(过滤条件)按照名称过滤。
	// search-by-name - String - 是否必填:否 -(过滤条件)按照名称检索,模糊匹配。
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeTrainingJobsRequest

func NewDescribeTrainingJobsRequest() (request *DescribeTrainingJobsRequest)

func (*DescribeTrainingJobsRequest) FromJsonString

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

func (r *DescribeTrainingJobsRequest) ToJsonString() string

type DescribeTrainingJobsRequestParams added in v1.0.426

type DescribeTrainingJobsRequestParams struct {
	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 限制数目
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 创建时间晚于
	CreationTimeAfter *string `json:"CreationTimeAfter,omitnil,omitempty" name:"CreationTimeAfter"`

	// 创建时间早于
	CreationTimeBefore *string `json:"CreationTimeBefore,omitnil,omitempty" name:"CreationTimeBefore"`

	// 根据名称过滤
	NameContains *string `json:"NameContains,omitnil,omitempty" name:"NameContains"`

	// 根据状态过滤
	StatusEquals *string `json:"StatusEquals,omitnil,omitempty" name:"StatusEquals"`

	// 过滤条件。
	// instance-name - String - 是否必填:否 -(过滤条件)按照名称过滤。
	// search-by-name - String - 是否必填:否 -(过滤条件)按照名称检索,模糊匹配。
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeTrainingJobsResponse

type DescribeTrainingJobsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeTrainingJobsResponseParams `json:"Response"`
}

func NewDescribeTrainingJobsResponse

func NewDescribeTrainingJobsResponse() (response *DescribeTrainingJobsResponse)

func (*DescribeTrainingJobsResponse) FromJsonString

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

func (r *DescribeTrainingJobsResponse) ToJsonString() string

type DescribeTrainingJobsResponseParams added in v1.0.426

type DescribeTrainingJobsResponseParams struct {
	// 训练任务列表
	TrainingJobSet []*TrainingJobSummary `json:"TrainingJobSet,omitnil,omitempty" name:"TrainingJobSet"`

	// 训练任务总数目
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type EnvConfig

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

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

type FileSystemDataSource

type FileSystemDataSource struct {
	// 文件系统目录
	// 注意:此字段可能返回 null,表示取不到有效值。
	DirectoryPath *string `json:"DirectoryPath,omitnil,omitempty" name:"DirectoryPath"`

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

	// 文件系统访问模式
	// 注意:此字段可能返回 null,表示取不到有效值。
	FileSystemAccessMode *string `json:"FileSystemAccessMode,omitnil,omitempty" name:"FileSystemAccessMode"`

	// 文件系统ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	FileSystemId *string `json:"FileSystemId,omitnil,omitempty" name:"FileSystemId"`
}

type Filter

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

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

type GitConfig

type GitConfig struct {
	// git地址
	RepositoryUrl *string `json:"RepositoryUrl,omitnil,omitempty" name:"RepositoryUrl"`

	// 代码分支
	// 注意:此字段可能返回 null,表示取不到有效值。
	Branch *string `json:"Branch,omitnil,omitempty" name:"Branch"`
}

type GitSecret

type GitSecret struct {
	// 无密钥,默认选项
	NoSecret *bool `json:"NoSecret,omitnil,omitempty" name:"NoSecret"`

	// Git用户名密码base64编码后的字符串
	// 编码前的内容应为Json字符串,如
	// {"UserName": "用户名", "Password":"密码"}
	Secret *string `json:"Secret,omitnil,omitempty" name:"Secret"`
}

type InputDataConfig

type InputDataConfig struct {
	// 通道名
	// 注意:此字段可能返回 null,表示取不到有效值。
	ChannelName *string `json:"ChannelName,omitnil,omitempty" name:"ChannelName"`

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

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

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

type ModelArtifacts

type ModelArtifacts struct {
	// cos输出路径
	// 注意:此字段可能返回 null,表示取不到有效值。
	CosModelArtifacts *string `json:"CosModelArtifacts,omitnil,omitempty" name:"CosModelArtifacts"`
}

type NotebookInstanceSummary

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

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

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

	// notebook实例状态,取值范围:
	// Pending: 创建中
	// Inservice: 运行中
	// Stopping: 停止中
	// Stopped: 已停止
	// Failed: 失败
	// 注意:此字段可能返回 null,表示取不到有效值。
	NotebookInstanceStatus *string `json:"NotebookInstanceStatus,omitnil,omitempty" name:"NotebookInstanceStatus"`

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

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

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

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

	// 自动停止配置
	// 注意:此字段可能返回 null,表示取不到有效值。
	StoppingCondition *StoppingCondition `json:"StoppingCondition,omitnil,omitempty" name:"StoppingCondition"`

	// 是否是预付费实例
	// 注意:此字段可能返回 null,表示取不到有效值。
	Prepay *bool `json:"Prepay,omitnil,omitempty" name:"Prepay"`

	// 计费标识
	// 注意:此字段可能返回 null,表示取不到有效值。
	BillingLabel *BillingLabel `json:"BillingLabel,omitnil,omitempty" name:"BillingLabel"`

	// 运行时长,秒
	// 注意:此字段可能返回 null,表示取不到有效值。
	RuntimeInSeconds *int64 `json:"RuntimeInSeconds,omitnil,omitempty" name:"RuntimeInSeconds"`

	// 剩余时长,秒
	// 注意:此字段可能返回 null,表示取不到有效值。
	RemainTimeInSeconds *int64 `json:"RemainTimeInSeconds,omitnil,omitempty" name:"RemainTimeInSeconds"`
}

type NotebookLifecycleScriptsSummary

type NotebookLifecycleScriptsSummary struct {
	// notebook生命周期脚本名称
	NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitnil,omitempty" name:"NotebookLifecycleScriptsName"`

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

	// 修改时间
	LastModifiedTime *string `json:"LastModifiedTime,omitnil,omitempty" name:"LastModifiedTime"`
}

type OutputDataConfig

type OutputDataConfig struct {
	// cos输出桶
	// 注意:此字段可能返回 null,表示取不到有效值。
	CosOutputBucket *string `json:"CosOutputBucket,omitnil,omitempty" name:"CosOutputBucket"`

	// cos输出key前缀
	// 注意:此字段可能返回 null,表示取不到有效值。
	CosOutputKeyPrefix *string `json:"CosOutputKeyPrefix,omitnil,omitempty" name:"CosOutputKeyPrefix"`

	// 文件系统输出,如果指定了文件系统,那么Cos输出会被忽略
	// 注意:此字段可能返回 null,表示取不到有效值。
	FileSystemDataSource *FileSystemDataSource `json:"FileSystemDataSource,omitnil,omitempty" name:"FileSystemDataSource"`
}

type ResourceConfig

type ResourceConfig struct {
	// 计算实例数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceCount *uint64 `json:"InstanceCount,omitnil,omitempty" name:"InstanceCount"`

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

	// 挂载CBS大小(GB)
	// 注意:此字段可能返回 null,表示取不到有效值。
	VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitnil,omitempty" name:"VolumeSizeInGB"`
}

type SecondaryStatusTransition

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

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

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

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

type StartNotebookInstanceRequest

type StartNotebookInstanceRequest struct {
	*tchttp.BaseRequest

	// Notebook实例名称
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`

	// 自动停止,可取值Enabled/Disabled
	// 取值为Disabled的时候StoppingCondition将被忽略
	// 取值为Enabled的时候读取StoppingCondition作为自动停止的配置
	AutoStopping *string `json:"AutoStopping,omitnil,omitempty" name:"AutoStopping"`

	// 自动停止配置,只在AutoStopping为Enabled的时候生效
	StoppingCondition *StoppingCondition `json:"StoppingCondition,omitnil,omitempty" name:"StoppingCondition"`
}

func NewStartNotebookInstanceRequest

func NewStartNotebookInstanceRequest() (request *StartNotebookInstanceRequest)

func (*StartNotebookInstanceRequest) FromJsonString

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

func (r *StartNotebookInstanceRequest) ToJsonString() string

type StartNotebookInstanceRequestParams added in v1.0.426

type StartNotebookInstanceRequestParams struct {
	// Notebook实例名称
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`

	// 自动停止,可取值Enabled/Disabled
	// 取值为Disabled的时候StoppingCondition将被忽略
	// 取值为Enabled的时候读取StoppingCondition作为自动停止的配置
	AutoStopping *string `json:"AutoStopping,omitnil,omitempty" name:"AutoStopping"`

	// 自动停止配置,只在AutoStopping为Enabled的时候生效
	StoppingCondition *StoppingCondition `json:"StoppingCondition,omitnil,omitempty" name:"StoppingCondition"`
}

Predefined struct for user

type StartNotebookInstanceResponse

type StartNotebookInstanceResponse struct {
	*tchttp.BaseResponse
	Response *StartNotebookInstanceResponseParams `json:"Response"`
}

func NewStartNotebookInstanceResponse

func NewStartNotebookInstanceResponse() (response *StartNotebookInstanceResponse)

func (*StartNotebookInstanceResponse) FromJsonString

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

func (r *StartNotebookInstanceResponse) ToJsonString() string

type StartNotebookInstanceResponseParams added in v1.0.426

type StartNotebookInstanceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type StopNotebookInstanceRequest

type StopNotebookInstanceRequest struct {
	*tchttp.BaseRequest

	// Notebook实例名称
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`
}

func NewStopNotebookInstanceRequest

func NewStopNotebookInstanceRequest() (request *StopNotebookInstanceRequest)

func (*StopNotebookInstanceRequest) FromJsonString

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

func (r *StopNotebookInstanceRequest) ToJsonString() string

type StopNotebookInstanceRequestParams added in v1.0.426

type StopNotebookInstanceRequestParams struct {
	// Notebook实例名称
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`
}

Predefined struct for user

type StopNotebookInstanceResponse

type StopNotebookInstanceResponse struct {
	*tchttp.BaseResponse
	Response *StopNotebookInstanceResponseParams `json:"Response"`
}

func NewStopNotebookInstanceResponse

func NewStopNotebookInstanceResponse() (response *StopNotebookInstanceResponse)

func (*StopNotebookInstanceResponse) FromJsonString

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

func (r *StopNotebookInstanceResponse) ToJsonString() string

type StopNotebookInstanceResponseParams added in v1.0.426

type StopNotebookInstanceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type StopTrainingJobRequest

type StopTrainingJobRequest struct {
	*tchttp.BaseRequest

	// 训练任务名称
	TrainingJobName *string `json:"TrainingJobName,omitnil,omitempty" name:"TrainingJobName"`
}

func NewStopTrainingJobRequest

func NewStopTrainingJobRequest() (request *StopTrainingJobRequest)

func (*StopTrainingJobRequest) FromJsonString

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

func (r *StopTrainingJobRequest) ToJsonString() string

type StopTrainingJobRequestParams added in v1.0.426

type StopTrainingJobRequestParams struct {
	// 训练任务名称
	TrainingJobName *string `json:"TrainingJobName,omitnil,omitempty" name:"TrainingJobName"`
}

Predefined struct for user

type StopTrainingJobResponse

type StopTrainingJobResponse struct {
	*tchttp.BaseResponse
	Response *StopTrainingJobResponseParams `json:"Response"`
}

func NewStopTrainingJobResponse

func NewStopTrainingJobResponse() (response *StopTrainingJobResponse)

func (*StopTrainingJobResponse) FromJsonString

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

func (r *StopTrainingJobResponse) ToJsonString() string

type StopTrainingJobResponseParams added in v1.0.426

type StopTrainingJobResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type StoppingCondition

type StoppingCondition struct {
	// 最长运行运行时间(秒)
	// 注意:此字段可能返回 null,表示取不到有效值。
	MaxRuntimeInSeconds *uint64 `json:"MaxRuntimeInSeconds,omitnil,omitempty" name:"MaxRuntimeInSeconds"`

	// 最长等待运行时间(秒)
	// 注意:此字段可能返回 null,表示取不到有效值。
	MaxWaitTimeInSeconds *uint64 `json:"MaxWaitTimeInSeconds,omitnil,omitempty" name:"MaxWaitTimeInSeconds"`
}

type TrainingJobSummary

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

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

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

	// 训练任务状态,取值范围
	// InProgress:运行中
	// Completed: 已完成
	// Failed: 失败
	// Stopping: 停止中
	// Stopped:已停止
	// 注意:此字段可能返回 null,表示取不到有效值。
	TrainingJobStatus *string `json:"TrainingJobStatus,omitnil,omitempty" name:"TrainingJobStatus"`

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

	// 算了实例Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

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

type UpdateCodeRepositoryRequest

type UpdateCodeRepositoryRequest struct {
	*tchttp.BaseRequest

	// 查询存储库名称
	CodeRepositoryName *string `json:"CodeRepositoryName,omitnil,omitempty" name:"CodeRepositoryName"`

	// Git凭证
	GitSecret *GitSecret `json:"GitSecret,omitnil,omitempty" name:"GitSecret"`
}

func NewUpdateCodeRepositoryRequest

func NewUpdateCodeRepositoryRequest() (request *UpdateCodeRepositoryRequest)

func (*UpdateCodeRepositoryRequest) FromJsonString

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

func (r *UpdateCodeRepositoryRequest) ToJsonString() string

type UpdateCodeRepositoryRequestParams added in v1.0.426

type UpdateCodeRepositoryRequestParams struct {
	// 查询存储库名称
	CodeRepositoryName *string `json:"CodeRepositoryName,omitnil,omitempty" name:"CodeRepositoryName"`

	// Git凭证
	GitSecret *GitSecret `json:"GitSecret,omitnil,omitempty" name:"GitSecret"`
}

Predefined struct for user

type UpdateCodeRepositoryResponse

type UpdateCodeRepositoryResponse struct {
	*tchttp.BaseResponse
	Response *UpdateCodeRepositoryResponseParams `json:"Response"`
}

func NewUpdateCodeRepositoryResponse

func NewUpdateCodeRepositoryResponse() (response *UpdateCodeRepositoryResponse)

func (*UpdateCodeRepositoryResponse) FromJsonString

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

func (r *UpdateCodeRepositoryResponse) ToJsonString() string

type UpdateCodeRepositoryResponseParams added in v1.0.426

type UpdateCodeRepositoryResponseParams struct {
	// 存储库名称
	CodeRepositoryName *string `json:"CodeRepositoryName,omitnil,omitempty" name:"CodeRepositoryName"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type UpdateNotebookInstanceRequest

type UpdateNotebookInstanceRequest struct {
	*tchttp.BaseRequest

	// Notebook实例名称
	// 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$”
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`

	// 角色的资源描述
	RoleArn *string `json:"RoleArn,omitnil,omitempty" name:"RoleArn"`

	// Root访问权限
	RootAccess *string `json:"RootAccess,omitnil,omitempty" name:"RootAccess"`

	// 数据卷大小(GB)
	VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitnil,omitempty" name:"VolumeSizeInGB"`

	// 算力资源类型
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// notebook生命周期脚本名称
	LifecycleScriptsName *string `json:"LifecycleScriptsName,omitnil,omitempty" name:"LifecycleScriptsName"`

	// 是否解绑生命周期脚本,默认 false。
	// 该值为true时,LifecycleScriptsName将被忽略
	DisassociateLifecycleScript *bool `json:"DisassociateLifecycleScript,omitnil,omitempty" name:"DisassociateLifecycleScript"`

	// 默认存储库名称
	// 可以是已创建的存储库名称或者已https://开头的公共git库
	DefaultCodeRepository *string `json:"DefaultCodeRepository,omitnil,omitempty" name:"DefaultCodeRepository"`

	// 其他存储库列表
	// 每个元素可以是已创建的存储库名称或者已https://开头的公共git库
	AdditionalCodeRepositories []*string `json:"AdditionalCodeRepositories,omitnil,omitempty" name:"AdditionalCodeRepositories"`

	// 是否取消关联默认存储库,默认false
	// 该值为true时,DefaultCodeRepository将被忽略
	DisassociateDefaultCodeRepository *bool `json:"DisassociateDefaultCodeRepository,omitnil,omitempty" name:"DisassociateDefaultCodeRepository"`

	// 是否取消关联其他存储库,默认false
	// 该值为true时,AdditionalCodeRepositories将被忽略
	DisassociateAdditionalCodeRepositories *bool `json:"DisassociateAdditionalCodeRepositories,omitnil,omitempty" name:"DisassociateAdditionalCodeRepositories"`

	// 已弃用,请使用ClsConfig配置。是否开启CLS日志服务,可取值Enabled/Disabled
	ClsAccess *string `json:"ClsAccess,omitnil,omitempty" name:"ClsAccess"`

	// 自动停止,可取值Enabled/Disabled
	// 取值为Disabled的时候StoppingCondition将被忽略
	// 取值为Enabled的时候读取StoppingCondition作为自动停止的配置
	AutoStopping *string `json:"AutoStopping,omitnil,omitempty" name:"AutoStopping"`

	// 自动停止配置,只在AutoStopping为Enabled的时候生效
	StoppingCondition *StoppingCondition `json:"StoppingCondition,omitnil,omitempty" name:"StoppingCondition"`

	// 接入日志的配置,默认使用免费日志服务。
	ClsConfig *ClsConfig `json:"ClsConfig,omitnil,omitempty" name:"ClsConfig"`
}

func NewUpdateNotebookInstanceRequest

func NewUpdateNotebookInstanceRequest() (request *UpdateNotebookInstanceRequest)

func (*UpdateNotebookInstanceRequest) FromJsonString

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

func (r *UpdateNotebookInstanceRequest) ToJsonString() string

type UpdateNotebookInstanceRequestParams added in v1.0.426

type UpdateNotebookInstanceRequestParams struct {
	// Notebook实例名称
	// 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$”
	NotebookInstanceName *string `json:"NotebookInstanceName,omitnil,omitempty" name:"NotebookInstanceName"`

	// 角色的资源描述
	RoleArn *string `json:"RoleArn,omitnil,omitempty" name:"RoleArn"`

	// Root访问权限
	RootAccess *string `json:"RootAccess,omitnil,omitempty" name:"RootAccess"`

	// 数据卷大小(GB)
	VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitnil,omitempty" name:"VolumeSizeInGB"`

	// 算力资源类型
	InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"`

	// notebook生命周期脚本名称
	LifecycleScriptsName *string `json:"LifecycleScriptsName,omitnil,omitempty" name:"LifecycleScriptsName"`

	// 是否解绑生命周期脚本,默认 false。
	// 该值为true时,LifecycleScriptsName将被忽略
	DisassociateLifecycleScript *bool `json:"DisassociateLifecycleScript,omitnil,omitempty" name:"DisassociateLifecycleScript"`

	// 默认存储库名称
	// 可以是已创建的存储库名称或者已https://开头的公共git库
	DefaultCodeRepository *string `json:"DefaultCodeRepository,omitnil,omitempty" name:"DefaultCodeRepository"`

	// 其他存储库列表
	// 每个元素可以是已创建的存储库名称或者已https://开头的公共git库
	AdditionalCodeRepositories []*string `json:"AdditionalCodeRepositories,omitnil,omitempty" name:"AdditionalCodeRepositories"`

	// 是否取消关联默认存储库,默认false
	// 该值为true时,DefaultCodeRepository将被忽略
	DisassociateDefaultCodeRepository *bool `json:"DisassociateDefaultCodeRepository,omitnil,omitempty" name:"DisassociateDefaultCodeRepository"`

	// 是否取消关联其他存储库,默认false
	// 该值为true时,AdditionalCodeRepositories将被忽略
	DisassociateAdditionalCodeRepositories *bool `json:"DisassociateAdditionalCodeRepositories,omitnil,omitempty" name:"DisassociateAdditionalCodeRepositories"`

	// 已弃用,请使用ClsConfig配置。是否开启CLS日志服务,可取值Enabled/Disabled
	ClsAccess *string `json:"ClsAccess,omitnil,omitempty" name:"ClsAccess"`

	// 自动停止,可取值Enabled/Disabled
	// 取值为Disabled的时候StoppingCondition将被忽略
	// 取值为Enabled的时候读取StoppingCondition作为自动停止的配置
	AutoStopping *string `json:"AutoStopping,omitnil,omitempty" name:"AutoStopping"`

	// 自动停止配置,只在AutoStopping为Enabled的时候生效
	StoppingCondition *StoppingCondition `json:"StoppingCondition,omitnil,omitempty" name:"StoppingCondition"`

	// 接入日志的配置,默认使用免费日志服务。
	ClsConfig *ClsConfig `json:"ClsConfig,omitnil,omitempty" name:"ClsConfig"`
}

Predefined struct for user

type UpdateNotebookInstanceResponse

type UpdateNotebookInstanceResponse struct {
	*tchttp.BaseResponse
	Response *UpdateNotebookInstanceResponseParams `json:"Response"`
}

func NewUpdateNotebookInstanceResponse

func NewUpdateNotebookInstanceResponse() (response *UpdateNotebookInstanceResponse)

func (*UpdateNotebookInstanceResponse) FromJsonString

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

func (r *UpdateNotebookInstanceResponse) ToJsonString() string

type UpdateNotebookInstanceResponseParams added in v1.0.426

type UpdateNotebookInstanceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type VpcConfig

type VpcConfig struct {
	// 安全组id
	// 注意:此字段可能返回 null,表示取不到有效值。
	SecurityGroupIds []*string `json:"SecurityGroupIds,omitnil,omitempty" name:"SecurityGroupIds"`

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

Jump to

Keyboard shortcuts

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