Documentation ¶
Index ¶
- Constants
- type CBSConfig
- type CFSConfig
- type CFSTurbo
- type ChatCompletionRequest
- type ChatCompletionRequestParams
- type ChatCompletionResponse
- type ChatCompletionResponseParams
- type Choice
- type Client
- func (c *Client) ChatCompletion(request *ChatCompletionRequest) (response *ChatCompletionResponse, err error)
- func (c *Client) ChatCompletionWithContext(ctx context.Context, request *ChatCompletionRequest) (response *ChatCompletionResponse, err error)
- func (c *Client) CreateDataset(request *CreateDatasetRequest) (response *CreateDatasetResponse, err error)
- func (c *Client) CreateDatasetWithContext(ctx context.Context, request *CreateDatasetRequest) (response *CreateDatasetResponse, err error)
- func (c *Client) CreateModelService(request *CreateModelServiceRequest) (response *CreateModelServiceResponse, err error)
- func (c *Client) CreateModelServiceWithContext(ctx context.Context, request *CreateModelServiceRequest) (response *CreateModelServiceResponse, err error)
- func (c *Client) CreateNotebook(request *CreateNotebookRequest) (response *CreateNotebookResponse, err error)
- func (c *Client) CreateNotebookWithContext(ctx context.Context, request *CreateNotebookRequest) (response *CreateNotebookResponse, err error)
- func (c *Client) CreatePresignedNotebookUrl(request *CreatePresignedNotebookUrlRequest) (response *CreatePresignedNotebookUrlResponse, err error)
- func (c *Client) CreatePresignedNotebookUrlWithContext(ctx context.Context, request *CreatePresignedNotebookUrlRequest) (response *CreatePresignedNotebookUrlResponse, err error)
- func (c *Client) CreateTrainingModel(request *CreateTrainingModelRequest) (response *CreateTrainingModelResponse, err error)
- func (c *Client) CreateTrainingModelWithContext(ctx context.Context, request *CreateTrainingModelRequest) (response *CreateTrainingModelResponse, err error)
- func (c *Client) DeleteDataset(request *DeleteDatasetRequest) (response *DeleteDatasetResponse, err error)
- func (c *Client) DeleteDatasetWithContext(ctx context.Context, request *DeleteDatasetRequest) (response *DeleteDatasetResponse, err error)
- func (c *Client) DeleteModelService(request *DeleteModelServiceRequest) (response *DeleteModelServiceResponse, err error)
- func (c *Client) DeleteModelServiceGroup(request *DeleteModelServiceGroupRequest) (response *DeleteModelServiceGroupResponse, err error)
- func (c *Client) DeleteModelServiceGroupWithContext(ctx context.Context, request *DeleteModelServiceGroupRequest) (response *DeleteModelServiceGroupResponse, err error)
- func (c *Client) DeleteModelServiceWithContext(ctx context.Context, request *DeleteModelServiceRequest) (response *DeleteModelServiceResponse, err error)
- func (c *Client) DeleteNotebook(request *DeleteNotebookRequest) (response *DeleteNotebookResponse, err error)
- func (c *Client) DeleteNotebookWithContext(ctx context.Context, request *DeleteNotebookRequest) (response *DeleteNotebookResponse, err error)
- func (c *Client) DeleteTrainingModel(request *DeleteTrainingModelRequest) (response *DeleteTrainingModelResponse, err error)
- func (c *Client) DeleteTrainingModelVersion(request *DeleteTrainingModelVersionRequest) (response *DeleteTrainingModelVersionResponse, err error)
- func (c *Client) DeleteTrainingModelVersionWithContext(ctx context.Context, request *DeleteTrainingModelVersionRequest) (response *DeleteTrainingModelVersionResponse, err error)
- func (c *Client) DeleteTrainingModelWithContext(ctx context.Context, request *DeleteTrainingModelRequest) (response *DeleteTrainingModelResponse, err error)
- func (c *Client) DescribeBillingResourceGroup(request *DescribeBillingResourceGroupRequest) (response *DescribeBillingResourceGroupResponse, err error)
- func (c *Client) DescribeBillingResourceGroupWithContext(ctx context.Context, request *DescribeBillingResourceGroupRequest) (response *DescribeBillingResourceGroupResponse, err error)
- func (c *Client) DescribeBillingResourceGroups(request *DescribeBillingResourceGroupsRequest) (response *DescribeBillingResourceGroupsResponse, err error)
- func (c *Client) DescribeBillingResourceGroupsWithContext(ctx context.Context, request *DescribeBillingResourceGroupsRequest) (response *DescribeBillingResourceGroupsResponse, err error)
- func (c *Client) DescribeBillingResourceInstanceRunningJobs(request *DescribeBillingResourceInstanceRunningJobsRequest) (response *DescribeBillingResourceInstanceRunningJobsResponse, err error)
- func (c *Client) DescribeBillingResourceInstanceRunningJobsWithContext(ctx context.Context, ...) (response *DescribeBillingResourceInstanceRunningJobsResponse, err error)
- func (c *Client) DescribeBuildInImages(request *DescribeBuildInImagesRequest) (response *DescribeBuildInImagesResponse, err error)
- func (c *Client) DescribeBuildInImagesWithContext(ctx context.Context, request *DescribeBuildInImagesRequest) (response *DescribeBuildInImagesResponse, err error)
- func (c *Client) DescribeDatasets(request *DescribeDatasetsRequest) (response *DescribeDatasetsResponse, err error)
- func (c *Client) DescribeDatasetsWithContext(ctx context.Context, request *DescribeDatasetsRequest) (response *DescribeDatasetsResponse, err error)
- func (c *Client) DescribeInferTemplates(request *DescribeInferTemplatesRequest) (response *DescribeInferTemplatesResponse, err error)
- func (c *Client) DescribeInferTemplatesWithContext(ctx context.Context, request *DescribeInferTemplatesRequest) (response *DescribeInferTemplatesResponse, err error)
- func (c *Client) DescribeModelAccelerateTask(request *DescribeModelAccelerateTaskRequest) (response *DescribeModelAccelerateTaskResponse, err error)
- func (c *Client) DescribeModelAccelerateTaskWithContext(ctx context.Context, request *DescribeModelAccelerateTaskRequest) (response *DescribeModelAccelerateTaskResponse, err error)
- func (c *Client) DescribeModelAccelerateVersions(request *DescribeModelAccelerateVersionsRequest) (response *DescribeModelAccelerateVersionsResponse, err error)
- func (c *Client) DescribeModelAccelerateVersionsWithContext(ctx context.Context, request *DescribeModelAccelerateVersionsRequest) (response *DescribeModelAccelerateVersionsResponse, err error)
- func (c *Client) DescribeModelService(request *DescribeModelServiceRequest) (response *DescribeModelServiceResponse, err error)
- func (c *Client) DescribeModelServiceCallInfo(request *DescribeModelServiceCallInfoRequest) (response *DescribeModelServiceCallInfoResponse, err error)
- func (c *Client) DescribeModelServiceCallInfoWithContext(ctx context.Context, request *DescribeModelServiceCallInfoRequest) (response *DescribeModelServiceCallInfoResponse, err error)
- func (c *Client) DescribeModelServiceGroup(request *DescribeModelServiceGroupRequest) (response *DescribeModelServiceGroupResponse, err error)
- func (c *Client) DescribeModelServiceGroupWithContext(ctx context.Context, request *DescribeModelServiceGroupRequest) (response *DescribeModelServiceGroupResponse, err error)
- func (c *Client) DescribeModelServiceGroups(request *DescribeModelServiceGroupsRequest) (response *DescribeModelServiceGroupsResponse, err error)
- func (c *Client) DescribeModelServiceGroupsWithContext(ctx context.Context, request *DescribeModelServiceGroupsRequest) (response *DescribeModelServiceGroupsResponse, err error)
- func (c *Client) DescribeModelServiceHotUpdated(request *DescribeModelServiceHotUpdatedRequest) (response *DescribeModelServiceHotUpdatedResponse, err error)
- func (c *Client) DescribeModelServiceHotUpdatedWithContext(ctx context.Context, request *DescribeModelServiceHotUpdatedRequest) (response *DescribeModelServiceHotUpdatedResponse, err error)
- func (c *Client) DescribeModelServiceWithContext(ctx context.Context, request *DescribeModelServiceRequest) (response *DescribeModelServiceResponse, err error)
- func (c *Client) DescribeNotebook(request *DescribeNotebookRequest) (response *DescribeNotebookResponse, err error)
- func (c *Client) DescribeNotebookWithContext(ctx context.Context, request *DescribeNotebookRequest) (response *DescribeNotebookResponse, err error)
- func (c *Client) DescribeNotebooks(request *DescribeNotebooksRequest) (response *DescribeNotebooksResponse, err error)
- func (c *Client) DescribeNotebooksWithContext(ctx context.Context, request *DescribeNotebooksRequest) (response *DescribeNotebooksResponse, err error)
- func (c *Client) DescribeTrainingModelVersion(request *DescribeTrainingModelVersionRequest) (response *DescribeTrainingModelVersionResponse, err error)
- func (c *Client) DescribeTrainingModelVersionWithContext(ctx context.Context, request *DescribeTrainingModelVersionRequest) (response *DescribeTrainingModelVersionResponse, err error)
- func (c *Client) DescribeTrainingModelVersions(request *DescribeTrainingModelVersionsRequest) (response *DescribeTrainingModelVersionsResponse, err error)
- func (c *Client) DescribeTrainingModelVersionsWithContext(ctx context.Context, request *DescribeTrainingModelVersionsRequest) (response *DescribeTrainingModelVersionsResponse, err error)
- func (c *Client) DescribeTrainingTask(request *DescribeTrainingTaskRequest) (response *DescribeTrainingTaskResponse, err error)
- func (c *Client) DescribeTrainingTaskPods(request *DescribeTrainingTaskPodsRequest) (response *DescribeTrainingTaskPodsResponse, err error)
- func (c *Client) DescribeTrainingTaskPodsWithContext(ctx context.Context, request *DescribeTrainingTaskPodsRequest) (response *DescribeTrainingTaskPodsResponse, err error)
- func (c *Client) DescribeTrainingTaskWithContext(ctx context.Context, request *DescribeTrainingTaskRequest) (response *DescribeTrainingTaskResponse, err error)
- func (c *Client) DescribeTrainingTasks(request *DescribeTrainingTasksRequest) (response *DescribeTrainingTasksResponse, err error)
- func (c *Client) DescribeTrainingTasksWithContext(ctx context.Context, request *DescribeTrainingTasksRequest) (response *DescribeTrainingTasksResponse, err error)
- func (c *Client) ModifyModelService(request *ModifyModelServiceRequest) (response *ModifyModelServiceResponse, err error)
- func (c *Client) ModifyModelServiceWithContext(ctx context.Context, request *ModifyModelServiceRequest) (response *ModifyModelServiceResponse, err error)
- func (c *Client) PushTrainingMetrics(request *PushTrainingMetricsRequest) (response *PushTrainingMetricsResponse, err error)
- func (c *Client) PushTrainingMetricsWithContext(ctx context.Context, request *PushTrainingMetricsRequest) (response *PushTrainingMetricsResponse, err error)
- func (c *Client) SendChatMessage(request *SendChatMessageRequest) (response *SendChatMessageResponse, err error)
- func (c *Client) SendChatMessageWithContext(ctx context.Context, request *SendChatMessageRequest) (response *SendChatMessageResponse, err error)
- func (c *Client) StartNotebook(request *StartNotebookRequest) (response *StartNotebookResponse, err error)
- func (c *Client) StartNotebookWithContext(ctx context.Context, request *StartNotebookRequest) (response *StartNotebookResponse, err error)
- func (c *Client) StopModelAccelerateTask(request *StopModelAccelerateTaskRequest) (response *StopModelAccelerateTaskResponse, err error)
- func (c *Client) StopModelAccelerateTaskWithContext(ctx context.Context, request *StopModelAccelerateTaskRequest) (response *StopModelAccelerateTaskResponse, err error)
- func (c *Client) StopNotebook(request *StopNotebookRequest) (response *StopNotebookResponse, err error)
- func (c *Client) StopNotebookWithContext(ctx context.Context, request *StopNotebookRequest) (response *StopNotebookResponse, err error)
- type Container
- type ContainerStatus
- type CosPathInfo
- type CreateDatasetRequest
- type CreateDatasetRequestParams
- type CreateDatasetResponse
- type CreateDatasetResponseParams
- type CreateModelServiceRequest
- type CreateModelServiceRequestParams
- type CreateModelServiceResponse
- type CreateModelServiceResponseParams
- type CreateNotebookRequest
- type CreateNotebookRequestParams
- type CreateNotebookResponse
- type CreateNotebookResponseParams
- type CreatePresignedNotebookUrlRequest
- type CreatePresignedNotebookUrlRequestParams
- type CreatePresignedNotebookUrlResponse
- type CreatePresignedNotebookUrlResponseParams
- type CreateTrainingModelRequest
- type CreateTrainingModelRequestParams
- type CreateTrainingModelResponse
- type CreateTrainingModelResponseParams
- type CronScaleJob
- type CrossTenantENIInfo
- type DataConfig
- type DataPoint
- type DataSetConfig
- type DatasetGroup
- type DatasetInfo
- type DefaultInnerCallInfo
- type DefaultNginxGatewayCallInfo
- type DeleteDatasetRequest
- type DeleteDatasetRequestParams
- type DeleteDatasetResponse
- type DeleteDatasetResponseParams
- type DeleteModelServiceGroupRequest
- type DeleteModelServiceGroupRequestParams
- type DeleteModelServiceGroupResponse
- type DeleteModelServiceGroupResponseParams
- type DeleteModelServiceRequest
- type DeleteModelServiceRequestParams
- type DeleteModelServiceResponse
- type DeleteModelServiceResponseParams
- type DeleteNotebookRequest
- type DeleteNotebookRequestParams
- type DeleteNotebookResponse
- type DeleteNotebookResponseParams
- type DeleteTrainingModelRequest
- type DeleteTrainingModelRequestParams
- type DeleteTrainingModelResponse
- type DeleteTrainingModelResponseParams
- type DeleteTrainingModelVersionRequest
- type DeleteTrainingModelVersionRequestParams
- type DeleteTrainingModelVersionResponse
- type DeleteTrainingModelVersionResponseParams
- type DescribeBillingResourceGroupRequest
- type DescribeBillingResourceGroupRequestParams
- type DescribeBillingResourceGroupResponse
- type DescribeBillingResourceGroupResponseParams
- type DescribeBillingResourceGroupsRequest
- type DescribeBillingResourceGroupsRequestParams
- type DescribeBillingResourceGroupsResponse
- type DescribeBillingResourceGroupsResponseParams
- type DescribeBillingResourceInstanceRunningJobsRequest
- type DescribeBillingResourceInstanceRunningJobsRequestParams
- type DescribeBillingResourceInstanceRunningJobsResponse
- type DescribeBillingResourceInstanceRunningJobsResponseParams
- type DescribeBuildInImagesRequest
- type DescribeBuildInImagesRequestParams
- type DescribeBuildInImagesResponse
- type DescribeBuildInImagesResponseParams
- type DescribeDatasetsRequest
- type DescribeDatasetsRequestParams
- type DescribeDatasetsResponse
- type DescribeDatasetsResponseParams
- type DescribeInferTemplatesRequest
- type DescribeInferTemplatesRequestParams
- type DescribeInferTemplatesResponse
- type DescribeInferTemplatesResponseParams
- type DescribeModelAccelerateTaskRequest
- type DescribeModelAccelerateTaskRequestParams
- type DescribeModelAccelerateTaskResponse
- type DescribeModelAccelerateTaskResponseParams
- type DescribeModelAccelerateVersionsRequest
- type DescribeModelAccelerateVersionsRequestParams
- type DescribeModelAccelerateVersionsResponse
- type DescribeModelAccelerateVersionsResponseParams
- type DescribeModelServiceCallInfoRequest
- type DescribeModelServiceCallInfoRequestParams
- type DescribeModelServiceCallInfoResponse
- type DescribeModelServiceCallInfoResponseParams
- type DescribeModelServiceGroupRequest
- type DescribeModelServiceGroupRequestParams
- type DescribeModelServiceGroupResponse
- type DescribeModelServiceGroupResponseParams
- type DescribeModelServiceGroupsRequest
- type DescribeModelServiceGroupsRequestParams
- type DescribeModelServiceGroupsResponse
- type DescribeModelServiceGroupsResponseParams
- type DescribeModelServiceHotUpdatedRequest
- type DescribeModelServiceHotUpdatedRequestParams
- type DescribeModelServiceHotUpdatedResponse
- type DescribeModelServiceHotUpdatedResponseParams
- type DescribeModelServiceRequest
- type DescribeModelServiceRequestParams
- type DescribeModelServiceResponse
- type DescribeModelServiceResponseParams
- type DescribeNotebookRequest
- type DescribeNotebookRequestParams
- type DescribeNotebookResponse
- type DescribeNotebookResponseParams
- type DescribeNotebooksRequest
- type DescribeNotebooksRequestParams
- type DescribeNotebooksResponse
- type DescribeNotebooksResponseParams
- type DescribeTrainingModelVersionRequest
- type DescribeTrainingModelVersionRequestParams
- type DescribeTrainingModelVersionResponse
- type DescribeTrainingModelVersionResponseParams
- type DescribeTrainingModelVersionsRequest
- type DescribeTrainingModelVersionsRequestParams
- type DescribeTrainingModelVersionsResponse
- type DescribeTrainingModelVersionsResponseParams
- type DescribeTrainingTaskPodsRequest
- type DescribeTrainingTaskPodsRequestParams
- type DescribeTrainingTaskPodsResponse
- type DescribeTrainingTaskPodsResponseParams
- type DescribeTrainingTaskRequest
- type DescribeTrainingTaskRequestParams
- type DescribeTrainingTaskResponse
- type DescribeTrainingTaskResponseParams
- type DescribeTrainingTasksRequest
- type DescribeTrainingTasksRequestParams
- type DescribeTrainingTasksResponse
- type DescribeTrainingTasksResponseParams
- type EnvVar
- type Filter
- type GooseFS
- type GpuDetail
- type GroupResource
- type HDFSConfig
- type HorizontalPodAutoscaler
- type HyperParameter
- type ImageFIlter
- type ImageInfo
- type ImageSecret
- type InferCodeInfo
- type InferGatewayCallInfo
- type InferTemplate
- type InferTemplateGroup
- type IngressPrivateLinkInfo
- type Instance
- type IntranetCallInfo
- type LocalDisk
- type LogConfig
- type Message
- type MetricData
- type ModelAccelerateTask
- type ModelAccelerateVersion
- type ModelInfo
- type ModelInputInfo
- type ModelSource
- type ModifyModelServiceRequest
- type ModifyModelServiceRequestParams
- type ModifyModelServiceResponse
- type ModifyModelServiceResponseParams
- type NotebookDetail
- type NotebookSetItem
- type Option
- type Pod
- type PodInfo
- type PrivateLinkInfo
- type PushTrainingMetricsRequest
- type PushTrainingMetricsRequestParams
- type PushTrainingMetricsResponse
- type PushTrainingMetricsResponseParams
- type RDMAConfig
- type ResourceConf
- type ResourceConfigInfo
- type ResourceGroup
- type ResourceInfo
- type ResourceInstanceRunningJobInfo
- type SSHConfig
- type ScheduledAction
- type SchemaInfo
- type SendChatMessageRequest
- type SendChatMessageRequestParams
- type SendChatMessageResponse
- type SendChatMessageResponseParams
- type Service
- type ServiceCallInfo
- type ServiceCallInfoV2
- type ServiceEIP
- type ServiceEIPInfo
- type ServiceGroup
- type ServiceInfo
- type ServiceLimit
- type StartCmdInfo
- type StartNotebookRequest
- type StartNotebookRequestParams
- type StartNotebookResponse
- type StartNotebookResponseParams
- type StatefulSetCondition
- type StopModelAccelerateTaskRequest
- type StopModelAccelerateTaskRequestParams
- type StopModelAccelerateTaskResponse
- type StopModelAccelerateTaskResponseParams
- type StopNotebookRequest
- type StopNotebookRequestParams
- type StopNotebookResponse
- type StopNotebookResponseParams
- type TJCallInfo
- type Tag
- type TagFilter
- type TrainingModelVersionDTO
- type TrainingTaskDetail
- type TrainingTaskSetItem
- type Usage
- type VolumeMount
- type WorkloadStatus
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // CAM系统异常。 AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" // 没有权限。 AUTHFAILURE_NOPERMISSION = "AuthFailure.NoPermission" // 未授权操作。 AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // 操作失败。 FAILEDOPERATION = "FailedOperation" // API网关访问失败,请重试。 FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" // 计费模块访问失败。 FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" // 绑定标签失败。 FAILEDOPERATION_BINDINGTAGSFAILED = "FailedOperation.BindingTagsFailed" // CAM内部错误。 FAILEDOPERATION_CAMFAILURE = "FailedOperation.CAMFailure" // 调用集群失败。 FAILEDOPERATION_CALLCLUSTERFAIL = "FailedOperation.CallClusterFail" // 查询计费白名单失败 FAILEDOPERATION_CHECKBILLINGWHITELISTFAILED = "FailedOperation.CheckBillingWhiteListFailed" // 尚未开通CLS日志服务,请开前往开通。 FAILEDOPERATION_CLSSERVICENOTACTIVED = "FailedOperation.ClsServiceNotActived" // 集群访问失败。 FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" // cos client 内部错误。 FAILEDOPERATION_DCCOSCLIENTERR = "FailedOperation.DCCosClientErr" // 创建内部异步任务失败。 FAILEDOPERATION_DCCREATEASYNCTASKERROR = "FailedOperation.DCCreateAsyncTaskError" // 创建cos client 失败。 FAILEDOPERATION_DCCREATEUSERCOSCLIENTERR = "FailedOperation.DCCreateUserCosClientErr" // 数据标注 rpc 内部错误。 FAILEDOPERATION_DCDATAANNOTATIONRPCERR = "FailedOperation.DCDataAnnotationRpcErr" // 数据仓库 rpc 内部错误。 FAILEDOPERATION_DCDATAREPORPCERR = "FailedOperation.DCDatarepoRpcErr" // 数据集操作超过上限。 FAILEDOPERATION_DCDATASETEXCEEDLIMIT = "FailedOperation.DCDatasetExceedLimit" // 数据集状态未恢复。 FAILEDOPERATION_DCDATASETSTATUSNOTREADY = "FailedOperation.DCDatasetStatusNotReady" // 获取用户临时秘钥失败。 FAILEDOPERATION_DCGETUSERTEMPORARYSECRETERR = "FailedOperation.DCGetUserTemporarySecretErr" // 数据序列化错误。 FAILEDOPERATION_DCMARSHALDATAERR = "FailedOperation.DCMarshalDataErr" // 数据集获取文件内容异常。 FAILEDOPERATION_DCQUERYDATASETCONTENTERR = "FailedOperation.DCQueryDatasetContentErr" // 数据反序列化错误。 FAILEDOPERATION_DCUNMARSHALDATAERR = "FailedOperation.DCUnmarshalDataErr" // 数据集操作不支持。 FAILEDOPERATION_DCUNSUPPORTEDOPERATION = "FailedOperation.DCUnsupportedOperation" // 删除Notebook实例存储失败。 FAILEDOPERATION_DELETENOTEBOOKSTORAGEFAILED = "FailedOperation.DeleteNotebookStorageFailed" // 名称重复。 FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" // 数据库执行错误。 FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" // 标签操作失败。 FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" // 余额不足冻结失败。 FAILEDOPERATION_FREEZEBILLFAILED = "FailedOperation.FreezeBillFailed" // 白名单免费配额不足。 FAILEDOPERATION_INSUFFICIENTWHITELISTQUOTA = "FailedOperation.InsufficientWhitelistQuota" // 操作失败,用户类型异常。 FAILEDOPERATION_INVALIDUSERTYPE = "FailedOperation.InvalidUserType" // 密钥管理系统服务未开通,请先开通腾讯云密钥管理系统服务。 FAILEDOPERATION_KMSKEYNOTOPEN = "FailedOperation.KmsKeyNotOpen" // 变更计费配置失败。 FAILEDOPERATION_MODIFYBILLINGINSTANCEBATCHFAILED = "FailedOperation.ModifyBillingInstanceBatchFailed" // 移动模型目录失败。 FAILEDOPERATION_MOVEMODELDIRFAILED = "FailedOperation.MoveModelDirFailed" // 没有空闲免费桶。 FAILEDOPERATION_NOFREEBUCKET = "FailedOperation.NoFreeBucket" // 没有权限。 FAILEDOPERATION_NOPERMISSION = "FailedOperation.NoPermission" // 操作不允许。 FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" // 未找到Notebook实例相关容器,无法生成访问地址。 FAILEDOPERATION_PODIPNOTFOUND = "FailedOperation.PodIpNotFound" // 请求正在处理中,请稍后再试。 FAILEDOPERATION_PROCESSING = "FailedOperation.Processing" // 查询资源标签失败。 FAILEDOPERATION_QUERYBINDINGTAGSFAILED = "FailedOperation.QueryBindingTagsFailed" // 数据库查询错误。 FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" // 查询计费价格失败。 FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" // 查询资源组名称失败。 FAILEDOPERATION_QUERYRESOURCEGROUPNAMESFAILED = "FailedOperation.QueryResourceGroupNamesFailed" // 查询计费项详情失败。 FAILEDOPERATION_QUERYRESOURCESPECFAILED = "FailedOperation.QueryResourceSpecFailed" // 查询标签服务失败。 FAILEDOPERATION_QUERYTAGFAIL = "FailedOperation.QueryTagFail" // 记录不存在。 FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" // 存储库有绑定的实例,请先删除绑定的实例。 FAILEDOPERATION_REPOBINDBYINSTANCE = "FailedOperation.RepoBindByInstance" // 停止实例失败。 FAILEDOPERATION_STOPJOBINSTANCEFAILED = "FailedOperation.StopJobInstanceFailed" // 密钥服务访问失败,请重试。 FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" // 实例启动失败。 FAILEDOPERATION_TIMEDOUT = "FailedOperation.Timedout" // 解绑标签失败。 FAILEDOPERATION_UNBINDINGTAGSFAILED = "FailedOperation.UnBindingTagsFailed" // 当前任务后台提交重试中,不允许操作停止,请稍后再试。 FAILEDOPERATION_UNSUBMITNOTALLOWTOSTOP = "FailedOperation.UnSubmitNotAllowToStop" // 无操作权限 FAILEDOPERATION_UNAUTHORIZEDOPERATION = "FailedOperation.UnauthorizedOperation" // 解冻失败。 FAILEDOPERATION_UNFREEZEBILLFAILED = "FailedOperation.UnfreezeBillFailed" // 未知的实例规格。 FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" // 数据解析失败。 FAILEDOPERATION_UNMARSHALDATA = "FailedOperation.UnmarshalData" // 内部错误。 INTERNALERROR = "InternalError" // 没有权限。 INTERNALERROR_NOPERMISSION = "InternalError.NoPermission" // 查询标签失败。 INTERNALERROR_QUERYBINDINGTAGSFAILED = "InternalError.QueryBindingTagsFailed" // 询价失败 INTERNALERROR_QUERYPRICEFAILED = "InternalError.QueryPriceFailed" // 查询预付费资源组详情失败。 INTERNALERROR_QUERYRESOURCEGROUPFAILED = "InternalError.QueryResourceGroupFailed" // 查询预付费资源组名称失败 INTERNALERROR_QUERYRESOURCEGROUPNAMESFAILED = "InternalError.QueryResourceGroupNamesFailed" // 查询资源套餐规格失败 INTERNALERROR_QUERYRESOURCESPECFAILED = "InternalError.QueryResourceSpecFailed" // 查询子网信息失败。 INTERNALERROR_QUERYSUBNETINFOFAILED = "InternalError.QuerySubnetInfoFailed" // 查询用户临时密钥失败 INTERNALERROR_QUERYUSERTMPCREDENTIALFAILED = "InternalError.QueryUserTMPCredentialFailed" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 接口过滤条件"运行状态"与"计费状态"不能同时存在。 INVALIDPARAMETER_FILTERKEYSTATUSCONFLICTWITHCHARGESTATUS = "InvalidParameter.FilterKeyStatusConflictWithChargeStatus" // 模型包不符合规范。 INVALIDPARAMETER_MODELFILEINVALID = "InvalidParameter.ModelFileInvalid" // 模型已下线 INVALIDPARAMETER_MODELISOFFLINE = "InvalidParameter.ModelIsOffline" // 无效的接口。 INVALIDPARAMETER_TGWINVALIDINTERFACE = "InvalidParameter.TgwInvalidInterface" // 不支持使用多个本地磁盘 INVALIDPARAMETER_UNSUPPORTEDMULTILOCALDISK = "InvalidParameter.UnsupportedMultiLocalDisk" // 请求参数校验失败。 INVALIDPARAMETER_VALIDATEERROR = "InvalidParameter.ValidateError" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 名称不合法。 INVALIDPARAMETERVALUE_BADNAME = "InvalidParameterValue.BadName" // 请设置日志集、日志主题ID。 INVALIDPARAMETERVALUE_CLSCONFIGREQUIRED = "InvalidParameterValue.ClsConfigRequired" // 存储库重复配置,请移除重复的存储库配置后重试。 INVALIDPARAMETERVALUE_CODEREPODUPLICATED = "InvalidParameterValue.CodeRepoDuplicated" // 存储库不存在。 INVALIDPARAMETERVALUE_CODEREPONOTFOUND = "InvalidParameterValue.CodeRepoNotFound" // 不支持的标注类型。 INVALIDPARAMETERVALUE_DCANNOTATIONTYPE = "InvalidParameterValue.DCAnnotationType" // 存储桶参数错误。 INVALIDPARAMETERVALUE_DCCOSPATHINFO = "InvalidParameterValue.DCCosPathInfo" // 数据集标注状态不匹配。 INVALIDPARAMETERVALUE_DCDATASETANNOTATIONNOTMATCH = "InvalidParameterValue.DCDatasetAnnotationNotMatch" // 数据集Id不存在。 INVALIDPARAMETERVALUE_DCDATASETIDNOTEXIST = "InvalidParameterValue.DCDatasetIdNotExist" // 数据集重名已存在。 INVALIDPARAMETERVALUE_DCDATASETNAMEEXIST = "InvalidParameterValue.DCDatasetNameExist" // 不支持的数据集类型。 INVALIDPARAMETERVALUE_DCDATASETTYPE = "InvalidParameterValue.DCDatasetType" // 不支持的过滤参数。 INVALIDPARAMETERVALUE_DCFILTERVALUES = "InvalidParameterValue.DCFilterValues" // 数据配置数量超过最大限制 INVALIDPARAMETERVALUE_DATACONFIGNUMLIMITEXCEEDED = "InvalidParameterValue.DataConfigNumLimitExceeded" // 实例名称冲突,请更换名称后重试。 INVALIDPARAMETERVALUE_DUPLICATENAME = "InvalidParameterValue.DuplicateName" // 训练框架对应的版本不支持,请阅读文档查看TIONE目前支持的框架和版本。 INVALIDPARAMETERVALUE_FRAMEWORKVERSIONNOTSUPPORT = "InvalidParameterValue.FrameworkVersionNotSupport" // 获取CFS的挂载IP失败 INVALIDPARAMETERVALUE_GETCFSMOUNTIPFAILED = "InvalidParameterValue.GetCFSMountIPFailed" // 获取GooseFS实例失败 INVALIDPARAMETERVALUE_GETGOOSEFSFAILED = "InvalidParameterValue.GetGooseFSFailed" // GooseFS的配置不能为空 INVALIDPARAMETERVALUE_GOOSEFSCONFIGCANNOTEMPTY = "InvalidParameterValue.GooseFSConfigCannotEmpty" // 所选的GooseFS实例不存在 INVALIDPARAMETERVALUE_GOOSEFSNOTEXIST = "InvalidParameterValue.GooseFSNotExist" // 无效的过滤器。 INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" // 生命周期脚本无效。 INVALIDPARAMETERVALUE_LIFECYCLENOTFOUND = "InvalidParameterValue.LifecycleNotFound" // 参数值数量超过限制。 INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" // 裸金属资源组不支持创建免费存储的Notebook INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATEFREEVOLUMENOTEBOOKWITHBAREMETALRESOURCEGROUP = "InvalidParameterValue.NotAllowedToCreateFreeVolumeNotebookWithBareMetalResourceGroup" // 纳管资源组不支持cbs存储,请使用CFS INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATEFREEVOLUMENOTEBOOKWITHSWRESOURCEGROUP = "InvalidParameterValue.NotAllowedToCreateFreeVolumeNotebookWithSWResourceGroup" // 裸金属资源组不支持创建Notebook INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATENOTEBOOKWITHBAREMETALRESOURCEGROUP = "InvalidParameterValue.NotAllowedToCreateNotebookWithBareMetalResourceGroup" // 分页查询limit超出限制 INVALIDPARAMETERVALUE_PAGELIMITEXCEEDED = "InvalidParameterValue.PageLimitExceeded" // 本地盘路径不合法 INVALIDPARAMETERVALUE_PATHILLEGAL = "InvalidParameterValue.PathIllegal" // 资源配置不合法 INVALIDPARAMETERVALUE_RESOURCECONFIGILLEGAL = "InvalidParameterValue.ResourceConfigIllegal" // 子网不存在。 INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" // 未找到当前日志主题。 INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound" // 不支持使用GooseFS实例 INVALIDPARAMETERVALUE_UNSUPPORTEDGOOSEFSCONFIG = "InvalidParameterValue.UnsupportedGooseFSConfig" // 不支持同一实例挂载多个CBS存储 INVALIDPARAMETERVALUE_UNSUPPORTEDMULTICBSSTORAGE = "InvalidParameterValue.UnsupportedMultiCBSStorage" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 操作被拒绝。 OPERATIONDENIED = "OperationDenied" // 余额不足,创建/更新失败。 OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" // 按量计费资源售罄。 OPERATIONDENIED_BILLINGSTATUSRESOURCEINSUFFICIENT = "OperationDenied.BillingStatusResourceInsufficient" // IP不合法。 OPERATIONDENIED_IPILLEGAL = "OperationDenied.IpIllegal" // 觅影资源包余额不足,请先充值。 OPERATIONDENIED_MIYINGBALANCEINSUFFICIENT = "OperationDenied.MIYINGBalanceInsufficient" // 网段不合法。 OPERATIONDENIED_NETWORKCIDRILLEGAL = "OperationDenied.NetworkCidrIllegal" // 操作不允许 OPERATIONDENIED_NOTALLOW = "OperationDenied.NotAllow" // 预付费资源组余量不足。 OPERATIONDENIED_RESOURCEGROUPINSUFFICIENT = "OperationDenied.ResourceGroupInsufficient" // 白名单免费配额不足。 OPERATIONDENIED_WHITELISTQUOTAEXCEED = "OperationDenied.WhitelistQuotaExceed" // 资源被占用。 RESOURCEINUSE = "ResourceInUse" // 资源不足。 RESOURCEINSUFFICIENT = "ResourceInsufficient" // SSH端口资源耗尽 RESOURCEINSUFFICIENT_SSHPORTISCONSUMEDUP = "ResourceInsufficient.SSHPortIsConsumedUp" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 没有该模型。 RESOURCENOTFOUND_NOMODEL = "ResourceNotFound.NoModel" // 资源组不存在 RESOURCENOTFOUND_RESOURCEGROUPNOTFOUND = "ResourceNotFound.ResourceGroupNotFound" // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" // 资源售罄。 RESOURCESSOLDOUT = "ResourcesSoldOut" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // 资源不属于当前登录用户主账号,无权限访问。 UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" // 未知参数错误。 UNKNOWNPARAMETER = "UnknownParameter" // 操作不支持。 UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2021-11-11"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CBSConfig ¶ added in v1.0.919
type CBSConfig struct { // 存储大小 // 注意:此字段可能返回 null,表示取不到有效值。 VolumeSizeInGB *int64 `json:"VolumeSizeInGB,omitnil,omitempty" name:"VolumeSizeInGB"` }
type CFSConfig ¶
type CFSConfig struct { // cfs的实例的ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 存储的路径 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // cfs的挂载类型,可选值为:STORAGE、SOURCE 分别表示存储拓展模式和数据源模式,默认为 STORAGE // 注意:此字段可能返回 null,表示取不到有效值。 MountType *string `json:"MountType,omitnil,omitempty" name:"MountType"` // 协议 1: NFS, 2: TURBO // 注意:此字段可能返回 null,表示取不到有效值。 Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
type ChatCompletionRequest ¶ added in v1.0.719
type ChatCompletionRequest struct { *tchttp.BaseRequest // 对话的目标模型ID。 // 自行部署的开源大模型聊天:部署的模型服务组ID,形如ms-xxyyzz。 Model *string `json:"Model,omitnil,omitempty" name:"Model"` // 输入对话历史。旧的对话在前,数组中最后一项应该为这次的问题。 Messages []*Message `json:"Messages,omitnil,omitempty" name:"Messages"` // 仅当模型为自行部署的开源大模型时生效。采样随机值,默认值为1.0,取值范围[0,2]。较高的值(如0.8)将使输出更加随机,而较低的值(如0.2)将使输出更加确定。建议仅修改此参数或TopP,但不建议两者都修改。 Temperature *float64 `json:"Temperature,omitnil,omitempty" name:"Temperature"` // 仅当模型为自行部署的开源大模型时生效。核采样,默认值为1,取值范围[0,1]。指的是预先设置一个概率界限 p,然后将所有可能生成的token,根据概率大小从高到低排列,依次选取。当这些选取的token的累积概率大于或等于 p 值时停止,然后从已经选取的token中进行采样,生成下一个token。例如top_p为0.1时意味着模型只考虑累积概率为10%的token。建议仅修改此参数或Temperature,不建议两者都修改。 TopP *float64 `json:"TopP,omitnil,omitempty" name:"TopP"` // 仅当模型为自行部署的开源大模型时生效。最大生成的token数目。默认为无限大。 MaxTokens *int64 `json:"MaxTokens,omitnil,omitempty" name:"MaxTokens"` }
func NewChatCompletionRequest ¶ added in v1.0.719
func NewChatCompletionRequest() (request *ChatCompletionRequest)
func (*ChatCompletionRequest) FromJsonString ¶ added in v1.0.719
func (r *ChatCompletionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ChatCompletionRequest) ToJsonString ¶ added in v1.0.719
func (r *ChatCompletionRequest) ToJsonString() string
type ChatCompletionRequestParams ¶ added in v1.0.719
type ChatCompletionRequestParams struct { // 对话的目标模型ID。 // 自行部署的开源大模型聊天:部署的模型服务组ID,形如ms-xxyyzz。 Model *string `json:"Model,omitnil,omitempty" name:"Model"` // 输入对话历史。旧的对话在前,数组中最后一项应该为这次的问题。 Messages []*Message `json:"Messages,omitnil,omitempty" name:"Messages"` // 仅当模型为自行部署的开源大模型时生效。采样随机值,默认值为1.0,取值范围[0,2]。较高的值(如0.8)将使输出更加随机,而较低的值(如0.2)将使输出更加确定。建议仅修改此参数或TopP,但不建议两者都修改。 Temperature *float64 `json:"Temperature,omitnil,omitempty" name:"Temperature"` // 仅当模型为自行部署的开源大模型时生效。核采样,默认值为1,取值范围[0,1]。指的是预先设置一个概率界限 p,然后将所有可能生成的token,根据概率大小从高到低排列,依次选取。当这些选取的token的累积概率大于或等于 p 值时停止,然后从已经选取的token中进行采样,生成下一个token。例如top_p为0.1时意味着模型只考虑累积概率为10%的token。建议仅修改此参数或Temperature,不建议两者都修改。 TopP *float64 `json:"TopP,omitnil,omitempty" name:"TopP"` // 仅当模型为自行部署的开源大模型时生效。最大生成的token数目。默认为无限大。 MaxTokens *int64 `json:"MaxTokens,omitnil,omitempty" name:"MaxTokens"` }
Predefined struct for user
type ChatCompletionResponse ¶ added in v1.0.719
type ChatCompletionResponse struct { *tchttp.BaseResponse Response *ChatCompletionResponseParams `json:"Response"` }
func NewChatCompletionResponse ¶ added in v1.0.719
func NewChatCompletionResponse() (response *ChatCompletionResponse)
func (*ChatCompletionResponse) FromJsonString ¶ added in v1.0.719
func (r *ChatCompletionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ChatCompletionResponse) ToJsonString ¶ added in v1.0.719
func (r *ChatCompletionResponse) ToJsonString() string
type ChatCompletionResponseParams ¶ added in v1.0.719
type ChatCompletionResponseParams struct { // 部署好的服务Id Model *string `json:"Model,omitnil,omitempty" name:"Model"` // 本次问答的答案。 Choices []*Choice `json:"Choices,omitnil,omitempty" name:"Choices"` // 会话Id。 // 注意:此字段可能返回 null,表示取不到有效值。 Id *string `json:"Id,omitnil,omitempty" name:"Id"` // token统计 // 注意:此字段可能返回 null,表示取不到有效值。 Usage *Usage `json:"Usage,omitnil,omitempty" name:"Usage"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Choice ¶ added in v1.0.719
type Choice struct { // 对话结果 // 注意:此字段可能返回 null,表示取不到有效值。 Message *Message `json:"Message,omitnil,omitempty" name:"Message"` // 结束理由: stop, length, content_filter, null FinishReason *string `json:"FinishReason,omitnil,omitempty" name:"FinishReason"` // 序号 Index *int64 `json:"Index,omitnil,omitempty" name:"Index"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) ChatCompletion ¶ added in v1.0.719
func (c *Client) ChatCompletion(request *ChatCompletionRequest) (response *ChatCompletionResponse, err error)
ChatCompletion 该接口支持与自行部署的大模型的聊天。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MODELISOFFLINE = "InvalidParameter.ModelIsOffline" INVALIDPARAMETER_TGWINVALIDINTERFACE = "InvalidParameter.TgwInvalidInterface" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ChatCompletionWithContext ¶ added in v1.0.719
func (c *Client) ChatCompletionWithContext(ctx context.Context, request *ChatCompletionRequest) (response *ChatCompletionResponse, err error)
ChatCompletion 该接口支持与自行部署的大模型的聊天。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MODELISOFFLINE = "InvalidParameter.ModelIsOffline" INVALIDPARAMETER_TGWINVALIDINTERFACE = "InvalidParameter.TgwInvalidInterface" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateDataset ¶
func (c *Client) CreateDataset(request *CreateDatasetRequest) (response *CreateDatasetResponse, err error)
CreateDataset 创建数据集
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_DCCOSCLIENTERR = "FailedOperation.DCCosClientErr" FAILEDOPERATION_DCCREATEASYNCTASKERROR = "FailedOperation.DCCreateAsyncTaskError" FAILEDOPERATION_DCCREATEUSERCOSCLIENTERR = "FailedOperation.DCCreateUserCosClientErr" FAILEDOPERATION_DCDATAANNOTATIONRPCERR = "FailedOperation.DCDataAnnotationRpcErr" FAILEDOPERATION_DCDATAREPORPCERR = "FailedOperation.DCDatarepoRpcErr" FAILEDOPERATION_DCDATASETEXCEEDLIMIT = "FailedOperation.DCDatasetExceedLimit" FAILEDOPERATION_DCDATASETSTATUSNOTREADY = "FailedOperation.DCDatasetStatusNotReady" FAILEDOPERATION_DCGETUSERTEMPORARYSECRETERR = "FailedOperation.DCGetUserTemporarySecretErr" FAILEDOPERATION_DCMARSHALDATAERR = "FailedOperation.DCMarshalDataErr" FAILEDOPERATION_DCQUERYDATASETCONTENTERR = "FailedOperation.DCQueryDatasetContentErr" FAILEDOPERATION_DCUNMARSHALDATAERR = "FailedOperation.DCUnmarshalDataErr" FAILEDOPERATION_DCUNSUPPORTEDOPERATION = "FailedOperation.DCUnsupportedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_VALIDATEERROR = "InvalidParameter.ValidateError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DCANNOTATIONTYPE = "InvalidParameterValue.DCAnnotationType" INVALIDPARAMETERVALUE_DCCOSPATHINFO = "InvalidParameterValue.DCCosPathInfo" INVALIDPARAMETERVALUE_DCDATASETANNOTATIONNOTMATCH = "InvalidParameterValue.DCDatasetAnnotationNotMatch" INVALIDPARAMETERVALUE_DCDATASETIDNOTEXIST = "InvalidParameterValue.DCDatasetIdNotExist" INVALIDPARAMETERVALUE_DCDATASETNAMEEXIST = "InvalidParameterValue.DCDatasetNameExist" INVALIDPARAMETERVALUE_DCDATASETTYPE = "InvalidParameterValue.DCDatasetType" INVALIDPARAMETERVALUE_DCFILTERVALUES = "InvalidParameterValue.DCFilterValues" MISSINGPARAMETER = "MissingParameter"
func (*Client) CreateDatasetWithContext ¶
func (c *Client) CreateDatasetWithContext(ctx context.Context, request *CreateDatasetRequest) (response *CreateDatasetResponse, err error)
CreateDataset 创建数据集
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_DCCOSCLIENTERR = "FailedOperation.DCCosClientErr" FAILEDOPERATION_DCCREATEASYNCTASKERROR = "FailedOperation.DCCreateAsyncTaskError" FAILEDOPERATION_DCCREATEUSERCOSCLIENTERR = "FailedOperation.DCCreateUserCosClientErr" FAILEDOPERATION_DCDATAANNOTATIONRPCERR = "FailedOperation.DCDataAnnotationRpcErr" FAILEDOPERATION_DCDATAREPORPCERR = "FailedOperation.DCDatarepoRpcErr" FAILEDOPERATION_DCDATASETEXCEEDLIMIT = "FailedOperation.DCDatasetExceedLimit" FAILEDOPERATION_DCDATASETSTATUSNOTREADY = "FailedOperation.DCDatasetStatusNotReady" FAILEDOPERATION_DCGETUSERTEMPORARYSECRETERR = "FailedOperation.DCGetUserTemporarySecretErr" FAILEDOPERATION_DCMARSHALDATAERR = "FailedOperation.DCMarshalDataErr" FAILEDOPERATION_DCQUERYDATASETCONTENTERR = "FailedOperation.DCQueryDatasetContentErr" FAILEDOPERATION_DCUNMARSHALDATAERR = "FailedOperation.DCUnmarshalDataErr" FAILEDOPERATION_DCUNSUPPORTEDOPERATION = "FailedOperation.DCUnsupportedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_VALIDATEERROR = "InvalidParameter.ValidateError" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DCANNOTATIONTYPE = "InvalidParameterValue.DCAnnotationType" INVALIDPARAMETERVALUE_DCCOSPATHINFO = "InvalidParameterValue.DCCosPathInfo" INVALIDPARAMETERVALUE_DCDATASETANNOTATIONNOTMATCH = "InvalidParameterValue.DCDatasetAnnotationNotMatch" INVALIDPARAMETERVALUE_DCDATASETIDNOTEXIST = "InvalidParameterValue.DCDatasetIdNotExist" INVALIDPARAMETERVALUE_DCDATASETNAMEEXIST = "InvalidParameterValue.DCDatasetNameExist" INVALIDPARAMETERVALUE_DCDATASETTYPE = "InvalidParameterValue.DCDatasetType" INVALIDPARAMETERVALUE_DCFILTERVALUES = "InvalidParameterValue.DCFilterValues" MISSINGPARAMETER = "MissingParameter"
func (*Client) CreateModelService ¶ added in v1.0.528
func (c *Client) CreateModelService(request *CreateModelServiceRequest) (response *CreateModelServiceResponse, err error)
CreateModelService 用于创建、发布一个新的模型服务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_INSUFFICIENTWHITELISTQUOTA = "FailedOperation.InsufficientWhitelistQuota" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MODELFILEINVALID = "InvalidParameter.ModelFileInvalid" INVALIDPARAMETER_VALIDATEERROR = "InvalidParameter.ValidateError" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateModelServiceWithContext ¶ added in v1.0.528
func (c *Client) CreateModelServiceWithContext(ctx context.Context, request *CreateModelServiceRequest) (response *CreateModelServiceResponse, err error)
CreateModelService 用于创建、发布一个新的模型服务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_INSUFFICIENTWHITELISTQUOTA = "FailedOperation.InsufficientWhitelistQuota" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MODELFILEINVALID = "InvalidParameter.ModelFileInvalid" INVALIDPARAMETER_VALIDATEERROR = "InvalidParameter.ValidateError" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateNotebook ¶ added in v1.0.711
func (c *Client) CreateNotebook(request *CreateNotebookRequest) (response *CreateNotebookResponse, err error)
CreateNotebook 创建Notebook
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BINDINGTAGSFAILED = "FailedOperation.BindingTagsFailed" FAILEDOPERATION_FREEZEBILLFAILED = "FailedOperation.FreezeBillFailed" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_UNAUTHORIZEDOPERATION = "FailedOperation.UnauthorizedOperation" INTERNALERROR = "InternalError" INTERNALERROR_QUERYRESOURCEGROUPFAILED = "InternalError.QueryResourceGroupFailed" INTERNALERROR_QUERYSUBNETINFOFAILED = "InternalError.QuerySubnetInfoFailed" INTERNALERROR_QUERYUSERTMPCREDENTIALFAILED = "InternalError.QueryUserTMPCredentialFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_UNSUPPORTEDMULTILOCALDISK = "InvalidParameter.UnsupportedMultiLocalDisk" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CODEREPODUPLICATED = "InvalidParameterValue.CodeRepoDuplicated" INVALIDPARAMETERVALUE_CODEREPONOTFOUND = "InvalidParameterValue.CodeRepoNotFound" INVALIDPARAMETERVALUE_DATACONFIGNUMLIMITEXCEEDED = "InvalidParameterValue.DataConfigNumLimitExceeded" INVALIDPARAMETERVALUE_DUPLICATENAME = "InvalidParameterValue.DuplicateName" INVALIDPARAMETERVALUE_GETCFSMOUNTIPFAILED = "InvalidParameterValue.GetCFSMountIPFailed" INVALIDPARAMETERVALUE_GETGOOSEFSFAILED = "InvalidParameterValue.GetGooseFSFailed" INVALIDPARAMETERVALUE_GOOSEFSCONFIGCANNOTEMPTY = "InvalidParameterValue.GooseFSConfigCannotEmpty" INVALIDPARAMETERVALUE_GOOSEFSNOTEXIST = "InvalidParameterValue.GooseFSNotExist" INVALIDPARAMETERVALUE_LIFECYCLENOTFOUND = "InvalidParameterValue.LifecycleNotFound" INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATEFREEVOLUMENOTEBOOKWITHBAREMETALRESOURCEGROUP = "InvalidParameterValue.NotAllowedToCreateFreeVolumeNotebookWithBareMetalResourceGroup" INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATEFREEVOLUMENOTEBOOKWITHSWRESOURCEGROUP = "InvalidParameterValue.NotAllowedToCreateFreeVolumeNotebookWithSWResourceGroup" INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATENOTEBOOKWITHBAREMETALRESOURCEGROUP = "InvalidParameterValue.NotAllowedToCreateNotebookWithBareMetalResourceGroup" INVALIDPARAMETERVALUE_PATHILLEGAL = "InvalidParameterValue.PathIllegal" INVALIDPARAMETERVALUE_RESOURCECONFIGILLEGAL = "InvalidParameterValue.ResourceConfigIllegal" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound" INVALIDPARAMETERVALUE_UNSUPPORTEDGOOSEFSCONFIG = "InvalidParameterValue.UnsupportedGooseFSConfig" INVALIDPARAMETERVALUE_UNSUPPORTEDMULTICBSSTORAGE = "InvalidParameterValue.UnsupportedMultiCBSStorage" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" OPERATIONDENIED_BILLINGSTATUSRESOURCEINSUFFICIENT = "OperationDenied.BillingStatusResourceInsufficient" OPERATIONDENIED_IPILLEGAL = "OperationDenied.IpIllegal" OPERATIONDENIED_MIYINGBALANCEINSUFFICIENT = "OperationDenied.MIYINGBalanceInsufficient" OPERATIONDENIED_NETWORKCIDRILLEGAL = "OperationDenied.NetworkCidrIllegal" OPERATIONDENIED_NOTALLOW = "OperationDenied.NotAllow" OPERATIONDENIED_RESOURCEGROUPINSUFFICIENT = "OperationDenied.ResourceGroupInsufficient" OPERATIONDENIED_WHITELISTQUOTAEXCEED = "OperationDenied.WhitelistQuotaExceed" RESOURCEINSUFFICIENT_SSHPORTISCONSUMEDUP = "ResourceInsufficient.SSHPortIsConsumedUp" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCEGROUPNOTFOUND = "ResourceNotFound.ResourceGroupNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateNotebookWithContext ¶ added in v1.0.711
func (c *Client) CreateNotebookWithContext(ctx context.Context, request *CreateNotebookRequest) (response *CreateNotebookResponse, err error)
CreateNotebook 创建Notebook
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BINDINGTAGSFAILED = "FailedOperation.BindingTagsFailed" FAILEDOPERATION_FREEZEBILLFAILED = "FailedOperation.FreezeBillFailed" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_UNAUTHORIZEDOPERATION = "FailedOperation.UnauthorizedOperation" INTERNALERROR = "InternalError" INTERNALERROR_QUERYRESOURCEGROUPFAILED = "InternalError.QueryResourceGroupFailed" INTERNALERROR_QUERYSUBNETINFOFAILED = "InternalError.QuerySubnetInfoFailed" INTERNALERROR_QUERYUSERTMPCREDENTIALFAILED = "InternalError.QueryUserTMPCredentialFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_UNSUPPORTEDMULTILOCALDISK = "InvalidParameter.UnsupportedMultiLocalDisk" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CODEREPODUPLICATED = "InvalidParameterValue.CodeRepoDuplicated" INVALIDPARAMETERVALUE_CODEREPONOTFOUND = "InvalidParameterValue.CodeRepoNotFound" INVALIDPARAMETERVALUE_DATACONFIGNUMLIMITEXCEEDED = "InvalidParameterValue.DataConfigNumLimitExceeded" INVALIDPARAMETERVALUE_DUPLICATENAME = "InvalidParameterValue.DuplicateName" INVALIDPARAMETERVALUE_GETCFSMOUNTIPFAILED = "InvalidParameterValue.GetCFSMountIPFailed" INVALIDPARAMETERVALUE_GETGOOSEFSFAILED = "InvalidParameterValue.GetGooseFSFailed" INVALIDPARAMETERVALUE_GOOSEFSCONFIGCANNOTEMPTY = "InvalidParameterValue.GooseFSConfigCannotEmpty" INVALIDPARAMETERVALUE_GOOSEFSNOTEXIST = "InvalidParameterValue.GooseFSNotExist" INVALIDPARAMETERVALUE_LIFECYCLENOTFOUND = "InvalidParameterValue.LifecycleNotFound" INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATEFREEVOLUMENOTEBOOKWITHBAREMETALRESOURCEGROUP = "InvalidParameterValue.NotAllowedToCreateFreeVolumeNotebookWithBareMetalResourceGroup" INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATEFREEVOLUMENOTEBOOKWITHSWRESOURCEGROUP = "InvalidParameterValue.NotAllowedToCreateFreeVolumeNotebookWithSWResourceGroup" INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATENOTEBOOKWITHBAREMETALRESOURCEGROUP = "InvalidParameterValue.NotAllowedToCreateNotebookWithBareMetalResourceGroup" INVALIDPARAMETERVALUE_PATHILLEGAL = "InvalidParameterValue.PathIllegal" INVALIDPARAMETERVALUE_RESOURCECONFIGILLEGAL = "InvalidParameterValue.ResourceConfigIllegal" INVALIDPARAMETERVALUE_SUBNETNOTFOUND = "InvalidParameterValue.SubnetNotFound" INVALIDPARAMETERVALUE_TOPICNOTFOUND = "InvalidParameterValue.TopicNotFound" INVALIDPARAMETERVALUE_UNSUPPORTEDGOOSEFSCONFIG = "InvalidParameterValue.UnsupportedGooseFSConfig" INVALIDPARAMETERVALUE_UNSUPPORTEDMULTICBSSTORAGE = "InvalidParameterValue.UnsupportedMultiCBSStorage" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" OPERATIONDENIED_BILLINGSTATUSRESOURCEINSUFFICIENT = "OperationDenied.BillingStatusResourceInsufficient" OPERATIONDENIED_IPILLEGAL = "OperationDenied.IpIllegal" OPERATIONDENIED_MIYINGBALANCEINSUFFICIENT = "OperationDenied.MIYINGBalanceInsufficient" OPERATIONDENIED_NETWORKCIDRILLEGAL = "OperationDenied.NetworkCidrIllegal" OPERATIONDENIED_NOTALLOW = "OperationDenied.NotAllow" OPERATIONDENIED_RESOURCEGROUPINSUFFICIENT = "OperationDenied.ResourceGroupInsufficient" OPERATIONDENIED_WHITELISTQUOTAEXCEED = "OperationDenied.WhitelistQuotaExceed" RESOURCEINSUFFICIENT_SSHPORTISCONSUMEDUP = "ResourceInsufficient.SSHPortIsConsumedUp" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCEGROUPNOTFOUND = "ResourceNotFound.ResourceGroupNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreatePresignedNotebookUrl ¶ added in v1.0.874
func (c *Client) CreatePresignedNotebookUrl(request *CreatePresignedNotebookUrlRequest) (response *CreatePresignedNotebookUrlResponse, err error)
CreatePresignedNotebookUrl 生成Notebook访问链接
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_PODIPNOTFOUND = "FailedOperation.PodIpNotFound" INTERNALERROR = "InternalError" INTERNALERROR_QUERYUSERTMPCREDENTIALFAILED = "InternalError.QueryUserTMPCredentialFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreatePresignedNotebookUrlWithContext ¶ added in v1.0.874
func (c *Client) CreatePresignedNotebookUrlWithContext(ctx context.Context, request *CreatePresignedNotebookUrlRequest) (response *CreatePresignedNotebookUrlResponse, err error)
CreatePresignedNotebookUrl 生成Notebook访问链接
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_PODIPNOTFOUND = "FailedOperation.PodIpNotFound" INTERNALERROR = "InternalError" INTERNALERROR_QUERYUSERTMPCREDENTIALFAILED = "InternalError.QueryUserTMPCredentialFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreateTrainingModel ¶
func (c *Client) CreateTrainingModel(request *CreateTrainingModelRequest) (response *CreateTrainingModelResponse, err error)
CreateTrainingModel 导入模型
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BINDINGTAGSFAILED = "FailedOperation.BindingTagsFailed" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_MOVEMODELDIRFAILED = "FailedOperation.MoveModelDirFailed" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateTrainingModelWithContext ¶
func (c *Client) CreateTrainingModelWithContext(ctx context.Context, request *CreateTrainingModelRequest) (response *CreateTrainingModelResponse, err error)
CreateTrainingModel 导入模型
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_BINDINGTAGSFAILED = "FailedOperation.BindingTagsFailed" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_MOVEMODELDIRFAILED = "FailedOperation.MoveModelDirFailed" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteDataset ¶
func (c *Client) DeleteDataset(request *DeleteDatasetRequest) (response *DeleteDatasetResponse, err error)
DeleteDataset 删除数据集
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DCCOSCLIENTERR = "FailedOperation.DCCosClientErr" FAILEDOPERATION_DCCREATEASYNCTASKERROR = "FailedOperation.DCCreateAsyncTaskError" FAILEDOPERATION_DCCREATEUSERCOSCLIENTERR = "FailedOperation.DCCreateUserCosClientErr" FAILEDOPERATION_DCDATAANNOTATIONRPCERR = "FailedOperation.DCDataAnnotationRpcErr" FAILEDOPERATION_DCDATAREPORPCERR = "FailedOperation.DCDatarepoRpcErr" FAILEDOPERATION_DCDATASETEXCEEDLIMIT = "FailedOperation.DCDatasetExceedLimit" FAILEDOPERATION_DCDATASETSTATUSNOTREADY = "FailedOperation.DCDatasetStatusNotReady" FAILEDOPERATION_DCGETUSERTEMPORARYSECRETERR = "FailedOperation.DCGetUserTemporarySecretErr" FAILEDOPERATION_DCMARSHALDATAERR = "FailedOperation.DCMarshalDataErr" FAILEDOPERATION_DCQUERYDATASETCONTENTERR = "FailedOperation.DCQueryDatasetContentErr" FAILEDOPERATION_DCUNMARSHALDATAERR = "FailedOperation.DCUnmarshalDataErr" FAILEDOPERATION_DCUNSUPPORTEDOPERATION = "FailedOperation.DCUnsupportedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DCANNOTATIONTYPE = "InvalidParameterValue.DCAnnotationType" INVALIDPARAMETERVALUE_DCCOSPATHINFO = "InvalidParameterValue.DCCosPathInfo" INVALIDPARAMETERVALUE_DCDATASETANNOTATIONNOTMATCH = "InvalidParameterValue.DCDatasetAnnotationNotMatch" INVALIDPARAMETERVALUE_DCDATASETIDNOTEXIST = "InvalidParameterValue.DCDatasetIdNotExist" INVALIDPARAMETERVALUE_DCDATASETNAMEEXIST = "InvalidParameterValue.DCDatasetNameExist" INVALIDPARAMETERVALUE_DCDATASETTYPE = "InvalidParameterValue.DCDatasetType" INVALIDPARAMETERVALUE_DCFILTERVALUES = "InvalidParameterValue.DCFilterValues" MISSINGPARAMETER = "MissingParameter"
func (*Client) DeleteDatasetWithContext ¶
func (c *Client) DeleteDatasetWithContext(ctx context.Context, request *DeleteDatasetRequest) (response *DeleteDatasetResponse, err error)
DeleteDataset 删除数据集
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DCCOSCLIENTERR = "FailedOperation.DCCosClientErr" FAILEDOPERATION_DCCREATEASYNCTASKERROR = "FailedOperation.DCCreateAsyncTaskError" FAILEDOPERATION_DCCREATEUSERCOSCLIENTERR = "FailedOperation.DCCreateUserCosClientErr" FAILEDOPERATION_DCDATAANNOTATIONRPCERR = "FailedOperation.DCDataAnnotationRpcErr" FAILEDOPERATION_DCDATAREPORPCERR = "FailedOperation.DCDatarepoRpcErr" FAILEDOPERATION_DCDATASETEXCEEDLIMIT = "FailedOperation.DCDatasetExceedLimit" FAILEDOPERATION_DCDATASETSTATUSNOTREADY = "FailedOperation.DCDatasetStatusNotReady" FAILEDOPERATION_DCGETUSERTEMPORARYSECRETERR = "FailedOperation.DCGetUserTemporarySecretErr" FAILEDOPERATION_DCMARSHALDATAERR = "FailedOperation.DCMarshalDataErr" FAILEDOPERATION_DCQUERYDATASETCONTENTERR = "FailedOperation.DCQueryDatasetContentErr" FAILEDOPERATION_DCUNMARSHALDATAERR = "FailedOperation.DCUnmarshalDataErr" FAILEDOPERATION_DCUNSUPPORTEDOPERATION = "FailedOperation.DCUnsupportedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DCANNOTATIONTYPE = "InvalidParameterValue.DCAnnotationType" INVALIDPARAMETERVALUE_DCCOSPATHINFO = "InvalidParameterValue.DCCosPathInfo" INVALIDPARAMETERVALUE_DCDATASETANNOTATIONNOTMATCH = "InvalidParameterValue.DCDatasetAnnotationNotMatch" INVALIDPARAMETERVALUE_DCDATASETIDNOTEXIST = "InvalidParameterValue.DCDatasetIdNotExist" INVALIDPARAMETERVALUE_DCDATASETNAMEEXIST = "InvalidParameterValue.DCDatasetNameExist" INVALIDPARAMETERVALUE_DCDATASETTYPE = "InvalidParameterValue.DCDatasetType" INVALIDPARAMETERVALUE_DCFILTERVALUES = "InvalidParameterValue.DCFilterValues" MISSINGPARAMETER = "MissingParameter"
func (*Client) DeleteModelService ¶ added in v1.0.528
func (c *Client) DeleteModelService(request *DeleteModelServiceRequest) (response *DeleteModelServiceResponse, err error)
DeleteModelService 根据服务id删除模型服务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteModelServiceGroup ¶ added in v1.0.528
func (c *Client) DeleteModelServiceGroup(request *DeleteModelServiceGroupRequest) (response *DeleteModelServiceGroupResponse, err error)
DeleteModelServiceGroup 根据服务组id删除服务组下所有模型服务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteModelServiceGroupWithContext ¶ added in v1.0.528
func (c *Client) DeleteModelServiceGroupWithContext(ctx context.Context, request *DeleteModelServiceGroupRequest) (response *DeleteModelServiceGroupResponse, err error)
DeleteModelServiceGroup 根据服务组id删除服务组下所有模型服务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteModelServiceWithContext ¶ added in v1.0.528
func (c *Client) DeleteModelServiceWithContext(ctx context.Context, request *DeleteModelServiceRequest) (response *DeleteModelServiceResponse, err error)
DeleteModelService 根据服务id删除模型服务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCESSOLDOUT = "ResourcesSoldOut" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteNotebook ¶ added in v1.0.711
func (c *Client) DeleteNotebook(request *DeleteNotebookRequest) (response *DeleteNotebookResponse, err error)
DeleteNotebook 删除Notebook
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETENOTEBOOKSTORAGEFAILED = "FailedOperation.DeleteNotebookStorageFailed" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_UNBINDINGTAGSFAILED = "FailedOperation.UnBindingTagsFailed" FAILEDOPERATION_UNSUBMITNOTALLOWTOSTOP = "FailedOperation.UnSubmitNotAllowToStop" FAILEDOPERATION_UNFREEZEBILLFAILED = "FailedOperation.UnfreezeBillFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteNotebookWithContext ¶ added in v1.0.711
func (c *Client) DeleteNotebookWithContext(ctx context.Context, request *DeleteNotebookRequest) (response *DeleteNotebookResponse, err error)
DeleteNotebook 删除Notebook
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETENOTEBOOKSTORAGEFAILED = "FailedOperation.DeleteNotebookStorageFailed" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_UNBINDINGTAGSFAILED = "FailedOperation.UnBindingTagsFailed" FAILEDOPERATION_UNSUBMITNOTALLOWTOSTOP = "FailedOperation.UnSubmitNotAllowToStop" FAILEDOPERATION_UNFREEZEBILLFAILED = "FailedOperation.UnfreezeBillFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteTrainingModel ¶
func (c *Client) DeleteTrainingModel(request *DeleteTrainingModelRequest) (response *DeleteTrainingModelResponse, err error)
DeleteTrainingModel 删除模型
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_NOMODEL = "ResourceNotFound.NoModel" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteTrainingModelVersion ¶
func (c *Client) DeleteTrainingModelVersion(request *DeleteTrainingModelVersionRequest) (response *DeleteTrainingModelVersionResponse, err error)
DeleteTrainingModelVersion 删除模型版本
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteTrainingModelVersionWithContext ¶
func (c *Client) DeleteTrainingModelVersionWithContext(ctx context.Context, request *DeleteTrainingModelVersionRequest) (response *DeleteTrainingModelVersionResponse, err error)
DeleteTrainingModelVersion 删除模型版本
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteTrainingModelWithContext ¶
func (c *Client) DeleteTrainingModelWithContext(ctx context.Context, request *DeleteTrainingModelRequest) (response *DeleteTrainingModelResponse, err error)
DeleteTrainingModel 删除模型
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_NOMODEL = "ResourceNotFound.NoModel" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeBillingResourceGroup ¶ added in v1.0.804
func (c *Client) DescribeBillingResourceGroup(request *DescribeBillingResourceGroupRequest) (response *DescribeBillingResourceGroupResponse, err error)
DescribeBillingResourceGroup 查询资源组节点列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_NOPERMISSION = "AuthFailure.NoPermission" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLCLUSTERFAIL = "FailedOperation.CallClusterFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_QUERYTAGFAIL = "FailedOperation.QueryTagFail" FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" FAILEDOPERATION_UNMARSHALDATA = "FailedOperation.UnmarshalData" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeBillingResourceGroupWithContext ¶ added in v1.0.804
func (c *Client) DescribeBillingResourceGroupWithContext(ctx context.Context, request *DescribeBillingResourceGroupRequest) (response *DescribeBillingResourceGroupResponse, err error)
DescribeBillingResourceGroup 查询资源组节点列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_NOPERMISSION = "AuthFailure.NoPermission" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLCLUSTERFAIL = "FailedOperation.CallClusterFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_QUERYTAGFAIL = "FailedOperation.QueryTagFail" FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" FAILEDOPERATION_UNMARSHALDATA = "FailedOperation.UnmarshalData" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeBillingResourceGroups ¶
func (c *Client) DescribeBillingResourceGroups(request *DescribeBillingResourceGroupsRequest) (response *DescribeBillingResourceGroupsResponse, err error)
DescribeBillingResourceGroups 查询资源组详情
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLCLUSTERFAIL = "FailedOperation.CallClusterFail" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_QUERYTAGFAIL = "FailedOperation.QueryTagFail" FAILEDOPERATION_UNMARSHALDATA = "FailedOperation.UnmarshalData" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_VALIDATEERROR = "InvalidParameter.ValidateError" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeBillingResourceGroupsWithContext ¶
func (c *Client) DescribeBillingResourceGroupsWithContext(ctx context.Context, request *DescribeBillingResourceGroupsRequest) (response *DescribeBillingResourceGroupsResponse, err error)
DescribeBillingResourceGroups 查询资源组详情
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLCLUSTERFAIL = "FailedOperation.CallClusterFail" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_QUERYTAGFAIL = "FailedOperation.QueryTagFail" FAILEDOPERATION_UNMARSHALDATA = "FailedOperation.UnmarshalData" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_VALIDATEERROR = "InvalidParameter.ValidateError" INVALIDPARAMETERVALUE_INVALIDFILTER = "InvalidParameterValue.InvalidFilter" INVALIDPARAMETERVALUE_LIMITEXCEEDED = "InvalidParameterValue.LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeBillingResourceInstanceRunningJobs ¶ added in v1.0.778
func (c *Client) DescribeBillingResourceInstanceRunningJobs(request *DescribeBillingResourceInstanceRunningJobsRequest) (response *DescribeBillingResourceInstanceRunningJobsResponse, err error)
DescribeBillingResourceInstanceRunningJobs 查询资源组节点运行中的任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLCLUSTERFAIL = "FailedOperation.CallClusterFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TGWINVALIDINTERFACE = "InvalidParameter.TgwInvalidInterface" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeBillingResourceInstanceRunningJobsWithContext ¶ added in v1.0.778
func (c *Client) DescribeBillingResourceInstanceRunningJobsWithContext(ctx context.Context, request *DescribeBillingResourceInstanceRunningJobsRequest) (response *DescribeBillingResourceInstanceRunningJobsResponse, err error)
DescribeBillingResourceInstanceRunningJobs 查询资源组节点运行中的任务
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CALLCLUSTERFAIL = "FailedOperation.CallClusterFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_TGWINVALIDINTERFACE = "InvalidParameter.TgwInvalidInterface" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeBuildInImages ¶ added in v1.0.876
func (c *Client) DescribeBuildInImages(request *DescribeBuildInImagesRequest) (response *DescribeBuildInImagesResponse, err error)
DescribeBuildInImages 获取内置镜像列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_QUERYBINDINGTAGSFAILED = "FailedOperation.QueryBindingTagsFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeBuildInImagesWithContext ¶ added in v1.0.876
func (c *Client) DescribeBuildInImagesWithContext(ctx context.Context, request *DescribeBuildInImagesRequest) (response *DescribeBuildInImagesResponse, err error)
DescribeBuildInImages 获取内置镜像列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_QUERYBINDINGTAGSFAILED = "FailedOperation.QueryBindingTagsFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeDatasets ¶
func (c *Client) DescribeDatasets(request *DescribeDatasetsRequest) (response *DescribeDatasetsResponse, err error)
DescribeDatasets 查询数据集列表
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_DCCOSCLIENTERR = "FailedOperation.DCCosClientErr" FAILEDOPERATION_DCCREATEASYNCTASKERROR = "FailedOperation.DCCreateAsyncTaskError" FAILEDOPERATION_DCCREATEUSERCOSCLIENTERR = "FailedOperation.DCCreateUserCosClientErr" FAILEDOPERATION_DCDATAANNOTATIONRPCERR = "FailedOperation.DCDataAnnotationRpcErr" FAILEDOPERATION_DCDATAREPORPCERR = "FailedOperation.DCDatarepoRpcErr" FAILEDOPERATION_DCDATASETEXCEEDLIMIT = "FailedOperation.DCDatasetExceedLimit" FAILEDOPERATION_DCDATASETSTATUSNOTREADY = "FailedOperation.DCDatasetStatusNotReady" FAILEDOPERATION_DCGETUSERTEMPORARYSECRETERR = "FailedOperation.DCGetUserTemporarySecretErr" FAILEDOPERATION_DCMARSHALDATAERR = "FailedOperation.DCMarshalDataErr" FAILEDOPERATION_DCQUERYDATASETCONTENTERR = "FailedOperation.DCQueryDatasetContentErr" FAILEDOPERATION_DCUNMARSHALDATAERR = "FailedOperation.DCUnmarshalDataErr" FAILEDOPERATION_DCUNSUPPORTEDOPERATION = "FailedOperation.DCUnsupportedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DCANNOTATIONTYPE = "InvalidParameterValue.DCAnnotationType" INVALIDPARAMETERVALUE_DCCOSPATHINFO = "InvalidParameterValue.DCCosPathInfo" INVALIDPARAMETERVALUE_DCDATASETANNOTATIONNOTMATCH = "InvalidParameterValue.DCDatasetAnnotationNotMatch" INVALIDPARAMETERVALUE_DCDATASETIDNOTEXIST = "InvalidParameterValue.DCDatasetIdNotExist" INVALIDPARAMETERVALUE_DCDATASETNAMEEXIST = "InvalidParameterValue.DCDatasetNameExist" INVALIDPARAMETERVALUE_DCDATASETTYPE = "InvalidParameterValue.DCDatasetType" INVALIDPARAMETERVALUE_DCFILTERVALUES = "InvalidParameterValue.DCFilterValues" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeDatasetsWithContext ¶
func (c *Client) DescribeDatasetsWithContext(ctx context.Context, request *DescribeDatasetsRequest) (response *DescribeDatasetsResponse, err error)
DescribeDatasets 查询数据集列表
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_DCCOSCLIENTERR = "FailedOperation.DCCosClientErr" FAILEDOPERATION_DCCREATEASYNCTASKERROR = "FailedOperation.DCCreateAsyncTaskError" FAILEDOPERATION_DCCREATEUSERCOSCLIENTERR = "FailedOperation.DCCreateUserCosClientErr" FAILEDOPERATION_DCDATAANNOTATIONRPCERR = "FailedOperation.DCDataAnnotationRpcErr" FAILEDOPERATION_DCDATAREPORPCERR = "FailedOperation.DCDatarepoRpcErr" FAILEDOPERATION_DCDATASETEXCEEDLIMIT = "FailedOperation.DCDatasetExceedLimit" FAILEDOPERATION_DCDATASETSTATUSNOTREADY = "FailedOperation.DCDatasetStatusNotReady" FAILEDOPERATION_DCGETUSERTEMPORARYSECRETERR = "FailedOperation.DCGetUserTemporarySecretErr" FAILEDOPERATION_DCMARSHALDATAERR = "FailedOperation.DCMarshalDataErr" FAILEDOPERATION_DCQUERYDATASETCONTENTERR = "FailedOperation.DCQueryDatasetContentErr" FAILEDOPERATION_DCUNMARSHALDATAERR = "FailedOperation.DCUnmarshalDataErr" FAILEDOPERATION_DCUNSUPPORTEDOPERATION = "FailedOperation.DCUnsupportedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DCANNOTATIONTYPE = "InvalidParameterValue.DCAnnotationType" INVALIDPARAMETERVALUE_DCCOSPATHINFO = "InvalidParameterValue.DCCosPathInfo" INVALIDPARAMETERVALUE_DCDATASETANNOTATIONNOTMATCH = "InvalidParameterValue.DCDatasetAnnotationNotMatch" INVALIDPARAMETERVALUE_DCDATASETIDNOTEXIST = "InvalidParameterValue.DCDatasetIdNotExist" INVALIDPARAMETERVALUE_DCDATASETNAMEEXIST = "InvalidParameterValue.DCDatasetNameExist" INVALIDPARAMETERVALUE_DCDATASETTYPE = "InvalidParameterValue.DCDatasetType" INVALIDPARAMETERVALUE_DCFILTERVALUES = "InvalidParameterValue.DCFilterValues" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeInferTemplates ¶
func (c *Client) DescribeInferTemplates(request *DescribeInferTemplatesRequest) (response *DescribeInferTemplatesResponse, err error)
DescribeInferTemplates 查询推理镜像模板
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeInferTemplatesWithContext ¶
func (c *Client) DescribeInferTemplatesWithContext(ctx context.Context, request *DescribeInferTemplatesRequest) (response *DescribeInferTemplatesResponse, err error)
DescribeInferTemplates 查询推理镜像模板
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeModelAccelerateTask ¶ added in v1.0.534
func (c *Client) DescribeModelAccelerateTask(request *DescribeModelAccelerateTaskRequest) (response *DescribeModelAccelerateTaskResponse, err error)
DescribeModelAccelerateTask 查询模型优化任务详情
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" FAILEDOPERATION_UNMARSHALDATA = "FailedOperation.UnmarshalData" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeModelAccelerateTaskWithContext ¶ added in v1.0.534
func (c *Client) DescribeModelAccelerateTaskWithContext(ctx context.Context, request *DescribeModelAccelerateTaskRequest) (response *DescribeModelAccelerateTaskResponse, err error)
DescribeModelAccelerateTask 查询模型优化任务详情
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_RECORDNOTFOUND = "FailedOperation.RecordNotFound" FAILEDOPERATION_UNMARSHALDATA = "FailedOperation.UnmarshalData" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeModelAccelerateVersions ¶ added in v1.0.822
func (c *Client) DescribeModelAccelerateVersions(request *DescribeModelAccelerateVersionsRequest) (response *DescribeModelAccelerateVersionsResponse, err error)
DescribeModelAccelerateVersions 模型加速之后的模型版本列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_NOPERMISSION = "AuthFailure.NoPermission" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CAMFAILURE = "FailedOperation.CAMFailure" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_UNMARSHALDATA = "FailedOperation.UnmarshalData" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeModelAccelerateVersionsWithContext ¶ added in v1.0.822
func (c *Client) DescribeModelAccelerateVersionsWithContext(ctx context.Context, request *DescribeModelAccelerateVersionsRequest) (response *DescribeModelAccelerateVersionsResponse, err error)
DescribeModelAccelerateVersions 模型加速之后的模型版本列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_NOPERMISSION = "AuthFailure.NoPermission" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CAMFAILURE = "FailedOperation.CAMFailure" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_UNMARSHALDATA = "FailedOperation.UnmarshalData" LIMITEXCEEDED = "LimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeModelService ¶ added in v1.0.528
func (c *Client) DescribeModelService(request *DescribeModelServiceRequest) (response *DescribeModelServiceResponse, err error)
DescribeModelService 查询单个服务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLSSERVICENOTACTIVED = "FailedOperation.ClsServiceNotActived" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_INVALIDUSERTYPE = "FailedOperation.InvalidUserType" FAILEDOPERATION_KMSKEYNOTOPEN = "FailedOperation.KmsKeyNotOpen" FAILEDOPERATION_NOFREEBUCKET = "FailedOperation.NoFreeBucket" FAILEDOPERATION_NOPERMISSION = "FailedOperation.NoPermission" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_PROCESSING = "FailedOperation.Processing" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_REPOBINDBYINSTANCE = "FailedOperation.RepoBindByInstance" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_TIMEDOUT = "FailedOperation.Timedout" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_BADNAME = "InvalidParameterValue.BadName" INVALIDPARAMETERVALUE_CLSCONFIGREQUIRED = "InvalidParameterValue.ClsConfigRequired" INVALIDPARAMETERVALUE_CODEREPONOTFOUND = "InvalidParameterValue.CodeRepoNotFound" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeModelServiceCallInfo ¶ added in v1.0.528
func (c *Client) DescribeModelServiceCallInfo(request *DescribeModelServiceCallInfoRequest) (response *DescribeModelServiceCallInfoResponse, err error)
DescribeModelServiceCallInfo 展示服务的调用信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLSSERVICENOTACTIVED = "FailedOperation.ClsServiceNotActived" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_INVALIDUSERTYPE = "FailedOperation.InvalidUserType" FAILEDOPERATION_KMSKEYNOTOPEN = "FailedOperation.KmsKeyNotOpen" FAILEDOPERATION_NOFREEBUCKET = "FailedOperation.NoFreeBucket" FAILEDOPERATION_NOPERMISSION = "FailedOperation.NoPermission" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_PROCESSING = "FailedOperation.Processing" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_REPOBINDBYINSTANCE = "FailedOperation.RepoBindByInstance" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_TIMEDOUT = "FailedOperation.Timedout" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeModelServiceCallInfoWithContext ¶ added in v1.0.528
func (c *Client) DescribeModelServiceCallInfoWithContext(ctx context.Context, request *DescribeModelServiceCallInfoRequest) (response *DescribeModelServiceCallInfoResponse, err error)
DescribeModelServiceCallInfo 展示服务的调用信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLSSERVICENOTACTIVED = "FailedOperation.ClsServiceNotActived" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_INVALIDUSERTYPE = "FailedOperation.InvalidUserType" FAILEDOPERATION_KMSKEYNOTOPEN = "FailedOperation.KmsKeyNotOpen" FAILEDOPERATION_NOFREEBUCKET = "FailedOperation.NoFreeBucket" FAILEDOPERATION_NOPERMISSION = "FailedOperation.NoPermission" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_PROCESSING = "FailedOperation.Processing" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_REPOBINDBYINSTANCE = "FailedOperation.RepoBindByInstance" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_TIMEDOUT = "FailedOperation.Timedout" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeModelServiceGroup ¶ added in v1.0.528
func (c *Client) DescribeModelServiceGroup(request *DescribeModelServiceGroupRequest) (response *DescribeModelServiceGroupResponse, err error)
DescribeModelServiceGroup 查询单个服务组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeModelServiceGroupWithContext ¶ added in v1.0.528
func (c *Client) DescribeModelServiceGroupWithContext(ctx context.Context, request *DescribeModelServiceGroupRequest) (response *DescribeModelServiceGroupResponse, err error)
DescribeModelServiceGroup 查询单个服务组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeModelServiceGroups ¶ added in v1.0.528
func (c *Client) DescribeModelServiceGroups(request *DescribeModelServiceGroupsRequest) (response *DescribeModelServiceGroupsResponse, err error)
DescribeModelServiceGroups 列举在线推理服务组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_NOPERMISSION = "FailedOperation.NoPermission" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_QUERYTAGFAIL = "FailedOperation.QueryTagFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" FAILEDOPERATION_UNMARSHALDATA = "FailedOperation.UnmarshalData" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_BADNAME = "InvalidParameterValue.BadName" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeModelServiceGroupsWithContext ¶ added in v1.0.528
func (c *Client) DescribeModelServiceGroupsWithContext(ctx context.Context, request *DescribeModelServiceGroupsRequest) (response *DescribeModelServiceGroupsResponse, err error)
DescribeModelServiceGroups 列举在线推理服务组
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_NOPERMISSION = "FailedOperation.NoPermission" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_QUERYTAGFAIL = "FailedOperation.QueryTagFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" FAILEDOPERATION_UNMARSHALDATA = "FailedOperation.UnmarshalData" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_BADNAME = "InvalidParameterValue.BadName" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeModelServiceHotUpdated ¶ added in v1.0.528
func (c *Client) DescribeModelServiceHotUpdated(request *DescribeModelServiceHotUpdatedRequest) (response *DescribeModelServiceHotUpdatedResponse, err error)
DescribeModelServiceHotUpdated 用于查询模型服务能否开启热更新
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_INSUFFICIENTWHITELISTQUOTA = "FailedOperation.InsufficientWhitelistQuota" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeModelServiceHotUpdatedWithContext ¶ added in v1.0.528
func (c *Client) DescribeModelServiceHotUpdatedWithContext(ctx context.Context, request *DescribeModelServiceHotUpdatedRequest) (response *DescribeModelServiceHotUpdatedResponse, err error)
DescribeModelServiceHotUpdated 用于查询模型服务能否开启热更新
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_INSUFFICIENTWHITELISTQUOTA = "FailedOperation.InsufficientWhitelistQuota" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeModelServiceWithContext ¶ added in v1.0.528
func (c *Client) DescribeModelServiceWithContext(ctx context.Context, request *DescribeModelServiceRequest) (response *DescribeModelServiceResponse, err error)
DescribeModelService 查询单个服务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLSSERVICENOTACTIVED = "FailedOperation.ClsServiceNotActived" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_INVALIDUSERTYPE = "FailedOperation.InvalidUserType" FAILEDOPERATION_KMSKEYNOTOPEN = "FailedOperation.KmsKeyNotOpen" FAILEDOPERATION_NOFREEBUCKET = "FailedOperation.NoFreeBucket" FAILEDOPERATION_NOPERMISSION = "FailedOperation.NoPermission" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_PROCESSING = "FailedOperation.Processing" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_REPOBINDBYINSTANCE = "FailedOperation.RepoBindByInstance" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_TIMEDOUT = "FailedOperation.Timedout" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_BADNAME = "InvalidParameterValue.BadName" INVALIDPARAMETERVALUE_CLSCONFIGREQUIRED = "InvalidParameterValue.ClsConfigRequired" INVALIDPARAMETERVALUE_CODEREPONOTFOUND = "InvalidParameterValue.CodeRepoNotFound" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeNotebook ¶ added in v1.0.711
func (c *Client) DescribeNotebook(request *DescribeNotebookRequest) (response *DescribeNotebookResponse, err error)
DescribeNotebook Notebook详情
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_QUERYBINDINGTAGSFAILED = "FailedOperation.QueryBindingTagsFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYRESOURCEGROUPNAMESFAILED = "FailedOperation.QueryResourceGroupNamesFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeNotebookWithContext ¶ added in v1.0.711
func (c *Client) DescribeNotebookWithContext(ctx context.Context, request *DescribeNotebookRequest) (response *DescribeNotebookResponse, err error)
DescribeNotebook Notebook详情
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_QUERYBINDINGTAGSFAILED = "FailedOperation.QueryBindingTagsFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYRESOURCEGROUPNAMESFAILED = "FailedOperation.QueryResourceGroupNamesFailed" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeNotebooks ¶ added in v1.0.711
func (c *Client) DescribeNotebooks(request *DescribeNotebooksRequest) (response *DescribeNotebooksResponse, err error)
DescribeNotebooks Notebook列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CHECKBILLINGWHITELISTFAILED = "FailedOperation.CheckBillingWhiteListFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYRESOURCEGROUPNAMESFAILED = "FailedOperation.QueryResourceGroupNamesFailed" FAILEDOPERATION_QUERYRESOURCESPECFAILED = "FailedOperation.QueryResourceSpecFailed" INTERNALERROR = "InternalError" INTERNALERROR_QUERYBINDINGTAGSFAILED = "InternalError.QueryBindingTagsFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FILTERKEYSTATUSCONFLICTWITHCHARGESTATUS = "InvalidParameter.FilterKeyStatusConflictWithChargeStatus" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeNotebooksWithContext ¶ added in v1.0.711
func (c *Client) DescribeNotebooksWithContext(ctx context.Context, request *DescribeNotebooksRequest) (response *DescribeNotebooksResponse, err error)
DescribeNotebooks Notebook列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION_CHECKBILLINGWHITELISTFAILED = "FailedOperation.CheckBillingWhiteListFailed" FAILEDOPERATION_QUERYPRICEFAILED = "FailedOperation.QueryPriceFailed" FAILEDOPERATION_QUERYRESOURCEGROUPNAMESFAILED = "FailedOperation.QueryResourceGroupNamesFailed" FAILEDOPERATION_QUERYRESOURCESPECFAILED = "FailedOperation.QueryResourceSpecFailed" INTERNALERROR = "InternalError" INTERNALERROR_QUERYBINDINGTAGSFAILED = "InternalError.QueryBindingTagsFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_FILTERKEYSTATUSCONFLICTWITHCHARGESTATUS = "InvalidParameter.FilterKeyStatusConflictWithChargeStatus" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeTrainingModelVersion ¶
func (c *Client) DescribeTrainingModelVersion(request *DescribeTrainingModelVersionRequest) (response *DescribeTrainingModelVersionResponse, err error)
DescribeTrainingModelVersion 查询模型版本
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeTrainingModelVersionWithContext ¶
func (c *Client) DescribeTrainingModelVersionWithContext(ctx context.Context, request *DescribeTrainingModelVersionRequest) (response *DescribeTrainingModelVersionResponse, err error)
DescribeTrainingModelVersion 查询模型版本
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeTrainingModelVersions ¶
func (c *Client) DescribeTrainingModelVersions(request *DescribeTrainingModelVersionsRequest) (response *DescribeTrainingModelVersionsResponse, err error)
DescribeTrainingModelVersions 模型版本列表
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_NOMODEL = "ResourceNotFound.NoModel" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeTrainingModelVersionsWithContext ¶
func (c *Client) DescribeTrainingModelVersionsWithContext(ctx context.Context, request *DescribeTrainingModelVersionsRequest) (response *DescribeTrainingModelVersionsResponse, err error)
DescribeTrainingModelVersions 模型版本列表
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_NOMODEL = "ResourceNotFound.NoModel" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeTrainingTask ¶
func (c *Client) DescribeTrainingTask(request *DescribeTrainingTaskRequest) (response *DescribeTrainingTaskResponse, err error)
DescribeTrainingTask 训练任务详情
可能返回的错误码:
FAILEDOPERATION_QUERYRESOURCEGROUPNAMESFAILED = "FailedOperation.QueryResourceGroupNamesFailed" INTERNALERROR_NOPERMISSION = "InternalError.NoPermission" INTERNALERROR_QUERYBINDINGTAGSFAILED = "InternalError.QueryBindingTagsFailed" INTERNALERROR_QUERYRESOURCEGROUPNAMESFAILED = "InternalError.QueryResourceGroupNamesFailed" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeTrainingTaskPods ¶
func (c *Client) DescribeTrainingTaskPods(request *DescribeTrainingTaskPodsRequest) (response *DescribeTrainingTaskPodsResponse, err error)
DescribeTrainingTaskPods 训练任务pod列表
可能返回的错误码:
FAILEDOPERATION_QUERYRESOURCEGROUPNAMESFAILED = "FailedOperation.QueryResourceGroupNamesFailed" INTERNALERROR = "InternalError" INTERNALERROR_NOPERMISSION = "InternalError.NoPermission" INTERNALERROR_QUERYRESOURCEGROUPNAMESFAILED = "InternalError.QueryResourceGroupNamesFailed" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeTrainingTaskPodsWithContext ¶
func (c *Client) DescribeTrainingTaskPodsWithContext(ctx context.Context, request *DescribeTrainingTaskPodsRequest) (response *DescribeTrainingTaskPodsResponse, err error)
DescribeTrainingTaskPods 训练任务pod列表
可能返回的错误码:
FAILEDOPERATION_QUERYRESOURCEGROUPNAMESFAILED = "FailedOperation.QueryResourceGroupNamesFailed" INTERNALERROR = "InternalError" INTERNALERROR_NOPERMISSION = "InternalError.NoPermission" INTERNALERROR_QUERYRESOURCEGROUPNAMESFAILED = "InternalError.QueryResourceGroupNamesFailed" INVALIDPARAMETER = "InvalidParameter" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeTrainingTaskWithContext ¶
func (c *Client) DescribeTrainingTaskWithContext(ctx context.Context, request *DescribeTrainingTaskRequest) (response *DescribeTrainingTaskResponse, err error)
DescribeTrainingTask 训练任务详情
可能返回的错误码:
FAILEDOPERATION_QUERYRESOURCEGROUPNAMESFAILED = "FailedOperation.QueryResourceGroupNamesFailed" INTERNALERROR_NOPERMISSION = "InternalError.NoPermission" INTERNALERROR_QUERYBINDINGTAGSFAILED = "InternalError.QueryBindingTagsFailed" INTERNALERROR_QUERYRESOURCEGROUPNAMESFAILED = "InternalError.QueryResourceGroupNamesFailed" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeTrainingTasks ¶
func (c *Client) DescribeTrainingTasks(request *DescribeTrainingTasksRequest) (response *DescribeTrainingTasksResponse, err error)
DescribeTrainingTasks 训练任务列表
可能返回的错误码:
FAILEDOPERATION_QUERYRESOURCESPECFAILED = "FailedOperation.QueryResourceSpecFailed" INTERNALERROR = "InternalError" INTERNALERROR_QUERYBINDINGTAGSFAILED = "InternalError.QueryBindingTagsFailed" INTERNALERROR_QUERYPRICEFAILED = "InternalError.QueryPriceFailed" INTERNALERROR_QUERYRESOURCEGROUPNAMESFAILED = "InternalError.QueryResourceGroupNamesFailed" INTERNALERROR_QUERYRESOURCESPECFAILED = "InternalError.QueryResourceSpecFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_FRAMEWORKVERSIONNOTSUPPORT = "InvalidParameterValue.FrameworkVersionNotSupport" INVALIDPARAMETERVALUE_PAGELIMITEXCEEDED = "InvalidParameterValue.PageLimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTrainingTasksWithContext ¶
func (c *Client) DescribeTrainingTasksWithContext(ctx context.Context, request *DescribeTrainingTasksRequest) (response *DescribeTrainingTasksResponse, err error)
DescribeTrainingTasks 训练任务列表
可能返回的错误码:
FAILEDOPERATION_QUERYRESOURCESPECFAILED = "FailedOperation.QueryResourceSpecFailed" INTERNALERROR = "InternalError" INTERNALERROR_QUERYBINDINGTAGSFAILED = "InternalError.QueryBindingTagsFailed" INTERNALERROR_QUERYPRICEFAILED = "InternalError.QueryPriceFailed" INTERNALERROR_QUERYRESOURCEGROUPNAMESFAILED = "InternalError.QueryResourceGroupNamesFailed" INTERNALERROR_QUERYRESOURCESPECFAILED = "InternalError.QueryResourceSpecFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE_FRAMEWORKVERSIONNOTSUPPORT = "InvalidParameterValue.FrameworkVersionNotSupport" INVALIDPARAMETERVALUE_PAGELIMITEXCEEDED = "InvalidParameterValue.PageLimitExceeded" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyModelService ¶ added in v1.0.543
func (c *Client) ModifyModelService(request *ModifyModelServiceRequest) (response *ModifyModelServiceResponse, err error)
ModifyModelService 用于更新模型服务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_INSUFFICIENTWHITELISTQUOTA = "FailedOperation.InsufficientWhitelistQuota" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_QUERYTAGFAIL = "FailedOperation.QueryTagFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" FAILEDOPERATION_UNMARSHALDATA = "FailedOperation.UnmarshalData" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MODELFILEINVALID = "InvalidParameter.ModelFileInvalid" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyModelServiceWithContext ¶ added in v1.0.543
func (c *Client) ModifyModelServiceWithContext(ctx context.Context, request *ModifyModelServiceRequest) (response *ModifyModelServiceResponse, err error)
ModifyModelService 用于更新模型服务
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_APIGATEWAYQUERYFAILED = "FailedOperation.ApiGatewayQueryFailed" FAILEDOPERATION_BILLINGQUERYFAILED = "FailedOperation.BillingQueryFailed" FAILEDOPERATION_CLUSTERQUERYFAILED = "FailedOperation.ClusterQueryFailed" FAILEDOPERATION_DUPLICATENAME = "FailedOperation.DuplicateName" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_EXECTAGFAIL = "FailedOperation.ExecTagFail" FAILEDOPERATION_INSUFFICIENTWHITELISTQUOTA = "FailedOperation.InsufficientWhitelistQuota" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" FAILEDOPERATION_QUERYTAGFAIL = "FailedOperation.QueryTagFail" FAILEDOPERATION_STSQUERYFAILED = "FailedOperation.StsQueryFailed" FAILEDOPERATION_UNKNOWNINSTANCETYPE = "FailedOperation.UnknownInstanceType" FAILEDOPERATION_UNMARSHALDATA = "FailedOperation.UnmarshalData" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MODELFILEINVALID = "InvalidParameter.ModelFileInvalid" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" RESOURCEINUSE = "ResourceInUse" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) PushTrainingMetrics ¶
func (c *Client) PushTrainingMetrics(request *PushTrainingMetricsRequest) (response *PushTrainingMetricsResponse, err error)
PushTrainingMetrics 上报训练自定义指标
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLSSERVICENOTACTIVED = "FailedOperation.ClsServiceNotActived" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" INVALIDPARAMETER = "InvalidParameter"
func (*Client) PushTrainingMetricsWithContext ¶
func (c *Client) PushTrainingMetricsWithContext(ctx context.Context, request *PushTrainingMetricsRequest) (response *PushTrainingMetricsResponse, err error)
PushTrainingMetrics 上报训练自定义指标
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CLSSERVICENOTACTIVED = "FailedOperation.ClsServiceNotActived" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" INVALIDPARAMETER = "InvalidParameter"
func (*Client) SendChatMessage ¶ added in v1.0.723
func (c *Client) SendChatMessage(request *SendChatMessageRequest) (response *SendChatMessageResponse, err error)
SendChatMessage 这是一个供您体验大模型聊天的接口。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MODELISOFFLINE = "InvalidParameter.ModelIsOffline"
func (*Client) SendChatMessageWithContext ¶ added in v1.0.723
func (c *Client) SendChatMessageWithContext(ctx context.Context, request *SendChatMessageRequest) (response *SendChatMessageResponse, err error)
SendChatMessage 这是一个供您体验大模型聊天的接口。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_MODELISOFFLINE = "InvalidParameter.ModelIsOffline"
func (*Client) StartNotebook ¶ added in v1.0.711
func (c *Client) StartNotebook(request *StartNotebookRequest) (response *StartNotebookResponse, err error)
StartNotebook 启动Notebook
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_MODIFYBILLINGINSTANCEBATCHFAILED = "FailedOperation.ModifyBillingInstanceBatchFailed" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_QUERYRESOURCESPECFAILED = "FailedOperation.QueryResourceSpecFailed" INTERNALERROR = "InternalError" INTERNALERROR_QUERYRESOURCEGROUPFAILED = "InternalError.QueryResourceGroupFailed" INTERNALERROR_QUERYSUBNETINFOFAILED = "InternalError.QuerySubnetInfoFailed" INTERNALERROR_QUERYUSERTMPCREDENTIALFAILED = "InternalError.QueryUserTMPCredentialFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_UNSUPPORTEDMULTILOCALDISK = "InvalidParameter.UnsupportedMultiLocalDisk" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DATACONFIGNUMLIMITEXCEEDED = "InvalidParameterValue.DataConfigNumLimitExceeded" INVALIDPARAMETERVALUE_GETCFSMOUNTIPFAILED = "InvalidParameterValue.GetCFSMountIPFailed" INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATEFREEVOLUMENOTEBOOKWITHBAREMETALRESOURCEGROUP = "InvalidParameterValue.NotAllowedToCreateFreeVolumeNotebookWithBareMetalResourceGroup" INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATEFREEVOLUMENOTEBOOKWITHSWRESOURCEGROUP = "InvalidParameterValue.NotAllowedToCreateFreeVolumeNotebookWithSWResourceGroup" INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATENOTEBOOKWITHBAREMETALRESOURCEGROUP = "InvalidParameterValue.NotAllowedToCreateNotebookWithBareMetalResourceGroup" INVALIDPARAMETERVALUE_PATHILLEGAL = "InvalidParameterValue.PathIllegal" INVALIDPARAMETERVALUE_UNSUPPORTEDMULTICBSSTORAGE = "InvalidParameterValue.UnsupportedMultiCBSStorage" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" OPERATIONDENIED_BILLINGSTATUSRESOURCEINSUFFICIENT = "OperationDenied.BillingStatusResourceInsufficient" OPERATIONDENIED_IPILLEGAL = "OperationDenied.IpIllegal" OPERATIONDENIED_MIYINGBALANCEINSUFFICIENT = "OperationDenied.MIYINGBalanceInsufficient" OPERATIONDENIED_NOTALLOW = "OperationDenied.NotAllow" OPERATIONDENIED_RESOURCEGROUPINSUFFICIENT = "OperationDenied.ResourceGroupInsufficient" OPERATIONDENIED_WHITELISTQUOTAEXCEED = "OperationDenied.WhitelistQuotaExceed" RESOURCEINSUFFICIENT_SSHPORTISCONSUMEDUP = "ResourceInsufficient.SSHPortIsConsumedUp" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCEGROUPNOTFOUND = "ResourceNotFound.ResourceGroupNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) StartNotebookWithContext ¶ added in v1.0.711
func (c *Client) StartNotebookWithContext(ctx context.Context, request *StartNotebookRequest) (response *StartNotebookResponse, err error)
StartNotebook 启动Notebook
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_MODIFYBILLINGINSTANCEBATCHFAILED = "FailedOperation.ModifyBillingInstanceBatchFailed" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_QUERYRESOURCESPECFAILED = "FailedOperation.QueryResourceSpecFailed" INTERNALERROR = "InternalError" INTERNALERROR_QUERYRESOURCEGROUPFAILED = "InternalError.QueryResourceGroupFailed" INTERNALERROR_QUERYSUBNETINFOFAILED = "InternalError.QuerySubnetInfoFailed" INTERNALERROR_QUERYUSERTMPCREDENTIALFAILED = "InternalError.QueryUserTMPCredentialFailed" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_UNSUPPORTEDMULTILOCALDISK = "InvalidParameter.UnsupportedMultiLocalDisk" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DATACONFIGNUMLIMITEXCEEDED = "InvalidParameterValue.DataConfigNumLimitExceeded" INVALIDPARAMETERVALUE_GETCFSMOUNTIPFAILED = "InvalidParameterValue.GetCFSMountIPFailed" INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATEFREEVOLUMENOTEBOOKWITHBAREMETALRESOURCEGROUP = "InvalidParameterValue.NotAllowedToCreateFreeVolumeNotebookWithBareMetalResourceGroup" INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATEFREEVOLUMENOTEBOOKWITHSWRESOURCEGROUP = "InvalidParameterValue.NotAllowedToCreateFreeVolumeNotebookWithSWResourceGroup" INVALIDPARAMETERVALUE_NOTALLOWEDTOCREATENOTEBOOKWITHBAREMETALRESOURCEGROUP = "InvalidParameterValue.NotAllowedToCreateNotebookWithBareMetalResourceGroup" INVALIDPARAMETERVALUE_PATHILLEGAL = "InvalidParameterValue.PathIllegal" INVALIDPARAMETERVALUE_UNSUPPORTEDMULTICBSSTORAGE = "InvalidParameterValue.UnsupportedMultiCBSStorage" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_BALANCEINSUFFICIENT = "OperationDenied.BalanceInsufficient" OPERATIONDENIED_BILLINGSTATUSRESOURCEINSUFFICIENT = "OperationDenied.BillingStatusResourceInsufficient" OPERATIONDENIED_IPILLEGAL = "OperationDenied.IpIllegal" OPERATIONDENIED_MIYINGBALANCEINSUFFICIENT = "OperationDenied.MIYINGBalanceInsufficient" OPERATIONDENIED_NOTALLOW = "OperationDenied.NotAllow" OPERATIONDENIED_RESOURCEGROUPINSUFFICIENT = "OperationDenied.ResourceGroupInsufficient" OPERATIONDENIED_WHITELISTQUOTAEXCEED = "OperationDenied.WhitelistQuotaExceed" RESOURCEINSUFFICIENT_SSHPORTISCONSUMEDUP = "ResourceInsufficient.SSHPortIsConsumedUp" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_RESOURCEGROUPNOTFOUND = "ResourceNotFound.ResourceGroupNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) StopModelAccelerateTask ¶ added in v1.0.534
func (c *Client) StopModelAccelerateTask(request *StopModelAccelerateTaskRequest) (response *StopModelAccelerateTaskResponse, err error)
StopModelAccelerateTask 停止模型加速任务
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter"
func (*Client) StopModelAccelerateTaskWithContext ¶ added in v1.0.534
func (c *Client) StopModelAccelerateTaskWithContext(ctx context.Context, request *StopModelAccelerateTaskRequest) (response *StopModelAccelerateTaskResponse, err error)
StopModelAccelerateTask 停止模型加速任务
可能返回的错误码:
AUTHFAILURE_CAMEXCEPTION = "AuthFailure.CamException" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_EXECDATABASEFAIL = "FailedOperation.ExecDatabaseFail" FAILEDOPERATION_QUERYDATABASEFAIL = "FailedOperation.QueryDatabaseFail" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter"
func (*Client) StopNotebook ¶ added in v1.0.711
func (c *Client) StopNotebook(request *StopNotebookRequest) (response *StopNotebookResponse, err error)
StopNotebook 停止Notebook
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_STOPJOBINSTANCEFAILED = "FailedOperation.StopJobInstanceFailed" FAILEDOPERATION_UNSUBMITNOTALLOWTOSTOP = "FailedOperation.UnSubmitNotAllowToStop" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) StopNotebookWithContext ¶ added in v1.0.711
func (c *Client) StopNotebookWithContext(ctx context.Context, request *StopNotebookRequest) (response *StopNotebookResponse, err error)
StopNotebook 停止Notebook
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTALLOW = "FailedOperation.NotAllow" FAILEDOPERATION_STOPJOBINSTANCEFAILED = "FailedOperation.StopJobInstanceFailed" FAILEDOPERATION_UNSUBMITNOTALLOWTOSTOP = "FailedOperation.UnSubmitNotAllowToStop" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNKNOWNPARAMETER = "UnknownParameter"
type Container ¶ added in v1.0.600
type Container struct { // 名字 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // id // 注意:此字段可能返回 null,表示取不到有效值。 ContainerId *string `json:"ContainerId,omitnil,omitempty" name:"ContainerId"` // 镜像地址 // 注意:此字段可能返回 null,表示取不到有效值。 Image *string `json:"Image,omitnil,omitempty" name:"Image"` // 容器状态 // 注意:此字段可能返回 null,表示取不到有效值。 Status *ContainerStatus `json:"Status,omitnil,omitempty" name:"Status"` }
type ContainerStatus ¶ added in v1.0.600
type ContainerStatus struct { // 重启次数 // 注意:此字段可能返回 null,表示取不到有效值。 RestartCount *int64 `json:"RestartCount,omitnil,omitempty" name:"RestartCount"` // 状态 // 注意:此字段可能返回 null,表示取不到有效值。 State *string `json:"State,omitnil,omitempty" name:"State"` // 是否就绪 // 注意:此字段可能返回 null,表示取不到有效值。 Ready *bool `json:"Ready,omitnil,omitempty" name:"Ready"` // 状态原因 // 注意:此字段可能返回 null,表示取不到有效值。 Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // 容器的错误信息 // 注意:此字段可能返回 null,表示取不到有效值。 Message *string `json:"Message,omitnil,omitempty" name:"Message"` }
type CosPathInfo ¶
type CosPathInfo struct { // 存储桶 // 注意:此字段可能返回 null,表示取不到有效值。 Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // 所在地域 // 注意:此字段可能返回 null,表示取不到有效值。 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 路径列表,目前只支持单个 // 注意:此字段可能返回 null,表示取不到有效值。 Paths []*string `json:"Paths,omitnil,omitempty" name:"Paths"` }
type CreateDatasetRequest ¶
type CreateDatasetRequest struct { *tchttp.BaseRequest // 数据集名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头 DatasetName *string `json:"DatasetName,omitnil,omitempty" name:"DatasetName"` // 数据集类型: // TYPE_DATASET_TEXT,文本 // TYPE_DATASET_IMAGE,图片 // TYPE_DATASET_TABLE,表格 // TYPE_DATASET_OTHER,其他 DatasetType *string `json:"DatasetType,omitnil,omitempty" name:"DatasetType"` // 数据源cos路径 StorageDataPath *CosPathInfo `json:"StorageDataPath,omitnil,omitempty" name:"StorageDataPath"` // 数据集标签cos存储路径 StorageLabelPath *CosPathInfo `json:"StorageLabelPath,omitnil,omitempty" name:"StorageLabelPath"` // 数据集标签 DatasetTags []*Tag `json:"DatasetTags,omitnil,omitempty" name:"DatasetTags"` // 数据集标注状态: // STATUS_NON_ANNOTATED,未标注 // STATUS_ANNOTATED,已标注 AnnotationStatus *string `json:"AnnotationStatus,omitnil,omitempty" name:"AnnotationStatus"` // 标注类型: // ANNOTATION_TYPE_CLASSIFICATION,图片分类 // ANNOTATION_TYPE_DETECTION,目标检测 // ANNOTATION_TYPE_SEGMENTATION,图片分割 // ANNOTATION_TYPE_TRACKING,目标跟踪 AnnotationType *string `json:"AnnotationType,omitnil,omitempty" name:"AnnotationType"` // 标注格式: // ANNOTATION_FORMAT_TI,TI平台格式 // ANNOTATION_FORMAT_PASCAL,Pascal Voc // ANNOTATION_FORMAT_COCO,COCO // ANNOTATION_FORMAT_FILE,文件目录结构 AnnotationFormat *string `json:"AnnotationFormat,omitnil,omitempty" name:"AnnotationFormat"` // 表头信息 SchemaInfos []*SchemaInfo `json:"SchemaInfos,omitnil,omitempty" name:"SchemaInfos"` // 数据是否存在表头 IsSchemaExisted *bool `json:"IsSchemaExisted,omitnil,omitempty" name:"IsSchemaExisted"` // 导入文件粒度,按行或者按文件 ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"` }
func NewCreateDatasetRequest ¶
func NewCreateDatasetRequest() (request *CreateDatasetRequest)
func (*CreateDatasetRequest) FromJsonString ¶
func (r *CreateDatasetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDatasetRequest) ToJsonString ¶
func (r *CreateDatasetRequest) ToJsonString() string
type CreateDatasetRequestParams ¶ added in v1.0.426
type CreateDatasetRequestParams struct { // 数据集名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头 DatasetName *string `json:"DatasetName,omitnil,omitempty" name:"DatasetName"` // 数据集类型: // TYPE_DATASET_TEXT,文本 // TYPE_DATASET_IMAGE,图片 // TYPE_DATASET_TABLE,表格 // TYPE_DATASET_OTHER,其他 DatasetType *string `json:"DatasetType,omitnil,omitempty" name:"DatasetType"` // 数据源cos路径 StorageDataPath *CosPathInfo `json:"StorageDataPath,omitnil,omitempty" name:"StorageDataPath"` // 数据集标签cos存储路径 StorageLabelPath *CosPathInfo `json:"StorageLabelPath,omitnil,omitempty" name:"StorageLabelPath"` // 数据集标签 DatasetTags []*Tag `json:"DatasetTags,omitnil,omitempty" name:"DatasetTags"` // 数据集标注状态: // STATUS_NON_ANNOTATED,未标注 // STATUS_ANNOTATED,已标注 AnnotationStatus *string `json:"AnnotationStatus,omitnil,omitempty" name:"AnnotationStatus"` // 标注类型: // ANNOTATION_TYPE_CLASSIFICATION,图片分类 // ANNOTATION_TYPE_DETECTION,目标检测 // ANNOTATION_TYPE_SEGMENTATION,图片分割 // ANNOTATION_TYPE_TRACKING,目标跟踪 AnnotationType *string `json:"AnnotationType,omitnil,omitempty" name:"AnnotationType"` // 标注格式: // ANNOTATION_FORMAT_TI,TI平台格式 // ANNOTATION_FORMAT_PASCAL,Pascal Voc // ANNOTATION_FORMAT_COCO,COCO // ANNOTATION_FORMAT_FILE,文件目录结构 AnnotationFormat *string `json:"AnnotationFormat,omitnil,omitempty" name:"AnnotationFormat"` // 表头信息 SchemaInfos []*SchemaInfo `json:"SchemaInfos,omitnil,omitempty" name:"SchemaInfos"` // 数据是否存在表头 IsSchemaExisted *bool `json:"IsSchemaExisted,omitnil,omitempty" name:"IsSchemaExisted"` // 导入文件粒度,按行或者按文件 ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"` }
Predefined struct for user
type CreateDatasetResponse ¶
type CreateDatasetResponse struct { *tchttp.BaseResponse Response *CreateDatasetResponseParams `json:"Response"` }
func NewCreateDatasetResponse ¶
func NewCreateDatasetResponse() (response *CreateDatasetResponse)
func (*CreateDatasetResponse) FromJsonString ¶
func (r *CreateDatasetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDatasetResponse) ToJsonString ¶
func (r *CreateDatasetResponse) ToJsonString() string
type CreateDatasetResponseParams ¶ added in v1.0.426
type CreateDatasetResponseParams struct { // 数据集ID // 注意:此字段可能返回 null,表示取不到有效值。 DatasetId *string `json:"DatasetId,omitnil,omitempty" name:"DatasetId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateModelServiceRequest ¶ added in v1.0.528
type CreateModelServiceRequest struct { *tchttp.BaseRequest // 新增版本时需要填写 ServiceGroupId *string `json:"ServiceGroupId,omitnil,omitempty" name:"ServiceGroupId"` // 不超过60个字,仅支持英文、数字、下划线"_"、短横"-",只能以英文、数字开头 ServiceGroupName *string `json:"ServiceGroupName,omitnil,omitempty" name:"ServiceGroupName"` // 模型服务的描述 ServiceDescription *string `json:"ServiceDescription,omitnil,omitempty" name:"ServiceDescription"` // 付费模式,有 PREPAID (包年包月)和 POSTPAID_BY_HOUR(按量付费) ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // 预付费模式下所属的资源组id,同服务组下唯一 ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"` // 模型信息,需要挂载模型时填写 ModelInfo *ModelInfo `json:"ModelInfo,omitnil,omitempty" name:"ModelInfo"` // 镜像信息,配置服务运行所需的镜像地址等信息 ImageInfo *ImageInfo `json:"ImageInfo,omitnil,omitempty" name:"ImageInfo"` // 环境变量,可选参数,用于配置容器中的环境变量 Env []*EnvVar `json:"Env,omitnil,omitempty" name:"Env"` // 资源描述,指定包年包月模式下的cpu,mem,gpu等信息,后付费无需填写 Resources *ResourceInfo `json:"Resources,omitnil,omitempty" name:"Resources"` // 使用DescribeBillingSpecs接口返回的规格列表中的值,或者参考实例列表: // TI.S.MEDIUM.POST 2C4G // TI.S.LARGE.POST 4C8G // TI.S.2XLARGE16.POST 8C16G // TI.S.2XLARGE32.POST 8C32G // TI.S.4XLARGE32.POST 16C32G // TI.S.4XLARGE64.POST 16C64G // TI.S.6XLARGE48.POST 24C48G // TI.S.6XLARGE96.POST 24C96G // TI.S.8XLARGE64.POST 32C64G // TI.S.8XLARGE128.POST 32C128G // TI.GN7.LARGE20.POST 4C20G T4*1/4 // TI.GN7.2XLARGE40.POST 10C40G T4*1/2 // TI.GN7.2XLARGE32.POST 8C32G T4*1 // TI.GN7.5XLARGE80.POST 20C80G T4*1 // TI.GN7.8XLARGE128.POST 32C128G T4*1 // TI.GN7.10XLARGE160.POST 40C160G T4*2 // TI.GN7.20XLARGE320.POST 80C320G T4*4 InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 扩缩容类型 支持:自动 - "AUTO", 手动 - "MANUAL",默认为MANUAL ScaleMode *string `json:"ScaleMode,omitnil,omitempty" name:"ScaleMode"` // 实例数量, 不同计费模式和调节模式下对应关系如下 // PREPAID 和 POSTPAID_BY_HOUR: // 手动调节模式下对应 实例数量 // 自动调节模式下对应 基于时间的默认策略的实例数量 // HYBRID_PAID: // 后付费实例手动调节模式下对应 实例数量 // 后付费实例自动调节模式下对应 时间策略的默认策略的实例数量 Replicas *int64 `json:"Replicas,omitnil,omitempty" name:"Replicas"` // 自动伸缩信息 HorizontalPodAutoscaler *HorizontalPodAutoscaler `json:"HorizontalPodAutoscaler,omitnil,omitempty" name:"HorizontalPodAutoscaler"` // 是否开启日志投递,开启后需填写配置投递到指定cls LogEnable *bool `json:"LogEnable,omitnil,omitempty" name:"LogEnable"` // 日志配置,需要投递服务日志到指定cls时填写 LogConfig *LogConfig `json:"LogConfig,omitnil,omitempty" name:"LogConfig"` // 是否开启接口鉴权,开启后自动生成token信息,访问需要token鉴权 AuthorizationEnable *bool `json:"AuthorizationEnable,omitnil,omitempty" name:"AuthorizationEnable"` // 腾讯云标签 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 是否新增版本 NewVersion *bool `json:"NewVersion,omitnil,omitempty" name:"NewVersion"` // 定时任务配置,使用定时策略时填写 CronScaleJobs []*CronScaleJob `json:"CronScaleJobs,omitnil,omitempty" name:"CronScaleJobs"` // 自动伸缩策略配置 HPA : 通过HPA进行弹性伸缩 CRON 通过定时任务进行伸缩 ScaleStrategy *string `json:"ScaleStrategy,omitnil,omitempty" name:"ScaleStrategy"` // 计费模式[HYBRID_PAID]时生效, 用于标识混合计费模式下的预付费实例数 HybridBillingPrepaidReplicas *int64 `json:"HybridBillingPrepaidReplicas,omitnil,omitempty" name:"HybridBillingPrepaidReplicas"` // [AUTO_ML 自动学习,自动学习正式发布 AUTO_ML_FORMAL, DEFAULT 默认] CreateSource *string `json:"CreateSource,omitnil,omitempty" name:"CreateSource"` // 是否开启模型的热更新。默认不开启 ModelHotUpdateEnable *bool `json:"ModelHotUpdateEnable,omitnil,omitempty" name:"ModelHotUpdateEnable"` // 定时停止配置 ScheduledAction *ScheduledAction `json:"ScheduledAction,omitnil,omitempty" name:"ScheduledAction"` // 挂载配置,目前只支持CFS VolumeMount *VolumeMount `json:"VolumeMount,omitnil,omitempty" name:"VolumeMount"` // 服务限速限流相关配置 ServiceLimit *ServiceLimit `json:"ServiceLimit,omitnil,omitempty" name:"ServiceLimit"` // 回调地址,用于回调创建服务状态信息,回调格式&内容详情见:[TI-ONE 接口回调说明](https://cloud.tencent.com/document/product/851/84292) CallbackUrl *string `json:"CallbackUrl,omitnil,omitempty" name:"CallbackUrl"` // 是否开启模型的加速, 仅对StableDiffusion(动态加速)格式的模型有效。 ModelTurboEnable *bool `json:"ModelTurboEnable,omitnil,omitempty" name:"ModelTurboEnable"` // 服务分类 ServiceCategory *string `json:"ServiceCategory,omitnil,omitempty" name:"ServiceCategory"` // 服务的启动命令,如遇特殊字符导致配置失败,可使用CommandBase64参数 Command *string `json:"Command,omitnil,omitempty" name:"Command"` // 是否开启TIONE内网访问外部,此功能仅支持后付费机型与从TIONE平台购买的预付费机型;使用从CVM选择资源组时此配置不生效。 ServiceEIP *ServiceEIP `json:"ServiceEIP,omitnil,omitempty" name:"ServiceEIP"` // 服务的启动命令,以base64格式进行输入,与Command同时配置时,仅当前参数生效 CommandBase64 *string `json:"CommandBase64,omitnil,omitempty" name:"CommandBase64"` // 服务端口,仅在非内置镜像时生效,默认8501。不支持输入8501-8510,6006,9092 ServicePort *int64 `json:"ServicePort,omitnil,omitempty" name:"ServicePort"` }
func NewCreateModelServiceRequest ¶ added in v1.0.528
func NewCreateModelServiceRequest() (request *CreateModelServiceRequest)
func (*CreateModelServiceRequest) FromJsonString ¶ added in v1.0.528
func (r *CreateModelServiceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateModelServiceRequest) ToJsonString ¶ added in v1.0.528
func (r *CreateModelServiceRequest) ToJsonString() string
type CreateModelServiceRequestParams ¶ added in v1.0.528
type CreateModelServiceRequestParams struct { // 新增版本时需要填写 ServiceGroupId *string `json:"ServiceGroupId,omitnil,omitempty" name:"ServiceGroupId"` // 不超过60个字,仅支持英文、数字、下划线"_"、短横"-",只能以英文、数字开头 ServiceGroupName *string `json:"ServiceGroupName,omitnil,omitempty" name:"ServiceGroupName"` // 模型服务的描述 ServiceDescription *string `json:"ServiceDescription,omitnil,omitempty" name:"ServiceDescription"` // 付费模式,有 PREPAID (包年包月)和 POSTPAID_BY_HOUR(按量付费) ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // 预付费模式下所属的资源组id,同服务组下唯一 ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"` // 模型信息,需要挂载模型时填写 ModelInfo *ModelInfo `json:"ModelInfo,omitnil,omitempty" name:"ModelInfo"` // 镜像信息,配置服务运行所需的镜像地址等信息 ImageInfo *ImageInfo `json:"ImageInfo,omitnil,omitempty" name:"ImageInfo"` // 环境变量,可选参数,用于配置容器中的环境变量 Env []*EnvVar `json:"Env,omitnil,omitempty" name:"Env"` // 资源描述,指定包年包月模式下的cpu,mem,gpu等信息,后付费无需填写 Resources *ResourceInfo `json:"Resources,omitnil,omitempty" name:"Resources"` // 使用DescribeBillingSpecs接口返回的规格列表中的值,或者参考实例列表: // TI.S.MEDIUM.POST 2C4G // TI.S.LARGE.POST 4C8G // TI.S.2XLARGE16.POST 8C16G // TI.S.2XLARGE32.POST 8C32G // TI.S.4XLARGE32.POST 16C32G // TI.S.4XLARGE64.POST 16C64G // TI.S.6XLARGE48.POST 24C48G // TI.S.6XLARGE96.POST 24C96G // TI.S.8XLARGE64.POST 32C64G // TI.S.8XLARGE128.POST 32C128G // TI.GN7.LARGE20.POST 4C20G T4*1/4 // TI.GN7.2XLARGE40.POST 10C40G T4*1/2 // TI.GN7.2XLARGE32.POST 8C32G T4*1 // TI.GN7.5XLARGE80.POST 20C80G T4*1 // TI.GN7.8XLARGE128.POST 32C128G T4*1 // TI.GN7.10XLARGE160.POST 40C160G T4*2 // TI.GN7.20XLARGE320.POST 80C320G T4*4 InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 扩缩容类型 支持:自动 - "AUTO", 手动 - "MANUAL",默认为MANUAL ScaleMode *string `json:"ScaleMode,omitnil,omitempty" name:"ScaleMode"` // 实例数量, 不同计费模式和调节模式下对应关系如下 // PREPAID 和 POSTPAID_BY_HOUR: // 手动调节模式下对应 实例数量 // 自动调节模式下对应 基于时间的默认策略的实例数量 // HYBRID_PAID: // 后付费实例手动调节模式下对应 实例数量 // 后付费实例自动调节模式下对应 时间策略的默认策略的实例数量 Replicas *int64 `json:"Replicas,omitnil,omitempty" name:"Replicas"` // 自动伸缩信息 HorizontalPodAutoscaler *HorizontalPodAutoscaler `json:"HorizontalPodAutoscaler,omitnil,omitempty" name:"HorizontalPodAutoscaler"` // 是否开启日志投递,开启后需填写配置投递到指定cls LogEnable *bool `json:"LogEnable,omitnil,omitempty" name:"LogEnable"` // 日志配置,需要投递服务日志到指定cls时填写 LogConfig *LogConfig `json:"LogConfig,omitnil,omitempty" name:"LogConfig"` // 是否开启接口鉴权,开启后自动生成token信息,访问需要token鉴权 AuthorizationEnable *bool `json:"AuthorizationEnable,omitnil,omitempty" name:"AuthorizationEnable"` // 腾讯云标签 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 是否新增版本 NewVersion *bool `json:"NewVersion,omitnil,omitempty" name:"NewVersion"` // 定时任务配置,使用定时策略时填写 CronScaleJobs []*CronScaleJob `json:"CronScaleJobs,omitnil,omitempty" name:"CronScaleJobs"` // 自动伸缩策略配置 HPA : 通过HPA进行弹性伸缩 CRON 通过定时任务进行伸缩 ScaleStrategy *string `json:"ScaleStrategy,omitnil,omitempty" name:"ScaleStrategy"` // 计费模式[HYBRID_PAID]时生效, 用于标识混合计费模式下的预付费实例数 HybridBillingPrepaidReplicas *int64 `json:"HybridBillingPrepaidReplicas,omitnil,omitempty" name:"HybridBillingPrepaidReplicas"` // [AUTO_ML 自动学习,自动学习正式发布 AUTO_ML_FORMAL, DEFAULT 默认] CreateSource *string `json:"CreateSource,omitnil,omitempty" name:"CreateSource"` // 是否开启模型的热更新。默认不开启 ModelHotUpdateEnable *bool `json:"ModelHotUpdateEnable,omitnil,omitempty" name:"ModelHotUpdateEnable"` // 定时停止配置 ScheduledAction *ScheduledAction `json:"ScheduledAction,omitnil,omitempty" name:"ScheduledAction"` // 挂载配置,目前只支持CFS VolumeMount *VolumeMount `json:"VolumeMount,omitnil,omitempty" name:"VolumeMount"` // 服务限速限流相关配置 ServiceLimit *ServiceLimit `json:"ServiceLimit,omitnil,omitempty" name:"ServiceLimit"` // 回调地址,用于回调创建服务状态信息,回调格式&内容详情见:[TI-ONE 接口回调说明](https://cloud.tencent.com/document/product/851/84292) CallbackUrl *string `json:"CallbackUrl,omitnil,omitempty" name:"CallbackUrl"` // 是否开启模型的加速, 仅对StableDiffusion(动态加速)格式的模型有效。 ModelTurboEnable *bool `json:"ModelTurboEnable,omitnil,omitempty" name:"ModelTurboEnable"` // 服务分类 ServiceCategory *string `json:"ServiceCategory,omitnil,omitempty" name:"ServiceCategory"` // 服务的启动命令,如遇特殊字符导致配置失败,可使用CommandBase64参数 Command *string `json:"Command,omitnil,omitempty" name:"Command"` // 是否开启TIONE内网访问外部,此功能仅支持后付费机型与从TIONE平台购买的预付费机型;使用从CVM选择资源组时此配置不生效。 ServiceEIP *ServiceEIP `json:"ServiceEIP,omitnil,omitempty" name:"ServiceEIP"` // 服务的启动命令,以base64格式进行输入,与Command同时配置时,仅当前参数生效 CommandBase64 *string `json:"CommandBase64,omitnil,omitempty" name:"CommandBase64"` // 服务端口,仅在非内置镜像时生效,默认8501。不支持输入8501-8510,6006,9092 ServicePort *int64 `json:"ServicePort,omitnil,omitempty" name:"ServicePort"` }
Predefined struct for user
type CreateModelServiceResponse ¶ added in v1.0.528
type CreateModelServiceResponse struct { *tchttp.BaseResponse Response *CreateModelServiceResponseParams `json:"Response"` }
func NewCreateModelServiceResponse ¶ added in v1.0.528
func NewCreateModelServiceResponse() (response *CreateModelServiceResponse)
func (*CreateModelServiceResponse) FromJsonString ¶ added in v1.0.528
func (r *CreateModelServiceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateModelServiceResponse) ToJsonString ¶ added in v1.0.528
func (r *CreateModelServiceResponse) ToJsonString() string
type CreateModelServiceResponseParams ¶ added in v1.0.528
type CreateModelServiceResponseParams struct { // 生成的模型服务 // 注意:此字段可能返回 null,表示取不到有效值。 Service *Service `json:"Service,omitnil,omitempty" name:"Service"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateNotebookRequest ¶ added in v1.0.711
type CreateNotebookRequest struct { *tchttp.BaseRequest // 名称。不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 计算资源付费模式 ,可选值为: // PREPAID:预付费,即包年包月 // POSTPAID_BY_HOUR:按小时后付费 ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // 计算资源配置 ResourceConf *ResourceConf `json:"ResourceConf,omitnil,omitempty" name:"ResourceConf"` // 是否上报日志 LogEnable *bool `json:"LogEnable,omitnil,omitempty" name:"LogEnable"` // 是否ROOT权限 RootAccess *bool `json:"RootAccess,omitnil,omitempty" name:"RootAccess"` // 是否自动停止 AutoStopping *bool `json:"AutoStopping,omitnil,omitempty" name:"AutoStopping"` // 是否访问公网 DirectInternetAccess *bool `json:"DirectInternetAccess,omitnil,omitempty" name:"DirectInternetAccess"` // 资源组ID(for预付费) ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"` // Vpc-Id VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网Id SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 存储的类型。取值包含: // FREE:预付费的免费存储 // CLOUD_PREMIUM:高性能云硬盘 // CLOUD_SSD:SSD云硬盘 // CFS:CFS存储 // CFS_TURBO:CFS Turbo存储 // GooseFSx:GooseFSx存储 VolumeSourceType *string `json:"VolumeSourceType,omitnil,omitempty" name:"VolumeSourceType"` // 云硬盘存储卷大小,单位GB VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitnil,omitempty" name:"VolumeSizeInGB"` // CFS存储的配置 VolumeSourceCFS *CFSConfig `json:"VolumeSourceCFS,omitnil,omitempty" name:"VolumeSourceCFS"` // 日志配置 LogConfig *LogConfig `json:"LogConfig,omitnil,omitempty" name:"LogConfig"` // 生命周期脚本的ID LifecycleScriptId *string `json:"LifecycleScriptId,omitnil,omitempty" name:"LifecycleScriptId"` // 默认GIT存储库的ID DefaultCodeRepoId *string `json:"DefaultCodeRepoId,omitnil,omitempty" name:"DefaultCodeRepoId"` // 其他GIT存储库的ID,最多3个 AdditionalCodeRepoIds []*string `json:"AdditionalCodeRepoIds,omitnil,omitempty" name:"AdditionalCodeRepoIds"` // 自动停止时间,单位小时 AutomaticStopTime *uint64 `json:"AutomaticStopTime,omitnil,omitempty" name:"AutomaticStopTime"` // 标签配置 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 数据配置,只支持WEDATA_HDFS存储类型 DataConfigs []*DataConfig `json:"DataConfigs,omitnil,omitempty" name:"DataConfigs"` // 镜像信息 ImageInfo *ImageInfo `json:"ImageInfo,omitnil,omitempty" name:"ImageInfo"` // 镜像类型,包括SYSTEM、TCR、CCR ImageType *string `json:"ImageType,omitnil,omitempty" name:"ImageType"` // SSH配置信息 SSHConfig *SSHConfig `json:"SSHConfig,omitnil,omitempty" name:"SSHConfig"` // GooseFS存储配置 VolumeSourceGooseFS *GooseFS `json:"VolumeSourceGooseFS,omitnil,omitempty" name:"VolumeSourceGooseFS"` }
func NewCreateNotebookRequest ¶ added in v1.0.711
func NewCreateNotebookRequest() (request *CreateNotebookRequest)
func (*CreateNotebookRequest) FromJsonString ¶ added in v1.0.711
func (r *CreateNotebookRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateNotebookRequest) ToJsonString ¶ added in v1.0.711
func (r *CreateNotebookRequest) ToJsonString() string
type CreateNotebookRequestParams ¶ added in v1.0.711
type CreateNotebookRequestParams struct { // 名称。不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 计算资源付费模式 ,可选值为: // PREPAID:预付费,即包年包月 // POSTPAID_BY_HOUR:按小时后付费 ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // 计算资源配置 ResourceConf *ResourceConf `json:"ResourceConf,omitnil,omitempty" name:"ResourceConf"` // 是否上报日志 LogEnable *bool `json:"LogEnable,omitnil,omitempty" name:"LogEnable"` // 是否ROOT权限 RootAccess *bool `json:"RootAccess,omitnil,omitempty" name:"RootAccess"` // 是否自动停止 AutoStopping *bool `json:"AutoStopping,omitnil,omitempty" name:"AutoStopping"` // 是否访问公网 DirectInternetAccess *bool `json:"DirectInternetAccess,omitnil,omitempty" name:"DirectInternetAccess"` // 资源组ID(for预付费) ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"` // Vpc-Id VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网Id SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 存储的类型。取值包含: // FREE:预付费的免费存储 // CLOUD_PREMIUM:高性能云硬盘 // CLOUD_SSD:SSD云硬盘 // CFS:CFS存储 // CFS_TURBO:CFS Turbo存储 // GooseFSx:GooseFSx存储 VolumeSourceType *string `json:"VolumeSourceType,omitnil,omitempty" name:"VolumeSourceType"` // 云硬盘存储卷大小,单位GB VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitnil,omitempty" name:"VolumeSizeInGB"` // CFS存储的配置 VolumeSourceCFS *CFSConfig `json:"VolumeSourceCFS,omitnil,omitempty" name:"VolumeSourceCFS"` // 日志配置 LogConfig *LogConfig `json:"LogConfig,omitnil,omitempty" name:"LogConfig"` // 生命周期脚本的ID LifecycleScriptId *string `json:"LifecycleScriptId,omitnil,omitempty" name:"LifecycleScriptId"` // 默认GIT存储库的ID DefaultCodeRepoId *string `json:"DefaultCodeRepoId,omitnil,omitempty" name:"DefaultCodeRepoId"` // 其他GIT存储库的ID,最多3个 AdditionalCodeRepoIds []*string `json:"AdditionalCodeRepoIds,omitnil,omitempty" name:"AdditionalCodeRepoIds"` // 自动停止时间,单位小时 AutomaticStopTime *uint64 `json:"AutomaticStopTime,omitnil,omitempty" name:"AutomaticStopTime"` // 标签配置 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 数据配置,只支持WEDATA_HDFS存储类型 DataConfigs []*DataConfig `json:"DataConfigs,omitnil,omitempty" name:"DataConfigs"` // 镜像信息 ImageInfo *ImageInfo `json:"ImageInfo,omitnil,omitempty" name:"ImageInfo"` // 镜像类型,包括SYSTEM、TCR、CCR ImageType *string `json:"ImageType,omitnil,omitempty" name:"ImageType"` // SSH配置信息 SSHConfig *SSHConfig `json:"SSHConfig,omitnil,omitempty" name:"SSHConfig"` // GooseFS存储配置 VolumeSourceGooseFS *GooseFS `json:"VolumeSourceGooseFS,omitnil,omitempty" name:"VolumeSourceGooseFS"` }
Predefined struct for user
type CreateNotebookResponse ¶ added in v1.0.711
type CreateNotebookResponse struct { *tchttp.BaseResponse Response *CreateNotebookResponseParams `json:"Response"` }
func NewCreateNotebookResponse ¶ added in v1.0.711
func NewCreateNotebookResponse() (response *CreateNotebookResponse)
func (*CreateNotebookResponse) FromJsonString ¶ added in v1.0.711
func (r *CreateNotebookResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateNotebookResponse) ToJsonString ¶ added in v1.0.711
func (r *CreateNotebookResponse) ToJsonString() string
type CreateNotebookResponseParams ¶ added in v1.0.711
type CreateNotebookResponseParams struct { // notebook标志 Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreatePresignedNotebookUrlRequest ¶ added in v1.0.874
type CreatePresignedNotebookUrlRequest struct { *tchttp.BaseRequest // Notebook ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
func NewCreatePresignedNotebookUrlRequest ¶ added in v1.0.874
func NewCreatePresignedNotebookUrlRequest() (request *CreatePresignedNotebookUrlRequest)
func (*CreatePresignedNotebookUrlRequest) FromJsonString ¶ added in v1.0.874
func (r *CreatePresignedNotebookUrlRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePresignedNotebookUrlRequest) ToJsonString ¶ added in v1.0.874
func (r *CreatePresignedNotebookUrlRequest) ToJsonString() string
type CreatePresignedNotebookUrlRequestParams ¶ added in v1.0.874
type CreatePresignedNotebookUrlRequestParams struct { // Notebook ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
Predefined struct for user
type CreatePresignedNotebookUrlResponse ¶ added in v1.0.874
type CreatePresignedNotebookUrlResponse struct { *tchttp.BaseResponse Response *CreatePresignedNotebookUrlResponseParams `json:"Response"` }
func NewCreatePresignedNotebookUrlResponse ¶ added in v1.0.874
func NewCreatePresignedNotebookUrlResponse() (response *CreatePresignedNotebookUrlResponse)
func (*CreatePresignedNotebookUrlResponse) FromJsonString ¶ added in v1.0.874
func (r *CreatePresignedNotebookUrlResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePresignedNotebookUrlResponse) ToJsonString ¶ added in v1.0.874
func (r *CreatePresignedNotebookUrlResponse) ToJsonString() string
type CreatePresignedNotebookUrlResponseParams ¶ added in v1.0.874
type CreatePresignedNotebookUrlResponseParams struct { // 携带认证TOKEN的URL AuthorizedUrl *string `json:"AuthorizedUrl,omitnil,omitempty" name:"AuthorizedUrl"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateTrainingModelRequest ¶
type CreateTrainingModelRequest struct { *tchttp.BaseRequest // 导入方式 // MODEL:导入新模型 // VERSION:导入新版本 // EXIST:导入现有版本 ImportMethod *string `json:"ImportMethod,omitnil,omitempty" name:"ImportMethod"` // 推理环境来源(SYSTEM/CUSTOM) ReasoningEnvironmentSource *string `json:"ReasoningEnvironmentSource,omitnil,omitempty" name:"ReasoningEnvironmentSource"` // 模型名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头 TrainingModelName *string `json:"TrainingModelName,omitnil,omitempty" name:"TrainingModelName"` // 标签配置 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 训练任务名称 TrainingJobName *string `json:"TrainingJobName,omitnil,omitempty" name:"TrainingJobName"` // 模型来源cos目录,以/结尾 TrainingModelCosPath *CosPathInfo `json:"TrainingModelCosPath,omitnil,omitempty" name:"TrainingModelCosPath"` // 算法框架 (PYTORCH/TENSORFLOW/DETECTRON2/PMML/MMDETECTION) AlgorithmFramework *string `json:"AlgorithmFramework,omitnil,omitempty" name:"AlgorithmFramework"` // 推理环境 ReasoningEnvironment *string `json:"ReasoningEnvironment,omitnil,omitempty" name:"ReasoningEnvironment"` // 训练指标,最多支持1000字符 TrainingModelIndex *string `json:"TrainingModelIndex,omitnil,omitempty" name:"TrainingModelIndex"` // 模型版本 TrainingModelVersion *string `json:"TrainingModelVersion,omitnil,omitempty" name:"TrainingModelVersion"` // 自定义推理环境 ReasoningImageInfo *ImageInfo `json:"ReasoningImageInfo,omitnil,omitempty" name:"ReasoningImageInfo"` // 模型移动方式(CUT/COPY) ModelMoveMode *string `json:"ModelMoveMode,omitnil,omitempty" name:"ModelMoveMode"` // 训练任务ID TrainingJobId *string `json:"TrainingJobId,omitnil,omitempty" name:"TrainingJobId"` // 模型ID(导入新模型不需要,导入新版本需要) TrainingModelId *string `json:"TrainingModelId,omitnil,omitempty" name:"TrainingModelId"` // 模型存储cos目录 ModelOutputPath *CosPathInfo `json:"ModelOutputPath,omitnil,omitempty" name:"ModelOutputPath"` // 模型来源 (JOB/COS) TrainingModelSource *string `json:"TrainingModelSource,omitnil,omitempty" name:"TrainingModelSource"` // 模型偏好 TrainingPreference *string `json:"TrainingPreference,omitnil,omitempty" name:"TrainingPreference"` // 自动学习任务ID(已废弃) AutoMLTaskId *string `json:"AutoMLTaskId,omitnil,omitempty" name:"AutoMLTaskId"` // 任务版本 TrainingJobVersion *string `json:"TrainingJobVersion,omitnil,omitempty" name:"TrainingJobVersion"` // 模型版本类型; // 枚举值:NORMAL(通用) ACCELERATE(加速) // 注意: 默认为NORMAL ModelVersionType *string `json:"ModelVersionType,omitnil,omitempty" name:"ModelVersionType"` // 模型格式 (PYTORCH/TORCH_SCRIPT/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML/MMDETECTION/ONNX/HUGGING_FACE) ModelFormat *string `json:"ModelFormat,omitnil,omitempty" name:"ModelFormat"` // 推理镜像ID ReasoningEnvironmentId *string `json:"ReasoningEnvironmentId,omitnil,omitempty" name:"ReasoningEnvironmentId"` // 模型自动清理开关(true/false),当前版本仅支持SAVED_MODEL格式模型 AutoClean *string `json:"AutoClean,omitnil,omitempty" name:"AutoClean"` // 模型数量保留上限(默认值为24个,上限为24,下限为1,步长为1) MaxReservedModels *uint64 `json:"MaxReservedModels,omitnil,omitempty" name:"MaxReservedModels"` // 模型清理周期(默认值为1分钟,上限为1440,下限为1分钟,步长为1) ModelCleanPeriod *uint64 `json:"ModelCleanPeriod,omitnil,omitempty" name:"ModelCleanPeriod"` // 是否QAT模型 IsQAT *bool `json:"IsQAT,omitnil,omitempty" name:"IsQAT"` }
func NewCreateTrainingModelRequest ¶
func NewCreateTrainingModelRequest() (request *CreateTrainingModelRequest)
func (*CreateTrainingModelRequest) FromJsonString ¶
func (r *CreateTrainingModelRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTrainingModelRequest) ToJsonString ¶
func (r *CreateTrainingModelRequest) ToJsonString() string
type CreateTrainingModelRequestParams ¶ added in v1.0.426
type CreateTrainingModelRequestParams struct { // 导入方式 // MODEL:导入新模型 // VERSION:导入新版本 // EXIST:导入现有版本 ImportMethod *string `json:"ImportMethod,omitnil,omitempty" name:"ImportMethod"` // 推理环境来源(SYSTEM/CUSTOM) ReasoningEnvironmentSource *string `json:"ReasoningEnvironmentSource,omitnil,omitempty" name:"ReasoningEnvironmentSource"` // 模型名称,不超过60个字符,仅支持中英文、数字、下划线"_"、短横"-",只能以中英文、数字开头 TrainingModelName *string `json:"TrainingModelName,omitnil,omitempty" name:"TrainingModelName"` // 标签配置 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 训练任务名称 TrainingJobName *string `json:"TrainingJobName,omitnil,omitempty" name:"TrainingJobName"` // 模型来源cos目录,以/结尾 TrainingModelCosPath *CosPathInfo `json:"TrainingModelCosPath,omitnil,omitempty" name:"TrainingModelCosPath"` // 算法框架 (PYTORCH/TENSORFLOW/DETECTRON2/PMML/MMDETECTION) AlgorithmFramework *string `json:"AlgorithmFramework,omitnil,omitempty" name:"AlgorithmFramework"` // 推理环境 ReasoningEnvironment *string `json:"ReasoningEnvironment,omitnil,omitempty" name:"ReasoningEnvironment"` // 训练指标,最多支持1000字符 TrainingModelIndex *string `json:"TrainingModelIndex,omitnil,omitempty" name:"TrainingModelIndex"` // 模型版本 TrainingModelVersion *string `json:"TrainingModelVersion,omitnil,omitempty" name:"TrainingModelVersion"` // 自定义推理环境 ReasoningImageInfo *ImageInfo `json:"ReasoningImageInfo,omitnil,omitempty" name:"ReasoningImageInfo"` // 模型移动方式(CUT/COPY) ModelMoveMode *string `json:"ModelMoveMode,omitnil,omitempty" name:"ModelMoveMode"` // 训练任务ID TrainingJobId *string `json:"TrainingJobId,omitnil,omitempty" name:"TrainingJobId"` // 模型ID(导入新模型不需要,导入新版本需要) TrainingModelId *string `json:"TrainingModelId,omitnil,omitempty" name:"TrainingModelId"` // 模型存储cos目录 ModelOutputPath *CosPathInfo `json:"ModelOutputPath,omitnil,omitempty" name:"ModelOutputPath"` // 模型来源 (JOB/COS) TrainingModelSource *string `json:"TrainingModelSource,omitnil,omitempty" name:"TrainingModelSource"` // 模型偏好 TrainingPreference *string `json:"TrainingPreference,omitnil,omitempty" name:"TrainingPreference"` // 自动学习任务ID(已废弃) AutoMLTaskId *string `json:"AutoMLTaskId,omitnil,omitempty" name:"AutoMLTaskId"` // 任务版本 TrainingJobVersion *string `json:"TrainingJobVersion,omitnil,omitempty" name:"TrainingJobVersion"` // 模型版本类型; // 枚举值:NORMAL(通用) ACCELERATE(加速) // 注意: 默认为NORMAL ModelVersionType *string `json:"ModelVersionType,omitnil,omitempty" name:"ModelVersionType"` // 模型格式 (PYTORCH/TORCH_SCRIPT/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML/MMDETECTION/ONNX/HUGGING_FACE) ModelFormat *string `json:"ModelFormat,omitnil,omitempty" name:"ModelFormat"` // 推理镜像ID ReasoningEnvironmentId *string `json:"ReasoningEnvironmentId,omitnil,omitempty" name:"ReasoningEnvironmentId"` // 模型自动清理开关(true/false),当前版本仅支持SAVED_MODEL格式模型 AutoClean *string `json:"AutoClean,omitnil,omitempty" name:"AutoClean"` // 模型数量保留上限(默认值为24个,上限为24,下限为1,步长为1) MaxReservedModels *uint64 `json:"MaxReservedModels,omitnil,omitempty" name:"MaxReservedModels"` // 模型清理周期(默认值为1分钟,上限为1440,下限为1分钟,步长为1) ModelCleanPeriod *uint64 `json:"ModelCleanPeriod,omitnil,omitempty" name:"ModelCleanPeriod"` // 是否QAT模型 IsQAT *bool `json:"IsQAT,omitnil,omitempty" name:"IsQAT"` }
Predefined struct for user
type CreateTrainingModelResponse ¶
type CreateTrainingModelResponse struct { *tchttp.BaseResponse Response *CreateTrainingModelResponseParams `json:"Response"` }
func NewCreateTrainingModelResponse ¶
func NewCreateTrainingModelResponse() (response *CreateTrainingModelResponse)
func (*CreateTrainingModelResponse) FromJsonString ¶
func (r *CreateTrainingModelResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTrainingModelResponse) ToJsonString ¶
func (r *CreateTrainingModelResponse) ToJsonString() string
type CreateTrainingModelResponseParams ¶ added in v1.0.426
type CreateTrainingModelResponseParams struct { // 模型ID,TrainingModel ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 模型版本ID TrainingModelVersionId *string `json:"TrainingModelVersionId,omitnil,omitempty" name:"TrainingModelVersionId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CronScaleJob ¶ added in v1.0.528
type CronScaleJob struct { // Cron表达式,标识任务的执行时间,精确到分钟级 Schedule *string `json:"Schedule,omitnil,omitempty" name:"Schedule"` // 定时任务名 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 目标实例数 // 注意:此字段可能返回 null,表示取不到有效值。 TargetReplicas *int64 `json:"TargetReplicas,omitnil,omitempty" name:"TargetReplicas"` // 目标min // 注意:此字段可能返回 null,表示取不到有效值。 MinReplicas *int64 `json:"MinReplicas,omitnil,omitempty" name:"MinReplicas"` // 目标max // 注意:此字段可能返回 null,表示取不到有效值。 MaxReplicas *int64 `json:"MaxReplicas,omitnil,omitempty" name:"MaxReplicas"` // 例外时间,Cron表达式,在对应时间内不执行任务。最多支持3条。 // 注意:此字段可能返回 null,表示取不到有效值。 ExcludeDates []*string `json:"ExcludeDates,omitnil,omitempty" name:"ExcludeDates"` }
type CrossTenantENIInfo ¶ added in v1.0.781
type DataConfig ¶
type DataConfig struct { // 映射路径 MappingPath *string `json:"MappingPath,omitnil,omitempty" name:"MappingPath"` // DATASET、COS、CFS、CFSTurbo、GooseFSx、HDFS、WEDATA_HDFS // 注意:此字段可能返回 null,表示取不到有效值。 DataSourceType *string `json:"DataSourceType,omitnil,omitempty" name:"DataSourceType"` // 来自数据集的数据 // 注意:此字段可能返回 null,表示取不到有效值。 DataSetSource *DataSetConfig `json:"DataSetSource,omitnil,omitempty" name:"DataSetSource"` // 来自cos的数据 // 注意:此字段可能返回 null,表示取不到有效值。 COSSource *CosPathInfo `json:"COSSource,omitnil,omitempty" name:"COSSource"` // 来自CFS的数据 // 注意:此字段可能返回 null,表示取不到有效值。 CFSSource *CFSConfig `json:"CFSSource,omitnil,omitempty" name:"CFSSource"` // 来自HDFS的数据 // 注意:此字段可能返回 null,表示取不到有效值。 HDFSSource *HDFSConfig `json:"HDFSSource,omitnil,omitempty" name:"HDFSSource"` // 配置GooseFS的数据 // 注意:此字段可能返回 null,表示取不到有效值。 GooseFSSource *GooseFS `json:"GooseFSSource,omitnil,omitempty" name:"GooseFSSource"` // 配置TurboFS的数据 // 注意:此字段可能返回 null,表示取不到有效值。 CFSTurboSource *CFSTurbo `json:"CFSTurboSource,omitnil,omitempty" name:"CFSTurboSource"` // 来自本地磁盘的信息 // 注意:此字段可能返回 null,表示取不到有效值。 LocalDiskSource *LocalDisk `json:"LocalDiskSource,omitnil,omitempty" name:"LocalDiskSource"` // CBS配置信息 // 注意:此字段可能返回 null,表示取不到有效值。 CBSSource *CBSConfig `json:"CBSSource,omitnil,omitempty" name:"CBSSource"` }
type DataSetConfig ¶
type DataSetConfig struct { // 数据集ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
type DatasetGroup ¶
type DatasetGroup struct { // 数据集ID // 注意:此字段可能返回 null,表示取不到有效值。 DatasetId *string `json:"DatasetId,omitnil,omitempty" name:"DatasetId"` // 数据集名称 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetName *string `json:"DatasetName,omitnil,omitempty" name:"DatasetName"` // 创建者 // 注意:此字段可能返回 null,表示取不到有效值。 Creator *string `json:"Creator,omitnil,omitempty" name:"Creator"` // 数据集版本 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetVersion *string `json:"DatasetVersion,omitnil,omitempty" name:"DatasetVersion"` // 数据集类型 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetType *string `json:"DatasetType,omitnil,omitempty" name:"DatasetType"` // 数据集标签 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetTags []*Tag `json:"DatasetTags,omitnil,omitempty" name:"DatasetTags"` // 数据集标注任务名称 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetAnnotationTaskName *string `json:"DatasetAnnotationTaskName,omitnil,omitempty" name:"DatasetAnnotationTaskName"` // 数据集标注任务ID // 注意:此字段可能返回 null,表示取不到有效值。 DatasetAnnotationTaskId *string `json:"DatasetAnnotationTaskId,omitnil,omitempty" name:"DatasetAnnotationTaskId"` // 处理进度 // 注意:此字段可能返回 null,表示取不到有效值。 Process *uint64 `json:"Process,omitnil,omitempty" name:"Process"` // 数据集状态 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetStatus *string `json:"DatasetStatus,omitnil,omitempty" name:"DatasetStatus"` // 错误详情 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 外部关联TASKType // 注意:此字段可能返回 null,表示取不到有效值。 ExternalTaskType *string `json:"ExternalTaskType,omitnil,omitempty" name:"ExternalTaskType"` // 数据集大小 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetSize *string `json:"DatasetSize,omitnil,omitempty" name:"DatasetSize"` // 数据集数据量 // 注意:此字段可能返回 null,表示取不到有效值。 FileNum *uint64 `json:"FileNum,omitnil,omitempty" name:"FileNum"` // 数据集源COS路径 // 注意:此字段可能返回 null,表示取不到有效值。 StorageDataPath *CosPathInfo `json:"StorageDataPath,omitnil,omitempty" name:"StorageDataPath"` // 数据集标签存储路径 // 注意:此字段可能返回 null,表示取不到有效值。 StorageLabelPath *CosPathInfo `json:"StorageLabelPath,omitnil,omitempty" name:"StorageLabelPath"` // 数据集版本聚合详情 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetVersions []*DatasetInfo `json:"DatasetVersions,omitnil,omitempty" name:"DatasetVersions"` // 数据集标注状态 // 注意:此字段可能返回 null,表示取不到有效值。 AnnotationStatus *string `json:"AnnotationStatus,omitnil,omitempty" name:"AnnotationStatus"` // 数据集类型 // 注意:此字段可能返回 null,表示取不到有效值。 AnnotationType *string `json:"AnnotationType,omitnil,omitempty" name:"AnnotationType"` // 数据集标注格式 // 注意:此字段可能返回 null,表示取不到有效值。 AnnotationFormat *string `json:"AnnotationFormat,omitnil,omitempty" name:"AnnotationFormat"` // 数据集范围 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetScope *string `json:"DatasetScope,omitnil,omitempty" name:"DatasetScope"` // 数据集OCR子场景 // 注意:此字段可能返回 null,表示取不到有效值。 OcrScene *string `json:"OcrScene,omitnil,omitempty" name:"OcrScene"` // 数据集字典修改状态 // 注意:此字段可能返回 null,表示取不到有效值。 AnnotationKeyStatus *string `json:"AnnotationKeyStatus,omitnil,omitempty" name:"AnnotationKeyStatus"` // 文本数据集导入方式 // 注意:此字段可能返回 null,表示取不到有效值。 ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"` }
type DatasetInfo ¶
type DatasetInfo struct { // 数据集id // 注意:此字段可能返回 null,表示取不到有效值。 DatasetId *string `json:"DatasetId,omitnil,omitempty" name:"DatasetId"` // 数据集名称 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetName *string `json:"DatasetName,omitnil,omitempty" name:"DatasetName"` // 数据集创建者 // 注意:此字段可能返回 null,表示取不到有效值。 Creator *string `json:"Creator,omitnil,omitempty" name:"Creator"` // 数据集版本 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetVersion *string `json:"DatasetVersion,omitnil,omitempty" name:"DatasetVersion"` // 数据集类型 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetType *string `json:"DatasetType,omitnil,omitempty" name:"DatasetType"` // 数据集标签 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetTags []*Tag `json:"DatasetTags,omitnil,omitempty" name:"DatasetTags"` // 数据集对应标注任务名称 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetAnnotationTaskName *string `json:"DatasetAnnotationTaskName,omitnil,omitempty" name:"DatasetAnnotationTaskName"` // 数据集对应标注任务ID // 注意:此字段可能返回 null,表示取不到有效值。 DatasetAnnotationTaskId *string `json:"DatasetAnnotationTaskId,omitnil,omitempty" name:"DatasetAnnotationTaskId"` // 处理进度 // 注意:此字段可能返回 null,表示取不到有效值。 Process *int64 `json:"Process,omitnil,omitempty" name:"Process"` // 数据集状态 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetStatus *string `json:"DatasetStatus,omitnil,omitempty" name:"DatasetStatus"` // 错误详情 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // 数据集创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 数据集更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 外部任务类型 // 注意:此字段可能返回 null,表示取不到有效值。 ExternalTaskType *string `json:"ExternalTaskType,omitnil,omitempty" name:"ExternalTaskType"` // 数据集存储大小 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetSize *string `json:"DatasetSize,omitnil,omitempty" name:"DatasetSize"` // 数据集数据数量 // 注意:此字段可能返回 null,表示取不到有效值。 FileNum *uint64 `json:"FileNum,omitnil,omitempty" name:"FileNum"` // 数据集源cos 路径 // 注意:此字段可能返回 null,表示取不到有效值。 StorageDataPath *CosPathInfo `json:"StorageDataPath,omitnil,omitempty" name:"StorageDataPath"` // 数据集输出cos路径 // 注意:此字段可能返回 null,表示取不到有效值。 StorageLabelPath *CosPathInfo `json:"StorageLabelPath,omitnil,omitempty" name:"StorageLabelPath"` // 数据集标注状态 // 注意:此字段可能返回 null,表示取不到有效值。 AnnotationStatus *string `json:"AnnotationStatus,omitnil,omitempty" name:"AnnotationStatus"` // 数据集类型 // 注意:此字段可能返回 null,表示取不到有效值。 AnnotationType *string `json:"AnnotationType,omitnil,omitempty" name:"AnnotationType"` // 数据集标注格式 // 注意:此字段可能返回 null,表示取不到有效值。 AnnotationFormat *string `json:"AnnotationFormat,omitnil,omitempty" name:"AnnotationFormat"` // 数据集范围 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetScope *string `json:"DatasetScope,omitnil,omitempty" name:"DatasetScope"` // 数据集OCR子场景 // 注意:此字段可能返回 null,表示取不到有效值。 OcrScene *string `json:"OcrScene,omitnil,omitempty" name:"OcrScene"` // 数据集字典修改状态 // 注意:此字段可能返回 null,表示取不到有效值。 AnnotationKeyStatus *string `json:"AnnotationKeyStatus,omitnil,omitempty" name:"AnnotationKeyStatus"` }
type DefaultInnerCallInfo ¶ added in v1.0.856
type DefaultNginxGatewayCallInfo ¶ added in v1.0.600
type DefaultNginxGatewayCallInfo struct { // host // 注意:此字段可能返回 null,表示取不到有效值。 Host *string `json:"Host,omitnil,omitempty" name:"Host"` }
type DeleteDatasetRequest ¶
type DeleteDatasetRequest struct { *tchttp.BaseRequest // 数据集id DatasetId *string `json:"DatasetId,omitnil,omitempty" name:"DatasetId"` // 是否删除cos标签文件 DeleteLabelEnable *bool `json:"DeleteLabelEnable,omitnil,omitempty" name:"DeleteLabelEnable"` }
func NewDeleteDatasetRequest ¶
func NewDeleteDatasetRequest() (request *DeleteDatasetRequest)
func (*DeleteDatasetRequest) FromJsonString ¶
func (r *DeleteDatasetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDatasetRequest) ToJsonString ¶
func (r *DeleteDatasetRequest) ToJsonString() string
type DeleteDatasetRequestParams ¶ added in v1.0.426
type DeleteDatasetRequestParams struct { // 数据集id DatasetId *string `json:"DatasetId,omitnil,omitempty" name:"DatasetId"` // 是否删除cos标签文件 DeleteLabelEnable *bool `json:"DeleteLabelEnable,omitnil,omitempty" name:"DeleteLabelEnable"` }
Predefined struct for user
type DeleteDatasetResponse ¶
type DeleteDatasetResponse struct { *tchttp.BaseResponse Response *DeleteDatasetResponseParams `json:"Response"` }
func NewDeleteDatasetResponse ¶
func NewDeleteDatasetResponse() (response *DeleteDatasetResponse)
func (*DeleteDatasetResponse) FromJsonString ¶
func (r *DeleteDatasetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDatasetResponse) ToJsonString ¶
func (r *DeleteDatasetResponse) ToJsonString() string
type DeleteDatasetResponseParams ¶ added in v1.0.426
type DeleteDatasetResponseParams struct { // 删除的datasetId DatasetId *string `json:"DatasetId,omitnil,omitempty" name:"DatasetId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteModelServiceGroupRequest ¶ added in v1.0.528
type DeleteModelServiceGroupRequest struct { *tchttp.BaseRequest // 服务id ServiceGroupId *string `json:"ServiceGroupId,omitnil,omitempty" name:"ServiceGroupId"` }
func NewDeleteModelServiceGroupRequest ¶ added in v1.0.528
func NewDeleteModelServiceGroupRequest() (request *DeleteModelServiceGroupRequest)
func (*DeleteModelServiceGroupRequest) FromJsonString ¶ added in v1.0.528
func (r *DeleteModelServiceGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteModelServiceGroupRequest) ToJsonString ¶ added in v1.0.528
func (r *DeleteModelServiceGroupRequest) ToJsonString() string
type DeleteModelServiceGroupRequestParams ¶ added in v1.0.528
type DeleteModelServiceGroupRequestParams struct { // 服务id ServiceGroupId *string `json:"ServiceGroupId,omitnil,omitempty" name:"ServiceGroupId"` }
Predefined struct for user
type DeleteModelServiceGroupResponse ¶ added in v1.0.528
type DeleteModelServiceGroupResponse struct { *tchttp.BaseResponse Response *DeleteModelServiceGroupResponseParams `json:"Response"` }
func NewDeleteModelServiceGroupResponse ¶ added in v1.0.528
func NewDeleteModelServiceGroupResponse() (response *DeleteModelServiceGroupResponse)
func (*DeleteModelServiceGroupResponse) FromJsonString ¶ added in v1.0.528
func (r *DeleteModelServiceGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteModelServiceGroupResponse) ToJsonString ¶ added in v1.0.528
func (r *DeleteModelServiceGroupResponse) ToJsonString() string
type DeleteModelServiceGroupResponseParams ¶ added in v1.0.528
type DeleteModelServiceGroupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteModelServiceRequest ¶ added in v1.0.528
type DeleteModelServiceRequest struct { *tchttp.BaseRequest // 服务id ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"` // 服务分类 ServiceCategory *string `json:"ServiceCategory,omitnil,omitempty" name:"ServiceCategory"` }
func NewDeleteModelServiceRequest ¶ added in v1.0.528
func NewDeleteModelServiceRequest() (request *DeleteModelServiceRequest)
func (*DeleteModelServiceRequest) FromJsonString ¶ added in v1.0.528
func (r *DeleteModelServiceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteModelServiceRequest) ToJsonString ¶ added in v1.0.528
func (r *DeleteModelServiceRequest) ToJsonString() string
type DeleteModelServiceRequestParams ¶ added in v1.0.528
type DeleteModelServiceRequestParams struct { // 服务id ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"` // 服务分类 ServiceCategory *string `json:"ServiceCategory,omitnil,omitempty" name:"ServiceCategory"` }
Predefined struct for user
type DeleteModelServiceResponse ¶ added in v1.0.528
type DeleteModelServiceResponse struct { *tchttp.BaseResponse Response *DeleteModelServiceResponseParams `json:"Response"` }
func NewDeleteModelServiceResponse ¶ added in v1.0.528
func NewDeleteModelServiceResponse() (response *DeleteModelServiceResponse)
func (*DeleteModelServiceResponse) FromJsonString ¶ added in v1.0.528
func (r *DeleteModelServiceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteModelServiceResponse) ToJsonString ¶ added in v1.0.528
func (r *DeleteModelServiceResponse) ToJsonString() string
type DeleteModelServiceResponseParams ¶ added in v1.0.528
type DeleteModelServiceResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteNotebookRequest ¶ added in v1.0.711
type DeleteNotebookRequest struct { *tchttp.BaseRequest // notebook id Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
func NewDeleteNotebookRequest ¶ added in v1.0.711
func NewDeleteNotebookRequest() (request *DeleteNotebookRequest)
func (*DeleteNotebookRequest) FromJsonString ¶ added in v1.0.711
func (r *DeleteNotebookRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteNotebookRequest) ToJsonString ¶ added in v1.0.711
func (r *DeleteNotebookRequest) ToJsonString() string
type DeleteNotebookRequestParams ¶ added in v1.0.711
type DeleteNotebookRequestParams struct { // notebook id Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
Predefined struct for user
type DeleteNotebookResponse ¶ added in v1.0.711
type DeleteNotebookResponse struct { *tchttp.BaseResponse Response *DeleteNotebookResponseParams `json:"Response"` }
func NewDeleteNotebookResponse ¶ added in v1.0.711
func NewDeleteNotebookResponse() (response *DeleteNotebookResponse)
func (*DeleteNotebookResponse) FromJsonString ¶ added in v1.0.711
func (r *DeleteNotebookResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteNotebookResponse) ToJsonString ¶ added in v1.0.711
func (r *DeleteNotebookResponse) ToJsonString() string
type DeleteNotebookResponseParams ¶ added in v1.0.711
type DeleteNotebookResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteTrainingModelRequest ¶
type DeleteTrainingModelRequest struct { *tchttp.BaseRequest // 模型ID TrainingModelId *string `json:"TrainingModelId,omitnil,omitempty" name:"TrainingModelId"` // 是否同步清理cos EnableDeleteCos *bool `json:"EnableDeleteCos,omitnil,omitempty" name:"EnableDeleteCos"` // 删除模型类型,枚举值:NORMAL 普通,ACCELERATE 加速,不传则删除所有 ModelVersionType *string `json:"ModelVersionType,omitnil,omitempty" name:"ModelVersionType"` }
func NewDeleteTrainingModelRequest ¶
func NewDeleteTrainingModelRequest() (request *DeleteTrainingModelRequest)
func (*DeleteTrainingModelRequest) FromJsonString ¶
func (r *DeleteTrainingModelRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTrainingModelRequest) ToJsonString ¶
func (r *DeleteTrainingModelRequest) ToJsonString() string
type DeleteTrainingModelRequestParams ¶ added in v1.0.426
type DeleteTrainingModelRequestParams struct { // 模型ID TrainingModelId *string `json:"TrainingModelId,omitnil,omitempty" name:"TrainingModelId"` // 是否同步清理cos EnableDeleteCos *bool `json:"EnableDeleteCos,omitnil,omitempty" name:"EnableDeleteCos"` // 删除模型类型,枚举值:NORMAL 普通,ACCELERATE 加速,不传则删除所有 ModelVersionType *string `json:"ModelVersionType,omitnil,omitempty" name:"ModelVersionType"` }
Predefined struct for user
type DeleteTrainingModelResponse ¶
type DeleteTrainingModelResponse struct { *tchttp.BaseResponse Response *DeleteTrainingModelResponseParams `json:"Response"` }
func NewDeleteTrainingModelResponse ¶
func NewDeleteTrainingModelResponse() (response *DeleteTrainingModelResponse)
func (*DeleteTrainingModelResponse) FromJsonString ¶
func (r *DeleteTrainingModelResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTrainingModelResponse) ToJsonString ¶
func (r *DeleteTrainingModelResponse) ToJsonString() string
type DeleteTrainingModelResponseParams ¶ added in v1.0.426
type DeleteTrainingModelResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteTrainingModelVersionRequest ¶
type DeleteTrainingModelVersionRequest struct { *tchttp.BaseRequest // 模型版本ID TrainingModelVersionId *string `json:"TrainingModelVersionId,omitnil,omitempty" name:"TrainingModelVersionId"` // 是否同步清理cos EnableDeleteCos *bool `json:"EnableDeleteCos,omitnil,omitempty" name:"EnableDeleteCos"` }
func NewDeleteTrainingModelVersionRequest ¶
func NewDeleteTrainingModelVersionRequest() (request *DeleteTrainingModelVersionRequest)
func (*DeleteTrainingModelVersionRequest) FromJsonString ¶
func (r *DeleteTrainingModelVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTrainingModelVersionRequest) ToJsonString ¶
func (r *DeleteTrainingModelVersionRequest) ToJsonString() string
type DeleteTrainingModelVersionRequestParams ¶ added in v1.0.426
type DeleteTrainingModelVersionRequestParams struct { // 模型版本ID TrainingModelVersionId *string `json:"TrainingModelVersionId,omitnil,omitempty" name:"TrainingModelVersionId"` // 是否同步清理cos EnableDeleteCos *bool `json:"EnableDeleteCos,omitnil,omitempty" name:"EnableDeleteCos"` }
Predefined struct for user
type DeleteTrainingModelVersionResponse ¶
type DeleteTrainingModelVersionResponse struct { *tchttp.BaseResponse Response *DeleteTrainingModelVersionResponseParams `json:"Response"` }
func NewDeleteTrainingModelVersionResponse ¶
func NewDeleteTrainingModelVersionResponse() (response *DeleteTrainingModelVersionResponse)
func (*DeleteTrainingModelVersionResponse) FromJsonString ¶
func (r *DeleteTrainingModelVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTrainingModelVersionResponse) ToJsonString ¶
func (r *DeleteTrainingModelVersionResponse) ToJsonString() string
type DeleteTrainingModelVersionResponseParams ¶ added in v1.0.426
type DeleteTrainingModelVersionResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBillingResourceGroupRequest ¶ added in v1.0.804
type DescribeBillingResourceGroupRequest struct { *tchttp.BaseRequest // 资源组id, 取值为创建资源组接口(CreateBillingResourceGroup)响应中的ResourceGroupId ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"` // 过滤条件 // 注意: // 1. Filter.Name 只支持以下枚举值: // InstanceId (资源组节点id) // InstanceStatus (资源组节点状态) // 2. Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询 // 3. 每次请求的Filters的上限为10,Filter.Values的上限为100 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询起始位置,如:Limit为10,第一页Offset为0,第二页Offset为10....即每页左边为闭区间; 默认0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询每页大小,默认20 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 排序方向; 枚举值: ASC | DESC;默认DESC Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序字段; 枚举值: CreateTime (创建时间) | ExpireTime (到期时间);默认CreateTime OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` }
func NewDescribeBillingResourceGroupRequest ¶ added in v1.0.804
func NewDescribeBillingResourceGroupRequest() (request *DescribeBillingResourceGroupRequest)
func (*DescribeBillingResourceGroupRequest) FromJsonString ¶ added in v1.0.804
func (r *DescribeBillingResourceGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillingResourceGroupRequest) ToJsonString ¶ added in v1.0.804
func (r *DescribeBillingResourceGroupRequest) ToJsonString() string
type DescribeBillingResourceGroupRequestParams ¶ added in v1.0.804
type DescribeBillingResourceGroupRequestParams struct { // 资源组id, 取值为创建资源组接口(CreateBillingResourceGroup)响应中的ResourceGroupId ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"` // 过滤条件 // 注意: // 1. Filter.Name 只支持以下枚举值: // InstanceId (资源组节点id) // InstanceStatus (资源组节点状态) // 2. Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询 // 3. 每次请求的Filters的上限为10,Filter.Values的上限为100 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询起始位置,如:Limit为10,第一页Offset为0,第二页Offset为10....即每页左边为闭区间; 默认0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询每页大小,默认20 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 排序方向; 枚举值: ASC | DESC;默认DESC Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序字段; 枚举值: CreateTime (创建时间) | ExpireTime (到期时间);默认CreateTime OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` }
Predefined struct for user
type DescribeBillingResourceGroupResponse ¶ added in v1.0.804
type DescribeBillingResourceGroupResponse struct { *tchttp.BaseResponse Response *DescribeBillingResourceGroupResponseParams `json:"Response"` }
func NewDescribeBillingResourceGroupResponse ¶ added in v1.0.804
func NewDescribeBillingResourceGroupResponse() (response *DescribeBillingResourceGroupResponse)
func (*DescribeBillingResourceGroupResponse) FromJsonString ¶ added in v1.0.804
func (r *DescribeBillingResourceGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillingResourceGroupResponse) ToJsonString ¶ added in v1.0.804
func (r *DescribeBillingResourceGroupResponse) ToJsonString() string
type DescribeBillingResourceGroupResponseParams ¶ added in v1.0.804
type DescribeBillingResourceGroupResponseParams struct { // 资源组节点总数; 注意接口是分页拉取的,total是指资源组节点总数,不是本次返回中InstanceSet数组的大小 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 资源组节点信息 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceSet []*Instance `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"` // 资源组纳管类型 ResourceGroupSWType *string `json:"ResourceGroupSWType,omitnil,omitempty" name:"ResourceGroupSWType"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBillingResourceGroupsRequest ¶
type DescribeBillingResourceGroupsRequest struct { *tchttp.BaseRequest // 资源组类型; // 枚举值: // 空: 通用, TRAIN: 训练, INFERENCE: 推理 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Filter.Name: 枚举值: ResourceGroupId (资源组id列表) // ResourceGroupName (资源组名称列表) // Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询 // 每次请求的Filters的上限为5,Filter.Values的上限为100 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 标签过滤 TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` // 偏移量,默认为0;分页查询起始位置,如:Limit为100,第一页Offset为0,第二页OffSet为100....即每页左边为闭区间 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询每页大小,默认20 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 支持模糊查找资源组id和资源组名 SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"` // 是否不展示节点列表; // true: 不展示,false 展示; // 默认为false DontShowInstanceSet *bool `json:"DontShowInstanceSet,omitnil,omitempty" name:"DontShowInstanceSet"` }
func NewDescribeBillingResourceGroupsRequest ¶
func NewDescribeBillingResourceGroupsRequest() (request *DescribeBillingResourceGroupsRequest)
func (*DescribeBillingResourceGroupsRequest) FromJsonString ¶
func (r *DescribeBillingResourceGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillingResourceGroupsRequest) ToJsonString ¶
func (r *DescribeBillingResourceGroupsRequest) ToJsonString() string
type DescribeBillingResourceGroupsRequestParams ¶ added in v1.0.426
type DescribeBillingResourceGroupsRequestParams struct { // 资源组类型; // 枚举值: // 空: 通用, TRAIN: 训练, INFERENCE: 推理 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // Filter.Name: 枚举值: ResourceGroupId (资源组id列表) // ResourceGroupName (资源组名称列表) // Filter.Values: 长度为1且Filter.Fuzzy=true时,支持模糊查询; 不为1时,精确查询 // 每次请求的Filters的上限为5,Filter.Values的上限为100 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 标签过滤 TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` // 偏移量,默认为0;分页查询起始位置,如:Limit为100,第一页Offset为0,第二页OffSet为100....即每页左边为闭区间 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询每页大小,默认20 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 支持模糊查找资源组id和资源组名 SearchWord *string `json:"SearchWord,omitnil,omitempty" name:"SearchWord"` // 是否不展示节点列表; // true: 不展示,false 展示; // 默认为false DontShowInstanceSet *bool `json:"DontShowInstanceSet,omitnil,omitempty" name:"DontShowInstanceSet"` }
Predefined struct for user
type DescribeBillingResourceGroupsResponse ¶
type DescribeBillingResourceGroupsResponse struct { *tchttp.BaseResponse Response *DescribeBillingResourceGroupsResponseParams `json:"Response"` }
func NewDescribeBillingResourceGroupsResponse ¶
func NewDescribeBillingResourceGroupsResponse() (response *DescribeBillingResourceGroupsResponse)
func (*DescribeBillingResourceGroupsResponse) FromJsonString ¶
func (r *DescribeBillingResourceGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillingResourceGroupsResponse) ToJsonString ¶
func (r *DescribeBillingResourceGroupsResponse) ToJsonString() string
type DescribeBillingResourceGroupsResponseParams ¶ added in v1.0.426
type DescribeBillingResourceGroupsResponseParams struct { // 资源组总数; 注意接口是分页拉取的,total是指资源组总数,不是本次返回中ResourceGroupSet数组的大小 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 资源组详情 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceGroupSet []*ResourceGroup `json:"ResourceGroupSet,omitnil,omitempty" name:"ResourceGroupSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBillingResourceInstanceRunningJobsRequest ¶ added in v1.0.778
type DescribeBillingResourceInstanceRunningJobsRequest struct { *tchttp.BaseRequest // 资源组id ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"` // 资源组节点id ResourceInstanceId *string `json:"ResourceInstanceId,omitnil,omitempty" name:"ResourceInstanceId"` }
func NewDescribeBillingResourceInstanceRunningJobsRequest ¶ added in v1.0.778
func NewDescribeBillingResourceInstanceRunningJobsRequest() (request *DescribeBillingResourceInstanceRunningJobsRequest)
func (*DescribeBillingResourceInstanceRunningJobsRequest) FromJsonString ¶ added in v1.0.778
func (r *DescribeBillingResourceInstanceRunningJobsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillingResourceInstanceRunningJobsRequest) ToJsonString ¶ added in v1.0.778
func (r *DescribeBillingResourceInstanceRunningJobsRequest) ToJsonString() string
type DescribeBillingResourceInstanceRunningJobsRequestParams ¶ added in v1.0.778
type DescribeBillingResourceInstanceRunningJobsRequestParams struct { // 资源组id ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"` // 资源组节点id ResourceInstanceId *string `json:"ResourceInstanceId,omitnil,omitempty" name:"ResourceInstanceId"` }
Predefined struct for user
type DescribeBillingResourceInstanceRunningJobsResponse ¶ added in v1.0.778
type DescribeBillingResourceInstanceRunningJobsResponse struct { *tchttp.BaseResponse Response *DescribeBillingResourceInstanceRunningJobsResponseParams `json:"Response"` }
func NewDescribeBillingResourceInstanceRunningJobsResponse ¶ added in v1.0.778
func NewDescribeBillingResourceInstanceRunningJobsResponse() (response *DescribeBillingResourceInstanceRunningJobsResponse)
func (*DescribeBillingResourceInstanceRunningJobsResponse) FromJsonString ¶ added in v1.0.778
func (r *DescribeBillingResourceInstanceRunningJobsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillingResourceInstanceRunningJobsResponse) ToJsonString ¶ added in v1.0.778
func (r *DescribeBillingResourceInstanceRunningJobsResponse) ToJsonString() string
type DescribeBillingResourceInstanceRunningJobsResponseParams ¶ added in v1.0.778
type DescribeBillingResourceInstanceRunningJobsResponseParams struct { // 资源组节点运行中的任务信息 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceInstanceRunningJobInfos []*ResourceInstanceRunningJobInfo `json:"ResourceInstanceRunningJobInfos,omitnil,omitempty" name:"ResourceInstanceRunningJobInfos"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBuildInImagesRequest ¶ added in v1.0.876
type DescribeBuildInImagesRequest struct { *tchttp.BaseRequest // 镜像过滤器 ImageFilters []*ImageFIlter `json:"ImageFilters,omitnil,omitempty" name:"ImageFilters"` }
func NewDescribeBuildInImagesRequest ¶ added in v1.0.876
func NewDescribeBuildInImagesRequest() (request *DescribeBuildInImagesRequest)
func (*DescribeBuildInImagesRequest) FromJsonString ¶ added in v1.0.876
func (r *DescribeBuildInImagesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBuildInImagesRequest) ToJsonString ¶ added in v1.0.876
func (r *DescribeBuildInImagesRequest) ToJsonString() string
type DescribeBuildInImagesRequestParams ¶ added in v1.0.876
type DescribeBuildInImagesRequestParams struct { // 镜像过滤器 ImageFilters []*ImageFIlter `json:"ImageFilters,omitnil,omitempty" name:"ImageFilters"` }
Predefined struct for user
type DescribeBuildInImagesResponse ¶ added in v1.0.876
type DescribeBuildInImagesResponse struct { *tchttp.BaseResponse Response *DescribeBuildInImagesResponseParams `json:"Response"` }
func NewDescribeBuildInImagesResponse ¶ added in v1.0.876
func NewDescribeBuildInImagesResponse() (response *DescribeBuildInImagesResponse)
func (*DescribeBuildInImagesResponse) FromJsonString ¶ added in v1.0.876
func (r *DescribeBuildInImagesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBuildInImagesResponse) ToJsonString ¶ added in v1.0.876
func (r *DescribeBuildInImagesResponse) ToJsonString() string
type DescribeBuildInImagesResponseParams ¶ added in v1.0.876
type DescribeBuildInImagesResponseParams struct { // 内置镜像详情列表 BuildInImageInfos []*ImageInfo `json:"BuildInImageInfos,omitnil,omitempty" name:"BuildInImageInfos"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDatasetsRequest ¶
type DescribeDatasetsRequest struct { *tchttp.BaseRequest // 数据集id列表 DatasetIds []*string `json:"DatasetIds,omitnil,omitempty" name:"DatasetIds"` // 数据集查询过滤条件,多个Filter之间的关系为逻辑与(AND)关系,过滤字段Filter.Name,类型为String // DatasetName,数据集名称 // DatasetScope,数据集范围,SCOPE_DATASET_PRIVATE或SCOPE_DATASET_PUBLIC Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 标签过滤条件 TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` // 排序值,支持Asc或Desc,默认Desc Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序字段,支持CreateTime或UpdateTime,默认CreateTime OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 偏移值 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数据个数,默认20,最大支持200 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeDatasetsRequest ¶
func NewDescribeDatasetsRequest() (request *DescribeDatasetsRequest)
func (*DescribeDatasetsRequest) FromJsonString ¶
func (r *DescribeDatasetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatasetsRequest) ToJsonString ¶
func (r *DescribeDatasetsRequest) ToJsonString() string
type DescribeDatasetsRequestParams ¶ added in v1.0.426
type DescribeDatasetsRequestParams struct { // 数据集id列表 DatasetIds []*string `json:"DatasetIds,omitnil,omitempty" name:"DatasetIds"` // 数据集查询过滤条件,多个Filter之间的关系为逻辑与(AND)关系,过滤字段Filter.Name,类型为String // DatasetName,数据集名称 // DatasetScope,数据集范围,SCOPE_DATASET_PRIVATE或SCOPE_DATASET_PUBLIC Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 标签过滤条件 TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` // 排序值,支持Asc或Desc,默认Desc Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序字段,支持CreateTime或UpdateTime,默认CreateTime OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 偏移值 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数据个数,默认20,最大支持200 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeDatasetsResponse ¶
type DescribeDatasetsResponse struct { *tchttp.BaseResponse Response *DescribeDatasetsResponseParams `json:"Response"` }
func NewDescribeDatasetsResponse ¶
func NewDescribeDatasetsResponse() (response *DescribeDatasetsResponse)
func (*DescribeDatasetsResponse) FromJsonString ¶
func (r *DescribeDatasetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDatasetsResponse) ToJsonString ¶
func (r *DescribeDatasetsResponse) ToJsonString() string
type DescribeDatasetsResponseParams ¶ added in v1.0.426
type DescribeDatasetsResponseParams struct { // 数据集总量(名称维度) // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 数据集按照数据集名称聚合的分组 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetGroups []*DatasetGroup `json:"DatasetGroups,omitnil,omitempty" name:"DatasetGroups"` // 数据集ID总量 // 注意:此字段可能返回 null,表示取不到有效值。 DatasetIdNums *uint64 `json:"DatasetIdNums,omitnil,omitempty" name:"DatasetIdNums"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeInferTemplatesRequest ¶
type DescribeInferTemplatesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeInferTemplatesRequest ¶
func NewDescribeInferTemplatesRequest() (request *DescribeInferTemplatesRequest)
func (*DescribeInferTemplatesRequest) FromJsonString ¶
func (r *DescribeInferTemplatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInferTemplatesRequest) ToJsonString ¶
func (r *DescribeInferTemplatesRequest) ToJsonString() string
type DescribeInferTemplatesRequestParams ¶ added in v1.0.426
type DescribeInferTemplatesRequestParams struct { }
Predefined struct for user
type DescribeInferTemplatesResponse ¶
type DescribeInferTemplatesResponse struct { *tchttp.BaseResponse Response *DescribeInferTemplatesResponseParams `json:"Response"` }
func NewDescribeInferTemplatesResponse ¶
func NewDescribeInferTemplatesResponse() (response *DescribeInferTemplatesResponse)
func (*DescribeInferTemplatesResponse) FromJsonString ¶
func (r *DescribeInferTemplatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeInferTemplatesResponse) ToJsonString ¶
func (r *DescribeInferTemplatesResponse) ToJsonString() string
type DescribeInferTemplatesResponseParams ¶ added in v1.0.426
type DescribeInferTemplatesResponseParams struct { // 模板列表 // 注意:此字段可能返回 null,表示取不到有效值。 FrameworkTemplates []*InferTemplateGroup `json:"FrameworkTemplates,omitnil,omitempty" name:"FrameworkTemplates"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeModelAccelerateTaskRequest ¶ added in v1.0.534
type DescribeModelAccelerateTaskRequest struct { *tchttp.BaseRequest // 模型加速任务ID ModelAccTaskId *string `json:"ModelAccTaskId,omitnil,omitempty" name:"ModelAccTaskId"` }
func NewDescribeModelAccelerateTaskRequest ¶ added in v1.0.534
func NewDescribeModelAccelerateTaskRequest() (request *DescribeModelAccelerateTaskRequest)
func (*DescribeModelAccelerateTaskRequest) FromJsonString ¶ added in v1.0.534
func (r *DescribeModelAccelerateTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelAccelerateTaskRequest) ToJsonString ¶ added in v1.0.534
func (r *DescribeModelAccelerateTaskRequest) ToJsonString() string
type DescribeModelAccelerateTaskRequestParams ¶ added in v1.0.534
type DescribeModelAccelerateTaskRequestParams struct { // 模型加速任务ID ModelAccTaskId *string `json:"ModelAccTaskId,omitnil,omitempty" name:"ModelAccTaskId"` }
Predefined struct for user
type DescribeModelAccelerateTaskResponse ¶ added in v1.0.534
type DescribeModelAccelerateTaskResponse struct { *tchttp.BaseResponse Response *DescribeModelAccelerateTaskResponseParams `json:"Response"` }
func NewDescribeModelAccelerateTaskResponse ¶ added in v1.0.534
func NewDescribeModelAccelerateTaskResponse() (response *DescribeModelAccelerateTaskResponse)
func (*DescribeModelAccelerateTaskResponse) FromJsonString ¶ added in v1.0.534
func (r *DescribeModelAccelerateTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelAccelerateTaskResponse) ToJsonString ¶ added in v1.0.534
func (r *DescribeModelAccelerateTaskResponse) ToJsonString() string
type DescribeModelAccelerateTaskResponseParams ¶ added in v1.0.534
type DescribeModelAccelerateTaskResponseParams struct { // 模型加速任务详情 // 注意:此字段可能返回 null,表示取不到有效值。 ModelAccelerateTask *ModelAccelerateTask `json:"ModelAccelerateTask,omitnil,omitempty" name:"ModelAccelerateTask"` // 模型加速时长,单位s // 注意:此字段可能返回 null,表示取不到有效值。 ModelAccRuntimeInSecond *uint64 `json:"ModelAccRuntimeInSecond,omitnil,omitempty" name:"ModelAccRuntimeInSecond"` // 模型加速任务开始时间 // 注意:此字段可能返回 null,表示取不到有效值。 ModelAccStartTime *string `json:"ModelAccStartTime,omitnil,omitempty" name:"ModelAccStartTime"` // 模型加速任务结束时间 // 注意:此字段可能返回 null,表示取不到有效值。 ModelAccEndTime *string `json:"ModelAccEndTime,omitnil,omitempty" name:"ModelAccEndTime"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeModelAccelerateVersionsRequest ¶ added in v1.0.822
type DescribeModelAccelerateVersionsRequest struct { *tchttp.BaseRequest // 过滤条件 // Filter.Name: 枚举值: ModelJobName (任务名称)|TrainingModelVersionId (模型版本id) // Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询 // 每次请求的Filters的上限为10,Filter.Values的上限为100 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 排序字段; 枚举值: CreateTime (创建时间) ;默认CreateTime OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 排序方向; 枚举值: ASC | DESC;默认DESC Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 分页查询起始位置,如:Limit为100,第一页Offset为0,第二页Offset为100....即每页左边为闭区间; 默认0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询每页大小,最大20000; 默认10 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 模型ID TrainingModelId *string `json:"TrainingModelId,omitnil,omitempty" name:"TrainingModelId"` }
func NewDescribeModelAccelerateVersionsRequest ¶ added in v1.0.822
func NewDescribeModelAccelerateVersionsRequest() (request *DescribeModelAccelerateVersionsRequest)
func (*DescribeModelAccelerateVersionsRequest) FromJsonString ¶ added in v1.0.822
func (r *DescribeModelAccelerateVersionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelAccelerateVersionsRequest) ToJsonString ¶ added in v1.0.822
func (r *DescribeModelAccelerateVersionsRequest) ToJsonString() string
type DescribeModelAccelerateVersionsRequestParams ¶ added in v1.0.822
type DescribeModelAccelerateVersionsRequestParams struct { // 过滤条件 // Filter.Name: 枚举值: ModelJobName (任务名称)|TrainingModelVersionId (模型版本id) // Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询 // 每次请求的Filters的上限为10,Filter.Values的上限为100 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 排序字段; 枚举值: CreateTime (创建时间) ;默认CreateTime OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 排序方向; 枚举值: ASC | DESC;默认DESC Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 分页查询起始位置,如:Limit为100,第一页Offset为0,第二页Offset为100....即每页左边为闭区间; 默认0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询每页大小,最大20000; 默认10 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 模型ID TrainingModelId *string `json:"TrainingModelId,omitnil,omitempty" name:"TrainingModelId"` }
Predefined struct for user
type DescribeModelAccelerateVersionsResponse ¶ added in v1.0.822
type DescribeModelAccelerateVersionsResponse struct { *tchttp.BaseResponse Response *DescribeModelAccelerateVersionsResponseParams `json:"Response"` }
func NewDescribeModelAccelerateVersionsResponse ¶ added in v1.0.822
func NewDescribeModelAccelerateVersionsResponse() (response *DescribeModelAccelerateVersionsResponse)
func (*DescribeModelAccelerateVersionsResponse) FromJsonString ¶ added in v1.0.822
func (r *DescribeModelAccelerateVersionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelAccelerateVersionsResponse) ToJsonString ¶ added in v1.0.822
func (r *DescribeModelAccelerateVersionsResponse) ToJsonString() string
type DescribeModelAccelerateVersionsResponseParams ¶ added in v1.0.822
type DescribeModelAccelerateVersionsResponseParams struct { // 优化模型总数; 注意接口是分页拉取的,total是指优化模型节点总数,不是本次返回中ModelAccelerateVersions数组的大小 // 注意:此字段可能返回 null,表示取不到有效值。 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 优化模型列表 // 注意:此字段可能返回 null,表示取不到有效值。 ModelAccelerateVersions []*ModelAccelerateVersion `json:"ModelAccelerateVersions,omitnil,omitempty" name:"ModelAccelerateVersions"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeModelServiceCallInfoRequest ¶ added in v1.0.528
type DescribeModelServiceCallInfoRequest struct { *tchttp.BaseRequest // 服务组id ServiceGroupId *string `json:"ServiceGroupId,omitnil,omitempty" name:"ServiceGroupId"` // 服务分类 ServiceCategory *string `json:"ServiceCategory,omitnil,omitempty" name:"ServiceCategory"` }
func NewDescribeModelServiceCallInfoRequest ¶ added in v1.0.528
func NewDescribeModelServiceCallInfoRequest() (request *DescribeModelServiceCallInfoRequest)
func (*DescribeModelServiceCallInfoRequest) FromJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceCallInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelServiceCallInfoRequest) ToJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceCallInfoRequest) ToJsonString() string
type DescribeModelServiceCallInfoRequestParams ¶ added in v1.0.528
type DescribeModelServiceCallInfoRequestParams struct { // 服务组id ServiceGroupId *string `json:"ServiceGroupId,omitnil,omitempty" name:"ServiceGroupId"` // 服务分类 ServiceCategory *string `json:"ServiceCategory,omitnil,omitempty" name:"ServiceCategory"` }
Predefined struct for user
type DescribeModelServiceCallInfoResponse ¶ added in v1.0.528
type DescribeModelServiceCallInfoResponse struct { *tchttp.BaseResponse Response *DescribeModelServiceCallInfoResponseParams `json:"Response"` }
func NewDescribeModelServiceCallInfoResponse ¶ added in v1.0.528
func NewDescribeModelServiceCallInfoResponse() (response *DescribeModelServiceCallInfoResponse)
func (*DescribeModelServiceCallInfoResponse) FromJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceCallInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelServiceCallInfoResponse) ToJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceCallInfoResponse) ToJsonString() string
type DescribeModelServiceCallInfoResponseParams ¶ added in v1.0.528
type DescribeModelServiceCallInfoResponseParams struct { // 服务调用信息 // 注意:此字段可能返回 null,表示取不到有效值。 ServiceCallInfo *ServiceCallInfo `json:"ServiceCallInfo,omitnil,omitempty" name:"ServiceCallInfo"` // 升级网关调用信息 // 注意:此字段可能返回 null,表示取不到有效值。 InferGatewayCallInfo *InferGatewayCallInfo `json:"InferGatewayCallInfo,omitnil,omitempty" name:"InferGatewayCallInfo"` // 默认nginx网关的调用信息 // 注意:此字段可能返回 null,表示取不到有效值。 DefaultNginxGatewayCallInfo *DefaultNginxGatewayCallInfo `json:"DefaultNginxGatewayCallInfo,omitnil,omitempty" name:"DefaultNginxGatewayCallInfo"` // 太极服务的调用信息 // 注意:此字段可能返回 null,表示取不到有效值。 TJCallInfo *TJCallInfo `json:"TJCallInfo,omitnil,omitempty" name:"TJCallInfo"` // 内网调用信息 // 注意:此字段可能返回 null,表示取不到有效值。 IntranetCallInfo *IntranetCallInfo `json:"IntranetCallInfo,omitnil,omitempty" name:"IntranetCallInfo"` // 基于新网关的服务调用信息 // 注意:此字段可能返回 null,表示取不到有效值。 ServiceCallInfoV2 *ServiceCallInfoV2 `json:"ServiceCallInfoV2,omitnil,omitempty" name:"ServiceCallInfoV2"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeModelServiceGroupRequest ¶ added in v1.0.528
type DescribeModelServiceGroupRequest struct { *tchttp.BaseRequest // 服务组ID ServiceGroupId *string `json:"ServiceGroupId,omitnil,omitempty" name:"ServiceGroupId"` // 服务分类 ServiceCategory *string `json:"ServiceCategory,omitnil,omitempty" name:"ServiceCategory"` }
func NewDescribeModelServiceGroupRequest ¶ added in v1.0.528
func NewDescribeModelServiceGroupRequest() (request *DescribeModelServiceGroupRequest)
func (*DescribeModelServiceGroupRequest) FromJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelServiceGroupRequest) ToJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceGroupRequest) ToJsonString() string
type DescribeModelServiceGroupRequestParams ¶ added in v1.0.528
type DescribeModelServiceGroupRequestParams struct { // 服务组ID ServiceGroupId *string `json:"ServiceGroupId,omitnil,omitempty" name:"ServiceGroupId"` // 服务分类 ServiceCategory *string `json:"ServiceCategory,omitnil,omitempty" name:"ServiceCategory"` }
Predefined struct for user
type DescribeModelServiceGroupResponse ¶ added in v1.0.528
type DescribeModelServiceGroupResponse struct { *tchttp.BaseResponse Response *DescribeModelServiceGroupResponseParams `json:"Response"` }
func NewDescribeModelServiceGroupResponse ¶ added in v1.0.528
func NewDescribeModelServiceGroupResponse() (response *DescribeModelServiceGroupResponse)
func (*DescribeModelServiceGroupResponse) FromJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelServiceGroupResponse) ToJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceGroupResponse) ToJsonString() string
type DescribeModelServiceGroupResponseParams ¶ added in v1.0.528
type DescribeModelServiceGroupResponseParams struct { // 服务组信息 // 注意:此字段可能返回 null,表示取不到有效值。 ServiceGroup *ServiceGroup `json:"ServiceGroup,omitnil,omitempty" name:"ServiceGroup"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeModelServiceGroupsRequest ¶ added in v1.0.528
type DescribeModelServiceGroupsRequest struct { *tchttp.BaseRequest // 偏移量,默认为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列 Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序的依据字段, 取值范围 "CreateTime" "UpdateTime" OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 分页参数,支持的分页过滤Name包括: // ["ClusterId", "ServiceId", "ServiceGroupName", "ServiceGroupId","Status","CreatedBy","ModelVersionId"] Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 标签过滤参数 TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` // 服务分类 ServiceCategory *string `json:"ServiceCategory,omitnil,omitempty" name:"ServiceCategory"` }
func NewDescribeModelServiceGroupsRequest ¶ added in v1.0.528
func NewDescribeModelServiceGroupsRequest() (request *DescribeModelServiceGroupsRequest)
func (*DescribeModelServiceGroupsRequest) FromJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceGroupsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelServiceGroupsRequest) ToJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceGroupsRequest) ToJsonString() string
type DescribeModelServiceGroupsRequestParams ¶ added in v1.0.528
type DescribeModelServiceGroupsRequestParams struct { // 偏移量,默认为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列 Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序的依据字段, 取值范围 "CreateTime" "UpdateTime" OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 分页参数,支持的分页过滤Name包括: // ["ClusterId", "ServiceId", "ServiceGroupName", "ServiceGroupId","Status","CreatedBy","ModelVersionId"] Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 标签过滤参数 TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` // 服务分类 ServiceCategory *string `json:"ServiceCategory,omitnil,omitempty" name:"ServiceCategory"` }
Predefined struct for user
type DescribeModelServiceGroupsResponse ¶ added in v1.0.528
type DescribeModelServiceGroupsResponse struct { *tchttp.BaseResponse Response *DescribeModelServiceGroupsResponseParams `json:"Response"` }
func NewDescribeModelServiceGroupsResponse ¶ added in v1.0.528
func NewDescribeModelServiceGroupsResponse() (response *DescribeModelServiceGroupsResponse)
func (*DescribeModelServiceGroupsResponse) FromJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceGroupsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelServiceGroupsResponse) ToJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceGroupsResponse) ToJsonString() string
type DescribeModelServiceGroupsResponseParams ¶ added in v1.0.528
type DescribeModelServiceGroupsResponseParams struct { // 推理服务组数量。 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 服务组信息 // 注意:此字段可能返回 null,表示取不到有效值。 ServiceGroups []*ServiceGroup `json:"ServiceGroups,omitnil,omitempty" name:"ServiceGroups"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeModelServiceHotUpdatedRequest ¶ added in v1.0.528
type DescribeModelServiceHotUpdatedRequest struct { *tchttp.BaseRequest // 镜像信息,配置服务运行所需的镜像地址等信息 ImageInfo *ImageInfo `json:"ImageInfo,omitnil,omitempty" name:"ImageInfo"` // 模型信息,需要挂载模型时填写 ModelInfo *ModelInfo `json:"ModelInfo,omitnil,omitempty" name:"ModelInfo"` // 挂载信息 VolumeMount *VolumeMount `json:"VolumeMount,omitnil,omitempty" name:"VolumeMount"` }
func NewDescribeModelServiceHotUpdatedRequest ¶ added in v1.0.528
func NewDescribeModelServiceHotUpdatedRequest() (request *DescribeModelServiceHotUpdatedRequest)
func (*DescribeModelServiceHotUpdatedRequest) FromJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceHotUpdatedRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelServiceHotUpdatedRequest) ToJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceHotUpdatedRequest) ToJsonString() string
type DescribeModelServiceHotUpdatedRequestParams ¶ added in v1.0.528
type DescribeModelServiceHotUpdatedRequestParams struct { // 镜像信息,配置服务运行所需的镜像地址等信息 ImageInfo *ImageInfo `json:"ImageInfo,omitnil,omitempty" name:"ImageInfo"` // 模型信息,需要挂载模型时填写 ModelInfo *ModelInfo `json:"ModelInfo,omitnil,omitempty" name:"ModelInfo"` // 挂载信息 VolumeMount *VolumeMount `json:"VolumeMount,omitnil,omitempty" name:"VolumeMount"` }
Predefined struct for user
type DescribeModelServiceHotUpdatedResponse ¶ added in v1.0.528
type DescribeModelServiceHotUpdatedResponse struct { *tchttp.BaseResponse Response *DescribeModelServiceHotUpdatedResponseParams `json:"Response"` }
func NewDescribeModelServiceHotUpdatedResponse ¶ added in v1.0.528
func NewDescribeModelServiceHotUpdatedResponse() (response *DescribeModelServiceHotUpdatedResponse)
func (*DescribeModelServiceHotUpdatedResponse) FromJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceHotUpdatedResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelServiceHotUpdatedResponse) ToJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceHotUpdatedResponse) ToJsonString() string
type DescribeModelServiceHotUpdatedResponseParams ¶ added in v1.0.528
type DescribeModelServiceHotUpdatedResponseParams struct { // 模型加速标志位.Allowed 允许模型加速. Forbidden 禁止模型加速 ModelTurboFlag *string `json:"ModelTurboFlag,omitnil,omitempty" name:"ModelTurboFlag"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeModelServiceRequest ¶ added in v1.0.528
type DescribeModelServiceRequest struct { *tchttp.BaseRequest // 服务id ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"` // 服务分类 ServiceCategory *string `json:"ServiceCategory,omitnil,omitempty" name:"ServiceCategory"` }
func NewDescribeModelServiceRequest ¶ added in v1.0.528
func NewDescribeModelServiceRequest() (request *DescribeModelServiceRequest)
func (*DescribeModelServiceRequest) FromJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelServiceRequest) ToJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceRequest) ToJsonString() string
type DescribeModelServiceRequestParams ¶ added in v1.0.528
type DescribeModelServiceRequestParams struct { // 服务id ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"` // 服务分类 ServiceCategory *string `json:"ServiceCategory,omitnil,omitempty" name:"ServiceCategory"` }
Predefined struct for user
type DescribeModelServiceResponse ¶ added in v1.0.528
type DescribeModelServiceResponse struct { *tchttp.BaseResponse Response *DescribeModelServiceResponseParams `json:"Response"` }
func NewDescribeModelServiceResponse ¶ added in v1.0.528
func NewDescribeModelServiceResponse() (response *DescribeModelServiceResponse)
func (*DescribeModelServiceResponse) FromJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelServiceResponse) ToJsonString ¶ added in v1.0.528
func (r *DescribeModelServiceResponse) ToJsonString() string
type DescribeModelServiceResponseParams ¶ added in v1.0.528
type DescribeModelServiceResponseParams struct { // 服务信息 Service *Service `json:"Service,omitnil,omitempty" name:"Service"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNotebookRequest ¶ added in v1.0.711
type DescribeNotebookRequest struct { *tchttp.BaseRequest // notebook id Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
func NewDescribeNotebookRequest ¶ added in v1.0.711
func NewDescribeNotebookRequest() (request *DescribeNotebookRequest)
func (*DescribeNotebookRequest) FromJsonString ¶ added in v1.0.711
func (r *DescribeNotebookRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNotebookRequest) ToJsonString ¶ added in v1.0.711
func (r *DescribeNotebookRequest) ToJsonString() string
type DescribeNotebookRequestParams ¶ added in v1.0.711
type DescribeNotebookRequestParams struct { // notebook id Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
Predefined struct for user
type DescribeNotebookResponse ¶ added in v1.0.711
type DescribeNotebookResponse struct { *tchttp.BaseResponse Response *DescribeNotebookResponseParams `json:"Response"` }
func NewDescribeNotebookResponse ¶ added in v1.0.711
func NewDescribeNotebookResponse() (response *DescribeNotebookResponse)
func (*DescribeNotebookResponse) FromJsonString ¶ added in v1.0.711
func (r *DescribeNotebookResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNotebookResponse) ToJsonString ¶ added in v1.0.711
func (r *DescribeNotebookResponse) ToJsonString() string
type DescribeNotebookResponseParams ¶ added in v1.0.711
type DescribeNotebookResponseParams struct { // 详情 NotebookDetail *NotebookDetail `json:"NotebookDetail,omitnil,omitempty" name:"NotebookDetail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeNotebooksRequest ¶ added in v1.0.711
type DescribeNotebooksRequest struct { *tchttp.BaseRequest // 偏移量,默认为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 每页返回的实例数,默认为10 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列。默认为DESC Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 根据哪个字段排序,如:CreateTime、UpdateTime,默认为UpdateTime OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 过滤器,eg:[{ "Name": "Id", "Values": ["nb-123456789"] }] // // 取值范围 // Name(名称):notebook1 // Id(notebook ID):nb-123456789 // Status(状态):Starting / Running / Stopped / Stopping / Failed / SubmitFailed // Creator(创建者 uin):100014761913 // ChargeType(计费类型):PREPAID(预付费)/ POSTPAID_BY_HOUR(后付费) // ChargeStatus(计费状态):NOT_BILLING(未开始计费)/ BILLING(计费中)/ BILLING_STORAGE(存储计费中)/ARREARS_STOP(欠费停止) // DefaultCodeRepoId(默认代码仓库ID):cr-123456789 // AdditionalCodeRepoId(关联代码仓库ID):cr-123456789 // LifecycleScriptId(生命周期ID):ls-12312312311312 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 标签过滤器,eg:[{ "TagKey": "TagKeyA", "TagValue": ["TagValueA"] }] TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` }
func NewDescribeNotebooksRequest ¶ added in v1.0.711
func NewDescribeNotebooksRequest() (request *DescribeNotebooksRequest)
func (*DescribeNotebooksRequest) FromJsonString ¶ added in v1.0.711
func (r *DescribeNotebooksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNotebooksRequest) ToJsonString ¶ added in v1.0.711
func (r *DescribeNotebooksRequest) ToJsonString() string
type DescribeNotebooksRequestParams ¶ added in v1.0.711
type DescribeNotebooksRequestParams struct { // 偏移量,默认为0 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 每页返回的实例数,默认为10 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 输出列表的排列顺序。取值范围:ASC:升序排列 DESC:降序排列。默认为DESC Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 根据哪个字段排序,如:CreateTime、UpdateTime,默认为UpdateTime OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` // 过滤器,eg:[{ "Name": "Id", "Values": ["nb-123456789"] }] // // 取值范围 // Name(名称):notebook1 // Id(notebook ID):nb-123456789 // Status(状态):Starting / Running / Stopped / Stopping / Failed / SubmitFailed // Creator(创建者 uin):100014761913 // ChargeType(计费类型):PREPAID(预付费)/ POSTPAID_BY_HOUR(后付费) // ChargeStatus(计费状态):NOT_BILLING(未开始计费)/ BILLING(计费中)/ BILLING_STORAGE(存储计费中)/ARREARS_STOP(欠费停止) // DefaultCodeRepoId(默认代码仓库ID):cr-123456789 // AdditionalCodeRepoId(关联代码仓库ID):cr-123456789 // LifecycleScriptId(生命周期ID):ls-12312312311312 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 标签过滤器,eg:[{ "TagKey": "TagKeyA", "TagValue": ["TagValueA"] }] TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` }
Predefined struct for user
type DescribeNotebooksResponse ¶ added in v1.0.711
type DescribeNotebooksResponse struct { *tchttp.BaseResponse Response *DescribeNotebooksResponseParams `json:"Response"` }
func NewDescribeNotebooksResponse ¶ added in v1.0.711
func NewDescribeNotebooksResponse() (response *DescribeNotebooksResponse)
func (*DescribeNotebooksResponse) FromJsonString ¶ added in v1.0.711
func (r *DescribeNotebooksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeNotebooksResponse) ToJsonString ¶ added in v1.0.711
func (r *DescribeNotebooksResponse) ToJsonString() string
type DescribeNotebooksResponseParams ¶ added in v1.0.711
type DescribeNotebooksResponseParams struct { // 详情 // 注意:此字段可能返回 null,表示取不到有效值。 NotebookSet []*NotebookSetItem `json:"NotebookSet,omitnil,omitempty" name:"NotebookSet"` // 总条数 // 注意:此字段可能返回 null,表示取不到有效值。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTrainingModelVersionRequest ¶
type DescribeTrainingModelVersionRequest struct { *tchttp.BaseRequest // 模型版本ID TrainingModelVersionId *string `json:"TrainingModelVersionId,omitnil,omitempty" name:"TrainingModelVersionId"` }
func NewDescribeTrainingModelVersionRequest ¶
func NewDescribeTrainingModelVersionRequest() (request *DescribeTrainingModelVersionRequest)
func (*DescribeTrainingModelVersionRequest) FromJsonString ¶
func (r *DescribeTrainingModelVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTrainingModelVersionRequest) ToJsonString ¶
func (r *DescribeTrainingModelVersionRequest) ToJsonString() string
type DescribeTrainingModelVersionRequestParams ¶ added in v1.0.426
type DescribeTrainingModelVersionRequestParams struct { // 模型版本ID TrainingModelVersionId *string `json:"TrainingModelVersionId,omitnil,omitempty" name:"TrainingModelVersionId"` }
Predefined struct for user
type DescribeTrainingModelVersionResponse ¶
type DescribeTrainingModelVersionResponse struct { *tchttp.BaseResponse Response *DescribeTrainingModelVersionResponseParams `json:"Response"` }
func NewDescribeTrainingModelVersionResponse ¶
func NewDescribeTrainingModelVersionResponse() (response *DescribeTrainingModelVersionResponse)
func (*DescribeTrainingModelVersionResponse) FromJsonString ¶
func (r *DescribeTrainingModelVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTrainingModelVersionResponse) ToJsonString ¶
func (r *DescribeTrainingModelVersionResponse) ToJsonString() string
type DescribeTrainingModelVersionResponseParams ¶ added in v1.0.426
type DescribeTrainingModelVersionResponseParams struct { // 模型版本 TrainingModelVersion *TrainingModelVersionDTO `json:"TrainingModelVersion,omitnil,omitempty" name:"TrainingModelVersion"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTrainingModelVersionsRequest ¶
type DescribeTrainingModelVersionsRequest struct { *tchttp.BaseRequest // 模型ID TrainingModelId *string `json:"TrainingModelId,omitnil,omitempty" name:"TrainingModelId"` // 过滤条件 // Filter.Name: 枚举值: // TrainingModelVersionId (模型版本ID) // ModelVersionType (模型版本类型) 其值支持: NORMAL(通用) ACCELERATE (加速) // ModelFormat(模型格式)其值Filter.Values支持: // TORCH_SCRIPT/PYTORCH/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML // AlgorithmFramework (算法框架) 其值Filter.Values支持:TENSORFLOW/PYTORCH/DETECTRON2 // Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询 // 每次请求的Filters的上限为10,Filter.Values的上限为100 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeTrainingModelVersionsRequest ¶
func NewDescribeTrainingModelVersionsRequest() (request *DescribeTrainingModelVersionsRequest)
func (*DescribeTrainingModelVersionsRequest) FromJsonString ¶
func (r *DescribeTrainingModelVersionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTrainingModelVersionsRequest) ToJsonString ¶
func (r *DescribeTrainingModelVersionsRequest) ToJsonString() string
type DescribeTrainingModelVersionsRequestParams ¶ added in v1.0.426
type DescribeTrainingModelVersionsRequestParams struct { // 模型ID TrainingModelId *string `json:"TrainingModelId,omitnil,omitempty" name:"TrainingModelId"` // 过滤条件 // Filter.Name: 枚举值: // TrainingModelVersionId (模型版本ID) // ModelVersionType (模型版本类型) 其值支持: NORMAL(通用) ACCELERATE (加速) // ModelFormat(模型格式)其值Filter.Values支持: // TORCH_SCRIPT/PYTORCH/DETECTRON2/SAVED_MODEL/FROZEN_GRAPH/PMML // AlgorithmFramework (算法框架) 其值Filter.Values支持:TENSORFLOW/PYTORCH/DETECTRON2 // Filter.Values: 当长度为1时,支持模糊查询; 不为1时,精确查询 // 每次请求的Filters的上限为10,Filter.Values的上限为100 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeTrainingModelVersionsResponse ¶
type DescribeTrainingModelVersionsResponse struct { *tchttp.BaseResponse Response *DescribeTrainingModelVersionsResponseParams `json:"Response"` }
func NewDescribeTrainingModelVersionsResponse ¶
func NewDescribeTrainingModelVersionsResponse() (response *DescribeTrainingModelVersionsResponse)
func (*DescribeTrainingModelVersionsResponse) FromJsonString ¶
func (r *DescribeTrainingModelVersionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTrainingModelVersionsResponse) ToJsonString ¶
func (r *DescribeTrainingModelVersionsResponse) ToJsonString() string
type DescribeTrainingModelVersionsResponseParams ¶ added in v1.0.426
type DescribeTrainingModelVersionsResponseParams struct { // 模型版本列表 TrainingModelVersions []*TrainingModelVersionDTO `json:"TrainingModelVersions,omitnil,omitempty" name:"TrainingModelVersions"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTrainingTaskPodsRequest ¶
type DescribeTrainingTaskPodsRequest struct { *tchttp.BaseRequest // 训练任务ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
func NewDescribeTrainingTaskPodsRequest ¶
func NewDescribeTrainingTaskPodsRequest() (request *DescribeTrainingTaskPodsRequest)
func (*DescribeTrainingTaskPodsRequest) FromJsonString ¶
func (r *DescribeTrainingTaskPodsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTrainingTaskPodsRequest) ToJsonString ¶
func (r *DescribeTrainingTaskPodsRequest) ToJsonString() string
type DescribeTrainingTaskPodsRequestParams ¶ added in v1.0.426
type DescribeTrainingTaskPodsRequestParams struct { // 训练任务ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
Predefined struct for user
type DescribeTrainingTaskPodsResponse ¶
type DescribeTrainingTaskPodsResponse struct { *tchttp.BaseResponse Response *DescribeTrainingTaskPodsResponseParams `json:"Response"` }
func NewDescribeTrainingTaskPodsResponse ¶
func NewDescribeTrainingTaskPodsResponse() (response *DescribeTrainingTaskPodsResponse)
func (*DescribeTrainingTaskPodsResponse) FromJsonString ¶
func (r *DescribeTrainingTaskPodsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTrainingTaskPodsResponse) ToJsonString ¶
func (r *DescribeTrainingTaskPodsResponse) ToJsonString() string
type DescribeTrainingTaskPodsResponseParams ¶ added in v1.0.426
type DescribeTrainingTaskPodsResponseParams struct { // pod名称列表 PodNames []*string `json:"PodNames,omitnil,omitempty" name:"PodNames"` // 数量 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // pod详细信息 PodInfoList []*PodInfo `json:"PodInfoList,omitnil,omitempty" name:"PodInfoList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTrainingTaskRequest ¶
type DescribeTrainingTaskRequest struct { *tchttp.BaseRequest // 训练任务ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
func NewDescribeTrainingTaskRequest ¶
func NewDescribeTrainingTaskRequest() (request *DescribeTrainingTaskRequest)
func (*DescribeTrainingTaskRequest) FromJsonString ¶
func (r *DescribeTrainingTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTrainingTaskRequest) ToJsonString ¶
func (r *DescribeTrainingTaskRequest) ToJsonString() string
type DescribeTrainingTaskRequestParams ¶ added in v1.0.426
type DescribeTrainingTaskRequestParams struct { // 训练任务ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
Predefined struct for user
type DescribeTrainingTaskResponse ¶
type DescribeTrainingTaskResponse struct { *tchttp.BaseResponse Response *DescribeTrainingTaskResponseParams `json:"Response"` }
func NewDescribeTrainingTaskResponse ¶
func NewDescribeTrainingTaskResponse() (response *DescribeTrainingTaskResponse)
func (*DescribeTrainingTaskResponse) FromJsonString ¶
func (r *DescribeTrainingTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTrainingTaskResponse) ToJsonString ¶
func (r *DescribeTrainingTaskResponse) ToJsonString() string
type DescribeTrainingTaskResponseParams ¶ added in v1.0.426
type DescribeTrainingTaskResponseParams struct { // 训练任务详情 TrainingTaskDetail *TrainingTaskDetail `json:"TrainingTaskDetail,omitnil,omitempty" name:"TrainingTaskDetail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTrainingTasksRequest ¶
type DescribeTrainingTasksRequest struct { *tchttp.BaseRequest // 过滤器,eg:[{ "Name": "Id", "Values": ["train-23091792777383936"] }] // // 取值范围: // Name(名称):task1 // Id(task ID):train-23091792777383936 // Status(状态):SUBMITTING/PENDING/STARTING / RUNNING / STOPPING / STOPPED / FAILED / SUCCEED / SUBMIT_FAILED // ResourceGroupId(资源组 Id):trsg-kvvfrwl7 // Creator(创建者 uin):100014761913 // ChargeType(计费类型):PREPAID(预付费)/ POSTPAID_BY_HOUR(后付费) // CHARGE_STATUS(计费状态):NOT_BILLING(未开始计费)/ BILLING(计费中)/ ARREARS_STOP(欠费停止) Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 标签过滤器,eg:[{ "TagKey": "TagKeyA", "TagValue": ["TagValueA"] }] TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为10,最大为50 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 输出列表的排列顺序。取值范围:ASC(升序排列)/ DESC(降序排列),默认为DESC Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序的依据字段, 取值范围 "CreateTime" 、"UpdateTime"、"StartTime",默认为UpdateTime OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` }
func NewDescribeTrainingTasksRequest ¶
func NewDescribeTrainingTasksRequest() (request *DescribeTrainingTasksRequest)
func (*DescribeTrainingTasksRequest) FromJsonString ¶
func (r *DescribeTrainingTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTrainingTasksRequest) ToJsonString ¶
func (r *DescribeTrainingTasksRequest) ToJsonString() string
type DescribeTrainingTasksRequestParams ¶ added in v1.0.426
type DescribeTrainingTasksRequestParams struct { // 过滤器,eg:[{ "Name": "Id", "Values": ["train-23091792777383936"] }] // // 取值范围: // Name(名称):task1 // Id(task ID):train-23091792777383936 // Status(状态):SUBMITTING/PENDING/STARTING / RUNNING / STOPPING / STOPPED / FAILED / SUCCEED / SUBMIT_FAILED // ResourceGroupId(资源组 Id):trsg-kvvfrwl7 // Creator(创建者 uin):100014761913 // ChargeType(计费类型):PREPAID(预付费)/ POSTPAID_BY_HOUR(后付费) // CHARGE_STATUS(计费状态):NOT_BILLING(未开始计费)/ BILLING(计费中)/ ARREARS_STOP(欠费停止) Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 标签过滤器,eg:[{ "TagKey": "TagKeyA", "TagValue": ["TagValueA"] }] TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"` // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为10,最大为50 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 输出列表的排列顺序。取值范围:ASC(升序排列)/ DESC(降序排列),默认为DESC Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序的依据字段, 取值范围 "CreateTime" 、"UpdateTime"、"StartTime",默认为UpdateTime OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` }
Predefined struct for user
type DescribeTrainingTasksResponse ¶
type DescribeTrainingTasksResponse struct { *tchttp.BaseResponse Response *DescribeTrainingTasksResponseParams `json:"Response"` }
func NewDescribeTrainingTasksResponse ¶
func NewDescribeTrainingTasksResponse() (response *DescribeTrainingTasksResponse)
func (*DescribeTrainingTasksResponse) FromJsonString ¶
func (r *DescribeTrainingTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTrainingTasksResponse) ToJsonString ¶
func (r *DescribeTrainingTasksResponse) ToJsonString() string
type DescribeTrainingTasksResponseParams ¶ added in v1.0.426
type DescribeTrainingTasksResponseParams struct { // 训练任务集 TrainingTaskSet []*TrainingTaskSetItem `json:"TrainingTaskSet,omitnil,omitempty" name:"TrainingTaskSet"` // 数量 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Filter ¶
type Filter struct { // 过滤字段名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 过滤字段取值 Values []*string `json:"Values,omitnil,omitempty" name:"Values"` // 是否开启反向查询 Negative *bool `json:"Negative,omitnil,omitempty" name:"Negative"` // 是否开启模糊匹配 Fuzzy *bool `json:"Fuzzy,omitnil,omitempty" name:"Fuzzy"` }
type GooseFS ¶ added in v1.0.651
type GooseFS struct { // goosefs实例id // 注意:此字段可能返回 null,表示取不到有效值。 Id *string `json:"Id,omitnil,omitempty" name:"Id"` // GooseFS类型,包括GooseFS和GooseFSx // 注意:此字段可能返回 null,表示取不到有效值。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // GooseFSx实例需要挂载的路径 // 注意:此字段可能返回 null,表示取不到有效值。 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // GooseFS命名空间 // 注意:此字段可能返回 null,表示取不到有效值。 NameSpace *string `json:"NameSpace,omitnil,omitempty" name:"NameSpace"` }
type GroupResource ¶
type GroupResource struct { // CPU核数; 单位为1/1000核,比如100表示0.1核 Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 内存;单位为MB Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"` // 总卡数;GPUDetail 显卡数之和;单位为1/100卡,比如100代表1卡 // 注意:此字段可能返回 null,表示取不到有效值。 Gpu *uint64 `json:"Gpu,omitnil,omitempty" name:"Gpu"` // Gpu详情 // 注意:此字段可能返回 null,表示取不到有效值。 GpuDetailSet []*GpuDetail `json:"GpuDetailSet,omitnil,omitempty" name:"GpuDetailSet"` }
type HDFSConfig ¶
type HorizontalPodAutoscaler ¶ added in v1.0.528
type HorizontalPodAutoscaler struct { // 最小实例数 // 注意:此字段可能返回 null,表示取不到有效值。 MinReplicas *int64 `json:"MinReplicas,omitnil,omitempty" name:"MinReplicas"` // 最大实例数 // 注意:此字段可能返回 null,表示取不到有效值。 MaxReplicas *int64 `json:"MaxReplicas,omitnil,omitempty" name:"MaxReplicas"` // 支持: // "gpu-util": GPU利用率。范围{10, 100} "cpu-util": CPU利用率。范围{10, 100} "memory-util": 内存利用率。范围{10, 100} "service-qps": 单个实例QPS值。范围{1, 5000} // "concurrency-util":单个实例请求数量值。范围{1,100000} // 注意:此字段可能返回 null,表示取不到有效值。 HpaMetrics []*Option `json:"HpaMetrics,omitnil,omitempty" name:"HpaMetrics"` }
type HyperParameter ¶ added in v1.0.534
type HyperParameter struct { // 最大nnz数 // 注意:此字段可能返回 null,表示取不到有效值。 MaxNNZ *string `json:"MaxNNZ,omitnil,omitempty" name:"MaxNNZ"` // slot数 // 注意:此字段可能返回 null,表示取不到有效值。 SlotNum *string `json:"SlotNum,omitnil,omitempty" name:"SlotNum"` // gpu cache 使用率 // 注意:此字段可能返回 null,表示取不到有效值。 CpuCachePercentage *string `json:"CpuCachePercentage,omitnil,omitempty" name:"CpuCachePercentage"` // cpu cache 使用率 // 注意:此字段可能返回 null,表示取不到有效值。 GpuCachePercentage *string `json:"GpuCachePercentage,omitnil,omitempty" name:"GpuCachePercentage"` // 是否开启分布式模式(true/false) // 注意:此字段可能返回 null,表示取不到有效值。 EnableDistributed *string `json:"EnableDistributed,omitnil,omitempty" name:"EnableDistributed"` // TORCH_SCRIPT、MMDETECTION、DETECTRON2、HUGGINGFACE格式在进行优化时切分子图的最小算子数目,一般无需进行改动,默认为3 // 注意:此字段可能返回 null,表示取不到有效值。 MinBlockSizePt *string `json:"MinBlockSizePt,omitnil,omitempty" name:"MinBlockSizePt"` // FROZEN_GRAPH、SAVED_MODEL格式在进行优化时切分子图的最小算子数目,一般无需进行改动,默认为10 // 注意:此字段可能返回 null,表示取不到有效值。 MinBlockSizeTf *string `json:"MinBlockSizeTf,omitnil,omitempty" name:"MinBlockSizeTf"` // Stable Diffusion 模型优化参数 // 注意:此字段可能返回 null,表示取不到有效值。 PipelineArgs *string `json:"PipelineArgs,omitnil,omitempty" name:"PipelineArgs"` // Stable Diffusion 模型优化参数,控制Lora模型的影响效果 // 注意:此字段可能返回 null,表示取不到有效值。 LoraScale *string `json:"LoraScale,omitnil,omitempty" name:"LoraScale"` }
type ImageFIlter ¶ added in v1.0.889
type ImageInfo ¶
type ImageInfo struct { // 镜像类型:TCR为腾讯云TCR镜像; CCR为腾讯云TCR个人版镜像,PreSet为平台预置镜像,CUSTOM为第三方自定义镜像 ImageType *string `json:"ImageType,omitnil,omitempty" name:"ImageType"` // 镜像地址 ImageUrl *string `json:"ImageUrl,omitnil,omitempty" name:"ImageUrl"` // TCR镜像对应的地域 // 注意:此字段可能返回 null,表示取不到有效值。 RegistryRegion *string `json:"RegistryRegion,omitnil,omitempty" name:"RegistryRegion"` // TCR镜像对应的实例id // 注意:此字段可能返回 null,表示取不到有效值。 RegistryId *string `json:"RegistryId,omitnil,omitempty" name:"RegistryId"` // 是否允许导出全部内容 // 注意:此字段可能返回 null,表示取不到有效值。 AllowSaveAllContent *bool `json:"AllowSaveAllContent,omitnil,omitempty" name:"AllowSaveAllContent"` // 镜像名称 // 注意:此字段可能返回 null,表示取不到有效值。 ImageName *string `json:"ImageName,omitnil,omitempty" name:"ImageName"` // 是否支持数据构建 // 注意:此字段可能返回 null,表示取不到有效值。 SupportDataPipeline *bool `json:"SupportDataPipeline,omitnil,omitempty" name:"SupportDataPipeline"` // 镜像仓库用户名密码信息(仅当ImageType为CUSTOM第三方镜像的时候需要) // 注意:此字段可能返回 null,表示取不到有效值。 ImageSecret *ImageSecret `json:"ImageSecret,omitnil,omitempty" name:"ImageSecret"` }
type ImageSecret ¶ added in v1.0.926
type ImageSecret struct { // 用于加密密码的KMS公钥ID // 注意:此字段可能返回 null,表示取不到有效值。 KeyId *string `json:"KeyId,omitnil,omitempty" name:"KeyId"` // 用户名 // 注意:此字段可能返回 null,表示取不到有效值。 Username *string `json:"Username,omitnil,omitempty" name:"Username"` // 密码,base64编码; 当keyId不为空时,密码是加密后的 // 注意:此字段可能返回 null,表示取不到有效值。 Password *string `json:"Password,omitnil,omitempty" name:"Password"` }
type InferCodeInfo ¶ added in v1.0.732
type InferCodeInfo struct { // 推理代码所在的cos详情 // 注意:此字段可能返回 null,表示取不到有效值。 CosPathInfo *CosPathInfo `json:"CosPathInfo,omitnil,omitempty" name:"CosPathInfo"` }
type InferGatewayCallInfo ¶ added in v1.0.528
type InferGatewayCallInfo struct { // 内网http调用地址 // 注意:此字段可能返回 null,表示取不到有效值。 VpcHttpAddr *string `json:"VpcHttpAddr,omitnil,omitempty" name:"VpcHttpAddr"` // 内网https调用地址 // 注意:此字段可能返回 null,表示取不到有效值。 VpcHttpsAddr *string `json:"VpcHttpsAddr,omitnil,omitempty" name:"VpcHttpsAddr"` // 内网grpc调用地址 // 注意:此字段可能返回 null,表示取不到有效值。 VpcGrpcTlsAddr *string `json:"VpcGrpcTlsAddr,omitnil,omitempty" name:"VpcGrpcTlsAddr"` // 可访问的vpcid // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 后端ip对应的子网 // 注意:此字段可能返回 null,表示取不到有效值。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` }
type InferTemplate ¶
type InferTemplateGroup ¶
type InferTemplateGroup struct { // 算法框架 // 注意:此字段可能返回 null,表示取不到有效值。 Framework *string `json:"Framework,omitnil,omitempty" name:"Framework"` // 版本号 // 注意:此字段可能返回 null,表示取不到有效值。 FrameworkVersion *string `json:"FrameworkVersion,omitnil,omitempty" name:"FrameworkVersion"` // 支持的训练框架集合 // 注意:此字段可能返回 null,表示取不到有效值。 Groups []*string `json:"Groups,omitnil,omitempty" name:"Groups"` // 镜像模板参数列表 // 注意:此字段可能返回 null,表示取不到有效值。 InferTemplates []*InferTemplate `json:"InferTemplates,omitnil,omitempty" name:"InferTemplates"` }
type IngressPrivateLinkInfo ¶ added in v1.0.738
type IngressPrivateLinkInfo struct { // 用户VpcId // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 用户子网ID // 注意:此字段可能返回 null,表示取不到有效值。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 内网http调用地址 // 注意:此字段可能返回 null,表示取不到有效值。 InnerHttpAddr []*string `json:"InnerHttpAddr,omitnil,omitempty" name:"InnerHttpAddr"` // 内网https调用地址 // 注意:此字段可能返回 null,表示取不到有效值。 InnerHttpsAddr []*string `json:"InnerHttpsAddr,omitnil,omitempty" name:"InnerHttpsAddr"` // 私有连接状态 // 注意:此字段可能返回 null,表示取不到有效值。 State *string `json:"State,omitnil,omitempty" name:"State"` }
type Instance ¶
type Instance struct { // 资源组节点id InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 节点已用资源 // 注意:此字段可能返回 null,表示取不到有效值。 UsedResource *ResourceInfo `json:"UsedResource,omitnil,omitempty" name:"UsedResource"` // 节点总资源 // 注意:此字段可能返回 null,表示取不到有效值。 TotalResource *ResourceInfo `json:"TotalResource,omitnil,omitempty" name:"TotalResource"` // 节点状态 // 注意:此字段为枚举值 // 说明: // DEPLOYING: 部署中 // RUNNING: 运行中 // DEPLOY_FAILED: 部署失败 // RELEASING 释放中 // RELEASED:已释放 // EXCEPTION:异常 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceStatus *string `json:"InstanceStatus,omitnil,omitempty" name:"InstanceStatus"` // 创建人 SubUin *string `json:"SubUin,omitnil,omitempty" name:"SubUin"` // 创建时间: // 注意:北京时间,比如: 2021-12-01 12:00:00 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 到期时间 // 注意:北京时间,比如:2021-12-11 12:00:00 // 注意:此字段可能返回 null,表示取不到有效值。 ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // 自动续费标识 // 注意:此字段为枚举值 // 说明: // NOTIFY_AND_MANUAL_RENEW:手动续费(取消自动续费)且到期通知 // NOTIFY_AND_AUTO_RENEW:自动续费且到期通知 // DISABLE_NOTIFY_AND_MANUAL_RENEW:手动续费(取消自动续费)且到期不通知 // 注意:此字段可能返回 null,表示取不到有效值。 AutoRenewFlag *string `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 计费项ID SpecId *string `json:"SpecId,omitnil,omitempty" name:"SpecId"` // 计费项别名 SpecAlias *string `json:"SpecAlias,omitnil,omitempty" name:"SpecAlias"` // 计费项特性列表 // 注意:此字段可能返回 null,表示取不到有效值。 SpecFeatures []*string `json:"SpecFeatures,omitnil,omitempty" name:"SpecFeatures"` // 纳管cvmid CvmInstanceId *string `json:"CvmInstanceId,omitnil,omitempty" name:"CvmInstanceId"` // 部署失败错误码 // 注意:此字段可能返回 null,表示取不到有效值。 ErrCode *string `json:"ErrCode,omitnil,omitempty" name:"ErrCode"` // 部署失败错误信息 // 注意:此字段可能返回 null,表示取不到有效值。 ErrMsg *string `json:"ErrMsg,omitnil,omitempty" name:"ErrMsg"` }
type IntranetCallInfo ¶ added in v1.0.738
type IntranetCallInfo struct { // 私有连接通道信息 // 注意:此字段可能返回 null,表示取不到有效值。 IngressPrivateLinkInfo *IngressPrivateLinkInfo `json:"IngressPrivateLinkInfo,omitnil,omitempty" name:"IngressPrivateLinkInfo"` // 共享弹性网卡信息 // 注意:此字段可能返回 null,表示取不到有效值。 ServiceEIPInfo []*ServiceEIPInfo `json:"ServiceEIPInfo,omitnil,omitempty" name:"ServiceEIPInfo"` // 默认内网调用信息 // 注意:此字段可能返回 null,表示取不到有效值。 DefaultInnerCallInfos []*DefaultInnerCallInfo `json:"DefaultInnerCallInfos,omitnil,omitempty" name:"DefaultInnerCallInfos"` // 私有连接信息 // 注意:此字段可能返回 null,表示取不到有效值。 PrivateLinkInfos []*PrivateLinkInfo `json:"PrivateLinkInfos,omitnil,omitempty" name:"PrivateLinkInfos"` // 基于新网关的私有连接信息 // 注意:此字段可能返回 null,表示取不到有效值。 PrivateLinkInfosV2 []*PrivateLinkInfo `json:"PrivateLinkInfosV2,omitnil,omitempty" name:"PrivateLinkInfosV2"` }
type MetricData ¶
type MetricData struct { // 训练任务id TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 时间戳.unix timestamp,单位为秒 // 注意:此字段可能返回 null,表示取不到有效值。 Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"` // 用户uin // 注意:此字段可能返回 null,表示取不到有效值。 Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // 本次上报数据所处的训练周期数。 // 注意:此字段可能返回 null,表示取不到有效值。 Epoch *int64 `json:"Epoch,omitnil,omitempty" name:"Epoch"` // 本次上报数据所处的训练迭代次数。 // 注意:此字段可能返回 null,表示取不到有效值。 Step *int64 `json:"Step,omitnil,omitempty" name:"Step"` // 训练停止所需的迭代总数。 // 注意:此字段可能返回 null,表示取不到有效值。 TotalSteps *int64 `json:"TotalSteps,omitnil,omitempty" name:"TotalSteps"` // 数据点。数组元素为不同指标的数据。数组长度不超过10。 // 注意:此字段可能返回 null,表示取不到有效值。 Points []*DataPoint `json:"Points,omitnil,omitempty" name:"Points"` }
type ModelAccelerateTask ¶ added in v1.0.534
type ModelAccelerateTask struct { // 模型加速任务ID // 注意:此字段可能返回 null,表示取不到有效值。 ModelAccTaskId *string `json:"ModelAccTaskId,omitnil,omitempty" name:"ModelAccTaskId"` // 模型加速任务名称 // 注意:此字段可能返回 null,表示取不到有效值。 ModelAccTaskName *string `json:"ModelAccTaskName,omitnil,omitempty" name:"ModelAccTaskName"` // 模型ID // 注意:此字段可能返回 null,表示取不到有效值。 ModelId *string `json:"ModelId,omitnil,omitempty" name:"ModelId"` // 模型名称 // 注意:此字段可能返回 null,表示取不到有效值。 ModelName *string `json:"ModelName,omitnil,omitempty" name:"ModelName"` // 模型版本 // 注意:此字段可能返回 null,表示取不到有效值。 ModelVersion *string `json:"ModelVersion,omitnil,omitempty" name:"ModelVersion"` // 模型来源 // 注意:此字段可能返回 null,表示取不到有效值。 ModelSource *string `json:"ModelSource,omitnil,omitempty" name:"ModelSource"` // 优化级别 // 注意:此字段可能返回 null,表示取不到有效值。 OptimizationLevel *string `json:"OptimizationLevel,omitnil,omitempty" name:"OptimizationLevel"` // 任务状态 // 注意:此字段可能返回 null,表示取不到有效值。 TaskStatus *string `json:"TaskStatus,omitnil,omitempty" name:"TaskStatus"` // input节点个数 // 注意:此字段可能返回 null,表示取不到有效值。 ModelInputNum *uint64 `json:"ModelInputNum,omitnil,omitempty" name:"ModelInputNum"` // input节点信息 // 注意:此字段可能返回 null,表示取不到有效值。 ModelInputInfos []*ModelInputInfo `json:"ModelInputInfos,omitnil,omitempty" name:"ModelInputInfos"` // GPU型号 // 注意:此字段可能返回 null,表示取不到有效值。 GPUType *string `json:"GPUType,omitnil,omitempty" name:"GPUType"` // 计费模式 // 注意:此字段可能返回 null,表示取不到有效值。 ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // 加速比 // 注意:此字段可能返回 null,表示取不到有效值。 Speedup *string `json:"Speedup,omitnil,omitempty" name:"Speedup"` // 模型输入cos路径 // 注意:此字段可能返回 null,表示取不到有效值。 ModelInputPath *CosPathInfo `json:"ModelInputPath,omitnil,omitempty" name:"ModelInputPath"` // 模型输出cos路径 // 注意:此字段可能返回 null,表示取不到有效值。 ModelOutputPath *CosPathInfo `json:"ModelOutputPath,omitnil,omitempty" name:"ModelOutputPath"` // 错误信息 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // 算法框架 // 注意:此字段可能返回 null,表示取不到有效值。 AlgorithmFramework *string `json:"AlgorithmFramework,omitnil,omitempty" name:"AlgorithmFramework"` // 排队个数 // 注意:此字段可能返回 null,表示取不到有效值。 WaitNumber *uint64 `json:"WaitNumber,omitnil,omitempty" name:"WaitNumber"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 任务进度 // 注意:此字段可能返回 null,表示取不到有效值。 TaskProgress *uint64 `json:"TaskProgress,omitnil,omitempty" name:"TaskProgress"` // 模型格式 // 注意:此字段可能返回 null,表示取不到有效值。 ModelFormat *string `json:"ModelFormat,omitnil,omitempty" name:"ModelFormat"` // 模型Tensor信息 // 注意:此字段可能返回 null,表示取不到有效值。 TensorInfos []*string `json:"TensorInfos,omitnil,omitempty" name:"TensorInfos"` // 模型专业参数 // 注意:此字段可能返回 null,表示取不到有效值。 HyperParameter *HyperParameter `json:"HyperParameter,omitnil,omitempty" name:"HyperParameter"` // 加速引擎版本 // 注意:此字段可能返回 null,表示取不到有效值。 AccEngineVersion *string `json:"AccEngineVersion,omitnil,omitempty" name:"AccEngineVersion"` // 标签 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 优化模型是否已保存到模型仓库 // 注意:此字段可能返回 null,表示取不到有效值。 IsSaved *bool `json:"IsSaved,omitnil,omitempty" name:"IsSaved"` // SAVED_MODEL保存时配置的签名 // 注意:此字段可能返回 null,表示取不到有效值。 ModelSignature *string `json:"ModelSignature,omitnil,omitempty" name:"ModelSignature"` // 是否是QAT模型 // 注意:此字段可能返回 null,表示取不到有效值。 QATModel *bool `json:"QATModel,omitnil,omitempty" name:"QATModel"` // 加速引擎对应的框架版本 // 注意:此字段可能返回 null,表示取不到有效值。 FrameworkVersion *string `json:"FrameworkVersion,omitnil,omitempty" name:"FrameworkVersion"` }
type ModelAccelerateVersion ¶ added in v1.0.822
type ModelAccelerateVersion struct { // 模型id // 注意:此字段可能返回 null,表示取不到有效值。 ModelId *string `json:"ModelId,omitnil,omitempty" name:"ModelId"` // 优化模型版本id // 注意:此字段可能返回 null,表示取不到有效值。 ModelVersionId *string `json:"ModelVersionId,omitnil,omitempty" name:"ModelVersionId"` // 优化任务id // 注意:此字段可能返回 null,表示取不到有效值。 ModelJobId *string `json:"ModelJobId,omitnil,omitempty" name:"ModelJobId"` // 优化任务名称 // 注意:此字段可能返回 null,表示取不到有效值。 ModelJobName *string `json:"ModelJobName,omitnil,omitempty" name:"ModelJobName"` // 优化后模型版本 // 注意:此字段可能返回 null,表示取不到有效值。 ModelVersion *string `json:"ModelVersion,omitnil,omitempty" name:"ModelVersion"` // 加速比 // 注意:此字段可能返回 null,表示取不到有效值。 SpeedUp *string `json:"SpeedUp,omitnil,omitempty" name:"SpeedUp"` // 模型来源/任务名称/任务版本 // 注意:此字段可能返回 null,表示取不到有效值。 ModelSource *ModelSource `json:"ModelSource,omitnil,omitempty" name:"ModelSource"` // 模型cos路径 // 注意:此字段可能返回 null,表示取不到有效值。 CosPathInfo *CosPathInfo `json:"CosPathInfo,omitnil,omitempty" name:"CosPathInfo"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 模型规范 // 注意:此字段可能返回 null,表示取不到有效值。 ModelFormat *string `json:"ModelFormat,omitnil,omitempty" name:"ModelFormat"` // 状态 // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 进度 // 注意:此字段可能返回 null,表示取不到有效值。 Progress *uint64 `json:"Progress,omitnil,omitempty" name:"Progress"` // 错误信息 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorMsg *string `json:"ErrorMsg,omitnil,omitempty" name:"ErrorMsg"` // GPU类型 // 注意:此字段可能返回 null,表示取不到有效值。 GPUType *string `json:"GPUType,omitnil,omitempty" name:"GPUType"` // 模型cos路径 // 注意:此字段可能返回 null,表示取不到有效值。 ModelCosPath *CosPathInfo `json:"ModelCosPath,omitnil,omitempty" name:"ModelCosPath"` }
type ModelInfo ¶ added in v1.0.493
type ModelInfo struct { // 模型版本id, DescribeTrainingModelVersion查询模型接口时的id // 自动学习类型的模型填写自动学习的任务id ModelVersionId *string `json:"ModelVersionId,omitnil,omitempty" name:"ModelVersionId"` // 模型id ModelId *string `json:"ModelId,omitnil,omitempty" name:"ModelId"` // 模型名 ModelName *string `json:"ModelName,omitnil,omitempty" name:"ModelName"` // 模型版本 ModelVersion *string `json:"ModelVersion,omitnil,omitempty" name:"ModelVersion"` // 模型来源 ModelSource *string `json:"ModelSource,omitnil,omitempty" name:"ModelSource"` // cos路径信息 CosPathInfo *CosPathInfo `json:"CosPathInfo,omitnil,omitempty" name:"CosPathInfo"` // 模型对应的算法框架,预留 // 注意:此字段可能返回 null,表示取不到有效值。 AlgorithmFramework *string `json:"AlgorithmFramework,omitnil,omitempty" name:"AlgorithmFramework"` // 默认为 NORMAL, 已加速模型: ACCELERATE, 自动学习模型 AUTO_ML // 注意:此字段可能返回 null,表示取不到有效值。 ModelType *string `json:"ModelType,omitnil,omitempty" name:"ModelType"` // 模型格式 // 注意:此字段可能返回 null,表示取不到有效值。 ModelFormat *string `json:"ModelFormat,omitnil,omitempty" name:"ModelFormat"` // 是否为私有化大模型 // 注意:此字段可能返回 null,表示取不到有效值。 IsPrivateModel *bool `json:"IsPrivateModel,omitnil,omitempty" name:"IsPrivateModel"` }
type ModelInputInfo ¶ added in v1.0.534
type ModelInputInfo struct { // input数据类型 // FIXED:固定 // RANGE:浮动 // 注意:此字段可能返回 null,表示取不到有效值。 ModelInputType *string `json:"ModelInputType,omitnil,omitempty" name:"ModelInputType"` // input数据尺寸 // 注意:此字段可能返回 null,表示取不到有效值。 ModelInputDimension []*string `json:"ModelInputDimension,omitnil,omitempty" name:"ModelInputDimension"` }
type ModelSource ¶ added in v1.0.822
type ModelSource struct { // 来源 // 注意:此字段可能返回 null,表示取不到有效值。 Source *string `json:"Source,omitnil,omitempty" name:"Source"` // 来源任务名称 // 注意:此字段可能返回 null,表示取不到有效值。 JobName *string `json:"JobName,omitnil,omitempty" name:"JobName"` // 来源任务版本 // 注意:此字段可能返回 null,表示取不到有效值。 JobVersion *string `json:"JobVersion,omitnil,omitempty" name:"JobVersion"` // 来源任务id // 注意:此字段可能返回 null,表示取不到有效值。 JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // 模型名称 // 注意:此字段可能返回 null,表示取不到有效值。 ModelName *string `json:"ModelName,omitnil,omitempty" name:"ModelName"` // 算法框架 // 注意:此字段可能返回 null,表示取不到有效值。 AlgorithmFramework *string `json:"AlgorithmFramework,omitnil,omitempty" name:"AlgorithmFramework"` // 训练偏好 // 注意:此字段可能返回 null,表示取不到有效值。 TrainingPreference *string `json:"TrainingPreference,omitnil,omitempty" name:"TrainingPreference"` // 推理环境来源,SYSTEM/CUSTOM // 注意:此字段可能返回 null,表示取不到有效值。 ReasoningEnvironmentSource *string `json:"ReasoningEnvironmentSource,omitnil,omitempty" name:"ReasoningEnvironmentSource"` // 推理环境 // 注意:此字段可能返回 null,表示取不到有效值。 ReasoningEnvironment *string `json:"ReasoningEnvironment,omitnil,omitempty" name:"ReasoningEnvironment"` // 推理环境id // 注意:此字段可能返回 null,表示取不到有效值。 ReasoningEnvironmentId *string `json:"ReasoningEnvironmentId,omitnil,omitempty" name:"ReasoningEnvironmentId"` // 自定义推理环境 // 注意:此字段可能返回 null,表示取不到有效值。 ReasoningImageInfo *ImageInfo `json:"ReasoningImageInfo,omitnil,omitempty" name:"ReasoningImageInfo"` }
type ModifyModelServiceRequest ¶ added in v1.0.543
type ModifyModelServiceRequest struct { *tchttp.BaseRequest // 服务id ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"` // 模型信息,需要挂载模型时填写 ModelInfo *ModelInfo `json:"ModelInfo,omitnil,omitempty" name:"ModelInfo"` // 镜像信息,配置服务运行所需的镜像地址等信息 ImageInfo *ImageInfo `json:"ImageInfo,omitnil,omitempty" name:"ImageInfo"` // 环境变量,可选参数,用于配置容器中的环境变量 Env []*EnvVar `json:"Env,omitnil,omitempty" name:"Env"` // 资源描述,指定预付费模式下的cpu,mem,gpu等信息,后付费无需填写 Resources *ResourceInfo `json:"Resources,omitnil,omitempty" name:"Resources"` // 使用DescribeBillingSpecs接口返回的规格列表中的值,或者参考实例列表: // TI.S.MEDIUM.POST 2C4G // TI.S.LARGE.POST 4C8G // TI.S.2XLARGE16.POST 8C16G // TI.S.2XLARGE32.POST 8C32G // TI.S.4XLARGE32.POST 16C32G // TI.S.4XLARGE64.POST 16C64G // TI.S.6XLARGE48.POST 24C48G // TI.S.6XLARGE96.POST 24C96G // TI.S.8XLARGE64.POST 32C64G // TI.S.8XLARGE128.POST 32C128G // TI.GN7.LARGE20.POST 4C20G T4*1/4 // TI.GN7.2XLARGE40.POST 10C40G T4*1/2 // TI.GN7.2XLARGE32.POST 8C32G T4*1 // TI.GN7.5XLARGE80.POST 20C80G T4*1 // TI.GN7.8XLARGE128.POST 32C128G T4*1 // TI.GN7.10XLARGE160.POST 40C160G T4*2 // TI.GN7.20XLARGE320.POST 80C320G T4*4 InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 扩缩容类型 支持:自动 - "AUTO", 手动 - "MANUAL" ScaleMode *string `json:"ScaleMode,omitnil,omitempty" name:"ScaleMode"` // 实例数量, 不同计费模式和调节模式下对应关系如下 // PREPAID 和 POSTPAID_BY_HOUR: // 手动调节模式下对应 实例数量 // 自动调节模式下对应 基于时间的默认策略的实例数量 // HYBRID_PAID: // 后付费实例手动调节模式下对应 实例数量 // 后付费实例自动调节模式下对应 时间策略的默认策略的实例数量 Replicas *int64 `json:"Replicas,omitnil,omitempty" name:"Replicas"` // 自动伸缩信息 HorizontalPodAutoscaler *HorizontalPodAutoscaler `json:"HorizontalPodAutoscaler,omitnil,omitempty" name:"HorizontalPodAutoscaler"` // 是否开启日志投递,开启后需填写配置投递到指定cls LogEnable *bool `json:"LogEnable,omitnil,omitempty" name:"LogEnable"` // 日志配置,需要投递服务日志到指定cls时填写 LogConfig *LogConfig `json:"LogConfig,omitnil,omitempty" name:"LogConfig"` // 特殊更新行为: "STOP": 停止, "RESUME": 重启, "SCALE": 扩缩容, 存在这些特殊更新行为时,会忽略其他更新字段 ServiceAction *string `json:"ServiceAction,omitnil,omitempty" name:"ServiceAction"` // 服务的描述 ServiceDescription *string `json:"ServiceDescription,omitnil,omitempty" name:"ServiceDescription"` // 自动伸缩策略 ScaleStrategy *string `json:"ScaleStrategy,omitnil,omitempty" name:"ScaleStrategy"` // 自动伸缩策略配置 HPA : 通过HPA进行弹性伸缩 CRON 通过定时任务进行伸缩 CronScaleJobs []*CronScaleJob `json:"CronScaleJobs,omitnil,omitempty" name:"CronScaleJobs"` // 计费模式[HYBRID_PAID]时生效, 用于标识混合计费模式下的预付费实例数, 若不填则默认为1 HybridBillingPrepaidReplicas *int64 `json:"HybridBillingPrepaidReplicas,omitnil,omitempty" name:"HybridBillingPrepaidReplicas"` // 是否开启模型的热更新。默认不开启 ModelHotUpdateEnable *bool `json:"ModelHotUpdateEnable,omitnil,omitempty" name:"ModelHotUpdateEnable"` // 定时停止配置 ScheduledAction *ScheduledAction `json:"ScheduledAction,omitnil,omitempty" name:"ScheduledAction"` // 服务限速限流相关配置 ServiceLimit *ServiceLimit `json:"ServiceLimit,omitnil,omitempty" name:"ServiceLimit"` // 挂载配置,目前只支持CFS VolumeMount *VolumeMount `json:"VolumeMount,omitnil,omitempty" name:"VolumeMount"` // 是否开启模型的加速, 仅对StableDiffusion(动态加速)格式的模型有效。默认不开启 ModelTurboEnable *bool `json:"ModelTurboEnable,omitnil,omitempty" name:"ModelTurboEnable"` // 服务的启动命令,如遇特殊字符导致配置失败,可使用CommandBase64参数 Command *string `json:"Command,omitnil,omitempty" name:"Command"` // 是否开启TIONE内网访问外部,此功能仅支持后付费机型与从TIONE平台购买的预付费机型;使用从CVM选择资源组时此配置不生效。 ServiceEIP *ServiceEIP `json:"ServiceEIP,omitnil,omitempty" name:"ServiceEIP"` // 服务的启动命令,以base64格式进行输入,与Command同时配置时,仅当前参数生效 CommandBase64 *string `json:"CommandBase64,omitnil,omitempty" name:"CommandBase64"` // 服务端口,仅在非内置镜像时生效,默认8501。不支持输入8501-8510,6006,9092 ServicePort *int64 `json:"ServicePort,omitnil,omitempty" name:"ServicePort"` }
func NewModifyModelServiceRequest ¶ added in v1.0.543
func NewModifyModelServiceRequest() (request *ModifyModelServiceRequest)
func (*ModifyModelServiceRequest) FromJsonString ¶ added in v1.0.543
func (r *ModifyModelServiceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModelServiceRequest) ToJsonString ¶ added in v1.0.543
func (r *ModifyModelServiceRequest) ToJsonString() string
type ModifyModelServiceRequestParams ¶ added in v1.0.543
type ModifyModelServiceRequestParams struct { // 服务id ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"` // 模型信息,需要挂载模型时填写 ModelInfo *ModelInfo `json:"ModelInfo,omitnil,omitempty" name:"ModelInfo"` // 镜像信息,配置服务运行所需的镜像地址等信息 ImageInfo *ImageInfo `json:"ImageInfo,omitnil,omitempty" name:"ImageInfo"` // 环境变量,可选参数,用于配置容器中的环境变量 Env []*EnvVar `json:"Env,omitnil,omitempty" name:"Env"` // 资源描述,指定预付费模式下的cpu,mem,gpu等信息,后付费无需填写 Resources *ResourceInfo `json:"Resources,omitnil,omitempty" name:"Resources"` // 使用DescribeBillingSpecs接口返回的规格列表中的值,或者参考实例列表: // TI.S.MEDIUM.POST 2C4G // TI.S.LARGE.POST 4C8G // TI.S.2XLARGE16.POST 8C16G // TI.S.2XLARGE32.POST 8C32G // TI.S.4XLARGE32.POST 16C32G // TI.S.4XLARGE64.POST 16C64G // TI.S.6XLARGE48.POST 24C48G // TI.S.6XLARGE96.POST 24C96G // TI.S.8XLARGE64.POST 32C64G // TI.S.8XLARGE128.POST 32C128G // TI.GN7.LARGE20.POST 4C20G T4*1/4 // TI.GN7.2XLARGE40.POST 10C40G T4*1/2 // TI.GN7.2XLARGE32.POST 8C32G T4*1 // TI.GN7.5XLARGE80.POST 20C80G T4*1 // TI.GN7.8XLARGE128.POST 32C128G T4*1 // TI.GN7.10XLARGE160.POST 40C160G T4*2 // TI.GN7.20XLARGE320.POST 80C320G T4*4 InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 扩缩容类型 支持:自动 - "AUTO", 手动 - "MANUAL" ScaleMode *string `json:"ScaleMode,omitnil,omitempty" name:"ScaleMode"` // 实例数量, 不同计费模式和调节模式下对应关系如下 // PREPAID 和 POSTPAID_BY_HOUR: // 手动调节模式下对应 实例数量 // 自动调节模式下对应 基于时间的默认策略的实例数量 // HYBRID_PAID: // 后付费实例手动调节模式下对应 实例数量 // 后付费实例自动调节模式下对应 时间策略的默认策略的实例数量 Replicas *int64 `json:"Replicas,omitnil,omitempty" name:"Replicas"` // 自动伸缩信息 HorizontalPodAutoscaler *HorizontalPodAutoscaler `json:"HorizontalPodAutoscaler,omitnil,omitempty" name:"HorizontalPodAutoscaler"` // 是否开启日志投递,开启后需填写配置投递到指定cls LogEnable *bool `json:"LogEnable,omitnil,omitempty" name:"LogEnable"` // 日志配置,需要投递服务日志到指定cls时填写 LogConfig *LogConfig `json:"LogConfig,omitnil,omitempty" name:"LogConfig"` // 特殊更新行为: "STOP": 停止, "RESUME": 重启, "SCALE": 扩缩容, 存在这些特殊更新行为时,会忽略其他更新字段 ServiceAction *string `json:"ServiceAction,omitnil,omitempty" name:"ServiceAction"` // 服务的描述 ServiceDescription *string `json:"ServiceDescription,omitnil,omitempty" name:"ServiceDescription"` // 自动伸缩策略 ScaleStrategy *string `json:"ScaleStrategy,omitnil,omitempty" name:"ScaleStrategy"` // 自动伸缩策略配置 HPA : 通过HPA进行弹性伸缩 CRON 通过定时任务进行伸缩 CronScaleJobs []*CronScaleJob `json:"CronScaleJobs,omitnil,omitempty" name:"CronScaleJobs"` // 计费模式[HYBRID_PAID]时生效, 用于标识混合计费模式下的预付费实例数, 若不填则默认为1 HybridBillingPrepaidReplicas *int64 `json:"HybridBillingPrepaidReplicas,omitnil,omitempty" name:"HybridBillingPrepaidReplicas"` // 是否开启模型的热更新。默认不开启 ModelHotUpdateEnable *bool `json:"ModelHotUpdateEnable,omitnil,omitempty" name:"ModelHotUpdateEnable"` // 定时停止配置 ScheduledAction *ScheduledAction `json:"ScheduledAction,omitnil,omitempty" name:"ScheduledAction"` // 服务限速限流相关配置 ServiceLimit *ServiceLimit `json:"ServiceLimit,omitnil,omitempty" name:"ServiceLimit"` // 挂载配置,目前只支持CFS VolumeMount *VolumeMount `json:"VolumeMount,omitnil,omitempty" name:"VolumeMount"` // 是否开启模型的加速, 仅对StableDiffusion(动态加速)格式的模型有效。默认不开启 ModelTurboEnable *bool `json:"ModelTurboEnable,omitnil,omitempty" name:"ModelTurboEnable"` // 服务的启动命令,如遇特殊字符导致配置失败,可使用CommandBase64参数 Command *string `json:"Command,omitnil,omitempty" name:"Command"` // 是否开启TIONE内网访问外部,此功能仅支持后付费机型与从TIONE平台购买的预付费机型;使用从CVM选择资源组时此配置不生效。 ServiceEIP *ServiceEIP `json:"ServiceEIP,omitnil,omitempty" name:"ServiceEIP"` // 服务的启动命令,以base64格式进行输入,与Command同时配置时,仅当前参数生效 CommandBase64 *string `json:"CommandBase64,omitnil,omitempty" name:"CommandBase64"` // 服务端口,仅在非内置镜像时生效,默认8501。不支持输入8501-8510,6006,9092 ServicePort *int64 `json:"ServicePort,omitnil,omitempty" name:"ServicePort"` }
Predefined struct for user
type ModifyModelServiceResponse ¶ added in v1.0.543
type ModifyModelServiceResponse struct { *tchttp.BaseResponse Response *ModifyModelServiceResponseParams `json:"Response"` }
func NewModifyModelServiceResponse ¶ added in v1.0.543
func NewModifyModelServiceResponse() (response *ModifyModelServiceResponse)
func (*ModifyModelServiceResponse) FromJsonString ¶ added in v1.0.543
func (r *ModifyModelServiceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModelServiceResponse) ToJsonString ¶ added in v1.0.543
func (r *ModifyModelServiceResponse) ToJsonString() string
type ModifyModelServiceResponseParams ¶ added in v1.0.543
type ModifyModelServiceResponseParams struct { // 生成的模型服务 // 注意:此字段可能返回 null,表示取不到有效值。 Service *Service `json:"Service,omitnil,omitempty" name:"Service"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type NotebookDetail ¶ added in v1.0.711
type NotebookDetail struct { // notebook ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // notebook 名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 生命周期脚本 // 注意:此字段可能返回 null,表示取不到有效值。 LifecycleScriptId *string `json:"LifecycleScriptId,omitnil,omitempty" name:"LifecycleScriptId"` // Pod-Name // 注意:此字段可能返回 null,表示取不到有效值。 PodName *string `json:"PodName,omitnil,omitempty" name:"PodName"` // Update-Time UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 是否访问公网 DirectInternetAccess *bool `json:"DirectInternetAccess,omitnil,omitempty" name:"DirectInternetAccess"` // 预付费专用资源组 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"` // 标签配置 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 是否自动停止 AutoStopping *bool `json:"AutoStopping,omitnil,omitempty" name:"AutoStopping"` // 其他GIT存储库,最多3个,单个 // 长度不超过512字符 // 注意:此字段可能返回 null,表示取不到有效值。 AdditionalCodeRepoIds []*string `json:"AdditionalCodeRepoIds,omitnil,omitempty" name:"AdditionalCodeRepoIds"` // 自动停止时间,单位小时 // 注意:此字段可能返回 null,表示取不到有效值。 AutomaticStopTime *int64 `json:"AutomaticStopTime,omitnil,omitempty" name:"AutomaticStopTime"` // 资源配置 ResourceConf *ResourceConf `json:"ResourceConf,omitnil,omitempty" name:"ResourceConf"` // 默认GIT存储库,长度不超过512字符 DefaultCodeRepoId *string `json:"DefaultCodeRepoId,omitnil,omitempty" name:"DefaultCodeRepoId"` // 训练输出 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 是否上报日志 LogEnable *bool `json:"LogEnable,omitnil,omitempty" name:"LogEnable"` // 日志配置 // 注意:此字段可能返回 null,表示取不到有效值。 LogConfig *LogConfig `json:"LogConfig,omitnil,omitempty" name:"LogConfig"` // VPC ID // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID // 注意:此字段可能返回 null,表示取不到有效值。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 任务状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 运行时长 // 注意:此字段可能返回 null,表示取不到有效值。 RuntimeInSeconds *uint64 `json:"RuntimeInSeconds,omitnil,omitempty" name:"RuntimeInSeconds"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 训练开始时间 // 注意:此字段可能返回 null,表示取不到有效值。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中 // 注意:此字段可能返回 null,表示取不到有效值。 ChargeStatus *string `json:"ChargeStatus,omitnil,omitempty" name:"ChargeStatus"` // 是否ROOT权限 RootAccess *bool `json:"RootAccess,omitnil,omitempty" name:"RootAccess"` // 计贺金额信息,eg:2.00元/小时 // 注意:此字段可能返回 null,表示取不到有效值。 BillingInfos []*string `json:"BillingInfos,omitnil,omitempty" name:"BillingInfos"` // 存储卷大小 (单位时GB,最小10GB,必须是10G的倍数) // 注意:此字段可能返回 null,表示取不到有效值。 VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitnil,omitempty" name:"VolumeSizeInGB"` // 失败原因 // 注意:此字段可能返回 null,表示取不到有效值。 FailureReason *string `json:"FailureReason,omitnil,omitempty" name:"FailureReason"` // 计算资源付费模式 (- PREPAID:预付费,即包年包月 - POSTPAID_BY_HOUR:按小时后付费) ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // 后付费资源规格说明 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceTypeAlias *string `json:"InstanceTypeAlias,omitnil,omitempty" name:"InstanceTypeAlias"` // 预付费资源组名称 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceGroupName *string `json:"ResourceGroupName,omitnil,omitempty" name:"ResourceGroupName"` // 存储的类型。取值包含: // FREE: 预付费的免费存储 // CLOUD_PREMIUM: 高性能云硬盘 // CLOUD_SSD: SSD云硬盘 // CFS: CFS存储,包含NFS和turbo // 注意:此字段可能返回 null,表示取不到有效值。 VolumeSourceType *string `json:"VolumeSourceType,omitnil,omitempty" name:"VolumeSourceType"` // CFS存储的配置 // 注意:此字段可能返回 null,表示取不到有效值。 VolumeSourceCFS *CFSConfig `json:"VolumeSourceCFS,omitnil,omitempty" name:"VolumeSourceCFS"` // 数据配置 // 注意:此字段可能返回 null,表示取不到有效值。 DataConfigs []*DataConfig `json:"DataConfigs,omitnil,omitempty" name:"DataConfigs"` // notebook 信息 // 注意:此字段可能返回 null,表示取不到有效值。 Message *string `json:"Message,omitnil,omitempty" name:"Message"` // 数据源来源,eg:WeData_HDFS // 注意:此字段可能返回 null,表示取不到有效值。 DataSource *string `json:"DataSource,omitnil,omitempty" name:"DataSource"` // 镜像信息 ImageInfo *ImageInfo `json:"ImageInfo,omitnil,omitempty" name:"ImageInfo"` // 镜像类型 // 注意:此字段可能返回 null,表示取不到有效值。 ImageType *string `json:"ImageType,omitnil,omitempty" name:"ImageType"` // SSH配置 // 注意:此字段可能返回 null,表示取不到有效值。 SSHConfig *SSHConfig `json:"SSHConfig,omitnil,omitempty" name:"SSHConfig"` // GooseFS存储配置 // 注意:此字段可能返回 null,表示取不到有效值。 VolumeSourceGooseFS *GooseFS `json:"VolumeSourceGooseFS,omitnil,omitempty" name:"VolumeSourceGooseFS"` }
type NotebookSetItem ¶ added in v1.0.711
type NotebookSetItem struct { // notebook ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // notebook 名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 计费模式 ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // 资源配置 ResourceConf *ResourceConf `json:"ResourceConf,omitnil,omitempty" name:"ResourceConf"` // 预付费资源组 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"` // 存储卷大小 // 注意:此字段可能返回 null,表示取不到有效值。 VolumeSizeInGB *uint64 `json:"VolumeSizeInGB,omitnil,omitempty" name:"VolumeSizeInGB"` // 计费金额信息,eg:2.00元/小时 (for后付费) // 注意:此字段可能返回 null,表示取不到有效值。 BillingInfos []*string `json:"BillingInfos,omitnil,omitempty" name:"BillingInfos"` // 标签配置 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 启动时间 // 注意:此字段可能返回 null,表示取不到有效值。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 更新时间 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 运行时间 // 注意:此字段可能返回 null,表示取不到有效值。 RuntimeInSeconds *uint64 `json:"RuntimeInSeconds,omitnil,omitempty" name:"RuntimeInSeconds"` // 计费状态 // 注意:此字段可能返回 null,表示取不到有效值。 ChargeStatus *string `json:"ChargeStatus,omitnil,omitempty" name:"ChargeStatus"` // 状态 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 错误原因 // 注意:此字段可能返回 null,表示取不到有效值。 FailureReason *string `json:"FailureReason,omitnil,omitempty" name:"FailureReason"` // 结束时间 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // Pod名称 // 注意:此字段可能返回 null,表示取不到有效值。 PodName *string `json:"PodName,omitnil,omitempty" name:"PodName"` // 后付费资源规格名称 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceTypeAlias *string `json:"InstanceTypeAlias,omitnil,omitempty" name:"InstanceTypeAlias"` // 预付费资源组名称 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceGroupName *string `json:"ResourceGroupName,omitnil,omitempty" name:"ResourceGroupName"` // 是否自动终止 AutoStopping *bool `json:"AutoStopping,omitnil,omitempty" name:"AutoStopping"` // 自动停止时间 // 注意:此字段可能返回 null,表示取不到有效值。 AutomaticStopTime *uint64 `json:"AutomaticStopTime,omitnil,omitempty" name:"AutomaticStopTime"` // 存储的类型。取值包含: // FREE: 预付费的免费存储 // CLOUD_PREMIUM: 高性能云硬盘 // CLOUD_SSD: SSD云硬盘 // CFS: CFS存储,包含NFS和turbo // 注意:此字段可能返回 null,表示取不到有效值。 VolumeSourceType *string `json:"VolumeSourceType,omitnil,omitempty" name:"VolumeSourceType"` // CFS存储的配置 // 注意:此字段可能返回 null,表示取不到有效值。 VolumeSourceCFS *CFSConfig `json:"VolumeSourceCFS,omitnil,omitempty" name:"VolumeSourceCFS"` // notebook 信息 // 注意:此字段可能返回 null,表示取不到有效值。 Message *string `json:"Message,omitnil,omitempty" name:"Message"` // notebook用户类型 // 注意:此字段可能返回 null,表示取不到有效值。 UserTypes []*string `json:"UserTypes,omitnil,omitempty" name:"UserTypes"` // SSH配置 // 注意:此字段可能返回 null,表示取不到有效值。 SSHConfig *SSHConfig `json:"SSHConfig,omitnil,omitempty" name:"SSHConfig"` // GooseFS存储配置 // 注意:此字段可能返回 null,表示取不到有效值。 VolumeSourceGooseFS *GooseFS `json:"VolumeSourceGooseFS,omitnil,omitempty" name:"VolumeSourceGooseFS"` }
type Pod ¶ added in v1.0.600
type Pod struct { // pod名 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // pod的唯一id // 注意:此字段可能返回 null,表示取不到有效值。 Uid *string `json:"Uid,omitnil,omitempty" name:"Uid"` // 服务付费模式 // 注意:此字段可能返回 null,表示取不到有效值。 ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // pod的状态 // 注意:此字段可能返回 null,表示取不到有效值。 Phase *string `json:"Phase,omitnil,omitempty" name:"Phase"` // pod的IP // 注意:此字段可能返回 null,表示取不到有效值。 IP *string `json:"IP,omitnil,omitempty" name:"IP"` // pod的创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 容器列表 // 注意:此字段可能返回 null,表示取不到有效值。 Containers *Container `json:"Containers,omitnil,omitempty" name:"Containers"` // 容器列表 // 注意:此字段可能返回 null,表示取不到有效值。 ContainerInfos []*Container `json:"ContainerInfos,omitnil,omitempty" name:"ContainerInfos"` // 容器调用信息 // 注意:此字段可能返回 null,表示取不到有效值。 CrossTenantENIInfo *CrossTenantENIInfo `json:"CrossTenantENIInfo,omitnil,omitempty" name:"CrossTenantENIInfo"` }
type PodInfo ¶ added in v1.0.674
type PodInfo struct { // pod名 // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // pod的IP // 注意:此字段可能返回 null,表示取不到有效值。 IP *string `json:"IP,omitnil,omitempty" name:"IP"` // pod状态。eg:SUBMITTING提交中、PENDING排队中、RUNNING运行中、SUCCEEDED已完成、FAILED异常、TERMINATING停止中、TERMINATED已停止 // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // pod启动时间 // 注意:此字段可能返回 null,表示取不到有效值。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // pod结束时间 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // pod资源配置 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceConfigInfo *ResourceConfigInfo `json:"ResourceConfigInfo,omitnil,omitempty" name:"ResourceConfigInfo"` }
type PrivateLinkInfo ¶ added in v1.0.856
type PrivateLinkInfo struct { // 私有连接所在的VPCID // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 私有连接所在的子网ID // 注意:此字段可能返回 null,表示取不到有效值。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // HTTP内网调用地址 // 注意:此字段可能返回 null,表示取不到有效值。 InnerHttpAddr []*string `json:"InnerHttpAddr,omitnil,omitempty" name:"InnerHttpAddr"` // HTTPS内网调用地址 // 注意:此字段可能返回 null,表示取不到有效值。 InnerHttpsAddr []*string `json:"InnerHttpsAddr,omitnil,omitempty" name:"InnerHttpsAddr"` // 私有连接状态 // 注意:此字段可能返回 null,表示取不到有效值。 State *string `json:"State,omitnil,omitempty" name:"State"` }
type PushTrainingMetricsRequest ¶
type PushTrainingMetricsRequest struct { *tchttp.BaseRequest // 指标数据 Data []*MetricData `json:"Data,omitnil,omitempty" name:"Data"` }
func NewPushTrainingMetricsRequest ¶
func NewPushTrainingMetricsRequest() (request *PushTrainingMetricsRequest)
func (*PushTrainingMetricsRequest) FromJsonString ¶
func (r *PushTrainingMetricsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PushTrainingMetricsRequest) ToJsonString ¶
func (r *PushTrainingMetricsRequest) ToJsonString() string
type PushTrainingMetricsRequestParams ¶ added in v1.0.426
type PushTrainingMetricsRequestParams struct { // 指标数据 Data []*MetricData `json:"Data,omitnil,omitempty" name:"Data"` }
Predefined struct for user
type PushTrainingMetricsResponse ¶
type PushTrainingMetricsResponse struct { *tchttp.BaseResponse Response *PushTrainingMetricsResponseParams `json:"Response"` }
func NewPushTrainingMetricsResponse ¶
func NewPushTrainingMetricsResponse() (response *PushTrainingMetricsResponse)
func (*PushTrainingMetricsResponse) FromJsonString ¶
func (r *PushTrainingMetricsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PushTrainingMetricsResponse) ToJsonString ¶
func (r *PushTrainingMetricsResponse) ToJsonString() string
type PushTrainingMetricsResponseParams ¶ added in v1.0.426
type PushTrainingMetricsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RDMAConfig ¶ added in v1.0.651
type RDMAConfig struct { // 是否开启RDMA // 注意:此字段可能返回 null,表示取不到有效值。 Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` }
type ResourceConf ¶ added in v1.0.711
type ResourceConf struct { // cpu 处理器资源, 单位为1/1000核 (for预付费) // 注意:此字段可能返回 null,表示取不到有效值。 Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // memory 内存资源, 单位为1M (for预付费) // 注意:此字段可能返回 null,表示取不到有效值。 Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"` // gpu Gpu卡资源,单位为1/100卡,例如GpuType=T4时,1 Gpu = 1/100 T4卡 (for预付费) // 注意:此字段可能返回 null,表示取不到有效值。 Gpu *uint64 `json:"Gpu,omitnil,omitempty" name:"Gpu"` // GpuType 卡类型,参考资源组上对应的卡类型。eg: H800,A800,A100,T4,P4,V100等 (for预付费) // 注意:此字段可能返回 null,表示取不到有效值。 GpuType *string `json:"GpuType,omitnil,omitempty" name:"GpuType"` // 计算规格 (for后付费),可选值如下: // TI.S.LARGE.POST: 4C8G // TI.S.2XLARGE16.POST: 8C16G // TI.S.2XLARGE32.POST: 8C32G // TI.S.4XLARGE32.POST: 16C32G // TI.S.4XLARGE64.POST: 16C64G // TI.S.6XLARGE48.POST: 24C48G // TI.S.6XLARGE96.POST: 24C96G // TI.S.8XLARGE64.POST: 32C64G // TI.S.8XLARGE128.POST : 32C128G // TI.GN10.2XLARGE40.POST: 8C40G V100*1 // TI.GN10.5XLARGE80.POST: 18C80G V100*2 // TI.GN10.10XLARGE160.POST : 32C160G V100*4 // TI.GN10.20XLARGE320.POST : 72C320G V100*8 // TI.GN7.8XLARGE128.POST: 32C128G T4*1 // TI.GN7.10XLARGE160.POST: 40C160G T4*2 // TI.GN7.20XLARGE320.POST: 80C320G T4*4 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` }
type ResourceConfigInfo ¶
type ResourceConfigInfo struct { // 角色,eg:PS、WORKER、DRIVER、EXECUTOR Role *string `json:"Role,omitnil,omitempty" name:"Role"` // cpu核数,使用资源组时需配置。单位:1/1000,即1000=1核 Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 内存,使用资源组时需配置。单位为MB Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"` // gpu卡类型,使用资源组时需配置 GpuType *string `json:"GpuType,omitnil,omitempty" name:"GpuType"` // gpu卡数,使用资源组时需配置。单位:1/100,即100=1卡 Gpu *uint64 `json:"Gpu,omitnil,omitempty" name:"Gpu"` // 算力规格ID // 计算规格 (for后付费),可选值如下: // TI.S.LARGE.POST: 4C8G // TI.S.2XLARGE16.POST: 8C16G // TI.S.2XLARGE32.POST: 8C32G // TI.S.4XLARGE32.POST: 16C32G // TI.S.4XLARGE64.POST: 16C64G // TI.S.6XLARGE48.POST: 24C48G // TI.S.6XLARGE96.POST: 24C96G // TI.S.8XLARGE64.POST: 32C64G // TI.S.8XLARGE128.POST : 32C128G // TI.GN10.2XLARGE40.POST: 8C40G V100*1 // TI.GN10.5XLARGE80.POST: 18C80G V100*2 // TI.GN10.10XLARGE160.POST : 32C160G V100*4 // TI.GN10.20XLARGE320.POST : 72C320G V100*8 // TI.GN7.8XLARGE128.POST: 32C128G T4*1 // TI.GN7.10XLARGE160.POST: 40C160G T4*2 // TI.GN7.20XLARGE320.POST: 80C32 InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 计算节点数 InstanceNum *uint64 `json:"InstanceNum,omitnil,omitempty" name:"InstanceNum"` // 算力规格名称 // 计算规格 (for后付费),可选值如下: // 4C8G // 8C16G // 8C32G // 16C32G // 6C64G // 24C48G // 24C96G // 32C64G // 32C128G // 8C40G V100*1 // 8C80G V100*2 // 32C160G V100*4 // 72C320G V100*8 // 32C128G T4*1 // 40C160G T4*2 // 80C32 InstanceTypeAlias *string `json:"InstanceTypeAlias,omitnil,omitempty" name:"InstanceTypeAlias"` // RDMA配置 // 注意:此字段可能返回 null,表示取不到有效值。 RDMAConfig *RDMAConfig `json:"RDMAConfig,omitnil,omitempty" name:"RDMAConfig"` }
type ResourceGroup ¶
type ResourceGroup struct { // 资源组id ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"` // 资源组名称 ResourceGroupName *string `json:"ResourceGroupName,omitnil,omitempty" name:"ResourceGroupName"` // 可用节点个数(运行中的节点) FreeInstance *uint64 `json:"FreeInstance,omitnil,omitempty" name:"FreeInstance"` // 总节点个数(所有节点) TotalInstance *uint64 `json:"TotalInstance,omitnil,omitempty" name:"TotalInstance"` // 资资源组已用的资源 // 注意:此字段可能返回 null,表示取不到有效值。 UsedResource *GroupResource `json:"UsedResource,omitnil,omitempty" name:"UsedResource"` // 资源组总资源 // 注意:此字段可能返回 null,表示取不到有效值。 TotalResource *GroupResource `json:"TotalResource,omitnil,omitempty" name:"TotalResource"` // 节点信息 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceSet []*Instance `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"` // 标签列表 // 注意:此字段可能返回 null,表示取不到有效值。 TagSet []*Tag `json:"TagSet,omitnil,omitempty" name:"TagSet"` }
type ResourceInfo ¶
type ResourceInfo struct { // 处理器资源, 单位为1/1000核 // 注意:此字段可能返回 null,表示取不到有效值。 Cpu *uint64 `json:"Cpu,omitnil,omitempty" name:"Cpu"` // 内存资源, 单位为1M // 注意:此字段可能返回 null,表示取不到有效值。 Memory *uint64 `json:"Memory,omitnil,omitempty" name:"Memory"` // Gpu卡个数资源, 单位为0.01单位的GpuType. // Gpu=100表示使用了“一张”gpu卡, 但此处的“一张”卡有可能是虚拟化后的1/4卡, 也有可能是整张卡. 取决于实例的机型 // 例1 实例的机型带有1张虚拟gpu卡, 每张虚拟gpu卡对应1/4张实际T4卡, 则此时 GpuType=T4, Gpu=100, RealGpu=25. // 例2 实例的机型带有4张gpu整卡, 每张卡对应1张实际T4卡, 则 此时 GpuType=T4, Gpu=400, RealGpu=400. // 注意:此字段可能返回 null,表示取不到有效值。 Gpu *uint64 `json:"Gpu,omitnil,omitempty" name:"Gpu"` // Gpu卡型号 T4或者V100。仅展示当前 GPU 卡型号,若存在多类型同时使用,则参考 RealGpuDetailSet 的值。 // 注意:此字段可能返回 null,表示取不到有效值。 GpuType *string `json:"GpuType,omitnil,omitempty" name:"GpuType"` // 创建或更新时无需填写,仅展示需要关注 // 后付费非整卡实例对应的实际的Gpu卡资源, 表示gpu资源对应实际的gpu卡个数. // RealGpu=100表示实际使用了一张gpu卡, 对应实际的实例机型, 有可能代表带有1/4卡的实例4个, 或者带有1/2卡的实例2个, 或者带有1卡的实力1个. RealGpu *uint64 `json:"RealGpu,omitnil,omitempty" name:"RealGpu"` // 创建或更新时无需填写,仅展示需要关注。详细的GPU使用信息。 RealGpuDetailSet []*GpuDetail `json:"RealGpuDetailSet,omitnil,omitempty" name:"RealGpuDetailSet"` }
type ResourceInstanceRunningJobInfo ¶ added in v1.0.778
type ResourceInstanceRunningJobInfo struct { // pod名称 // 注意:此字段可能返回 null,表示取不到有效值。 PodName *string `json:"PodName,omitnil,omitempty" name:"PodName"` // 任务类型 // 注意:此字段可能返回 null,表示取不到有效值。 TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"` // 任务id // 注意:此字段可能返回 null,表示取不到有效值。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 任务自定义名称 // 注意:此字段可能返回 null,表示取不到有效值。 TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` }
type SSHConfig ¶ added in v1.0.729
type SSHConfig struct { // 是否开启ssh // 注意:此字段可能返回 null,表示取不到有效值。 Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"` // 公钥信息 // 注意:此字段可能返回 null,表示取不到有效值。 PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"` // 端口号 // 注意:此字段可能返回 null,表示取不到有效值。 Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // 登录命令 // 注意:此字段可能返回 null,表示取不到有效值。 LoginCommand *string `json:"LoginCommand,omitnil,omitempty" name:"LoginCommand"` }
type ScheduledAction ¶ added in v1.0.528
type ScheduledAction struct { // 是否要定时停止服务,true or false。true 则 ScheduleStopTime 必填, false 则 ScheduleStopTime 不生效 ScheduleStop *bool `json:"ScheduleStop,omitnil,omitempty" name:"ScheduleStop"` // 要执行定时停止的时间,格式:“2022-01-26T19:46:22+08:00” ScheduleStopTime *string `json:"ScheduleStopTime,omitnil,omitempty" name:"ScheduleStopTime"` }
type SchemaInfo ¶
type SendChatMessageRequest ¶ added in v1.0.723
type SendChatMessageRequest struct { *tchttp.BaseRequest // 会话id,标识一组对话的唯一id,id变更则重置会话 SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` // 问题描述 Question *string `json:"Question,omitnil,omitempty" name:"Question"` // 会话模型版本。 // 金融大模型:填写sn-finllm-13b-chat-v1。 // 默认为sn-finllm-13b-chat-v1,即金融大模型。 ModelVersion *string `json:"ModelVersion,omitnil,omitempty" name:"ModelVersion"` // 使用模式。 // 通用问答:填写General。 // 搜索增强问答:填写WithSearchPlugin。 // 默认为General,即通用问答。 // 当前可体验模型仅支持General。 Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` // 搜索来源。仅当Mode为WithSearchPlugin时生效。 // 预置文稿库:填写Preset。自定义:填写Custom。 SearchSource *string `json:"SearchSource,omitnil,omitempty" name:"SearchSource"` }
func NewSendChatMessageRequest ¶ added in v1.0.723
func NewSendChatMessageRequest() (request *SendChatMessageRequest)
func (*SendChatMessageRequest) FromJsonString ¶ added in v1.0.723
func (r *SendChatMessageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendChatMessageRequest) ToJsonString ¶ added in v1.0.723
func (r *SendChatMessageRequest) ToJsonString() string
type SendChatMessageRequestParams ¶ added in v1.0.723
type SendChatMessageRequestParams struct { // 会话id,标识一组对话的唯一id,id变更则重置会话 SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` // 问题描述 Question *string `json:"Question,omitnil,omitempty" name:"Question"` // 会话模型版本。 // 金融大模型:填写sn-finllm-13b-chat-v1。 // 默认为sn-finllm-13b-chat-v1,即金融大模型。 ModelVersion *string `json:"ModelVersion,omitnil,omitempty" name:"ModelVersion"` // 使用模式。 // 通用问答:填写General。 // 搜索增强问答:填写WithSearchPlugin。 // 默认为General,即通用问答。 // 当前可体验模型仅支持General。 Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` // 搜索来源。仅当Mode为WithSearchPlugin时生效。 // 预置文稿库:填写Preset。自定义:填写Custom。 SearchSource *string `json:"SearchSource,omitnil,omitempty" name:"SearchSource"` }
Predefined struct for user
type SendChatMessageResponse ¶ added in v1.0.723
type SendChatMessageResponse struct { *tchttp.BaseResponse Response *SendChatMessageResponseParams `json:"Response"` }
func NewSendChatMessageResponse ¶ added in v1.0.723
func NewSendChatMessageResponse() (response *SendChatMessageResponse)
func (*SendChatMessageResponse) FromJsonString ¶ added in v1.0.723
func (r *SendChatMessageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendChatMessageResponse) ToJsonString ¶ added in v1.0.723
func (r *SendChatMessageResponse) ToJsonString() string
type SendChatMessageResponseParams ¶ added in v1.0.723
type SendChatMessageResponseParams struct { // 答案 Answer *string `json:"Answer,omitnil,omitempty" name:"Answer"` // 会话id,返回请求的会话id SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Service ¶ added in v1.0.528
type Service struct { // 服务组id ServiceGroupId *string `json:"ServiceGroupId,omitnil,omitempty" name:"ServiceGroupId"` // 服务id ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"` // 服务组名 ServiceGroupName *string `json:"ServiceGroupName,omitnil,omitempty" name:"ServiceGroupName"` // 服务描述 // 注意:此字段可能返回 null,表示取不到有效值。 ServiceDescription *string `json:"ServiceDescription,omitnil,omitempty" name:"ServiceDescription"` // 服务的详细信息 // 注意:此字段可能返回 null,表示取不到有效值。 ServiceInfo *ServiceInfo `json:"ServiceInfo,omitnil,omitempty" name:"ServiceInfo"` // 集群id // 注意:此字段可能返回 null,表示取不到有效值。 ClusterId *string `json:"ClusterId,omitnil,omitempty" name:"ClusterId"` // 地域 // 注意:此字段可能返回 null,表示取不到有效值。 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 命名空间 // 注意:此字段可能返回 null,表示取不到有效值。 Namespace *string `json:"Namespace,omitnil,omitempty" name:"Namespace"` // 付费类型 // 注意:此字段可能返回 null,表示取不到有效值。 ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // 包年包月服务的资源组id,按量计费的服务为空 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"` // 包年包月服务对应的资源组名字 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceGroupName *string `json:"ResourceGroupName,omitnil,omitempty" name:"ResourceGroupName"` // 服务的标签 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 服务所在的 ingress 的 name // 注意:此字段可能返回 null,表示取不到有效值。 IngressName *string `json:"IngressName,omitnil,omitempty" name:"IngressName"` // 创建者 // 注意:此字段可能返回 null,表示取不到有效值。 CreatedBy *string `json:"CreatedBy,omitnil,omitempty" name:"CreatedBy"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 更新时间 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 主账号 // 注意:此字段可能返回 null,表示取不到有效值。 Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // 子账号 // 注意:此字段可能返回 null,表示取不到有效值。 SubUin *string `json:"SubUin,omitnil,omitempty" name:"SubUin"` // app_id // 注意:此字段可能返回 null,表示取不到有效值。 AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"` // 服务的业务状态 // 注意:此字段可能返回 null,表示取不到有效值。 BusinessStatus *string `json:"BusinessStatus,omitnil,omitempty" name:"BusinessStatus"` // 已废弃,以ServiceInfo中的对应为准 // 注意:此字段可能返回 null,表示取不到有效值。 // // Deprecated: ServiceLimit is deprecated. ServiceLimit *ServiceLimit `json:"ServiceLimit,omitnil,omitempty" name:"ServiceLimit"` // 已废弃,以ServiceInfo中的对应为准 // 注意:此字段可能返回 null,表示取不到有效值。 // // Deprecated: ScheduledAction is deprecated. ScheduledAction *ScheduledAction `json:"ScheduledAction,omitnil,omitempty" name:"ScheduledAction"` // 服务创建失败的原因,创建成功后该字段为默认值 CREATE_SUCCEED // 注意:此字段可能返回 null,表示取不到有效值。 CreateFailedReason *string `json:"CreateFailedReason,omitnil,omitempty" name:"CreateFailedReason"` // 服务状态 // CREATING 创建中 // CREATE_FAILED 创建失败 // Normal 正常运行中 // Stopped 已停止 // Stopping 停止中 // Abnormal 异常 // Pending 启动中 // Waiting 就绪中 // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 费用信息 // 注意:此字段可能返回 null,表示取不到有效值。 BillingInfo *string `json:"BillingInfo,omitnil,omitempty" name:"BillingInfo"` // 模型权重 // 注意:此字段可能返回 null,表示取不到有效值。 Weight *int64 `json:"Weight,omitnil,omitempty" name:"Weight"` // 服务的创建来源 // AUTO_ML: 来自自动学习的一键发布 // DEFAULT: 其他来源 // 注意:此字段可能返回 null,表示取不到有效值。 CreateSource *string `json:"CreateSource,omitnil,omitempty" name:"CreateSource"` // 版本号 // 注意:此字段可能返回 null,表示取不到有效值。 Version *string `json:"Version,omitnil,omitempty" name:"Version"` // 服务组下服务的最高版本号 // 注意:此字段可能返回 null,表示取不到有效值。 LatestVersion *string `json:"LatestVersion,omitnil,omitempty" name:"LatestVersion"` // 资源组类别 托管 NORMAL,纳管 SW // 注意:此字段可能返回 null,表示取不到有效值。 ResourceGroupSWType *string `json:"ResourceGroupSWType,omitnil,omitempty" name:"ResourceGroupSWType"` }
type ServiceCallInfo ¶ added in v1.0.528
type ServiceCallInfo struct { // 服务组id // 注意:此字段可能返回 null,表示取不到有效值。 ServiceGroupId *string `json:"ServiceGroupId,omitnil,omitempty" name:"ServiceGroupId"` // 内网http调用地址 // 注意:此字段可能返回 null,表示取不到有效值。 InnerHttpAddr *string `json:"InnerHttpAddr,omitnil,omitempty" name:"InnerHttpAddr"` // 内网https调用地址 // 注意:此字段可能返回 null,表示取不到有效值。 InnerHttpsAddr *string `json:"InnerHttpsAddr,omitnil,omitempty" name:"InnerHttpsAddr"` // 内网http调用地址 // 注意:此字段可能返回 null,表示取不到有效值。 OuterHttpAddr *string `json:"OuterHttpAddr,omitnil,omitempty" name:"OuterHttpAddr"` // 内网https调用地址 // 注意:此字段可能返回 null,表示取不到有效值。 OuterHttpsAddr *string `json:"OuterHttpsAddr,omitnil,omitempty" name:"OuterHttpsAddr"` // 调用key // 注意:此字段可能返回 null,表示取不到有效值。 AppKey *string `json:"AppKey,omitnil,omitempty" name:"AppKey"` // 调用secret // 注意:此字段可能返回 null,表示取不到有效值。 AppSecret *string `json:"AppSecret,omitnil,omitempty" name:"AppSecret"` // 鉴权是否开启 // 注意:此字段可能返回 null,表示取不到有效值。 AuthorizationEnable *bool `json:"AuthorizationEnable,omitnil,omitempty" name:"AuthorizationEnable"` }
type ServiceCallInfoV2 ¶ added in v1.0.938
type ServiceCallInfoV2 struct { // 服务组id // 注意:此字段可能返回 null,表示取不到有效值。 ServiceGroupId *string `json:"ServiceGroupId,omitnil,omitempty" name:"ServiceGroupId"` // 服务的公网调用地址 // 注意:此字段可能返回 null,表示取不到有效值。 InternetEndpoint *string `json:"InternetEndpoint,omitnil,omitempty" name:"InternetEndpoint"` // 鉴权是否开启 // 注意:此字段可能返回 null,表示取不到有效值。 AuthorizationEnable *bool `json:"AuthorizationEnable,omitnil,omitempty" name:"AuthorizationEnable"` // 鉴权token,仅当AuthorizationEnable为true时有效 // 注意:此字段可能返回 null,表示取不到有效值。 AuthToken *string `json:"AuthToken,omitnil,omitempty" name:"AuthToken"` }
type ServiceEIP ¶ added in v1.0.738
type ServiceEIP struct { // 是否开启TIONE内网到外部的访问 // 注意:此字段可能返回 null,表示取不到有效值。 EnableEIP *bool `json:"EnableEIP,omitnil,omitempty" name:"EnableEIP"` // 用户VpcId // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 用户subnetId // 注意:此字段可能返回 null,表示取不到有效值。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` }
type ServiceEIPInfo ¶ added in v1.0.738
type ServiceEIPInfo struct { // 服务ID // 注意:此字段可能返回 null,表示取不到有效值。 ServiceId *string `json:"ServiceId,omitnil,omitempty" name:"ServiceId"` // 用户VpcId // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 用户子网Id // 注意:此字段可能返回 null,表示取不到有效值。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` }
type ServiceGroup ¶ added in v1.0.528
type ServiceGroup struct { // 服务组id ServiceGroupId *string `json:"ServiceGroupId,omitnil,omitempty" name:"ServiceGroupId"` // 服务组名 ServiceGroupName *string `json:"ServiceGroupName,omitnil,omitempty" name:"ServiceGroupName"` // 创建者 CreatedBy *string `json:"CreatedBy,omitnil,omitempty" name:"CreatedBy"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 更新时间 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 主账号 Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // 服务组下服务总数 // 注意:此字段可能返回 null,表示取不到有效值。 ServiceCount *uint64 `json:"ServiceCount,omitnil,omitempty" name:"ServiceCount"` // 服务组下在运行的服务数量 // 注意:此字段可能返回 null,表示取不到有效值。 RunningServiceCount *uint64 `json:"RunningServiceCount,omitnil,omitempty" name:"RunningServiceCount"` // 服务描述 // 注意:此字段可能返回 null,表示取不到有效值。 Services []*Service `json:"Services,omitnil,omitempty" name:"Services"` // 服务组状态,与服务一致 // CREATING 创建中 // CREATE_FAILED 创建失败 // Normal 正常运行中 // Stopped 已停止 // Stopping 停止中 // Abnormal 异常 // Pending 启动中 // Waiting 就绪中 // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 服务组标签 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 服务组下最高版本 // 注意:此字段可能返回 null,表示取不到有效值。 LatestVersion *string `json:"LatestVersion,omitnil,omitempty" name:"LatestVersion"` // 服务的业务状态 // CREATING 创建中 // CREATE_FAILED 创建失败 // ARREARS_STOP 因欠费被强制停止 // BILLING 计费中 // WHITELIST_USING 白名单试用中 // WHITELIST_STOP 白名单额度不足 // 注意:此字段可能返回 null,表示取不到有效值。 BusinessStatus *string `json:"BusinessStatus,omitnil,omitempty" name:"BusinessStatus"` // 服务的计费信息 // 注意:此字段可能返回 null,表示取不到有效值。 BillingInfo *string `json:"BillingInfo,omitnil,omitempty" name:"BillingInfo"` // 服务的创建来源 // 注意:此字段可能返回 null,表示取不到有效值。 CreateSource *string `json:"CreateSource,omitnil,omitempty" name:"CreateSource"` // 服务组的权重更新状态 // UPDATING 更新中 // UPDATED 更新成功 // UPDATE_FAILED 更新失败 // 注意:此字段可能返回 null,表示取不到有效值。 WeightUpdateStatus *string `json:"WeightUpdateStatus,omitnil,omitempty" name:"WeightUpdateStatus"` // 服务组下运行的pod数量 // 注意:此字段可能返回 null,表示取不到有效值。 ReplicasCount *uint64 `json:"ReplicasCount,omitnil,omitempty" name:"ReplicasCount"` // 服务组下期望的pod数 // 注意:此字段可能返回 null,表示取不到有效值。 AvailableReplicasCount *uint64 `json:"AvailableReplicasCount,omitnil,omitempty" name:"AvailableReplicasCount"` }
type ServiceInfo ¶ added in v1.0.528
type ServiceInfo struct { // 期望运行的Pod数量,停止状态是0 // 不同计费模式和调节模式下对应关系如下 // PREPAID 和 POSTPAID_BY_HOUR: // 手动调节模式下对应 实例数量 // 自动调节模式下对应 基于时间的默认策略的实例数量 // HYBRID_PAID: // 后付费实例手动调节模式下对应 实例数量 // 后付费实例自动调节模式下对应 时间策略的默认策略的实例数量 // 注意:此字段可能返回 null,表示取不到有效值。 Replicas *int64 `json:"Replicas,omitnil,omitempty" name:"Replicas"` // 镜像信息 // 注意:此字段可能返回 null,表示取不到有效值。 ImageInfo *ImageInfo `json:"ImageInfo,omitnil,omitempty" name:"ImageInfo"` // 环境变量 // 注意:此字段可能返回 null,表示取不到有效值。 Env []*EnvVar `json:"Env,omitnil,omitempty" name:"Env"` // 资源信息 // 注意:此字段可能返回 null,表示取不到有效值。 Resources *ResourceInfo `json:"Resources,omitnil,omitempty" name:"Resources"` // 后付费实例对应的机型规格 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 模型信息 // 注意:此字段可能返回 null,表示取不到有效值。 ModelInfo *ModelInfo `json:"ModelInfo,omitnil,omitempty" name:"ModelInfo"` // 是否启用日志 // 注意:此字段可能返回 null,表示取不到有效值。 LogEnable *bool `json:"LogEnable,omitnil,omitempty" name:"LogEnable"` // 日志配置 // 注意:此字段可能返回 null,表示取不到有效值。 LogConfig *LogConfig `json:"LogConfig,omitnil,omitempty" name:"LogConfig"` // 是否开启鉴权 // 注意:此字段可能返回 null,表示取不到有效值。 AuthorizationEnable *bool `json:"AuthorizationEnable,omitnil,omitempty" name:"AuthorizationEnable"` // hpa配置 // 注意:此字段可能返回 null,表示取不到有效值。 HorizontalPodAutoscaler *HorizontalPodAutoscaler `json:"HorizontalPodAutoscaler,omitnil,omitempty" name:"HorizontalPodAutoscaler"` // 服务的状态描述 // 注意:此字段可能返回 null,表示取不到有效值。 Status *WorkloadStatus `json:"Status,omitnil,omitempty" name:"Status"` // 权重 // 注意:此字段可能返回 null,表示取不到有效值。 Weight *uint64 `json:"Weight,omitnil,omitempty" name:"Weight"` // 资源总量 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceTotal *ResourceInfo `json:"ResourceTotal,omitnil,omitempty" name:"ResourceTotal"` // 历史实例数 // 注意:此字段可能返回 null,表示取不到有效值。 OldReplicas *int64 `json:"OldReplicas,omitnil,omitempty" name:"OldReplicas"` // 计费模式[HYBRID_PAID]时生效, 用于标识混合计费模式下的预付费实例数, 若不填则默认为1 // 注意:此字段可能返回 null,表示取不到有效值。 HybridBillingPrepaidReplicas *int64 `json:"HybridBillingPrepaidReplicas,omitnil,omitempty" name:"HybridBillingPrepaidReplicas"` // 历史 HYBRID_PAID 时的实例数,用户恢复服务 // 注意:此字段可能返回 null,表示取不到有效值。 OldHybridBillingPrepaidReplicas *int64 `json:"OldHybridBillingPrepaidReplicas,omitnil,omitempty" name:"OldHybridBillingPrepaidReplicas"` // 是否开启模型的热更新。默认不开启 // 注意:此字段可能返回 null,表示取不到有效值。 ModelHotUpdateEnable *bool `json:"ModelHotUpdateEnable,omitnil,omitempty" name:"ModelHotUpdateEnable"` // 实例数量调节方式,默认为手动 // 支持:自动 - "AUTO", 手动 - "MANUAL" // 注意:此字段可能返回 null,表示取不到有效值。 ScaleMode *string `json:"ScaleMode,omitnil,omitempty" name:"ScaleMode"` // 定时伸缩任务 // 注意:此字段可能返回 null,表示取不到有效值。 CronScaleJobs []*CronScaleJob `json:"CronScaleJobs,omitnil,omitempty" name:"CronScaleJobs"` // 定时伸缩策略 // 注意:此字段可能返回 null,表示取不到有效值。 ScaleStrategy *string `json:"ScaleStrategy,omitnil,omitempty" name:"ScaleStrategy"` // 定时停止的配置 // 注意:此字段可能返回 null,表示取不到有效值。 ScheduledAction *string `json:"ScheduledAction,omitnil,omitempty" name:"ScheduledAction"` // 实例列表 // 注意:此字段可能返回 null,表示取不到有效值。 // // Deprecated: PodList is deprecated. PodList []*string `json:"PodList,omitnil,omitempty" name:"PodList"` // Pod列表信息 // 注意:此字段可能返回 null,表示取不到有效值。 // // Deprecated: Pods is deprecated. Pods *Pod `json:"Pods,omitnil,omitempty" name:"Pods"` // Pod列表信息 // 注意:此字段可能返回 null,表示取不到有效值。 PodInfos []*Pod `json:"PodInfos,omitnil,omitempty" name:"PodInfos"` // 服务限速限流相关配置 // 注意:此字段可能返回 null,表示取不到有效值。 ServiceLimit *ServiceLimit `json:"ServiceLimit,omitnil,omitempty" name:"ServiceLimit"` // 是否开启模型的加速, 仅对StableDiffusion(动态加速)格式的模型有效。 // 注意:此字段可能返回 null,表示取不到有效值。 ModelTurboEnable *bool `json:"ModelTurboEnable,omitnil,omitempty" name:"ModelTurboEnable"` // 挂载 // 注意:此字段可能返回 null,表示取不到有效值。 VolumeMount *VolumeMount `json:"VolumeMount,omitnil,omitempty" name:"VolumeMount"` // 推理代码信息 // 注意:此字段可能返回 null,表示取不到有效值。 InferCodeInfo *InferCodeInfo `json:"InferCodeInfo,omitnil,omitempty" name:"InferCodeInfo"` // 服务的启动命令 // 注意:此字段可能返回 null,表示取不到有效值。 Command *string `json:"Command,omitnil,omitempty" name:"Command"` // 开启TIONE内网访问外部设置 // 注意:此字段可能返回 null,表示取不到有效值。 ServiceEIP *ServiceEIP `json:"ServiceEIP,omitnil,omitempty" name:"ServiceEIP"` // 服务端口,默认为8501 // 注意:此字段可能返回 null,表示取不到有效值。 ServicePort *int64 `json:"ServicePort,omitnil,omitempty" name:"ServicePort"` }
type ServiceLimit ¶ added in v1.0.528
type ServiceLimit struct { // 是否开启实例层面限流限速,true or false。true 则 InstanceRpsLimit 必填, false 则 InstanceRpsLimit 不生效 EnableInstanceRpsLimit *bool `json:"EnableInstanceRpsLimit,omitnil,omitempty" name:"EnableInstanceRpsLimit"` // 每个服务实例的 request per second 限速, 0 为不限流 InstanceRpsLimit *int64 `json:"InstanceRpsLimit,omitnil,omitempty" name:"InstanceRpsLimit"` // 是否开启单实例最大并发数限制,true or false。true 则 InstanceReqLimit 必填, false 则 InstanceReqLimit 不生效 EnableInstanceReqLimit *bool `json:"EnableInstanceReqLimit,omitnil,omitempty" name:"EnableInstanceReqLimit"` // 每个服务实例的最大并发 InstanceReqLimit *int64 `json:"InstanceReqLimit,omitnil,omitempty" name:"InstanceReqLimit"` }
type StartCmdInfo ¶
type StartNotebookRequest ¶ added in v1.0.711
type StartNotebookRequest struct { *tchttp.BaseRequest // notebook id Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
func NewStartNotebookRequest ¶ added in v1.0.711
func NewStartNotebookRequest() (request *StartNotebookRequest)
func (*StartNotebookRequest) FromJsonString ¶ added in v1.0.711
func (r *StartNotebookRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartNotebookRequest) ToJsonString ¶ added in v1.0.711
func (r *StartNotebookRequest) ToJsonString() string
type StartNotebookRequestParams ¶ added in v1.0.711
type StartNotebookRequestParams struct { // notebook id Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
Predefined struct for user
type StartNotebookResponse ¶ added in v1.0.711
type StartNotebookResponse struct { *tchttp.BaseResponse Response *StartNotebookResponseParams `json:"Response"` }
func NewStartNotebookResponse ¶ added in v1.0.711
func NewStartNotebookResponse() (response *StartNotebookResponse)
func (*StartNotebookResponse) FromJsonString ¶ added in v1.0.711
func (r *StartNotebookResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StartNotebookResponse) ToJsonString ¶ added in v1.0.711
func (r *StartNotebookResponse) ToJsonString() string
type StartNotebookResponseParams ¶ added in v1.0.711
type StartNotebookResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StatefulSetCondition ¶ added in v1.0.528
type StatefulSetCondition struct { // 信息 // 注意:此字段可能返回 null,表示取不到有效值。 Message *string `json:"Message,omitnil,omitempty" name:"Message"` // 原因 // 注意:此字段可能返回 null,表示取不到有效值。 Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` // Status of the condition, one of True, False, Unknown. // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 类型 // 注意:此字段可能返回 null,表示取不到有效值。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 上次更新的时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastTransitionTime *string `json:"LastTransitionTime,omitnil,omitempty" name:"LastTransitionTime"` // 上次更新的时间 // 注意:此字段可能返回 null,表示取不到有效值。 LastUpdateTime *string `json:"LastUpdateTime,omitnil,omitempty" name:"LastUpdateTime"` }
type StopModelAccelerateTaskRequest ¶ added in v1.0.534
type StopModelAccelerateTaskRequest struct { *tchttp.BaseRequest // 模型加速任务ID ModelAccTaskId *string `json:"ModelAccTaskId,omitnil,omitempty" name:"ModelAccTaskId"` }
func NewStopModelAccelerateTaskRequest ¶ added in v1.0.534
func NewStopModelAccelerateTaskRequest() (request *StopModelAccelerateTaskRequest)
func (*StopModelAccelerateTaskRequest) FromJsonString ¶ added in v1.0.534
func (r *StopModelAccelerateTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopModelAccelerateTaskRequest) ToJsonString ¶ added in v1.0.534
func (r *StopModelAccelerateTaskRequest) ToJsonString() string
type StopModelAccelerateTaskRequestParams ¶ added in v1.0.534
type StopModelAccelerateTaskRequestParams struct { // 模型加速任务ID ModelAccTaskId *string `json:"ModelAccTaskId,omitnil,omitempty" name:"ModelAccTaskId"` }
Predefined struct for user
type StopModelAccelerateTaskResponse ¶ added in v1.0.534
type StopModelAccelerateTaskResponse struct { *tchttp.BaseResponse Response *StopModelAccelerateTaskResponseParams `json:"Response"` }
func NewStopModelAccelerateTaskResponse ¶ added in v1.0.534
func NewStopModelAccelerateTaskResponse() (response *StopModelAccelerateTaskResponse)
func (*StopModelAccelerateTaskResponse) FromJsonString ¶ added in v1.0.534
func (r *StopModelAccelerateTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopModelAccelerateTaskResponse) ToJsonString ¶ added in v1.0.534
func (r *StopModelAccelerateTaskResponse) ToJsonString() string
type StopModelAccelerateTaskResponseParams ¶ added in v1.0.534
type StopModelAccelerateTaskResponseParams struct { // 模型加速任务ID // 注意:此字段可能返回 null,表示取不到有效值。 ModelAccTaskId *string `json:"ModelAccTaskId,omitnil,omitempty" name:"ModelAccTaskId"` // 异步任务ID // 注意:此字段可能返回 null,表示取不到有效值。 AsyncTaskId *string `json:"AsyncTaskId,omitnil,omitempty" name:"AsyncTaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type StopNotebookRequest ¶ added in v1.0.711
type StopNotebookRequest struct { *tchttp.BaseRequest // notebook id Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
func NewStopNotebookRequest ¶ added in v1.0.711
func NewStopNotebookRequest() (request *StopNotebookRequest)
func (*StopNotebookRequest) FromJsonString ¶ added in v1.0.711
func (r *StopNotebookRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopNotebookRequest) ToJsonString ¶ added in v1.0.711
func (r *StopNotebookRequest) ToJsonString() string
type StopNotebookRequestParams ¶ added in v1.0.711
type StopNotebookRequestParams struct { // notebook id Id *string `json:"Id,omitnil,omitempty" name:"Id"` }
Predefined struct for user
type StopNotebookResponse ¶ added in v1.0.711
type StopNotebookResponse struct { *tchttp.BaseResponse Response *StopNotebookResponseParams `json:"Response"` }
func NewStopNotebookResponse ¶ added in v1.0.711
func NewStopNotebookResponse() (response *StopNotebookResponse)
func (*StopNotebookResponse) FromJsonString ¶ added in v1.0.711
func (r *StopNotebookResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*StopNotebookResponse) ToJsonString ¶ added in v1.0.711
func (r *StopNotebookResponse) ToJsonString() string
type StopNotebookResponseParams ¶ added in v1.0.711
type StopNotebookResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type TJCallInfo ¶ added in v1.0.738
type TJCallInfo struct { // 调用地址 // 注意:此字段可能返回 null,表示取不到有效值。 HttpAddr *string `json:"HttpAddr,omitnil,omitempty" name:"HttpAddr"` // token // 注意:此字段可能返回 null,表示取不到有效值。 Token *string `json:"Token,omitnil,omitempty" name:"Token"` // 调用示例 // 注意:此字段可能返回 null,表示取不到有效值。 CallExample *string `json:"CallExample,omitnil,omitempty" name:"CallExample"` }
type TrainingModelVersionDTO ¶
type TrainingModelVersionDTO struct { // 模型id TrainingModelId *string `json:"TrainingModelId,omitnil,omitempty" name:"TrainingModelId"` // 模型版本id TrainingModelVersionId *string `json:"TrainingModelVersionId,omitnil,omitempty" name:"TrainingModelVersionId"` // 模型版本 TrainingModelVersion *string `json:"TrainingModelVersion,omitnil,omitempty" name:"TrainingModelVersion"` // 模型来源 TrainingModelSource *string `json:"TrainingModelSource,omitnil,omitempty" name:"TrainingModelSource"` // 创建时间 TrainingModelCreateTime *string `json:"TrainingModelCreateTime,omitnil,omitempty" name:"TrainingModelCreateTime"` // 创建人uin TrainingModelCreator *string `json:"TrainingModelCreator,omitnil,omitempty" name:"TrainingModelCreator"` // 算法框架 AlgorithmFramework *string `json:"AlgorithmFramework,omitnil,omitempty" name:"AlgorithmFramework"` // 推理环境 ReasoningEnvironment *string `json:"ReasoningEnvironment,omitnil,omitempty" name:"ReasoningEnvironment"` // 推理环境来源 ReasoningEnvironmentSource *string `json:"ReasoningEnvironmentSource,omitnil,omitempty" name:"ReasoningEnvironmentSource"` // 模型指标 TrainingModelIndex *string `json:"TrainingModelIndex,omitnil,omitempty" name:"TrainingModelIndex"` // 训练任务名称 TrainingJobName *string `json:"TrainingJobName,omitnil,omitempty" name:"TrainingJobName"` // 模型cos路径 TrainingModelCosPath *CosPathInfo `json:"TrainingModelCosPath,omitnil,omitempty" name:"TrainingModelCosPath"` // 模型名称 TrainingModelName *string `json:"TrainingModelName,omitnil,omitempty" name:"TrainingModelName"` // 训练任务id TrainingJobId *string `json:"TrainingJobId,omitnil,omitempty" name:"TrainingJobId"` // 自定义推理环境 ReasoningImageInfo *ImageInfo `json:"ReasoningImageInfo,omitnil,omitempty" name:"ReasoningImageInfo"` // 模型版本创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 模型处理状态 // STATUS_SUCCESS:导入成功,STATUS_FAILED:导入失败 ,STATUS_RUNNING:导入中 // 注意:此字段可能返回 null,表示取不到有效值。 TrainingModelStatus *string `json:"TrainingModelStatus,omitnil,omitempty" name:"TrainingModelStatus"` // 模型处理进度 // 注意:此字段可能返回 null,表示取不到有效值。 TrainingModelProgress *uint64 `json:"TrainingModelProgress,omitnil,omitempty" name:"TrainingModelProgress"` // 模型错误信息 // 注意:此字段可能返回 null,表示取不到有效值。 TrainingModelErrorMsg *string `json:"TrainingModelErrorMsg,omitnil,omitempty" name:"TrainingModelErrorMsg"` // 模型格式 // 注意:此字段可能返回 null,表示取不到有效值。 TrainingModelFormat *string `json:"TrainingModelFormat,omitnil,omitempty" name:"TrainingModelFormat"` // 模型版本类型 // 注意:此字段可能返回 null,表示取不到有效值。 VersionType *string `json:"VersionType,omitnil,omitempty" name:"VersionType"` // GPU类型 // 注意:此字段可能返回 null,表示取不到有效值。 GPUType *string `json:"GPUType,omitnil,omitempty" name:"GPUType"` // 模型自动清理开关 // 注意:此字段可能返回 null,表示取不到有效值。 AutoClean *string `json:"AutoClean,omitnil,omitempty" name:"AutoClean"` // 模型清理周期 // 注意:此字段可能返回 null,表示取不到有效值。 ModelCleanPeriod *uint64 `json:"ModelCleanPeriod,omitnil,omitempty" name:"ModelCleanPeriod"` // 模型数量保留上限 // 注意:此字段可能返回 null,表示取不到有效值。 MaxReservedModels *uint64 `json:"MaxReservedModels,omitnil,omitempty" name:"MaxReservedModels"` // 模型热更新目录 // 注意:此字段可能返回 null,表示取不到有效值。 ModelHotUpdatePath *CosPathInfo `json:"ModelHotUpdatePath,omitnil,omitempty" name:"ModelHotUpdatePath"` // 推理环境id // 注意:此字段可能返回 null,表示取不到有效值。 ReasoningEnvironmentId *string `json:"ReasoningEnvironmentId,omitnil,omitempty" name:"ReasoningEnvironmentId"` // 训练任务版本 // 注意:此字段可能返回 null,表示取不到有效值。 TrainingJobVersion *string `json:"TrainingJobVersion,omitnil,omitempty" name:"TrainingJobVersion"` // 训练偏好 // 注意:此字段可能返回 null,表示取不到有效值。 TrainingPreference *string `json:"TrainingPreference,omitnil,omitempty" name:"TrainingPreference"` // 自动学习任务id // 注意:此字段可能返回 null,表示取不到有效值。 AutoMLTaskId *string `json:"AutoMLTaskId,omitnil,omitempty" name:"AutoMLTaskId"` // 是否QAT模型 // 注意:此字段可能返回 null,表示取不到有效值。 IsQAT *bool `json:"IsQAT,omitnil,omitempty" name:"IsQAT"` }
type TrainingTaskDetail ¶
type TrainingTaskDetail struct { // 训练任务ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 训练任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 主账号uin Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"` // 子账号uin SubUin *string `json:"SubUin,omitnil,omitempty" name:"SubUin"` // 地域 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 训练框架名称,eg:SPARK、PYSARK、TENSORFLOW、PYTORCH // 注意:此字段可能返回 null,表示取不到有效值。 FrameworkName *string `json:"FrameworkName,omitnil,omitempty" name:"FrameworkName"` // 训练框架版本 // 注意:此字段可能返回 null,表示取不到有效值。 FrameworkVersion *string `json:"FrameworkVersion,omitnil,omitempty" name:"FrameworkVersion"` // 框架运行环境 // 注意:此字段可能返回 null,表示取不到有效值。 FrameworkEnvironment *string `json:"FrameworkEnvironment,omitnil,omitempty" name:"FrameworkEnvironment"` // 计费模式 ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // 预付费专用资源组 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"` // 资源配置 ResourceConfigInfos []*ResourceConfigInfo `json:"ResourceConfigInfos,omitnil,omitempty" name:"ResourceConfigInfos"` // 标签 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 训练模式,eg:PS_WORKER、DDP、MPI、HOROVOD // 注意:此字段可能返回 null,表示取不到有效值。 TrainingMode *string `json:"TrainingMode,omitnil,omitempty" name:"TrainingMode"` // 代码包 CodePackagePath *CosPathInfo `json:"CodePackagePath,omitnil,omitempty" name:"CodePackagePath"` // 启动命令信息 StartCmdInfo *StartCmdInfo `json:"StartCmdInfo,omitnil,omitempty" name:"StartCmdInfo"` // 数据来源,eg:DATASET、COS // 注意:此字段可能返回 null,表示取不到有效值。 DataSource *string `json:"DataSource,omitnil,omitempty" name:"DataSource"` // 数据配置 // 注意:此字段可能返回 null,表示取不到有效值。 DataConfigs []*DataConfig `json:"DataConfigs,omitnil,omitempty" name:"DataConfigs"` // 调优参数 // 注意:此字段可能返回 null,表示取不到有效值。 TuningParameters *string `json:"TuningParameters,omitnil,omitempty" name:"TuningParameters"` // 训练输出 Output *CosPathInfo `json:"Output,omitnil,omitempty" name:"Output"` // 是否上报日志 LogEnable *bool `json:"LogEnable,omitnil,omitempty" name:"LogEnable"` // 日志配置 // 注意:此字段可能返回 null,表示取不到有效值。 LogConfig *LogConfig `json:"LogConfig,omitnil,omitempty" name:"LogConfig"` // VPC ID // 注意:此字段可能返回 null,表示取不到有效值。 VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"` // 子网ID // 注意:此字段可能返回 null,表示取不到有效值。 SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"` // 自定义镜像信息 // 注意:此字段可能返回 null,表示取不到有效值。 ImageInfo *ImageInfo `json:"ImageInfo,omitnil,omitempty" name:"ImageInfo"` // 运行时长 // 注意:此字段可能返回 null,表示取不到有效值。 RuntimeInSeconds *uint64 `json:"RuntimeInSeconds,omitnil,omitempty" name:"RuntimeInSeconds"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 训练开始时间 // 注意:此字段可能返回 null,表示取不到有效值。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中 ChargeStatus *string `json:"ChargeStatus,omitnil,omitempty" name:"ChargeStatus"` // 最近一次实例ID // 注意:此字段可能返回 null,表示取不到有效值。 LatestInstanceId *string `json:"LatestInstanceId,omitnil,omitempty" name:"LatestInstanceId"` // TensorBoard ID // 注意:此字段可能返回 null,表示取不到有效值。 TensorBoardId *string `json:"TensorBoardId,omitnil,omitempty" name:"TensorBoardId"` // 备注 // 注意:此字段可能返回 null,表示取不到有效值。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` // 失败原因 // 注意:此字段可能返回 null,表示取不到有效值。 FailureReason *string `json:"FailureReason,omitnil,omitempty" name:"FailureReason"` // 更新时间 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 训练结束时间 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 计费金额信息,eg:2.00元/小时 (按量计费) // 注意:此字段可能返回 null,表示取不到有效值。 BillingInfo *string `json:"BillingInfo,omitnil,omitempty" name:"BillingInfo"` // 预付费专用资源组名称 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceGroupName *string `json:"ResourceGroupName,omitnil,omitempty" name:"ResourceGroupName"` // 任务信息 // 注意:此字段可能返回 null,表示取不到有效值。 Message *string `json:"Message,omitnil,omitempty" name:"Message"` // 任务状态,eg:STARTING启动中、RUNNING运行中、STOPPING停止中、STOPPED已停止、FAILED异常、SUCCEED已完成 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 回调地址 // 注意:此字段可能返回 null,表示取不到有效值。 CallbackUrl *string `json:"CallbackUrl,omitnil,omitempty" name:"CallbackUrl"` }
type TrainingTaskSetItem ¶
type TrainingTaskSetItem struct { // 训练任务ID Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 训练任务名称 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 框架名称 // 注意:此字段可能返回 null,表示取不到有效值。 FrameworkName *string `json:"FrameworkName,omitnil,omitempty" name:"FrameworkName"` // 训练框架版本 // 注意:此字段可能返回 null,表示取不到有效值。 FrameworkVersion *string `json:"FrameworkVersion,omitnil,omitempty" name:"FrameworkVersion"` // 框架运行环境 // 注意:此字段可能返回 null,表示取不到有效值。 FrameworkEnvironment *string `json:"FrameworkEnvironment,omitnil,omitempty" name:"FrameworkEnvironment"` // 计费模式 ChargeType *string `json:"ChargeType,omitnil,omitempty" name:"ChargeType"` // 计费状态,eg:BILLING计费中,ARREARS_STOP欠费停止,NOT_BILLING不在计费中 ChargeStatus *string `json:"ChargeStatus,omitnil,omitempty" name:"ChargeStatus"` // 预付费专用资源组 // 注意:此字段可能返回 null,表示取不到有效值。 ResourceGroupId *string `json:"ResourceGroupId,omitnil,omitempty" name:"ResourceGroupId"` // 资源配置 ResourceConfigInfos []*ResourceConfigInfo `json:"ResourceConfigInfos,omitnil,omitempty" name:"ResourceConfigInfos"` // 训练模式eg:PS_WORKER、DDP、MPI、HOROVOD // 注意:此字段可能返回 null,表示取不到有效值。 TrainingMode *string `json:"TrainingMode,omitnil,omitempty" name:"TrainingMode"` // 任务状态,eg:SUBMITTING提交中、PENDING排队中、 // STARTING启动中、RUNNING运行中、STOPPING停止中、STOPPED已停止、FAILED异常、SUCCEED已完成 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 运行时长 // 注意:此字段可能返回 null,表示取不到有效值。 RuntimeInSeconds *uint64 `json:"RuntimeInSeconds,omitnil,omitempty" name:"RuntimeInSeconds"` // 创建时间 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 训练开始时间 // 注意:此字段可能返回 null,表示取不到有效值。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 训练结束时间 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 训练输出 Output *CosPathInfo `json:"Output,omitnil,omitempty" name:"Output"` // 失败原因 // 注意:此字段可能返回 null,表示取不到有效值。 FailureReason *string `json:"FailureReason,omitnil,omitempty" name:"FailureReason"` // 更新时间 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 计费金额信息,eg:2.00元/小时 (按量计费) BillingInfo *string `json:"BillingInfo,omitnil,omitempty" name:"BillingInfo"` // 预付费专用资源组名称 ResourceGroupName *string `json:"ResourceGroupName,omitnil,omitempty" name:"ResourceGroupName"` // 自定义镜像信息 // 注意:此字段可能返回 null,表示取不到有效值。 ImageInfo *ImageInfo `json:"ImageInfo,omitnil,omitempty" name:"ImageInfo"` // 任务信息 // 注意:此字段可能返回 null,表示取不到有效值。 Message *string `json:"Message,omitnil,omitempty" name:"Message"` // 标签配置 // 注意:此字段可能返回 null,表示取不到有效值。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 回调地址 // 注意:此字段可能返回 null,表示取不到有效值。 CallbackUrl *string `json:"CallbackUrl,omitnil,omitempty" name:"CallbackUrl"` }
type Usage ¶ added in v1.0.719
type Usage struct { // 生成的token数目 // 注意:此字段可能返回 null,表示取不到有效值。 CompletionTokens *int64 `json:"CompletionTokens,omitnil,omitempty" name:"CompletionTokens"` // 输入的token数目 // 注意:此字段可能返回 null,表示取不到有效值。 PromptTokens *int64 `json:"PromptTokens,omitnil,omitempty" name:"PromptTokens"` // 总共token数目 // 注意:此字段可能返回 null,表示取不到有效值。 TotalTokens *int64 `json:"TotalTokens,omitnil,omitempty" name:"TotalTokens"` }
type VolumeMount ¶ added in v1.0.528
type WorkloadStatus ¶ added in v1.0.528
type WorkloadStatus struct { // 当前实例数 Replicas *int64 `json:"Replicas,omitnil,omitempty" name:"Replicas"` // 更新的实例数 UpdatedReplicas *int64 `json:"UpdatedReplicas,omitnil,omitempty" name:"UpdatedReplicas"` // 就绪的实例数 ReadyReplicas *int64 `json:"ReadyReplicas,omitnil,omitempty" name:"ReadyReplicas"` // 可用的实例数 AvailableReplicas *int64 `json:"AvailableReplicas,omitnil,omitempty" name:"AvailableReplicas"` UnavailableReplicas *int64 `json:"UnavailableReplicas,omitnil,omitempty" name:"UnavailableReplicas"` // Normal 正常运行中 // Abnormal 服务异常,例如容器启动失败等 // Waiting 服务等待中,例如容器下载镜像过程等 // Stopped 已停止 // Pending 启动中 // Stopping 停止中 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 工作负载的状况信息 // // Deprecated: StatefulSetCondition is deprecated. StatefulSetCondition []*StatefulSetCondition `json:"StatefulSetCondition,omitnil,omitempty" name:"StatefulSetCondition"` // 工作负载历史的状况信息 Conditions []*StatefulSetCondition `json:"Conditions,omitnil,omitempty" name:"Conditions"` // 状态异常时,展示原因 // 注意:此字段可能返回 null,表示取不到有效值。 Reason *string `json:"Reason,omitnil,omitempty" name:"Reason"` }