Documentation
¶
Index ¶
- Constants
- type AlgorithmSpecification
- type Client
- func (c *Client) CreateNotebookInstance(request *CreateNotebookInstanceRequest) (response *CreateNotebookInstanceResponse, 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) DeleteNotebookInstance(request *DeleteNotebookInstanceRequest) (response *DeleteNotebookInstanceResponse, 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) DescribeTrainingJob(request *DescribeTrainingJobRequest) (response *DescribeTrainingJobResponse, 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) UpdateNotebookInstance(request *UpdateNotebookInstanceRequest) (response *UpdateNotebookInstanceResponse, err error)
- type CosDataSource
- type CreateNotebookInstanceRequest
- type CreateNotebookInstanceResponse
- type CreatePresignedNotebookInstanceUrlRequest
- type CreatePresignedNotebookInstanceUrlResponse
- type CreateTrainingJobRequest
- type CreateTrainingJobResponse
- type DataSource
- type DeleteNotebookInstanceRequest
- type DeleteNotebookInstanceResponse
- type DescribeNotebookInstanceRequest
- type DescribeNotebookInstanceResponse
- type DescribeNotebookInstancesRequest
- type DescribeNotebookInstancesResponse
- type DescribeTrainingJobRequest
- type DescribeTrainingJobResponse
- type EnvConfig
- type FileSystemDataSource
- type InputDataConfig
- type ModelArtifacts
- type NotebookInstanceSummary
- type OutputDataConfig
- type ResourceConfig
- type SecondaryStatusTransition
- type StartNotebookInstanceRequest
- type StartNotebookInstanceResponse
- type StopNotebookInstanceRequest
- type StopNotebookInstanceResponse
- type StopTrainingJobRequest
- type StopTrainingJobResponse
- type StoppingCondition
- type Tag
- type UpdateNotebookInstanceRequest
- type UpdateNotebookInstanceResponse
- 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 Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CreateNotebookInstance ¶
func (c *Client) CreateNotebookInstance(request *CreateNotebookInstanceRequest) (response *CreateNotebookInstanceResponse, 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) DeleteNotebookInstance ¶
func (c *Client) DeleteNotebookInstance(request *DeleteNotebookInstanceRequest) (response *DeleteNotebookInstanceResponse, err error)
删除notebook实例
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) DescribeTrainingJob ¶
func (c *Client) DescribeTrainingJob(request *DescribeTrainingJobRequest) (response *DescribeTrainingJobResponse, 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) UpdateNotebookInstance ¶
func (c *Client) UpdateNotebookInstance(request *UpdateNotebookInstanceRequest) (response *UpdateNotebookInstanceResponse, err error)
更新Notebook实例
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 CreateNotebookInstanceRequest ¶
type CreateNotebookInstanceRequest struct { *tchttp.BaseRequest // Notebook实例名称 NotebookInstanceName *string `json:"NotebookInstanceName,omitempty" name:"NotebookInstanceName"` // Notebook算力类型 InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"` // 角色的资源描述 RoleArn *string `json:"RoleArn,omitempty" name:"RoleArn"` // 外网访问权限,可取值Enabled/Disabled DirectInternetAccess *string `json:"DirectInternetAccess,omitempty" name:"DirectInternetAccess"` // Root用户权限,可取值Enabled/Disabled RootAccess *string `json:"RootAccess,omitempty" name:"RootAccess"` // 安全组ID SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds" list` // 子网ID SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 数据卷大小(GB) VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitempty" name:"VolumeSizeInGB"` // Notebook标签 Tags []*Tag `json:"Tags,omitempty" name:"Tags" list` }
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实例名字 // 注意:此字段可能返回 null,表示取不到有效值。 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 CreatePresignedNotebookInstanceUrlRequest ¶
type CreatePresignedNotebookInstanceUrlRequest struct { *tchttp.BaseRequest // Notebook实例名称 NotebookInstanceName *string `json:"NotebookInstanceName,omitempty" name:"NotebookInstanceName"` // session有效时间,秒 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 // 训练任务名称 TrainingJobName *string `json:"TrainingJobName,omitempty" name:"TrainingJobName"` // 算法镜像配置 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"` // 中止条件 StoppingCondition *StoppingCondition `json:"StoppingCondition,omitempty" name:"StoppingCondition"` // 私有网络配置 VpcConfig *VpcConfig `json:"VpcConfig,omitempty" name:"VpcConfig"` // 算法超级参数 HyperParameters *string `json:"HyperParameters,omitempty" name:"HyperParameters"` // 角色名称 RoleName *string `json:"RoleName,omitempty" name:"RoleName"` // 环境变量配置 EnvConfig []*EnvConfig `json:"EnvConfig,omitempty" name:"EnvConfig" list` }
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 { // 训练任务名称 // 注意:此字段可能返回 null,表示取不到有效值。 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 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 DescribeNotebookInstanceRequest ¶
type DescribeNotebookInstanceRequest struct { *tchttp.BaseRequest // Notebook实例名称 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,表示取不到有效值。 SecurityGroupIds []*string `json:"SecurityGroupIds,omitempty" name:"SecurityGroupIds" list` // 子网ID // 注意:此字段可能返回 null,表示取不到有效值。 SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"` // 数据卷大小(GB) // 注意:此字段可能返回 null,表示取不到有效值。 VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitempty" name:"VolumeSizeInGB"` // Notebook实例链接 // 注意:此字段可能返回 null,表示取不到有效值。 Url *string `json:"Url,omitempty" name:"Url"` // 创建失败原因 // 注意:此字段可能返回 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实例网卡ID // 注意:此字段可能返回 null,表示取不到有效值。 NetworkInterfaceId *string `json:"NetworkInterfaceId,omitempty" name:"NetworkInterfaceId"` // Notebook实例日志链接 // 注意:此字段可能返回 null,表示取不到有效值。 LogUrl *string `json:"LogUrl,omitempty" name:"LogUrl"` // Notebook实例状态 // 注意:此字段可能返回 null,表示取不到有效值。 NotebookInstanceStatus *string `json:"NotebookInstanceStatus,omitempty" name:"NotebookInstanceStatus"` // Notebook实例ID // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"` // 唯一请求 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"` // 排序字段 SortBy *string `json:"SortBy,omitempty" name:"SortBy"` // 排序方式 SortOrder *string `json:"SortOrder,omitempty" name:"SortOrder"` // 创建时间晚于 CreationTimeAfter *string `json:"CreationTimeAfter,omitempty" name:"CreationTimeAfter"` // 创建时间早于 CreationTimeBefore *string `json:"CreationTimeBefore,omitempty" name:"CreationTimeBefore"` // 最近修改时间晚于 LastModifiedTimeAfter *string `json:"LastModifiedTimeAfter,omitempty" name:"LastModifiedTimeAfter"` // 最近修改时间早于 LastModifiedTimeBefore *string `json:"LastModifiedTimeBefore,omitempty" name:"LastModifiedTimeBefore"` // 根据名称过滤 NameContains *string `json:"NameContains,omitempty" name:"NameContains"` // 根据状态过滤 StatusEquals *string `json:"StatusEquals,omitempty" name:"StatusEquals"` // 最大返回个数 MaxResults *uint64 `json:"MaxResults,omitempty" name:"MaxResults"` }
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 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 { // 算法镜像配置 // 注意:此字段可能返回 null,表示取不到有效值。 AlgorithmSpecification *AlgorithmSpecification `json:"AlgorithmSpecification,omitempty" name:"AlgorithmSpecification"` // 任务名称 // 注意:此字段可能返回 null,表示取不到有效值。 TrainingJobName *string `json:"TrainingJobName,omitempty" name:"TrainingJobName"` // 算法超级参数 // 注意:此字段可能返回 null,表示取不到有效值。 HyperParameters *string `json:"HyperParameters,omitempty" name:"HyperParameters"` // 输入数据配置 // 注意:此字段可能返回 null,表示取不到有效值。 InputDataConfig []*InputDataConfig `json:"InputDataConfig,omitempty" name:"InputDataConfig" list` // 输出数据配置 // 注意:此字段可能返回 null,表示取不到有效值。 OutputDataConfig *OutputDataConfig `json:"OutputDataConfig,omitempty" name:"OutputDataConfig"` // 中止条件 // 注意:此字段可能返回 null,表示取不到有效值。 StoppingCondition *StoppingCondition `json:"StoppingCondition,omitempty" name:"StoppingCondition"` // 计算实例配置 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceConfig *ResourceConfig `json:"ResourceConfig,omitempty" name:"ResourceConfig"` // 私有网络配置 // 注意:此字段可能返回 null,表示取不到有效值。 VpcConfig *VpcConfig `json:"VpcConfig,omitempty" name:"VpcConfig"` // 失败原因 // 注意:此字段可能返回 null,表示取不到有效值。 FailureReason *string `json:"FailureReason,omitempty" name:"FailureReason"` // 最近修改时间 // 注意:此字段可能返回 null,表示取不到有效值。 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"` // 详细状态 // 注意:此字段可能返回 null,表示取不到有效值。 SecondaryStatus *string `json:"SecondaryStatus,omitempty" name:"SecondaryStatus"` // 详细状态事件记录 // 注意:此字段可能返回 null,表示取不到有效值。 SecondaryStatusTransitions []*SecondaryStatusTransition `json:"SecondaryStatusTransitions,omitempty" name:"SecondaryStatusTransitions" list` // 角色名称 // 注意:此字段可能返回 null,表示取不到有效值。 RoleName *string `json:"RoleName,omitempty" name:"RoleName"` // 任务状态 // 注意:此字段可能返回 null,表示取不到有效值。 TrainingJobStatus *string `json:"TrainingJobStatus,omitempty" name:"TrainingJobStatus"` // 唯一请求 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 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实例状态 // 注意:此字段可能返回 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"` }
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"` }
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 UpdateNotebookInstanceRequest ¶
type UpdateNotebookInstanceRequest struct { *tchttp.BaseRequest // Notebook实例名称 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"` }
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
Click to show internal directories.
Click to hide internal directories.