Documentation ¶
Index ¶
- Constants
- type AlgorithmSpecification
- type BillingLabel
- type Client
- func (c *Client) CreateCodeRepository(request *CreateCodeRepositoryRequest) (response *CreateCodeRepositoryResponse, err error)
- func (c *Client) CreateNotebookInstance(request *CreateNotebookInstanceRequest) (response *CreateNotebookInstanceResponse, err error)
- func (c *Client) CreateNotebookLifecycleScript(request *CreateNotebookLifecycleScriptRequest) (response *CreateNotebookLifecycleScriptResponse, err error)
- func (c *Client) CreatePresignedNotebookInstanceUrl(request *CreatePresignedNotebookInstanceUrlRequest) (response *CreatePresignedNotebookInstanceUrlResponse, err error)
- func (c *Client) CreateTrainingJob(request *CreateTrainingJobRequest) (response *CreateTrainingJobResponse, err error)
- func (c *Client) DeleteCodeRepository(request *DeleteCodeRepositoryRequest) (response *DeleteCodeRepositoryResponse, err error)
- func (c *Client) DeleteNotebookInstance(request *DeleteNotebookInstanceRequest) (response *DeleteNotebookInstanceResponse, err error)
- func (c *Client) DeleteNotebookLifecycleScript(request *DeleteNotebookLifecycleScriptRequest) (response *DeleteNotebookLifecycleScriptResponse, err error)
- func (c *Client) DescribeCodeRepositories(request *DescribeCodeRepositoriesRequest) (response *DescribeCodeRepositoriesResponse, err error)
- func (c *Client) DescribeCodeRepository(request *DescribeCodeRepositoryRequest) (response *DescribeCodeRepositoryResponse, err error)
- func (c *Client) DescribeNotebookInstance(request *DescribeNotebookInstanceRequest) (response *DescribeNotebookInstanceResponse, err error)
- func (c *Client) DescribeNotebookInstances(request *DescribeNotebookInstancesRequest) (response *DescribeNotebookInstancesResponse, err error)
- func (c *Client) DescribeNotebookLifecycleScript(request *DescribeNotebookLifecycleScriptRequest) (response *DescribeNotebookLifecycleScriptResponse, err error)
- func (c *Client) DescribeNotebookLifecycleScripts(request *DescribeNotebookLifecycleScriptsRequest) (response *DescribeNotebookLifecycleScriptsResponse, err error)
- func (c *Client) DescribeNotebookSummary(request *DescribeNotebookSummaryRequest) (response *DescribeNotebookSummaryResponse, err error)
- func (c *Client) DescribeTrainingJob(request *DescribeTrainingJobRequest) (response *DescribeTrainingJobResponse, err error)
- func (c *Client) DescribeTrainingJobs(request *DescribeTrainingJobsRequest) (response *DescribeTrainingJobsResponse, err error)
- func (c *Client) StartNotebookInstance(request *StartNotebookInstanceRequest) (response *StartNotebookInstanceResponse, err error)
- func (c *Client) StopNotebookInstance(request *StopNotebookInstanceRequest) (response *StopNotebookInstanceResponse, err error)
- func (c *Client) StopTrainingJob(request *StopTrainingJobRequest) (response *StopTrainingJobResponse, err error)
- func (c *Client) UpdateCodeRepository(request *UpdateCodeRepositoryRequest) (response *UpdateCodeRepositoryResponse, err error)
- func (c *Client) UpdateNotebookInstance(request *UpdateNotebookInstanceRequest) (response *UpdateNotebookInstanceResponse, err error)
- func (c *Client) UpdateNotebookLifecycleScript(request *UpdateNotebookLifecycleScriptRequest) (response *UpdateNotebookLifecycleScriptResponse, err error)
- type CodeRepoSummary
- type CosDataSource
- type CreateCodeRepositoryRequest
- type CreateCodeRepositoryResponse
- type CreateNotebookInstanceRequest
- type CreateNotebookInstanceResponse
- type CreateNotebookLifecycleScriptRequest
- type CreateNotebookLifecycleScriptResponse
- type CreatePresignedNotebookInstanceUrlRequest
- type CreatePresignedNotebookInstanceUrlResponse
- type CreateTrainingJobRequest
- type CreateTrainingJobResponse
- type DataSource
- type DeleteCodeRepositoryRequest
- type DeleteCodeRepositoryResponse
- type DeleteNotebookInstanceRequest
- type DeleteNotebookInstanceResponse
- type DeleteNotebookLifecycleScriptRequest
- type DeleteNotebookLifecycleScriptResponse
- type DescribeCodeRepositoriesRequest
- type DescribeCodeRepositoriesResponse
- type DescribeCodeRepositoryRequest
- type DescribeCodeRepositoryResponse
- type DescribeNotebookInstanceRequest
- type DescribeNotebookInstanceResponse
- type DescribeNotebookInstancesRequest
- type DescribeNotebookInstancesResponse
- type DescribeNotebookLifecycleScriptRequest
- type DescribeNotebookLifecycleScriptResponse
- type DescribeNotebookLifecycleScriptsRequest
- type DescribeNotebookLifecycleScriptsResponse
- type DescribeNotebookSummaryRequest
- type DescribeNotebookSummaryResponse
- type DescribeTrainingJobRequest
- type DescribeTrainingJobResponse
- type DescribeTrainingJobsRequest
- type DescribeTrainingJobsResponse
- type EnvConfig
- type FileSystemDataSource
- type Filter
- type GitConfig
- type GitSecret
- type InputDataConfig
- type ModelArtifacts
- type NotebookInstanceSummary
- type NotebookLifecycleScriptsSummary
- type OutputDataConfig
- type ResourceConfig
- type SecondaryStatusTransition
- type StartNotebookInstanceRequest
- type StartNotebookInstanceResponse
- type StopNotebookInstanceRequest
- type StopNotebookInstanceResponse
- type StopTrainingJobRequest
- type StopTrainingJobResponse
- type StoppingCondition
- type TrainingJobSummary
- type UpdateCodeRepositoryRequest
- type UpdateCodeRepositoryResponse
- type UpdateNotebookInstanceRequest
- type UpdateNotebookInstanceResponse
- type UpdateNotebookLifecycleScriptRequest
- type UpdateNotebookLifecycleScriptResponse
- type VpcConfig
Constants ¶
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,omitempty" name:"TrainingImageName"` // 输入模式File|Pipe // 注意:此字段可能返回 null,表示取不到有效值。 TrainingInputMode *string `json:"TrainingInputMode,omitempty" name:"TrainingInputMode"` // 算法名字 // 注意:此字段可能返回 null,表示取不到有效值。 AlgorithmName *string `json:"AlgorithmName,omitempty" name:"AlgorithmName"` }
type BillingLabel ¶
type BillingLabel struct { // 计费项标识 // 注意:此字段可能返回 null,表示取不到有效值。 Label *string `json:"Label,omitempty" name:"Label"` // 存储大小 VolumeSize *int64 `json:"VolumeSize,omitempty" name:"VolumeSize"` // 计费状态 // None: 不计费 // StorageOnly: 仅存储计费 // Computing: 计算和存储都计费 Status *string `json:"Status,omitempty" name:"Status"` }
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateCodeRepository ¶
func (c *Client) CreateCodeRepository(request *CreateCodeRepositoryRequest) (response *CreateCodeRepositoryResponse, err error)
创建存储库
func (*Client) CreateNotebookInstance ¶
func (c *Client) CreateNotebookInstance(request *CreateNotebookInstanceRequest) (response *CreateNotebookInstanceResponse, err error)
创建Notebook实例
func (*Client) CreateNotebookLifecycleScript ¶
func (c *Client) CreateNotebookLifecycleScript(request *CreateNotebookLifecycleScriptRequest) (response *CreateNotebookLifecycleScriptResponse, err error)
创建Notebook生命周期脚本
func (*Client) CreatePresignedNotebookInstanceUrl ¶
func (c *Client) CreatePresignedNotebookInstanceUrl(request *CreatePresignedNotebookInstanceUrlRequest) (response *CreatePresignedNotebookInstanceUrlResponse, err error)
创建Notebook授权Url
func (*Client) CreateTrainingJob ¶
func (c *Client) CreateTrainingJob(request *CreateTrainingJobRequest) (response *CreateTrainingJobResponse, err error)
创建训练任务
func (*Client) DeleteCodeRepository ¶
func (c *Client) DeleteCodeRepository(request *DeleteCodeRepositoryRequest) (response *DeleteCodeRepositoryResponse, err error)
删除存储库
func (*Client) DeleteNotebookInstance ¶
func (c *Client) DeleteNotebookInstance(request *DeleteNotebookInstanceRequest) (response *DeleteNotebookInstanceResponse, err error)
删除notebook实例
func (*Client) DeleteNotebookLifecycleScript ¶
func (c *Client) DeleteNotebookLifecycleScript(request *DeleteNotebookLifecycleScriptRequest) (response *DeleteNotebookLifecycleScriptResponse, err error)
删除Notebook生命周期脚本
func (*Client) DescribeCodeRepositories ¶
func (c *Client) DescribeCodeRepositories(request *DescribeCodeRepositoriesRequest) (response *DescribeCodeRepositoriesResponse, err error)
查询存储库列表
func (*Client) DescribeCodeRepository ¶
func (c *Client) DescribeCodeRepository(request *DescribeCodeRepositoryRequest) (response *DescribeCodeRepositoryResponse, err error)
查询存储库详情
func (*Client) DescribeNotebookInstance ¶
func (c *Client) DescribeNotebookInstance(request *DescribeNotebookInstanceRequest) (response *DescribeNotebookInstanceResponse, err error)
查询Notebook实例详情
func (*Client) DescribeNotebookInstances ¶
func (c *Client) DescribeNotebookInstances(request *DescribeNotebookInstancesRequest) (response *DescribeNotebookInstancesResponse, err error)
查询Notebook实例列表
func (*Client) DescribeNotebookLifecycleScript ¶
func (c *Client) DescribeNotebookLifecycleScript(request *DescribeNotebookLifecycleScriptRequest) (response *DescribeNotebookLifecycleScriptResponse, err error)
查看notebook生命周期脚本详情
func (*Client) DescribeNotebookLifecycleScripts ¶
func (c *Client) DescribeNotebookLifecycleScripts(request *DescribeNotebookLifecycleScriptsRequest) (response *DescribeNotebookLifecycleScriptsResponse, err error)
查看notebook生命周期脚本列表
func (*Client) DescribeNotebookSummary ¶
func (c *Client) DescribeNotebookSummary(request *DescribeNotebookSummaryRequest) (response *DescribeNotebookSummaryResponse, err error)
查询Notebook概览数据
func (*Client) DescribeTrainingJob ¶
func (c *Client) DescribeTrainingJob(request *DescribeTrainingJobRequest) (response *DescribeTrainingJobResponse, err error)
查询训练任务
func (*Client) DescribeTrainingJobs ¶
func (c *Client) DescribeTrainingJobs(request *DescribeTrainingJobsRequest) (response *DescribeTrainingJobsResponse, err error)
查询训练任务列表
func (*Client) StartNotebookInstance ¶
func (c *Client) StartNotebookInstance(request *StartNotebookInstanceRequest) (response *StartNotebookInstanceResponse, err error)
启动Notebook实例
func (*Client) StopNotebookInstance ¶
func (c *Client) StopNotebookInstance(request *StopNotebookInstanceRequest) (response *StopNotebookInstanceResponse, err error)
停止Notebook实例
func (*Client) StopTrainingJob ¶
func (c *Client) StopTrainingJob(request *StopTrainingJobRequest) (response *StopTrainingJobResponse, err error)
停止训练任务
func (*Client) UpdateCodeRepository ¶
func (c *Client) UpdateCodeRepository(request *UpdateCodeRepositoryRequest) (response *UpdateCodeRepositoryResponse, err error)
更新存储库
func (*Client) UpdateNotebookInstance ¶
func (c *Client) UpdateNotebookInstance(request *UpdateNotebookInstanceRequest) (response *UpdateNotebookInstanceResponse, err error)
更新Notebook实例
func (*Client) UpdateNotebookLifecycleScript ¶
func (c *Client) UpdateNotebookLifecycleScript(request *UpdateNotebookLifecycleScriptRequest) (response *UpdateNotebookLifecycleScriptResponse, err error)
更新notebook生命周期脚本
type CodeRepoSummary ¶
type CodeRepoSummary struct { // 创建时间 CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // 更新时间 LastModifiedTime *string `json:"LastModifiedTime,omitempty" name:"LastModifiedTime"` // 存储库名称 CodeRepositoryName *string `json:"CodeRepositoryName,omitempty" name:"CodeRepositoryName"` // Git配置 GitConfig *GitConfig `json:"GitConfig,omitempty" name:"GitConfig"` // 是否有Git凭证 NoSecret *bool `json:"NoSecret,omitempty" name:"NoSecret"` }
type CosDataSource ¶
type CosDataSource struct { // cos桶 // 注意:此字段可能返回 null,表示取不到有效值。 Bucket *string `json:"Bucket,omitempty" name:"Bucket"` // cos文件key // 注意:此字段可能返回 null,表示取不到有效值。 KeyPrefix *string `json:"KeyPrefix,omitempty" name:"KeyPrefix"` // 分布式数据下载方式 // 注意:此字段可能返回 null,表示取不到有效值。 DataDistributionType *string `json:"DataDistributionType,omitempty" name:"DataDistributionType"` // 数据类型 // 注意:此字段可能返回 null,表示取不到有效值。 DataType *string `json:"DataType,omitempty" name:"DataType"` }
type CreateCodeRepositoryRequest ¶
type CreateCodeRepositoryRequest struct { *tchttp.BaseRequest // 存储库名称 CodeRepositoryName *string `json:"CodeRepositoryName,omitempty" name:"CodeRepositoryName"` // Git相关配置 GitConfig *GitConfig `json:"GitConfig,omitempty" name:"GitConfig"` // Git凭证 GitSecret *GitSecret `json:"GitSecret,omitempty" name:"GitSecret"` }
func NewCreateCodeRepositoryRequest ¶
func NewCreateCodeRepositoryRequest() (request *CreateCodeRepositoryRequest)
func (*CreateCodeRepositoryRequest) FromJsonString ¶
func (r *CreateCodeRepositoryRequest) FromJsonString(s string) error
func (*CreateCodeRepositoryRequest) ToJsonString ¶
func (r *CreateCodeRepositoryRequest) ToJsonString() string
type CreateCodeRepositoryResponse ¶
type CreateCodeRepositoryResponse struct { *tchttp.BaseResponse Response *struct { // 存储库名称 CodeRepositoryName *string `json:"CodeRepositoryName,omitempty" name:"CodeRepositoryName"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateCodeRepositoryResponse ¶
func NewCreateCodeRepositoryResponse() (response *CreateCodeRepositoryResponse)
func (*CreateCodeRepositoryResponse) FromJsonString ¶
func (r *CreateCodeRepositoryResponse) FromJsonString(s string) error
func (*CreateCodeRepositoryResponse) ToJsonString ¶
func (r *CreateCodeRepositoryResponse) ToJsonString() string
type CreateNotebookInstanceRequest ¶
type CreateNotebookInstanceRequest struct { *tchttp.BaseRequest // Notebook实例名称,不能超过63个字符 // 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$” NotebookInstanceName *string `json:"NotebookInstanceName,omitempty" name:"NotebookInstanceName"` // Notebook算力类型 // 参考https://cloud.tencent.com/document/product/851/41239 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 数据卷大小(GB) // 用户持久化Notebook实例的数据 VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitempty" name:"VolumeSizeInGB"` // 外网访问权限,可取值Enabled/Disabled // 开启后,Notebook实例可以具有访问外网80,443端口的权限 DirectInternetAccess *string `json:"DirectInternetAccess,omitempty" name:"DirectInternetAccess"` // Root用户权限,可取值Enabled/Disabled // 开启后,Notebook实例可以切换至root用户执行命令 RootAccess *string `json:"RootAccess,omitempty" name:"RootAccess"` // 子网ID // 如果需要Notebook实例访问VPC内的资源,则需要选择对应的子网 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 生命周期脚本名称 // 必须是已存在的生命周期脚本,具体参考https://cloud.tencent.com/document/product/851/43140 LifecycleScriptsName *string `json:"LifecycleScriptsName,omitempty" name:"LifecycleScriptsName"` // 默认存储库名称 // 可以是已创建的存储库名称或者已https://开头的公共git库 // 参考https://cloud.tencent.com/document/product/851/43139 DefaultCodeRepository *string `json:"DefaultCodeRepository,omitempty" name:"DefaultCodeRepository"` // 其他存储库列表 // 每个元素可以是已创建的存储库名称或者已https://开头的公共git库 // 参考https://cloud.tencent.com/document/product/851/43139 AdditionalCodeRepositories []*string `json:"AdditionalCodeRepositories,omitempty" name:"AdditionalCodeRepositories" list` // 是否开启CLS日志服务,可取值Enabled/Disabled,默认为Disabled // 开启后,Notebook运行的日志会收集到CLS中,CLS会产生费用,请根据需要选择 ClsAccess *string `json:"ClsAccess,omitempty" name:"ClsAccess"` // 自动停止配置 // 选择定时停止Notebook实例 StoppingCondition *StoppingCondition `json:"StoppingCondition,omitempty" name:"StoppingCondition"` // 自动停止,可取值Enabled/Disabled // 取值为Disabled的时候StoppingCondition将被忽略 // 取值为Enabled的时候读取StoppingCondition作为自动停止的配置 AutoStopping *string `json:"AutoStopping,omitempty" name:"AutoStopping"` }
func NewCreateNotebookInstanceRequest ¶
func NewCreateNotebookInstanceRequest() (request *CreateNotebookInstanceRequest)
func (*CreateNotebookInstanceRequest) FromJsonString ¶
func (r *CreateNotebookInstanceRequest) FromJsonString(s string) error
func (*CreateNotebookInstanceRequest) ToJsonString ¶
func (r *CreateNotebookInstanceRequest) ToJsonString() string
type CreateNotebookInstanceResponse ¶
type CreateNotebookInstanceResponse struct { *tchttp.BaseResponse Response *struct { // Notebook实例名字 NotebookInstanceName *string `json:"NotebookInstanceName,omitempty" name:"NotebookInstanceName"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateNotebookInstanceResponse ¶
func NewCreateNotebookInstanceResponse() (response *CreateNotebookInstanceResponse)
func (*CreateNotebookInstanceResponse) FromJsonString ¶
func (r *CreateNotebookInstanceResponse) FromJsonString(s string) error
func (*CreateNotebookInstanceResponse) ToJsonString ¶
func (r *CreateNotebookInstanceResponse) ToJsonString() string
type CreateNotebookLifecycleScriptRequest ¶
type CreateNotebookLifecycleScriptRequest struct { *tchttp.BaseRequest // Notebook生命周期脚本名称 NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitempty" name:"NotebookLifecycleScriptsName"` // 创建脚本,base64编码 // base64后的脚本长度不能超过16384个字符 CreateScript *string `json:"CreateScript,omitempty" name:"CreateScript"` // 启动脚本,base64编码 // base64后的脚本长度不能超过16384个字符 StartScript *string `json:"StartScript,omitempty" name:"StartScript"` }
func NewCreateNotebookLifecycleScriptRequest ¶
func NewCreateNotebookLifecycleScriptRequest() (request *CreateNotebookLifecycleScriptRequest)
func (*CreateNotebookLifecycleScriptRequest) FromJsonString ¶
func (r *CreateNotebookLifecycleScriptRequest) FromJsonString(s string) error
func (*CreateNotebookLifecycleScriptRequest) ToJsonString ¶
func (r *CreateNotebookLifecycleScriptRequest) ToJsonString() string
type CreateNotebookLifecycleScriptResponse ¶
type CreateNotebookLifecycleScriptResponse struct { *tchttp.BaseResponse Response *struct { // 生命周期脚本名称 NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitempty" name:"NotebookLifecycleScriptsName"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateNotebookLifecycleScriptResponse ¶
func NewCreateNotebookLifecycleScriptResponse() (response *CreateNotebookLifecycleScriptResponse)
func (*CreateNotebookLifecycleScriptResponse) FromJsonString ¶
func (r *CreateNotebookLifecycleScriptResponse) FromJsonString(s string) error
func (*CreateNotebookLifecycleScriptResponse) ToJsonString ¶
func (r *CreateNotebookLifecycleScriptResponse) ToJsonString() string
type CreatePresignedNotebookInstanceUrlRequest ¶
type CreatePresignedNotebookInstanceUrlRequest struct { *tchttp.BaseRequest // Notebook实例名称 // 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$” NotebookInstanceName *string `json:"NotebookInstanceName,omitempty" name:"NotebookInstanceName"` // session有效时间,秒,取值范围[1800, 43200] SessionExpirationDurationInSeconds *int64 `json:"SessionExpirationDurationInSeconds,omitempty" name:"SessionExpirationDurationInSeconds"` }
func NewCreatePresignedNotebookInstanceUrlRequest ¶
func NewCreatePresignedNotebookInstanceUrlRequest() (request *CreatePresignedNotebookInstanceUrlRequest)
func (*CreatePresignedNotebookInstanceUrlRequest) FromJsonString ¶
func (r *CreatePresignedNotebookInstanceUrlRequest) FromJsonString(s string) error
func (*CreatePresignedNotebookInstanceUrlRequest) ToJsonString ¶
func (r *CreatePresignedNotebookInstanceUrlRequest) ToJsonString() string
type CreatePresignedNotebookInstanceUrlResponse ¶
type CreatePresignedNotebookInstanceUrlResponse struct { *tchttp.BaseResponse Response *struct { // 授权url AuthorizedUrl *string `json:"AuthorizedUrl,omitempty" name:"AuthorizedUrl"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreatePresignedNotebookInstanceUrlResponse ¶
func NewCreatePresignedNotebookInstanceUrlResponse() (response *CreatePresignedNotebookInstanceUrlResponse)
func (*CreatePresignedNotebookInstanceUrlResponse) FromJsonString ¶
func (r *CreatePresignedNotebookInstanceUrlResponse) FromJsonString(s string) error
func (*CreatePresignedNotebookInstanceUrlResponse) ToJsonString ¶
func (r *CreatePresignedNotebookInstanceUrlResponse) ToJsonString() string
type CreateTrainingJobRequest ¶
type CreateTrainingJobRequest struct { *tchttp.BaseRequest // 算法镜像配置 AlgorithmSpecification *AlgorithmSpecification `json:"AlgorithmSpecification,omitempty" name:"AlgorithmSpecification"` // 输入数据配置 InputDataConfig []*InputDataConfig `json:"InputDataConfig,omitempty" name:"InputDataConfig" list` // 输出数据配置 OutputDataConfig *OutputDataConfig `json:"OutputDataConfig,omitempty" name:"OutputDataConfig"` // 资源实例配置 ResourceConfig *ResourceConfig `json:"ResourceConfig,omitempty" name:"ResourceConfig"` // 训练任务名称 TrainingJobName *string `json:"TrainingJobName,omitempty" name:"TrainingJobName"` // 中止条件 StoppingCondition *StoppingCondition `json:"StoppingCondition,omitempty" name:"StoppingCondition"` // 私有网络配置 VpcConfig *VpcConfig `json:"VpcConfig,omitempty" name:"VpcConfig"` // 算法超级参数 HyperParameters *string `json:"HyperParameters,omitempty" name:"HyperParameters"` // 环境变量配置 EnvConfig []*EnvConfig `json:"EnvConfig,omitempty" name:"EnvConfig" list` // 角色名称 RoleName *string `json:"RoleName,omitempty" name:"RoleName"` }
func NewCreateTrainingJobRequest ¶
func NewCreateTrainingJobRequest() (request *CreateTrainingJobRequest)
func (*CreateTrainingJobRequest) FromJsonString ¶
func (r *CreateTrainingJobRequest) FromJsonString(s string) error
func (*CreateTrainingJobRequest) ToJsonString ¶
func (r *CreateTrainingJobRequest) ToJsonString() string
type CreateTrainingJobResponse ¶
type CreateTrainingJobResponse struct { *tchttp.BaseResponse Response *struct { // 训练任务名称 TrainingJobName *string `json:"TrainingJobName,omitempty" name:"TrainingJobName"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateTrainingJobResponse ¶
func NewCreateTrainingJobResponse() (response *CreateTrainingJobResponse)
func (*CreateTrainingJobResponse) FromJsonString ¶
func (r *CreateTrainingJobResponse) FromJsonString(s string) error
func (*CreateTrainingJobResponse) ToJsonString ¶
func (r *CreateTrainingJobResponse) ToJsonString() string
type DataSource ¶
type DataSource struct { // cos数据源 // 注意:此字段可能返回 null,表示取不到有效值。 CosDataSource *CosDataSource `json:"CosDataSource,omitempty" name:"CosDataSource"` // 文件系统输入源 // 注意:此字段可能返回 null,表示取不到有效值。 FileSystemDataSource *FileSystemDataSource `json:"FileSystemDataSource,omitempty" name:"FileSystemDataSource"` }
type DeleteCodeRepositoryRequest ¶
type DeleteCodeRepositoryRequest struct { *tchttp.BaseRequest // 存储库名称 CodeRepositoryName *string `json:"CodeRepositoryName,omitempty" name:"CodeRepositoryName"` }
func NewDeleteCodeRepositoryRequest ¶
func NewDeleteCodeRepositoryRequest() (request *DeleteCodeRepositoryRequest)
func (*DeleteCodeRepositoryRequest) FromJsonString ¶
func (r *DeleteCodeRepositoryRequest) FromJsonString(s string) error
func (*DeleteCodeRepositoryRequest) ToJsonString ¶
func (r *DeleteCodeRepositoryRequest) ToJsonString() string
type DeleteCodeRepositoryResponse ¶
type DeleteCodeRepositoryResponse struct { *tchttp.BaseResponse Response *struct { // 存储库名称 CodeRepositoryName *string `json:"CodeRepositoryName,omitempty" name:"CodeRepositoryName"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteCodeRepositoryResponse ¶
func NewDeleteCodeRepositoryResponse() (response *DeleteCodeRepositoryResponse)
func (*DeleteCodeRepositoryResponse) FromJsonString ¶
func (r *DeleteCodeRepositoryResponse) FromJsonString(s string) error
func (*DeleteCodeRepositoryResponse) ToJsonString ¶
func (r *DeleteCodeRepositoryResponse) ToJsonString() string
type DeleteNotebookInstanceRequest ¶
type DeleteNotebookInstanceRequest struct { *tchttp.BaseRequest // Notebook实例名称 NotebookInstanceName *string `json:"NotebookInstanceName,omitempty" name:"NotebookInstanceName"` }
func NewDeleteNotebookInstanceRequest ¶
func NewDeleteNotebookInstanceRequest() (request *DeleteNotebookInstanceRequest)
func (*DeleteNotebookInstanceRequest) FromJsonString ¶
func (r *DeleteNotebookInstanceRequest) FromJsonString(s string) error
func (*DeleteNotebookInstanceRequest) ToJsonString ¶
func (r *DeleteNotebookInstanceRequest) ToJsonString() string
type DeleteNotebookInstanceResponse ¶
type DeleteNotebookInstanceResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteNotebookInstanceResponse ¶
func NewDeleteNotebookInstanceResponse() (response *DeleteNotebookInstanceResponse)
func (*DeleteNotebookInstanceResponse) FromJsonString ¶
func (r *DeleteNotebookInstanceResponse) FromJsonString(s string) error
func (*DeleteNotebookInstanceResponse) ToJsonString ¶
func (r *DeleteNotebookInstanceResponse) ToJsonString() string
type DeleteNotebookLifecycleScriptRequest ¶
type DeleteNotebookLifecycleScriptRequest struct { *tchttp.BaseRequest // 生命周期脚本名称 NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitempty" name:"NotebookLifecycleScriptsName"` // 是否忽略已关联的 notebook 实例强行删除生命周期脚本,默认 false Forcible *bool `json:"Forcible,omitempty" name:"Forcible"` }
func NewDeleteNotebookLifecycleScriptRequest ¶
func NewDeleteNotebookLifecycleScriptRequest() (request *DeleteNotebookLifecycleScriptRequest)
func (*DeleteNotebookLifecycleScriptRequest) FromJsonString ¶
func (r *DeleteNotebookLifecycleScriptRequest) FromJsonString(s string) error
func (*DeleteNotebookLifecycleScriptRequest) ToJsonString ¶
func (r *DeleteNotebookLifecycleScriptRequest) ToJsonString() string
type DeleteNotebookLifecycleScriptResponse ¶
type DeleteNotebookLifecycleScriptResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeleteNotebookLifecycleScriptResponse ¶
func NewDeleteNotebookLifecycleScriptResponse() (response *DeleteNotebookLifecycleScriptResponse)
func (*DeleteNotebookLifecycleScriptResponse) FromJsonString ¶
func (r *DeleteNotebookLifecycleScriptResponse) FromJsonString(s string) error
func (*DeleteNotebookLifecycleScriptResponse) ToJsonString ¶
func (r *DeleteNotebookLifecycleScriptResponse) ToJsonString() string
type DescribeCodeRepositoriesRequest ¶
type DescribeCodeRepositoriesRequest struct { *tchttp.BaseRequest // 偏移量,默认为0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 过滤条件。 // instance-name - String - 是否必填:否 -(过滤条件)按照名称过滤。 // search-by-name - String - 是否必填:否 -(过滤条件)按照名称检索,模糊匹配。 Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 排序规则。默认取Descending // Descending 按更新时间降序 // Ascending 按更新时间升序 SortOrder *string `json:"SortOrder,omitempty" name:"SortOrder"` }
func NewDescribeCodeRepositoriesRequest ¶
func NewDescribeCodeRepositoriesRequest() (request *DescribeCodeRepositoriesRequest)
func (*DescribeCodeRepositoriesRequest) FromJsonString ¶
func (r *DescribeCodeRepositoriesRequest) FromJsonString(s string) error
func (*DescribeCodeRepositoriesRequest) ToJsonString ¶
func (r *DescribeCodeRepositoriesRequest) ToJsonString() string
type DescribeCodeRepositoriesResponse ¶
type DescribeCodeRepositoriesResponse struct { *tchttp.BaseResponse Response *struct { // 存储库总数目 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 存储库列表 // 注意:此字段可能返回 null,表示取不到有效值。 CodeRepoSet []*CodeRepoSummary `json:"CodeRepoSet,omitempty" name:"CodeRepoSet" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCodeRepositoriesResponse ¶
func NewDescribeCodeRepositoriesResponse() (response *DescribeCodeRepositoriesResponse)
func (*DescribeCodeRepositoriesResponse) FromJsonString ¶
func (r *DescribeCodeRepositoriesResponse) FromJsonString(s string) error
func (*DescribeCodeRepositoriesResponse) ToJsonString ¶
func (r *DescribeCodeRepositoriesResponse) ToJsonString() string
type DescribeCodeRepositoryRequest ¶
type DescribeCodeRepositoryRequest struct { *tchttp.BaseRequest // 存储库名称 CodeRepositoryName *string `json:"CodeRepositoryName,omitempty" name:"CodeRepositoryName"` }
func NewDescribeCodeRepositoryRequest ¶
func NewDescribeCodeRepositoryRequest() (request *DescribeCodeRepositoryRequest)
func (*DescribeCodeRepositoryRequest) FromJsonString ¶
func (r *DescribeCodeRepositoryRequest) FromJsonString(s string) error
func (*DescribeCodeRepositoryRequest) ToJsonString ¶
func (r *DescribeCodeRepositoryRequest) ToJsonString() string
type DescribeCodeRepositoryResponse ¶
type DescribeCodeRepositoryResponse struct { *tchttp.BaseResponse Response *struct { // 创建时间 CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // 更新时间 LastModifiedTime *string `json:"LastModifiedTime,omitempty" name:"LastModifiedTime"` // 存储库名称 CodeRepositoryName *string `json:"CodeRepositoryName,omitempty" name:"CodeRepositoryName"` // Git存储配置 GitConfig *GitConfig `json:"GitConfig,omitempty" name:"GitConfig"` // 是否有Git凭证 NoSecret *bool `json:"NoSecret,omitempty" name:"NoSecret"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeCodeRepositoryResponse ¶
func NewDescribeCodeRepositoryResponse() (response *DescribeCodeRepositoryResponse)
func (*DescribeCodeRepositoryResponse) FromJsonString ¶
func (r *DescribeCodeRepositoryResponse) FromJsonString(s string) error
func (*DescribeCodeRepositoryResponse) ToJsonString ¶
func (r *DescribeCodeRepositoryResponse) ToJsonString() string
type DescribeNotebookInstanceRequest ¶
type DescribeNotebookInstanceRequest struct { *tchttp.BaseRequest // Notebook实例名称 // 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$” NotebookInstanceName *string `json:"NotebookInstanceName,omitempty" name:"NotebookInstanceName"` }
func NewDescribeNotebookInstanceRequest ¶
func NewDescribeNotebookInstanceRequest() (request *DescribeNotebookInstanceRequest)
func (*DescribeNotebookInstanceRequest) FromJsonString ¶
func (r *DescribeNotebookInstanceRequest) FromJsonString(s string) error
func (*DescribeNotebookInstanceRequest) ToJsonString ¶
func (r *DescribeNotebookInstanceRequest) ToJsonString() string
type DescribeNotebookInstanceResponse ¶
type DescribeNotebookInstanceResponse struct { *tchttp.BaseResponse Response *struct { // Notebook实例名称 NotebookInstanceName *string `json:"NotebookInstanceName,omitempty" name:"NotebookInstanceName"` // Notebook算力资源类型 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 角色的资源描述 // 注意:此字段可能返回 null,表示取不到有效值。 RoleArn *string `json:"RoleArn,omitempty" name:"RoleArn"` // 外网访问权限 // 注意:此字段可能返回 null,表示取不到有效值。 DirectInternetAccess *string `json:"DirectInternetAccess,omitempty" name:"DirectInternetAccess"` // Root用户权限 // 注意:此字段可能返回 null,表示取不到有效值。 RootAccess *string `json:"RootAccess,omitempty" name:"RootAccess"` // 子网ID // 注意:此字段可能返回 null,表示取不到有效值。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 数据卷大小(GB) // 注意:此字段可能返回 null,表示取不到有效值。 VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitempty" name:"VolumeSizeInGB"` // 创建失败原因 // 注意:此字段可能返回 null,表示取不到有效值。 FailureReason *string `json:"FailureReason,omitempty" name:"FailureReason"` // Notebook实例创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // Notebook实例最近修改时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastModifiedTime *string `json:"LastModifiedTime,omitempty" name:"LastModifiedTime"` // Notebook实例日志链接 // 注意:此字段可能返回 null,表示取不到有效值。 LogUrl *string `json:"LogUrl,omitempty" name:"LogUrl"` // Notebook实例状态 // // Pending: 创建中 // Inservice: 运行中 // Stopping: 停止中 // Stopped: 已停止 // Failed: 失败 // 注意:此字段可能返回 null,表示取不到有效值。 NotebookInstanceStatus *string `json:"NotebookInstanceStatus,omitempty" name:"NotebookInstanceStatus"` // Notebook实例ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // notebook生命周期脚本名称 // 注意:此字段可能返回 null,表示取不到有效值。 LifecycleScriptsName *string `json:"LifecycleScriptsName,omitempty" name:"LifecycleScriptsName"` // 默认存储库名称 // 可以是已创建的存储库名称或者已https://开头的公共git库 // 注意:此字段可能返回 null,表示取不到有效值。 DefaultCodeRepository *string `json:"DefaultCodeRepository,omitempty" name:"DefaultCodeRepository"` // 其他存储库列表 // 每个元素可以是已创建的存储库名称或者已https://开头的公共git库 // 注意:此字段可能返回 null,表示取不到有效值。 AdditionalCodeRepositories []*string `json:"AdditionalCodeRepositories,omitempty" name:"AdditionalCodeRepositories" list` // 是否开启CLS日志服务 // 注意:此字段可能返回 null,表示取不到有效值。 ClsAccess *string `json:"ClsAccess,omitempty" name:"ClsAccess"` // 是否预付费实例 // 注意:此字段可能返回 null,表示取不到有效值。 Prepay *bool `json:"Prepay,omitempty" name:"Prepay"` // 实例运行截止时间 // 注意:此字段可能返回 null,表示取不到有效值。 Deadline *string `json:"Deadline,omitempty" name:"Deadline"` // 自动停止配置 // 注意:此字段可能返回 null,表示取不到有效值。 StoppingCondition *StoppingCondition `json:"StoppingCondition,omitempty" name:"StoppingCondition"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeNotebookInstanceResponse ¶
func NewDescribeNotebookInstanceResponse() (response *DescribeNotebookInstanceResponse)
func (*DescribeNotebookInstanceResponse) FromJsonString ¶
func (r *DescribeNotebookInstanceResponse) FromJsonString(s string) error
func (*DescribeNotebookInstanceResponse) ToJsonString ¶
func (r *DescribeNotebookInstanceResponse) ToJsonString() string
type DescribeNotebookInstancesRequest ¶
type DescribeNotebookInstancesRequest struct { *tchttp.BaseRequest // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 限制数目 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 排序规则。默认取Descending // Descending 按更新时间降序 // Ascending 按更新时间升序 SortOrder *string `json:"SortOrder,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,omitempty" name:"Filters" list` // 【废弃字段】排序字段 SortBy *string `json:"SortBy,omitempty" name:"SortBy"` }
func NewDescribeNotebookInstancesRequest ¶
func NewDescribeNotebookInstancesRequest() (request *DescribeNotebookInstancesRequest)
func (*DescribeNotebookInstancesRequest) FromJsonString ¶
func (r *DescribeNotebookInstancesRequest) FromJsonString(s string) error
func (*DescribeNotebookInstancesRequest) ToJsonString ¶
func (r *DescribeNotebookInstancesRequest) ToJsonString() string
type DescribeNotebookInstancesResponse ¶
type DescribeNotebookInstancesResponse struct { *tchttp.BaseResponse Response *struct { // Notebook实例列表 NotebookInstanceSet []*NotebookInstanceSummary `json:"NotebookInstanceSet,omitempty" name:"NotebookInstanceSet" list` // Notebook实例总数目 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeNotebookInstancesResponse ¶
func NewDescribeNotebookInstancesResponse() (response *DescribeNotebookInstancesResponse)
func (*DescribeNotebookInstancesResponse) FromJsonString ¶
func (r *DescribeNotebookInstancesResponse) FromJsonString(s string) error
func (*DescribeNotebookInstancesResponse) ToJsonString ¶
func (r *DescribeNotebookInstancesResponse) ToJsonString() string
type DescribeNotebookLifecycleScriptRequest ¶
type DescribeNotebookLifecycleScriptRequest struct { *tchttp.BaseRequest // 生命周期脚本名称 NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitempty" name:"NotebookLifecycleScriptsName"` }
func NewDescribeNotebookLifecycleScriptRequest ¶
func NewDescribeNotebookLifecycleScriptRequest() (request *DescribeNotebookLifecycleScriptRequest)
func (*DescribeNotebookLifecycleScriptRequest) FromJsonString ¶
func (r *DescribeNotebookLifecycleScriptRequest) FromJsonString(s string) error
func (*DescribeNotebookLifecycleScriptRequest) ToJsonString ¶
func (r *DescribeNotebookLifecycleScriptRequest) ToJsonString() string
type DescribeNotebookLifecycleScriptResponse ¶
type DescribeNotebookLifecycleScriptResponse struct { *tchttp.BaseResponse Response *struct { // 生命周期脚本名称 NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitempty" name:"NotebookLifecycleScriptsName"` // 创建脚本 // 注意:此字段可能返回 null,表示取不到有效值。 CreateScript *string `json:"CreateScript,omitempty" name:"CreateScript"` // 启动脚本 // 注意:此字段可能返回 null,表示取不到有效值。 StartScript *string `json:"StartScript,omitempty" name:"StartScript"` // 创建时间 CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // 最后修改时间 LastModifiedTime *string `json:"LastModifiedTime,omitempty" name:"LastModifiedTime"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeNotebookLifecycleScriptResponse ¶
func NewDescribeNotebookLifecycleScriptResponse() (response *DescribeNotebookLifecycleScriptResponse)
func (*DescribeNotebookLifecycleScriptResponse) FromJsonString ¶
func (r *DescribeNotebookLifecycleScriptResponse) FromJsonString(s string) error
func (*DescribeNotebookLifecycleScriptResponse) ToJsonString ¶
func (r *DescribeNotebookLifecycleScriptResponse) ToJsonString() string
type DescribeNotebookLifecycleScriptsRequest ¶
type DescribeNotebookLifecycleScriptsRequest struct { *tchttp.BaseRequest // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 返回数量,默认为20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 过滤条件。 // instance-name - String - 是否必填:否 -(过滤条件)按照名称过滤。 // search-by-name - String - 是否必填:否 -(过滤条件)按照名称检索,模糊匹配。 Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` // 排序规则。默认取Descending // Descending 按更新时间降序 // Ascending 按更新时间升序 SortOrder *string `json:"SortOrder,omitempty" name:"SortOrder"` }
func NewDescribeNotebookLifecycleScriptsRequest ¶
func NewDescribeNotebookLifecycleScriptsRequest() (request *DescribeNotebookLifecycleScriptsRequest)
func (*DescribeNotebookLifecycleScriptsRequest) FromJsonString ¶
func (r *DescribeNotebookLifecycleScriptsRequest) FromJsonString(s string) error
func (*DescribeNotebookLifecycleScriptsRequest) ToJsonString ¶
func (r *DescribeNotebookLifecycleScriptsRequest) ToJsonString() string
type DescribeNotebookLifecycleScriptsResponse ¶
type DescribeNotebookLifecycleScriptsResponse struct { *tchttp.BaseResponse Response *struct { // Notebook生命周期脚本列表 NotebookLifecycleScriptsSet []*NotebookLifecycleScriptsSummary `json:"NotebookLifecycleScriptsSet,omitempty" name:"NotebookLifecycleScriptsSet" list` // Notebook生命周期脚本总数量 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeNotebookLifecycleScriptsResponse ¶
func NewDescribeNotebookLifecycleScriptsResponse() (response *DescribeNotebookLifecycleScriptsResponse)
func (*DescribeNotebookLifecycleScriptsResponse) FromJsonString ¶
func (r *DescribeNotebookLifecycleScriptsResponse) FromJsonString(s string) error
func (*DescribeNotebookLifecycleScriptsResponse) ToJsonString ¶
func (r *DescribeNotebookLifecycleScriptsResponse) ToJsonString() string
type DescribeNotebookSummaryRequest ¶
type DescribeNotebookSummaryRequest struct {
*tchttp.BaseRequest
}
func NewDescribeNotebookSummaryRequest ¶
func NewDescribeNotebookSummaryRequest() (request *DescribeNotebookSummaryRequest)
func (*DescribeNotebookSummaryRequest) FromJsonString ¶
func (r *DescribeNotebookSummaryRequest) FromJsonString(s string) error
func (*DescribeNotebookSummaryRequest) ToJsonString ¶
func (r *DescribeNotebookSummaryRequest) ToJsonString() string
type DescribeNotebookSummaryResponse ¶
type DescribeNotebookSummaryResponse struct { *tchttp.BaseResponse Response *struct { // 实例总数 AllInstanceCnt *int64 `json:"AllInstanceCnt,omitempty" name:"AllInstanceCnt"` // 计费实例总数 BillingInstanceCnt *int64 `json:"BillingInstanceCnt,omitempty" name:"BillingInstanceCnt"` // 仅存储计费的实例总数 StorageOnlyBillingInstanceCnt *int64 `json:"StorageOnlyBillingInstanceCnt,omitempty" name:"StorageOnlyBillingInstanceCnt"` // 计算和存储都计费的实例总数 ComputingBillingInstanceCnt *int64 `json:"ComputingBillingInstanceCnt,omitempty" name:"ComputingBillingInstanceCnt"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeNotebookSummaryResponse ¶
func NewDescribeNotebookSummaryResponse() (response *DescribeNotebookSummaryResponse)
func (*DescribeNotebookSummaryResponse) FromJsonString ¶
func (r *DescribeNotebookSummaryResponse) FromJsonString(s string) error
func (*DescribeNotebookSummaryResponse) ToJsonString ¶
func (r *DescribeNotebookSummaryResponse) ToJsonString() string
type DescribeTrainingJobRequest ¶
type DescribeTrainingJobRequest struct { *tchttp.BaseRequest // 训练任务名称 TrainingJobName *string `json:"TrainingJobName,omitempty" name:"TrainingJobName"` }
func NewDescribeTrainingJobRequest ¶
func NewDescribeTrainingJobRequest() (request *DescribeTrainingJobRequest)
func (*DescribeTrainingJobRequest) FromJsonString ¶
func (r *DescribeTrainingJobRequest) FromJsonString(s string) error
func (*DescribeTrainingJobRequest) ToJsonString ¶
func (r *DescribeTrainingJobRequest) ToJsonString() string
type DescribeTrainingJobResponse ¶
type DescribeTrainingJobResponse struct { *tchttp.BaseResponse Response *struct { // 算法镜像配置 AlgorithmSpecification *AlgorithmSpecification `json:"AlgorithmSpecification,omitempty" name:"AlgorithmSpecification"` // 任务名称 TrainingJobName *string `json:"TrainingJobName,omitempty" name:"TrainingJobName"` // 算法超级参数 // 注意:此字段可能返回 null,表示取不到有效值。 HyperParameters *string `json:"HyperParameters,omitempty" name:"HyperParameters"` // 输入数据配置 InputDataConfig []*InputDataConfig `json:"InputDataConfig,omitempty" name:"InputDataConfig" list` // 输出数据配置 OutputDataConfig *OutputDataConfig `json:"OutputDataConfig,omitempty" name:"OutputDataConfig"` // 中止条件 // 注意:此字段可能返回 null,表示取不到有效值。 StoppingCondition *StoppingCondition `json:"StoppingCondition,omitempty" name:"StoppingCondition"` // 计算实例配置 ResourceConfig *ResourceConfig `json:"ResourceConfig,omitempty" name:"ResourceConfig"` // 私有网络配置 // 注意:此字段可能返回 null,表示取不到有效值。 VpcConfig *VpcConfig `json:"VpcConfig,omitempty" name:"VpcConfig"` // 失败原因 // 注意:此字段可能返回 null,表示取不到有效值。 FailureReason *string `json:"FailureReason,omitempty" name:"FailureReason"` // 最近修改时间 LastModifiedTime *string `json:"LastModifiedTime,omitempty" name:"LastModifiedTime"` // 任务开始时间 // 注意:此字段可能返回 null,表示取不到有效值。 TrainingStartTime *string `json:"TrainingStartTime,omitempty" name:"TrainingStartTime"` // 任务完成时间 // 注意:此字段可能返回 null,表示取不到有效值。 TrainingEndTime *string `json:"TrainingEndTime,omitempty" name:"TrainingEndTime"` // 模型输出配置 // 注意:此字段可能返回 null,表示取不到有效值。 ModelArtifacts *ModelArtifacts `json:"ModelArtifacts,omitempty" name:"ModelArtifacts"` // 详细状态,取值范围 // Starting:启动中 // Downloading: 准备训练数据 // Training: 正在训练 // Uploading: 上传训练结果 // Completed:已完成 // Failed: 失败 // MaxRuntimeExceeded: 任务超过最大运行时间 // Stopping: 停止中 // Stopped:已停止 SecondaryStatus *string `json:"SecondaryStatus,omitempty" name:"SecondaryStatus"` // 详细状态事件记录 // 注意:此字段可能返回 null,表示取不到有效值。 SecondaryStatusTransitions []*SecondaryStatusTransition `json:"SecondaryStatusTransitions,omitempty" name:"SecondaryStatusTransitions" list` // 角色名称 // 注意:此字段可能返回 null,表示取不到有效值。 RoleName *string `json:"RoleName,omitempty" name:"RoleName"` // 训练任务状态,取值范围 // InProgress:运行中 // Completed: 已完成 // Failed: 失败 // Stopping: 停止中 // Stopped:已停止 TrainingJobStatus *string `json:"TrainingJobStatus,omitempty" name:"TrainingJobStatus"` // 训练任务日志链接 // 注意:此字段可能返回 null,表示取不到有效值。 LogUrl *string `json:"LogUrl,omitempty" name:"LogUrl"` // 训练任务实例ID InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTrainingJobResponse ¶
func NewDescribeTrainingJobResponse() (response *DescribeTrainingJobResponse)
func (*DescribeTrainingJobResponse) FromJsonString ¶
func (r *DescribeTrainingJobResponse) FromJsonString(s string) error
func (*DescribeTrainingJobResponse) ToJsonString ¶
func (r *DescribeTrainingJobResponse) ToJsonString() string
type DescribeTrainingJobsRequest ¶
type DescribeTrainingJobsRequest struct { *tchttp.BaseRequest // 偏移量 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 限制数目 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 创建时间晚于 CreationTimeAfter *string `json:"CreationTimeAfter,omitempty" name:"CreationTimeAfter"` // 创建时间早于 CreationTimeBefore *string `json:"CreationTimeBefore,omitempty" name:"CreationTimeBefore"` // 根据名称过滤 NameContains *string `json:"NameContains,omitempty" name:"NameContains"` // 根据状态过滤 StatusEquals *string `json:"StatusEquals,omitempty" name:"StatusEquals"` // 过滤条件。 // instance-name - String - 是否必填:否 -(过滤条件)按照名称过滤。 // search-by-name - String - 是否必填:否 -(过滤条件)按照名称检索,模糊匹配。 Filters []*Filter `json:"Filters,omitempty" name:"Filters" list` }
func NewDescribeTrainingJobsRequest ¶
func NewDescribeTrainingJobsRequest() (request *DescribeTrainingJobsRequest)
func (*DescribeTrainingJobsRequest) FromJsonString ¶
func (r *DescribeTrainingJobsRequest) FromJsonString(s string) error
func (*DescribeTrainingJobsRequest) ToJsonString ¶
func (r *DescribeTrainingJobsRequest) ToJsonString() string
type DescribeTrainingJobsResponse ¶
type DescribeTrainingJobsResponse struct { *tchttp.BaseResponse Response *struct { // 训练任务列表 TrainingJobSet []*TrainingJobSummary `json:"TrainingJobSet,omitempty" name:"TrainingJobSet" list` // 训练任务总数目 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDescribeTrainingJobsResponse ¶
func NewDescribeTrainingJobsResponse() (response *DescribeTrainingJobsResponse)
func (*DescribeTrainingJobsResponse) FromJsonString ¶
func (r *DescribeTrainingJobsResponse) FromJsonString(s string) error
func (*DescribeTrainingJobsResponse) ToJsonString ¶
func (r *DescribeTrainingJobsResponse) ToJsonString() string
type FileSystemDataSource ¶
type FileSystemDataSource struct { // 文件系统目录 // 注意:此字段可能返回 null,表示取不到有效值。 DirectoryPath *string `json:"DirectoryPath,omitempty" name:"DirectoryPath"` // 文件系统类型 // 注意:此字段可能返回 null,表示取不到有效值。 FileSystemType *string `json:"FileSystemType,omitempty" name:"FileSystemType"` // 文件系统访问模式 // 注意:此字段可能返回 null,表示取不到有效值。 FileSystemAccessMode *string `json:"FileSystemAccessMode,omitempty" name:"FileSystemAccessMode"` // 文件系统ID // 注意:此字段可能返回 null,表示取不到有效值。 FileSystemId *string `json:"FileSystemId,omitempty" name:"FileSystemId"` }
type InputDataConfig ¶
type InputDataConfig struct { // 通道名 // 注意:此字段可能返回 null,表示取不到有效值。 ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // 数据源配置 // 注意:此字段可能返回 null,表示取不到有效值。 DataSource *DataSource `json:"DataSource,omitempty" name:"DataSource"` // 输入类型 // 注意:此字段可能返回 null,表示取不到有效值。 InputMode *string `json:"InputMode,omitempty" name:"InputMode"` // 文件类型 // 注意:此字段可能返回 null,表示取不到有效值。 ContentType *string `json:"ContentType,omitempty" name:"ContentType"` }
type ModelArtifacts ¶
type ModelArtifacts struct { // cos输出路径 // 注意:此字段可能返回 null,表示取不到有效值。 CosModelArtifacts *string `json:"CosModelArtifacts,omitempty" name:"CosModelArtifacts"` }
type NotebookInstanceSummary ¶
type NotebookInstanceSummary struct { // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // 最近修改时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastModifiedTime *string `json:"LastModifiedTime,omitempty" name:"LastModifiedTime"` // notebook实例名字 // 注意:此字段可能返回 null,表示取不到有效值。 NotebookInstanceName *string `json:"NotebookInstanceName,omitempty" name:"NotebookInstanceName"` // notebook实例状态,取值范围: // Pending: 创建中 // Inservice: 运行中 // Stopping: 停止中 // Stopped: 已停止 // Failed: 失败 // 注意:此字段可能返回 null,表示取不到有效值。 NotebookInstanceStatus *string `json:"NotebookInstanceStatus,omitempty" name:"NotebookInstanceStatus"` // 算力类型 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 实例ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 启动时间 // 注意:此字段可能返回 null,表示取不到有效值。 StartupTime *string `json:"StartupTime,omitempty" name:"StartupTime"` // 运行截止时间 // 注意:此字段可能返回 null,表示取不到有效值。 Deadline *string `json:"Deadline,omitempty" name:"Deadline"` // 自动停止配置 // 注意:此字段可能返回 null,表示取不到有效值。 StoppingCondition *StoppingCondition `json:"StoppingCondition,omitempty" name:"StoppingCondition"` // 是否是预付费实例 // 注意:此字段可能返回 null,表示取不到有效值。 Prepay *bool `json:"Prepay,omitempty" name:"Prepay"` // 计费标识 // 注意:此字段可能返回 null,表示取不到有效值。 BillingLabel *BillingLabel `json:"BillingLabel,omitempty" name:"BillingLabel"` // 运行时长,秒 // 注意:此字段可能返回 null,表示取不到有效值。 RuntimeInSeconds *int64 `json:"RuntimeInSeconds,omitempty" name:"RuntimeInSeconds"` // 剩余时长,秒 // 注意:此字段可能返回 null,表示取不到有效值。 RemainTimeInSeconds *int64 `json:"RemainTimeInSeconds,omitempty" name:"RemainTimeInSeconds"` }
type NotebookLifecycleScriptsSummary ¶
type NotebookLifecycleScriptsSummary struct { // notebook生命周期脚本名称 NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitempty" name:"NotebookLifecycleScriptsName"` // 创建时间 CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // 修改时间 LastModifiedTime *string `json:"LastModifiedTime,omitempty" name:"LastModifiedTime"` }
type OutputDataConfig ¶
type ResourceConfig ¶
type ResourceConfig struct { // 计算实例数量 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceCount *uint64 `json:"InstanceCount,omitempty" name:"InstanceCount"` // 计算实例类型 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 挂载CBS大小(GB) // 注意:此字段可能返回 null,表示取不到有效值。 VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitempty" name:"VolumeSizeInGB"` }
type SecondaryStatusTransition ¶
type SecondaryStatusTransition struct { // 状态开始时间 // 注意:此字段可能返回 null,表示取不到有效值。 StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // 状态结束时间 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // 状态名 // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitempty" name:"Status"` // 状态详情 // 注意:此字段可能返回 null,表示取不到有效值。 StatusMessage *string `json:"StatusMessage,omitempty" name:"StatusMessage"` }
type StartNotebookInstanceRequest ¶
type StartNotebookInstanceRequest struct { *tchttp.BaseRequest // Notebook实例名称 NotebookInstanceName *string `json:"NotebookInstanceName,omitempty" name:"NotebookInstanceName"` // 自动停止,可取值Enabled/Disabled // 取值为Disabled的时候StoppingCondition将被忽略 // 取值为Enabled的时候读取StoppingCondition作为自动停止的配置 AutoStopping *string `json:"AutoStopping,omitempty" name:"AutoStopping"` // 自动停止配置,只在AutoStopping为Enabled的时候生效 StoppingCondition *StoppingCondition `json:"StoppingCondition,omitempty" name:"StoppingCondition"` }
func NewStartNotebookInstanceRequest ¶
func NewStartNotebookInstanceRequest() (request *StartNotebookInstanceRequest)
func (*StartNotebookInstanceRequest) FromJsonString ¶
func (r *StartNotebookInstanceRequest) FromJsonString(s string) error
func (*StartNotebookInstanceRequest) ToJsonString ¶
func (r *StartNotebookInstanceRequest) ToJsonString() string
type StartNotebookInstanceResponse ¶
type StartNotebookInstanceResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewStartNotebookInstanceResponse ¶
func NewStartNotebookInstanceResponse() (response *StartNotebookInstanceResponse)
func (*StartNotebookInstanceResponse) FromJsonString ¶
func (r *StartNotebookInstanceResponse) FromJsonString(s string) error
func (*StartNotebookInstanceResponse) ToJsonString ¶
func (r *StartNotebookInstanceResponse) ToJsonString() string
type StopNotebookInstanceRequest ¶
type StopNotebookInstanceRequest struct { *tchttp.BaseRequest // Notebook实例名称 NotebookInstanceName *string `json:"NotebookInstanceName,omitempty" name:"NotebookInstanceName"` }
func NewStopNotebookInstanceRequest ¶
func NewStopNotebookInstanceRequest() (request *StopNotebookInstanceRequest)
func (*StopNotebookInstanceRequest) FromJsonString ¶
func (r *StopNotebookInstanceRequest) FromJsonString(s string) error
func (*StopNotebookInstanceRequest) ToJsonString ¶
func (r *StopNotebookInstanceRequest) ToJsonString() string
type StopNotebookInstanceResponse ¶
type StopNotebookInstanceResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewStopNotebookInstanceResponse ¶
func NewStopNotebookInstanceResponse() (response *StopNotebookInstanceResponse)
func (*StopNotebookInstanceResponse) FromJsonString ¶
func (r *StopNotebookInstanceResponse) FromJsonString(s string) error
func (*StopNotebookInstanceResponse) ToJsonString ¶
func (r *StopNotebookInstanceResponse) ToJsonString() string
type StopTrainingJobRequest ¶
type StopTrainingJobRequest struct { *tchttp.BaseRequest // 训练任务名称 TrainingJobName *string `json:"TrainingJobName,omitempty" name:"TrainingJobName"` }
func NewStopTrainingJobRequest ¶
func NewStopTrainingJobRequest() (request *StopTrainingJobRequest)
func (*StopTrainingJobRequest) FromJsonString ¶
func (r *StopTrainingJobRequest) FromJsonString(s string) error
func (*StopTrainingJobRequest) ToJsonString ¶
func (r *StopTrainingJobRequest) ToJsonString() string
type StopTrainingJobResponse ¶
type StopTrainingJobResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewStopTrainingJobResponse ¶
func NewStopTrainingJobResponse() (response *StopTrainingJobResponse)
func (*StopTrainingJobResponse) FromJsonString ¶
func (r *StopTrainingJobResponse) FromJsonString(s string) error
func (*StopTrainingJobResponse) ToJsonString ¶
func (r *StopTrainingJobResponse) ToJsonString() string
type StoppingCondition ¶
type StoppingCondition struct { // 最长运行运行时间(秒) // 注意:此字段可能返回 null,表示取不到有效值。 MaxRuntimeInSeconds *uint64 `json:"MaxRuntimeInSeconds,omitempty" name:"MaxRuntimeInSeconds"` }
type TrainingJobSummary ¶
type TrainingJobSummary struct { // 任务创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreationTime *string `json:"CreationTime,omitempty" name:"CreationTime"` // 最近修改时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastModifiedTime *string `json:"LastModifiedTime,omitempty" name:"LastModifiedTime"` // 训练任务名 // 注意:此字段可能返回 null,表示取不到有效值。 TrainingJobName *string `json:"TrainingJobName,omitempty" name:"TrainingJobName"` // 训练任务状态,取值范围 // InProgress:运行中 // Completed: 已完成 // Failed: 失败 // Stopping: 停止中 // Stopped:已停止 // 注意:此字段可能返回 null,表示取不到有效值。 TrainingJobStatus *string `json:"TrainingJobStatus,omitempty" name:"TrainingJobStatus"` // 完成时间 // 注意:此字段可能返回 null,表示取不到有效值。 TrainingEndTime *string `json:"TrainingEndTime,omitempty" name:"TrainingEndTime"` // 算了实例Id // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 资源配置 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceConfig *ResourceConfig `json:"ResourceConfig,omitempty" name:"ResourceConfig"` }
type UpdateCodeRepositoryRequest ¶
type UpdateCodeRepositoryRequest struct { *tchttp.BaseRequest // 查询存储库名称 CodeRepositoryName *string `json:"CodeRepositoryName,omitempty" name:"CodeRepositoryName"` // Git凭证 GitSecret *GitSecret `json:"GitSecret,omitempty" name:"GitSecret"` }
func NewUpdateCodeRepositoryRequest ¶
func NewUpdateCodeRepositoryRequest() (request *UpdateCodeRepositoryRequest)
func (*UpdateCodeRepositoryRequest) FromJsonString ¶
func (r *UpdateCodeRepositoryRequest) FromJsonString(s string) error
func (*UpdateCodeRepositoryRequest) ToJsonString ¶
func (r *UpdateCodeRepositoryRequest) ToJsonString() string
type UpdateCodeRepositoryResponse ¶
type UpdateCodeRepositoryResponse struct { *tchttp.BaseResponse Response *struct { // 存储库名称 CodeRepositoryName *string `json:"CodeRepositoryName,omitempty" name:"CodeRepositoryName"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateCodeRepositoryResponse ¶
func NewUpdateCodeRepositoryResponse() (response *UpdateCodeRepositoryResponse)
func (*UpdateCodeRepositoryResponse) FromJsonString ¶
func (r *UpdateCodeRepositoryResponse) FromJsonString(s string) error
func (*UpdateCodeRepositoryResponse) ToJsonString ¶
func (r *UpdateCodeRepositoryResponse) ToJsonString() string
type UpdateNotebookInstanceRequest ¶
type UpdateNotebookInstanceRequest struct { *tchttp.BaseRequest // Notebook实例名称 // 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$” NotebookInstanceName *string `json:"NotebookInstanceName,omitempty" name:"NotebookInstanceName"` // 角色的资源描述 RoleArn *string `json:"RoleArn,omitempty" name:"RoleArn"` // Root访问权限 RootAccess *string `json:"RootAccess,omitempty" name:"RootAccess"` // 数据卷大小(GB) VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitempty" name:"VolumeSizeInGB"` // 算力资源类型 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // notebook生命周期脚本名称 LifecycleScriptsName *string `json:"LifecycleScriptsName,omitempty" name:"LifecycleScriptsName"` // 是否解绑生命周期脚本,默认 false。 // 该值为true时,LifecycleScriptsName将被忽略 DisassociateLifecycleScript *bool `json:"DisassociateLifecycleScript,omitempty" name:"DisassociateLifecycleScript"` // 默认存储库名称 // 可以是已创建的存储库名称或者已https://开头的公共git库 DefaultCodeRepository *string `json:"DefaultCodeRepository,omitempty" name:"DefaultCodeRepository"` // 其他存储库列表 // 每个元素可以是已创建的存储库名称或者已https://开头的公共git库 AdditionalCodeRepositories []*string `json:"AdditionalCodeRepositories,omitempty" name:"AdditionalCodeRepositories" list` // 是否取消关联默认存储库,默认false // 该值为true时,DefaultCodeRepository将被忽略 DisassociateDefaultCodeRepository *bool `json:"DisassociateDefaultCodeRepository,omitempty" name:"DisassociateDefaultCodeRepository"` // 是否取消关联其他存储库,默认false // 该值为true时,AdditionalCodeRepositories将被忽略 DisassociateAdditionalCodeRepositories *bool `json:"DisassociateAdditionalCodeRepositories,omitempty" name:"DisassociateAdditionalCodeRepositories"` // 是否开启CLS日志服务,可取值Enabled/Disabled ClsAccess *string `json:"ClsAccess,omitempty" name:"ClsAccess"` // 自动停止,可取值Enabled/Disabled // 取值为Disabled的时候StoppingCondition将被忽略 // 取值为Enabled的时候读取StoppingCondition作为自动停止的配置 AutoStopping *string `json:"AutoStopping,omitempty" name:"AutoStopping"` // 自动停止配置,只在AutoStopping为Enabled的时候生效 StoppingCondition *StoppingCondition `json:"StoppingCondition,omitempty" name:"StoppingCondition"` }
func NewUpdateNotebookInstanceRequest ¶
func NewUpdateNotebookInstanceRequest() (request *UpdateNotebookInstanceRequest)
func (*UpdateNotebookInstanceRequest) FromJsonString ¶
func (r *UpdateNotebookInstanceRequest) FromJsonString(s string) error
func (*UpdateNotebookInstanceRequest) ToJsonString ¶
func (r *UpdateNotebookInstanceRequest) ToJsonString() string
type UpdateNotebookInstanceResponse ¶
type UpdateNotebookInstanceResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateNotebookInstanceResponse ¶
func NewUpdateNotebookInstanceResponse() (response *UpdateNotebookInstanceResponse)
func (*UpdateNotebookInstanceResponse) FromJsonString ¶
func (r *UpdateNotebookInstanceResponse) FromJsonString(s string) error
func (*UpdateNotebookInstanceResponse) ToJsonString ¶
func (r *UpdateNotebookInstanceResponse) ToJsonString() string
type UpdateNotebookLifecycleScriptRequest ¶
type UpdateNotebookLifecycleScriptRequest struct { *tchttp.BaseRequest // notebook生命周期脚本名称 NotebookLifecycleScriptsName *string `json:"NotebookLifecycleScriptsName,omitempty" name:"NotebookLifecycleScriptsName"` // 创建脚本,base64编码 // base64后的脚本长度不能超过16384个字符 CreateScript *string `json:"CreateScript,omitempty" name:"CreateScript"` // 启动脚本,base64编码 // base64后的脚本长度不能超过16384个字符 StartScript *string `json:"StartScript,omitempty" name:"StartScript"` }
func NewUpdateNotebookLifecycleScriptRequest ¶
func NewUpdateNotebookLifecycleScriptRequest() (request *UpdateNotebookLifecycleScriptRequest)
func (*UpdateNotebookLifecycleScriptRequest) FromJsonString ¶
func (r *UpdateNotebookLifecycleScriptRequest) FromJsonString(s string) error
func (*UpdateNotebookLifecycleScriptRequest) ToJsonString ¶
func (r *UpdateNotebookLifecycleScriptRequest) ToJsonString() string
type UpdateNotebookLifecycleScriptResponse ¶
type UpdateNotebookLifecycleScriptResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewUpdateNotebookLifecycleScriptResponse ¶
func NewUpdateNotebookLifecycleScriptResponse() (response *UpdateNotebookLifecycleScriptResponse)
func (*UpdateNotebookLifecycleScriptResponse) FromJsonString ¶
func (r *UpdateNotebookLifecycleScriptResponse) FromJsonString(s string) error
func (*UpdateNotebookLifecycleScriptResponse) ToJsonString ¶
func (r *UpdateNotebookLifecycleScriptResponse) ToJsonString() string
Click to show internal directories.
Click to hide internal directories.