Documentation
¶
Index ¶
- Constants
- type AlgorithmSpecification
- 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) 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) 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 DescribeTrainingJobRequest
- type DescribeTrainingJobResponse
- 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 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 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) 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) 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实例名称
NotebookInstanceName *string `json:"NotebookInstanceName,omitempty" name:"NotebookInstanceName"`
// Notebook算力类型
InstanceType *string `json:"InstanceType,omitempty" name:"InstanceType"`
// 数据卷大小(GB)
VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitempty" name:"VolumeSizeInGB"`
// 外网访问权限,可取值Enabled/Disabled
DirectInternetAccess *string `json:"DirectInternetAccess,omitempty" name:"DirectInternetAccess"`
// Root用户权限,可取值Enabled/Disabled
RootAccess *string `json:"RootAccess,omitempty" name:"RootAccess"`
// 子网ID
SubnetId *string `json:"SubnetId,omitempty" name:"SubnetId"`
// 生命周期脚本名称
LifecycleScriptsName *string `json:"LifecycleScriptsName,omitempty" name:"LifecycleScriptsName"`
// 默认存储库名称
// 可以是已创建的存储库名称或者已https://开头的公共git库
DefaultCodeRepository *string `json:"DefaultCodeRepository,omitempty" name:"DefaultCodeRepository"`
// 其他存储库列表
// 每个元素可以是已创建的存储库名称或者已https://开头的公共git库
AdditionalCodeRepositories []*string `json:"AdditionalCodeRepositories,omitempty" name:"AdditionalCodeRepositories" 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实例名字
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编码格式
CreateScript *string `json:"CreateScript,omitempty" name:"CreateScript"`
// 启动脚本,base64编码格式
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实例名称
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
// 算法镜像配置
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实例名称
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实例状态
// 注意:此字段可能返回 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`
// 唯一请求 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 - 是否必填:否 -(过滤条件)按照其他存储库名称过滤。
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 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"`
// 详细状态
SecondaryStatus *string `json:"SecondaryStatus,omitempty" name:"SecondaryStatus"`
// 详细状态事件记录
// 注意:此字段可能返回 null,表示取不到有效值。
SecondaryStatusTransitions []*SecondaryStatusTransition `json:"SecondaryStatusTransitions,omitempty" name:"SecondaryStatusTransitions" list`
// 角色名称
// 注意:此字段可能返回 null,表示取不到有效值。
RoleName *string `json:"RoleName,omitempty" name:"RoleName"`
// 任务状态
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 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"`
}
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 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实例名称
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 则解绑;
// 如果本来有绑定脚本,此参数为 false,则需要额外填入 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"`
}
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"`
// 创建脚本
CreateScript *string `json:"CreateScript,omitempty" name:"CreateScript"`
// 启动脚本
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.