Documentation ¶
Index ¶
- type AgencyPolicy
- type AgencyPolicyPolicyType
- type AgencyPolicyPolicyTypeEnum
- type AgencyTypeBody
- type AgencyTypeBodyPolicyTypes
- type AgencyTypeBodyPolicyTypesEnum
- type AgreementRule
- type BaseModel
- type BaseModelType
- type BatchCreateFabricWorkspaceTagsRequest
- type BatchCreateFabricWorkspaceTagsResponse
- type BatchCreateTagsRequestBody
- type BatchDeleteFabricWorkspaceTagsRequest
- type BatchDeleteFabricWorkspaceTagsResponse
- type BatchDeleteTagsRequestBody
- type CapId
- type CapRef
- type CapVersionId
- type CleanupModelRequest
- type CleanupModelResponse
- type CountTagFabricWorkspacesRequest
- type CountTagFabricWorkspacesResponse
- type CreateAgencyRequest
- type CreateAgencyResponse
- type CreateAgreementRequest
- type CreateAgreementResponse
- type CreateEndpointRequest
- type CreateEndpointResponse
- type CreateMessageNotificationPolicy
- type CreateMessageNotificationPolicyMessageType
- type CreateMessageNotificationPolicyMessageTypeEnum
- type CreateMessageNotificationPolicyNotificationTypes
- type CreateMessageNotificationPolicyNotificationTypesEnum
- type CreateMessageNotificationPolicyRequest
- type CreateMessageNotificationPolicyRequestBody
- type CreateMessageNotificationPolicyResponse
- type CreateMessageNotificationPolicyResponseMessageType
- type CreateMessageNotificationPolicyResponseMessageTypeEnum
- type CreateMessageNotificationPolicyResponseNotificationTypes
- type CreateMessageNotificationPolicyResponseNotificationTypesEnum
- type CreateModelDefinitionRequest
- type CreateModelDefinitionResponse
- type CreateModelInput
- type CreateTime
- type CreateWorkspaceRequest
- type CreateWorkspaceRequestInput
- type CreateWorkspaceResponse
- type DeleteAgencyRequest
- type DeleteAgencyRequestPolicyType
- type DeleteAgencyRequestPolicyTypeEnum
- type DeleteAgencyResponse
- type DeleteAgreementRequest
- type DeleteAgreementResponse
- type DeleteEndpointRequest
- type DeleteEndpointResponse
- type DeleteMessageNotificationPolicyRequest
- type DeleteMessageNotificationPolicyResponse
- type DeleteModelVersionRequest
- type DeleteModelVersionResponse
- type DeleteResourceTag
- type DeleteWorkspaceRequest
- type DeleteWorkspaceResponse
- type Description
- type EndpointBriefInfo
- type EndpointId
- type EndpointInput
- type EndpointName
- type EndpointStatus
- type EndpointStatusEnum
- type EndpointType
- type EndpointTypeEnum
- type EnterpriseProjectId
- type Feature
- type HeadGroupSpec
- type HeadNodeResourceDemand
- type ListAgencyRequest
- type ListAgencyResponse
- type ListBaseModelsRequest
- type ListBaseModelsResponse
- type ListEndpointsRequest
- type ListEndpointsResponse
- type ListFabricProjectTagsRequest
- type ListFabricProjectTagsResponse
- type ListFabricWorkspaceTagsRequest
- type ListFabricWorkspaceTagsResponse
- type ListFeaturesRequest
- type ListFeaturesResponse
- type ListMessageNotificationPolicyRequest
- type ListMessageNotificationPolicyResponse
- type ListModelVersionsRequest
- type ListModelVersionsResponse
- type ListModelsRequest
- type ListModelsResponse
- type ListSpecsRequest
- type ListSpecsResponse
- type ListTagFabricWorkspacesRequest
- type ListTagFabricWorkspacesResponse
- type ListTagWorkspacesRequestBody
- type ListWorkspacesRequest
- type ListWorkspacesResponse
- type LlmModelConfig
- type LogConfig
- type LogConfigInfo
- type LogStream
- type MessageNotificationPolicy
- type MessageNotificationPolicyMessageType
- type MessageNotificationPolicyMessageTypeEnum
- type MessageNotificationPolicyNotificationTypes
- type MessageNotificationPolicyNotificationTypesEnum
- type MetaStoreId
- type MetricsEnable
- type ModelConfig
- type ModelId
- type ModelInfo
- type ModelName
- type ModelType
- type ModelTypeEnum
- type ModelVersionId
- type ModelVersionInfo
- type ModelVersionInput
- type ModelVersionName
- type RayResource
- type RayResourceInfo
- type RayResourceInput
- type ReservedResource
- type ResourceDef
- type ResourceDemand
- type ResourceDescription
- type ResourceTag
- type ResourceTagParam
- type ResourceType
- type ShowAdminHealthCheckRequest
- type ShowAdminHealthCheckResponse
- type ShowAgreementRequest
- type ShowAgreementResponse
- type ShowAgreementRuleRequest
- type ShowAgreementRuleResponse
- type ShowEndpointRequest
- type ShowEndpointResponse
- type Spec
- type SpecCode
- type SpecScenario
- type SpecScenarioEnum
- type SpecStrideNum
- type SpecType
- type SpecTypeEnum
- type SpecUnit
- type Stride
- type SubscribeEndpointRequest
- type SubscribeEndpointResponse
- type SystemTag
- type SystemTagParam
- type TagFabricWorkspace
- type TagMatch
- type TenantAgreement
- type TenantAgreementBody
- type UpdateEndpointRequest
- type UpdateEndpointRequestBody
- type UpdateEndpointResponse
- type UpdateMetricsConfigInput
- type UpdateMetricsConfigRequest
- type UpdateMetricsConfigResponse
- type UpdateModelDefinitionRequest
- type UpdateModelDefinitionResponse
- type UpdateModelInput
- type UpdateTime
- type UpdateWorkspaceRequest
- type UpdateWorkspaceRequestInput
- type UpdateWorkspaceResponse
- type Url
- type UrlType
- type UrlTypeEnum
- type UsageFactor
- type UsageMeasureId
- type User
- type VisibilityBody
- type WorkNodeResourceDemand
- type WorkSpaceDescription
- type WorkSpaceId
- type WorkSpaceName
- type WorkerGroupSpec
- type Workspace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgencyPolicy ¶
type AgencyPolicy struct { // 权限类型列表,使用Fabric的功能,可能需要授权一些权限策略,可以在policy_types中加入策略类型来授权权限。FABRIC_COMMON_POLICY:基础通用服务相关权限策略,是委托必需的权限策略;FABRIC_SMN_POLICY:消息通知功能相关权限策略,用来将系统通知消息转发到SMN;FABRIC_LAKEFORMATION_POLICY:LakeFormation功能相关权限策略;FABRIC_AOM_POLICY:AOM功能相关权限策略。 PolicyType AgencyPolicyPolicyType `json:"policy_type"` // 是否是必需的。 IsRequired bool `json:"is_required"` // 是否已开启。 IsEnable bool `json:"is_enable"` // 权限列表 Actions []string `json:"actions"` // 策略描述 Description string `json:"description"` }
AgencyPolicy 委托中授权的权限策略
func (AgencyPolicy) String ¶
func (o AgencyPolicy) String() string
type AgencyPolicyPolicyType ¶
type AgencyPolicyPolicyType struct {
// contains filtered or unexported fields
}
func (AgencyPolicyPolicyType) MarshalJSON ¶
func (c AgencyPolicyPolicyType) MarshalJSON() ([]byte, error)
func (*AgencyPolicyPolicyType) UnmarshalJSON ¶
func (c *AgencyPolicyPolicyType) UnmarshalJSON(b []byte) error
func (AgencyPolicyPolicyType) Value ¶
func (c AgencyPolicyPolicyType) Value() string
type AgencyPolicyPolicyTypeEnum ¶
type AgencyPolicyPolicyTypeEnum struct { FABRIC_COMMON_POLICY AgencyPolicyPolicyType FABRIC_SMN_POLICY AgencyPolicyPolicyType FABRIC_LAKEFORMATION_POLICY AgencyPolicyPolicyType FABRIC_AOM_POLICY AgencyPolicyPolicyType }
func GetAgencyPolicyPolicyTypeEnum ¶
func GetAgencyPolicyPolicyTypeEnum() AgencyPolicyPolicyTypeEnum
type AgencyTypeBody ¶
type AgencyTypeBody struct { // 权限类型列表,使用Fabric的功能,可能需要授权一些权限策略,可以在policy_types中加入策略类型来授权权限。FABRIC_COMMON_POLICY:基础通用服务权限策略,是委托必需的权限策略;FABRIC_SMN_POLICY:消息通知功能相关权限策略,用来将系统通知消息转发到SMN;FABRIC_LAKEFORMATION_POLICY:LakeFormation功能相关权限策略;FABRIC_AOM_POLICY:AOM功能相关权限策略。 PolicyTypes *[]AgencyTypeBodyPolicyTypes `json:"policy_types,omitempty"` }
AgencyTypeBody 创建委托请求参数
func (AgencyTypeBody) String ¶
func (o AgencyTypeBody) String() string
type AgencyTypeBodyPolicyTypes ¶
type AgencyTypeBodyPolicyTypes struct {
// contains filtered or unexported fields
}
func (AgencyTypeBodyPolicyTypes) MarshalJSON ¶
func (c AgencyTypeBodyPolicyTypes) MarshalJSON() ([]byte, error)
func (*AgencyTypeBodyPolicyTypes) UnmarshalJSON ¶
func (c *AgencyTypeBodyPolicyTypes) UnmarshalJSON(b []byte) error
func (AgencyTypeBodyPolicyTypes) Value ¶
func (c AgencyTypeBodyPolicyTypes) Value() string
type AgencyTypeBodyPolicyTypesEnum ¶
type AgencyTypeBodyPolicyTypesEnum struct { FABRIC_COMMON_POLICY AgencyTypeBodyPolicyTypes FABRIC_SMN_POLICY AgencyTypeBodyPolicyTypes FABRIC_LAKEFORMATION_POLICY AgencyTypeBodyPolicyTypes FABRIC_AOM_POLICY AgencyTypeBodyPolicyTypes }
func GetAgencyTypeBodyPolicyTypesEnum ¶
func GetAgencyTypeBodyPolicyTypesEnum() AgencyTypeBodyPolicyTypesEnum
type AgreementRule ¶
type AgreementRule struct { // 协议名称 AgreementName *string `json:"agreement_name,omitempty"` // 协议展示名称 AgreementDisplayName *string `json:"agreement_display_name,omitempty"` // 协议版本 AgreementVersion *string `json:"agreement_version,omitempty"` // 协议链接 AgreementUrl *string `json:"agreement_url,omitempty"` }
AgreementRule 协议规则信息
func (AgreementRule) String ¶
func (o AgreementRule) String() string
type BaseModel ¶
type BaseModel struct { // 类型请从ListBaseModels列举基模型接口响应中获取 BaseModelType string `json:"base_model_type"` // 支持的最大token数 MaxTokens int32 `json:"max_tokens"` // 消耗MU数量 NumOfMu int32 `json:"num_of_mu"` }
BaseModel 基模型
type BaseModelType ¶
type BaseModelType struct { }
BaseModelType 类型请从ListBaseModels列举基模型接口响应中获取
func (BaseModelType) String ¶
func (o BaseModelType) String() string
type BatchCreateFabricWorkspaceTagsRequest ¶
type BatchCreateFabricWorkspaceTagsRequest struct { // 工作空间ID WorkspaceId string `json:"workspace_id"` Body *BatchCreateTagsRequestBody `json:"body,omitempty"` }
BatchCreateFabricWorkspaceTagsRequest Request Object
func (BatchCreateFabricWorkspaceTagsRequest) String ¶
func (o BatchCreateFabricWorkspaceTagsRequest) String() string
type BatchCreateFabricWorkspaceTagsResponse ¶
type BatchCreateFabricWorkspaceTagsResponse struct {
HttpStatusCode int `json:"-"`
}
BatchCreateFabricWorkspaceTagsResponse Response Object
func (BatchCreateFabricWorkspaceTagsResponse) String ¶
func (o BatchCreateFabricWorkspaceTagsResponse) String() string
type BatchCreateTagsRequestBody ¶
type BatchCreateTagsRequestBody struct { // 标签列表。 Tags *[]ResourceTag `json:"tags,omitempty"` // 系统标签列表。 SysTags *[]SystemTag `json:"sys_tags,omitempty"` }
BatchCreateTagsRequestBody 批量打资源标签请求体
func (BatchCreateTagsRequestBody) String ¶
func (o BatchCreateTagsRequestBody) String() string
type BatchDeleteFabricWorkspaceTagsRequest ¶
type BatchDeleteFabricWorkspaceTagsRequest struct { // 工作空间ID WorkspaceId string `json:"workspace_id"` Body *BatchDeleteTagsRequestBody `json:"body,omitempty"` }
BatchDeleteFabricWorkspaceTagsRequest Request Object
func (BatchDeleteFabricWorkspaceTagsRequest) String ¶
func (o BatchDeleteFabricWorkspaceTagsRequest) String() string
type BatchDeleteFabricWorkspaceTagsResponse ¶
type BatchDeleteFabricWorkspaceTagsResponse struct {
HttpStatusCode int `json:"-"`
}
BatchDeleteFabricWorkspaceTagsResponse Response Object
func (BatchDeleteFabricWorkspaceTagsResponse) String ¶
func (o BatchDeleteFabricWorkspaceTagsResponse) String() string
type BatchDeleteTagsRequestBody ¶
type BatchDeleteTagsRequestBody struct { // 批量删除请求体标签列表。 Tags *[]DeleteResourceTag `json:"tags,omitempty"` // 批量删除请求体系统标签列表。 SysTags *[]DeleteResourceTag `json:"sys_tags,omitempty"` }
BatchDeleteTagsRequestBody 批量删除的资源标签
func (BatchDeleteTagsRequestBody) String ¶
func (o BatchDeleteTagsRequestBody) String() string
type CapRef ¶
type CapRef struct { // CapId,32~36位的英文、数字、短横组合 CapId *string `json:"cap_id,omitempty"` // CapVersionId,32~36位的英文、数字、短横组合 VersionId *string `json:"version_id,omitempty"` }
CapRef CAP信息
type CapVersionId ¶
type CapVersionId struct { }
CapVersionId CapVersionId,32~36位的英文、数字、短横组合
func (CapVersionId) String ¶
func (o CapVersionId) String() string
type CleanupModelRequest ¶
type CleanupModelRequest struct { // 工作空间ID WorkspaceId string `json:"workspace_id"` // 推理模型ID ModelId string `json:"model_id"` }
CleanupModelRequest Request Object
func (CleanupModelRequest) String ¶
func (o CleanupModelRequest) String() string
type CleanupModelResponse ¶
type CleanupModelResponse struct {
HttpStatusCode int `json:"-"`
}
CleanupModelResponse Response Object
func (CleanupModelResponse) String ¶
func (o CleanupModelResponse) String() string
type CountTagFabricWorkspacesRequest ¶
type CountTagFabricWorkspacesRequest struct {
Body *ListTagWorkspacesRequestBody `json:"body,omitempty"`
}
CountTagFabricWorkspacesRequest Request Object
func (CountTagFabricWorkspacesRequest) String ¶
func (o CountTagFabricWorkspacesRequest) String() string
type CountTagFabricWorkspacesResponse ¶
type CountTagFabricWorkspacesResponse struct { // 实例总数。 TotalCount *int32 `json:"total_count,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CountTagFabricWorkspacesResponse Response Object
func (CountTagFabricWorkspacesResponse) String ¶
func (o CountTagFabricWorkspacesResponse) String() string
type CreateAgencyRequest ¶
type CreateAgencyRequest struct {
Body *AgencyTypeBody `json:"body,omitempty"`
}
CreateAgencyRequest Request Object
func (CreateAgencyRequest) String ¶
func (o CreateAgencyRequest) String() string
type CreateAgencyResponse ¶
type CreateAgencyResponse struct {
HttpStatusCode int `json:"-"`
}
CreateAgencyResponse Response Object
func (CreateAgencyResponse) String ¶
func (o CreateAgencyResponse) String() string
type CreateAgreementRequest ¶
type CreateAgreementRequest struct {
Body *TenantAgreementBody `json:"body,omitempty"`
}
CreateAgreementRequest Request Object
func (CreateAgreementRequest) String ¶
func (o CreateAgreementRequest) String() string
type CreateAgreementResponse ¶
type CreateAgreementResponse struct {
HttpStatusCode int `json:"-"`
}
CreateAgreementResponse Response Object
func (CreateAgreementResponse) String ¶
func (o CreateAgreementResponse) String() string
type CreateEndpointRequest ¶
type CreateEndpointRequest struct { // Workspace的ID WorkspaceId string `json:"workspace_id"` Body *EndpointInput `json:"body,omitempty"` }
CreateEndpointRequest Request Object
func (CreateEndpointRequest) String ¶
func (o CreateEndpointRequest) String() string
type CreateEndpointResponse ¶
type CreateEndpointResponse struct { // 可见性: - PRIVATE:私有 - PUBLIC:公共 默认为PRIVATE Visibility *string `json:"visibility,omitempty"` // Endpoint Id,32~36位的英文、数字、短横组合。 Id string `json:"id"` // 一个Endpoint名称,只能包含中文、字母、数字、下划线、中划线、点、空格 Name string `json:"name"` Type *EndpointType `json:"type"` Status *EndpointStatus `json:"status"` // 描述信息 Description *string `json:"description,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time"` Owner *User `json:"owner"` Cap *CapRef `json:"cap,omitempty"` ReservedResource *ReservedResource `json:"reserved_resource,omitempty"` RayResource *RayResourceInfo `json:"ray_resource,omitempty"` // 失败状态时的错误编码 ErrorCode *string `json:"error_code,omitempty"` // 失败状态时的错误信息 ErrorMsg *string `json:"error_msg,omitempty"` // 调用地址 Urls *[]Url `json:"urls,omitempty"` LogConfig *LogConfigInfo `json:"log_config,omitempty"` // 引擎实例id列表 BusinessEngineInstanceIds *[]string `json:"business_engine_instance_ids,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreateEndpointResponse Response Object
func (CreateEndpointResponse) String ¶
func (o CreateEndpointResponse) String() string
type CreateMessageNotificationPolicy ¶
type CreateMessageNotificationPolicy struct { // 消息类型。job:任务执行结果。 MessageType CreateMessageNotificationPolicyMessageType `json:"message_type"` // 名称样式,用来匹配消息类型中所有符合该样式的消息。比如,message_type设置为job,name_pattern设置为ray_job*,表示匹配到所有以\"ray_job\"开头的job发出的消息。 NamePattern string `json:"name_pattern"` // 通知类型。SUCCESS:成功通知;FAILED:失败通知 NotificationTypes []CreateMessageNotificationPolicyNotificationTypes `json:"notification_types"` // 消息通知主题。 TopicUrn string `json:"topic_urn"` }
func (CreateMessageNotificationPolicy) String ¶
func (o CreateMessageNotificationPolicy) String() string
type CreateMessageNotificationPolicyMessageType ¶
type CreateMessageNotificationPolicyMessageType struct {
// contains filtered or unexported fields
}
func (CreateMessageNotificationPolicyMessageType) MarshalJSON ¶
func (c CreateMessageNotificationPolicyMessageType) MarshalJSON() ([]byte, error)
func (*CreateMessageNotificationPolicyMessageType) UnmarshalJSON ¶
func (c *CreateMessageNotificationPolicyMessageType) UnmarshalJSON(b []byte) error
func (CreateMessageNotificationPolicyMessageType) Value ¶
func (c CreateMessageNotificationPolicyMessageType) Value() string
type CreateMessageNotificationPolicyMessageTypeEnum ¶
type CreateMessageNotificationPolicyMessageTypeEnum struct {
JOB CreateMessageNotificationPolicyMessageType
}
func GetCreateMessageNotificationPolicyMessageTypeEnum ¶
func GetCreateMessageNotificationPolicyMessageTypeEnum() CreateMessageNotificationPolicyMessageTypeEnum
type CreateMessageNotificationPolicyNotificationTypes ¶
type CreateMessageNotificationPolicyNotificationTypes struct {
// contains filtered or unexported fields
}
func (CreateMessageNotificationPolicyNotificationTypes) MarshalJSON ¶
func (c CreateMessageNotificationPolicyNotificationTypes) MarshalJSON() ([]byte, error)
func (*CreateMessageNotificationPolicyNotificationTypes) UnmarshalJSON ¶
func (c *CreateMessageNotificationPolicyNotificationTypes) UnmarshalJSON(b []byte) error
func (CreateMessageNotificationPolicyNotificationTypes) Value ¶
func (c CreateMessageNotificationPolicyNotificationTypes) Value() string
type CreateMessageNotificationPolicyNotificationTypesEnum ¶
type CreateMessageNotificationPolicyNotificationTypesEnum struct { SUCCESS CreateMessageNotificationPolicyNotificationTypes FAILED CreateMessageNotificationPolicyNotificationTypes }
func GetCreateMessageNotificationPolicyNotificationTypesEnum ¶
func GetCreateMessageNotificationPolicyNotificationTypesEnum() CreateMessageNotificationPolicyNotificationTypesEnum
type CreateMessageNotificationPolicyRequest ¶
type CreateMessageNotificationPolicyRequest struct { // Workspace的ID WorkspaceId string `json:"workspace_id"` Body *CreateMessageNotificationPolicyRequestBody `json:"body,omitempty"` }
CreateMessageNotificationPolicyRequest Request Object
func (CreateMessageNotificationPolicyRequest) String ¶
func (o CreateMessageNotificationPolicyRequest) String() string
type CreateMessageNotificationPolicyRequestBody ¶
type CreateMessageNotificationPolicyRequestBody struct { // 消息通知策略 MessageNotificationPolicyList []CreateMessageNotificationPolicy `json:"message_notification_policy_list"` }
CreateMessageNotificationPolicyRequestBody 创建消息通知策略请求体
func (CreateMessageNotificationPolicyRequestBody) String ¶
func (o CreateMessageNotificationPolicyRequestBody) String() string
type CreateMessageNotificationPolicyResponse ¶
type CreateMessageNotificationPolicyResponse struct { // id Id *string `json:"id,omitempty"` // 消息类型。job:任务执行结果。 MessageType *CreateMessageNotificationPolicyResponseMessageType `json:"message_type,omitempty"` // 名称样式,用来匹配消息类型中所有符合该样式的消息。比如,message_type设置为job,name_pattern设置为ray_job*,表示匹配到所有以\"ray_job\"开头的job发出的消息。 NamePattern *string `json:"name_pattern,omitempty"` // 通知类型。SUCCESS:成功通知;FAILED:失败通知 NotificationTypes *[]CreateMessageNotificationPolicyResponseNotificationTypes `json:"notification_types,omitempty"` // 消息通知主题。 TopicUrn *string `json:"topic_urn,omitempty"` HttpStatusCode int `json:"-"` }
CreateMessageNotificationPolicyResponse Response Object
func (CreateMessageNotificationPolicyResponse) String ¶
func (o CreateMessageNotificationPolicyResponse) String() string
type CreateMessageNotificationPolicyResponseMessageType ¶
type CreateMessageNotificationPolicyResponseMessageType struct {
// contains filtered or unexported fields
}
func (CreateMessageNotificationPolicyResponseMessageType) MarshalJSON ¶
func (c CreateMessageNotificationPolicyResponseMessageType) MarshalJSON() ([]byte, error)
func (*CreateMessageNotificationPolicyResponseMessageType) UnmarshalJSON ¶
func (c *CreateMessageNotificationPolicyResponseMessageType) UnmarshalJSON(b []byte) error
func (CreateMessageNotificationPolicyResponseMessageType) Value ¶
func (c CreateMessageNotificationPolicyResponseMessageType) Value() string
type CreateMessageNotificationPolicyResponseMessageTypeEnum ¶
type CreateMessageNotificationPolicyResponseMessageTypeEnum struct {
JOB CreateMessageNotificationPolicyResponseMessageType
}
func GetCreateMessageNotificationPolicyResponseMessageTypeEnum ¶
func GetCreateMessageNotificationPolicyResponseMessageTypeEnum() CreateMessageNotificationPolicyResponseMessageTypeEnum
type CreateMessageNotificationPolicyResponseNotificationTypes ¶
type CreateMessageNotificationPolicyResponseNotificationTypes struct {
// contains filtered or unexported fields
}
func (CreateMessageNotificationPolicyResponseNotificationTypes) MarshalJSON ¶
func (c CreateMessageNotificationPolicyResponseNotificationTypes) MarshalJSON() ([]byte, error)
func (*CreateMessageNotificationPolicyResponseNotificationTypes) UnmarshalJSON ¶
func (c *CreateMessageNotificationPolicyResponseNotificationTypes) UnmarshalJSON(b []byte) error
func (CreateMessageNotificationPolicyResponseNotificationTypes) Value ¶
func (c CreateMessageNotificationPolicyResponseNotificationTypes) Value() string
type CreateMessageNotificationPolicyResponseNotificationTypesEnum ¶
type CreateMessageNotificationPolicyResponseNotificationTypesEnum struct { SUCCESS CreateMessageNotificationPolicyResponseNotificationTypes FAILED CreateMessageNotificationPolicyResponseNotificationTypes }
func GetCreateMessageNotificationPolicyResponseNotificationTypesEnum ¶
func GetCreateMessageNotificationPolicyResponseNotificationTypesEnum() CreateMessageNotificationPolicyResponseNotificationTypesEnum
type CreateModelDefinitionRequest ¶
type CreateModelDefinitionRequest struct { // 工作空间ID WorkspaceId string `json:"workspace_id"` Body *CreateModelInput `json:"body,omitempty"` }
CreateModelDefinitionRequest Request Object
func (CreateModelDefinitionRequest) String ¶
func (o CreateModelDefinitionRequest) String() string
type CreateModelDefinitionResponse ¶
type CreateModelDefinitionResponse struct { // 模型ID,32~36位的英文、数字、短横组合 Id *string `json:"id,omitempty"` // 模型版本ID,32~36位的英文、数字、短横组合,系统自动生成无法修改,输入不生效。 VersionId *string `json:"version_id,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreateModelDefinitionResponse Response Object
func (CreateModelDefinitionResponse) String ¶
func (o CreateModelDefinitionResponse) String() string
type CreateModelInput ¶
type CreateModelInput struct { // 一个Model的名称,只能包含中文、字母、数字、下划线、中划线、点、空格 Name string `json:"name"` // 描述信息 Description *string `json:"description,omitempty"` Type *ModelType `json:"type"` Version *ModelVersionInput `json:"version"` }
CreateModelInput 创建模型的输入请求
func (CreateModelInput) String ¶
func (o CreateModelInput) String() string
type CreateTime ¶
type CreateTime struct { }
CreateTime 创建时间
func (CreateTime) String ¶
func (o CreateTime) String() string
type CreateWorkspaceRequest ¶
type CreateWorkspaceRequest struct {
Body *CreateWorkspaceRequestInput `json:"body,omitempty"`
}
CreateWorkspaceRequest Request Object
func (CreateWorkspaceRequest) String ¶
func (o CreateWorkspaceRequest) String() string
type CreateWorkspaceRequestInput ¶
type CreateWorkspaceRequestInput struct { // 工作空间名称。 Name string `json:"name"` // 描述。用户输入的描述,最长为255个字符。 Description *string `json:"description,omitempty"` // Metastore信息,LakeFormation服务的实例Id,即MetaStoreId。 MetastoreId *string `json:"metastore_id,omitempty"` // 企业项目ID,只有对接了企业项目才可以填写。只能包含字母、数字和中划线,且长度为1到64个字符。默认是0,即default EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
CreateWorkspaceRequestInput 创建Workspace的请求体
func (CreateWorkspaceRequestInput) String ¶
func (o CreateWorkspaceRequestInput) String() string
type CreateWorkspaceResponse ¶
type CreateWorkspaceResponse struct { // 工作空间ID。 Id *string `json:"id,omitempty"` // 工作空间名称。 Name *string `json:"name,omitempty"` // 描述。用户输入的描述,最长为255个字符。 Description *string `json:"description,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 创建账号名称。 CreateDomainName *string `json:"create_domain_name,omitempty"` // 创建用户名称。 CreateUserName *string `json:"create_user_name,omitempty"` // Metastore信息,LakeFormation服务的实例Id,即MetaStoreId。 MetastoreId *string `json:"metastore_id,omitempty"` // 访问资源地址 AccessUrl *string `json:"access_url,omitempty"` // 企业项目ID,只有对接了企业项目才可以填写。只能包含字母、数字和中划线,且长度为1到64个字符。默认是0,即default EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
CreateWorkspaceResponse Response Object
func (CreateWorkspaceResponse) String ¶
func (o CreateWorkspaceResponse) String() string
type DeleteAgencyRequest ¶
type DeleteAgencyRequest struct { // 权限策略类型。FABRIC_COMMON_POLICY:基础通用服务相关的权限策略;FABRIC_SMN_POLICY:消息通知功能相关的权限策略;FABRIC_LAKEFORMATION_POLICY:LakeFormation功能相关的权限策略;FABRIC_AOM_POLICY:AOM功能相关的权限策略。 PolicyType *DeleteAgencyRequestPolicyType `json:"policy_type,omitempty"` }
DeleteAgencyRequest Request Object
func (DeleteAgencyRequest) String ¶
func (o DeleteAgencyRequest) String() string
type DeleteAgencyRequestPolicyType ¶
type DeleteAgencyRequestPolicyType struct {
// contains filtered or unexported fields
}
func (DeleteAgencyRequestPolicyType) MarshalJSON ¶
func (c DeleteAgencyRequestPolicyType) MarshalJSON() ([]byte, error)
func (*DeleteAgencyRequestPolicyType) UnmarshalJSON ¶
func (c *DeleteAgencyRequestPolicyType) UnmarshalJSON(b []byte) error
func (DeleteAgencyRequestPolicyType) Value ¶
func (c DeleteAgencyRequestPolicyType) Value() string
type DeleteAgencyRequestPolicyTypeEnum ¶
type DeleteAgencyRequestPolicyTypeEnum struct { FABRIC_COMMON_POLICY DeleteAgencyRequestPolicyType FABRIC_SMN_POLICY DeleteAgencyRequestPolicyType FABRIC_LAKEFORMATION_POLICY DeleteAgencyRequestPolicyType FABRIC_AOM_POLICY DeleteAgencyRequestPolicyType }
func GetDeleteAgencyRequestPolicyTypeEnum ¶
func GetDeleteAgencyRequestPolicyTypeEnum() DeleteAgencyRequestPolicyTypeEnum
type DeleteAgencyResponse ¶
type DeleteAgencyResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteAgencyResponse Response Object
func (DeleteAgencyResponse) String ¶
func (o DeleteAgencyResponse) String() string
type DeleteAgreementRequest ¶
type DeleteAgreementRequest struct { }
DeleteAgreementRequest Request Object
func (DeleteAgreementRequest) String ¶
func (o DeleteAgreementRequest) String() string
type DeleteAgreementResponse ¶
type DeleteAgreementResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteAgreementResponse Response Object
func (DeleteAgreementResponse) String ¶
func (o DeleteAgreementResponse) String() string
type DeleteEndpointRequest ¶
type DeleteEndpointRequest struct { // Workspace的ID WorkspaceId string `json:"workspace_id"` // Endpoint的ID EndpointId string `json:"endpoint_id"` }
DeleteEndpointRequest Request Object
func (DeleteEndpointRequest) String ¶
func (o DeleteEndpointRequest) String() string
type DeleteEndpointResponse ¶
type DeleteEndpointResponse struct { // Endpoint的id Id *string `json:"id,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
DeleteEndpointResponse Response Object
func (DeleteEndpointResponse) String ¶
func (o DeleteEndpointResponse) String() string
type DeleteMessageNotificationPolicyRequest ¶
type DeleteMessageNotificationPolicyRequest struct { // 消息通知策略ID MessagePolicyId string `json:"message_policy_id"` // Workspace的ID WorkspaceId string `json:"workspace_id"` }
DeleteMessageNotificationPolicyRequest Request Object
func (DeleteMessageNotificationPolicyRequest) String ¶
func (o DeleteMessageNotificationPolicyRequest) String() string
type DeleteMessageNotificationPolicyResponse ¶
type DeleteMessageNotificationPolicyResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteMessageNotificationPolicyResponse Response Object
func (DeleteMessageNotificationPolicyResponse) String ¶
func (o DeleteMessageNotificationPolicyResponse) String() string
type DeleteModelVersionRequest ¶
type DeleteModelVersionRequest struct { // 工作空间ID WorkspaceId string `json:"workspace_id"` // Service ID ModelId string `json:"model_id"` // Version ID VersionId string `json:"version_id"` }
DeleteModelVersionRequest Request Object
func (DeleteModelVersionRequest) String ¶
func (o DeleteModelVersionRequest) String() string
type DeleteModelVersionResponse ¶
type DeleteModelVersionResponse struct {
HttpStatusCode int `json:"-"`
}
DeleteModelVersionResponse Response Object
func (DeleteModelVersionResponse) String ¶
func (o DeleteModelVersionResponse) String() string
type DeleteResourceTag ¶
type DeleteResourceTag struct { // 键。 Key string `json:"key"` // 值。 Value *string `json:"value,omitempty"` }
DeleteResourceTag 标签。
func (DeleteResourceTag) String ¶
func (o DeleteResourceTag) String() string
type DeleteWorkspaceRequest ¶
type DeleteWorkspaceRequest struct { // 工作空间ID WorkspaceId string `json:"workspace_id"` }
DeleteWorkspaceRequest Request Object
func (DeleteWorkspaceRequest) String ¶
func (o DeleteWorkspaceRequest) String() string
type DeleteWorkspaceResponse ¶
type DeleteWorkspaceResponse struct { XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
DeleteWorkspaceResponse Response Object
func (DeleteWorkspaceResponse) String ¶
func (o DeleteWorkspaceResponse) String() string
type Description ¶
type Description struct { }
Description 描述信息
func (Description) String ¶
func (o Description) String() string
type EndpointBriefInfo ¶
type EndpointBriefInfo struct { // 可见性: - PRIVATE:私有 - PUBLIC:公共 默认为PRIVATE Visibility *string `json:"visibility,omitempty"` // Endpoint Id,32~36位的英文、数字、短横组合。 Id string `json:"id"` // 一个Endpoint名称,只能包含中文、字母、数字、下划线、中划线、点、空格 Name string `json:"name"` Type *EndpointType `json:"type"` Status *EndpointStatus `json:"status"` // 描述信息 Description *string `json:"description,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time"` Owner *User `json:"owner"` Cap *CapRef `json:"cap,omitempty"` ReservedResource *ReservedResource `json:"reserved_resource,omitempty"` RayResource *RayResourceInfo `json:"ray_resource,omitempty"` // 失败状态时的错误编码 ErrorCode *string `json:"error_code,omitempty"` // 失败状态时的错误信息 ErrorMsg *string `json:"error_msg,omitempty"` }
EndpointBriefInfo Endpoint简要信息
func (EndpointBriefInfo) String ¶
func (o EndpointBriefInfo) String() string
type EndpointId ¶
type EndpointId struct { }
EndpointId Endpoint Id,32~36位的英文、数字、短横组合。
func (EndpointId) String ¶
func (o EndpointId) String() string
type EndpointInput ¶
type EndpointInput struct { // 一个Endpoint名称,只能包含中文、字母、数字、下划线、中划线、点、空格 Name string `json:"name"` // 描述信息 Description *string `json:"description,omitempty"` Type *EndpointType `json:"type"` ReservedResource *ReservedResource `json:"reserved_resource,omitempty"` RayResource *RayResourceInput `json:"ray_resource,omitempty"` Cap *CapRef `json:"cap,omitempty"` LogConfig *LogConfig `json:"log_config,omitempty"` }
EndpointInput 创建Endpoint的输入参数
func (EndpointInput) String ¶
func (o EndpointInput) String() string
type EndpointName ¶
type EndpointName struct { }
EndpointName 一个Endpoint名称,只能包含中文、字母、数字、下划线、中划线、点、空格
func (EndpointName) String ¶
func (o EndpointName) String() string
type EndpointStatus ¶
type EndpointStatus struct {
// contains filtered or unexported fields
}
EndpointStatus 状态。可选值如下: CREATING:创建中 RUNNING:运行中 CREATE_FAILED:创建失败 DELETING:删除中 DELETED:已删除 UPDATING: 更新中 UPDATE_FAILED:升级失败 DELETE_FAILED:创建失败 FROZEN:冻结 INACTIVE:未开通(公共EP)
func (EndpointStatus) MarshalJSON ¶
func (c EndpointStatus) MarshalJSON() ([]byte, error)
func (*EndpointStatus) UnmarshalJSON ¶
func (c *EndpointStatus) UnmarshalJSON(b []byte) error
func (EndpointStatus) Value ¶
func (c EndpointStatus) Value() string
type EndpointStatusEnum ¶
type EndpointStatusEnum struct { CREATING EndpointStatus RUNNING EndpointStatus CREATE_FAILED EndpointStatus DELETING EndpointStatus DELETED EndpointStatus UPDATING EndpointStatus UPDATE_FAILED EndpointStatus DELETE_FAILED EndpointStatus FROZEN EndpointStatus INACTIVE EndpointStatus }
func GetEndpointStatusEnum ¶
func GetEndpointStatusEnum() EndpointStatusEnum
type EndpointType ¶
type EndpointType struct {
// contains filtered or unexported fields
}
EndpointType Endpoint的类型 - service:Service EP,代表一个可接收Service请求资源组 - ray:Ray on k8s的EP,代表一个Ray集群 - inference:推理的EP,代表一个推理函数实例 - job:Job EP,代表一个可接收Job请求资源组
func (EndpointType) MarshalJSON ¶
func (c EndpointType) MarshalJSON() ([]byte, error)
func (*EndpointType) UnmarshalJSON ¶
func (c *EndpointType) UnmarshalJSON(b []byte) error
func (EndpointType) Value ¶
func (c EndpointType) Value() string
type EndpointTypeEnum ¶
type EndpointTypeEnum struct { SERVICE EndpointType RAY EndpointType INFERENCE EndpointType JOB EndpointType }
func GetEndpointTypeEnum ¶
func GetEndpointTypeEnum() EndpointTypeEnum
type EnterpriseProjectId ¶
type EnterpriseProjectId struct { }
EnterpriseProjectId 企业项目ID,只有对接了企业项目才可以填写。只能包含字母、数字和中划线,且长度为1到64个字符。默认是0,即default
func (EnterpriseProjectId) String ¶
func (o EnterpriseProjectId) String() string
type Feature ¶
type Feature struct { // 配置项key。 Key *string `json:"key,omitempty"` // 配置项value。 Value *string `json:"value,omitempty"` }
Feature 用户特性。
type HeadGroupSpec ¶
type HeadGroupSpec struct { // 资源规格,从规格列表查询获取。 SpecCode *string `json:"spec_code,omitempty"` }
HeadGroupSpec Ray Head配置
func (HeadGroupSpec) String ¶
func (o HeadGroupSpec) String() string
type HeadNodeResourceDemand ¶
type HeadNodeResourceDemand struct { // 资源规格,从规格列表查询获取。 SpecCode string `json:"spec_code"` }
HeadNodeResourceDemand headNode资源需求量配置
func (HeadNodeResourceDemand) String ¶
func (o HeadNodeResourceDemand) String() string
type ListAgencyRequest ¶
type ListAgencyRequest struct { // 策略类型。支持模糊匹配 PolicyType *string `json:"policy_type,omitempty"` }
ListAgencyRequest Request Object
func (ListAgencyRequest) String ¶
func (o ListAgencyRequest) String() string
type ListAgencyResponse ¶
type ListAgencyResponse struct { // 委托名称 AgencyName *string `json:"agency_name,omitempty"` // 授权与否。如果用户的服务委托权限包含系统所需要的委托权限返回true,否则返回false。 Authorized *bool `json:"authorized,omitempty"` // 委托策略列表。 AgencyPolicies *[]AgencyPolicy `json:"agency_policies,omitempty"` HttpStatusCode int `json:"-"` }
ListAgencyResponse Response Object
func (ListAgencyResponse) String ¶
func (o ListAgencyResponse) String() string
type ListBaseModelsRequest ¶
type ListBaseModelsRequest struct { // 偏移量,表示从此偏移量开始查询, offset大于等于0,默认为0。 Offset *int32 `json:"offset,omitempty"` // 指定每一页返回的最大条目数,取值范围[1,100],默认为10。 Limit *int32 `json:"limit,omitempty"` }
ListBaseModelsRequest Request Object
func (ListBaseModelsRequest) String ¶
func (o ListBaseModelsRequest) String() string
type ListBaseModelsResponse ¶
type ListBaseModelsResponse struct { // 符合条件的总数 Total *int32 `json:"total,omitempty"` // 列表信息 Models *[]BaseModel `json:"models,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListBaseModelsResponse Response Object
func (ListBaseModelsResponse) String ¶
func (o ListBaseModelsResponse) String() string
type ListEndpointsRequest ¶
type ListEndpointsRequest struct { // Workspace的ID WorkspaceId string `json:"workspace_id"` // 偏移量,表示从此偏移量开始查询, offset大于等于0,默认为0。 Offset *int32 `json:"offset,omitempty"` // 指定每一页返回的最大条目数,取值范围[1,100],默认为10。 Limit *int32 `json:"limit,omitempty"` // 通过模型ID检索,32~36位的英文、数字、短横组合 ModelId *string `json:"model_id,omitempty"` // 通过名字搜索Endpoint的参数,一个Endpoint名称,只能包含中文、字母、数字、下划线、中划线,支持模糊查询 Name *string `json:"name,omitempty"` // 通过id检索Endpoint的参数 EndpointId *string `json:"endpoint_id,omitempty"` // 通过类型检索Endpoint的参数 Type *EndpointType `json:"type,omitempty"` // 可见性检索的参数,可选值为: - PRIVATE: 私有,用户自己创建的; - PUBLIC:公共,查询所有公共的,包括其他用户创建的; - ALL: 所有的; - 默认为空,不填表示不限制,则查出当前用户下的,包括PRIVATE和PUBLIC,不包括其他用户创建的。 Visibility *string `json:"visibility,omitempty"` }
ListEndpointsRequest Request Object
func (ListEndpointsRequest) String ¶
func (o ListEndpointsRequest) String() string
type ListEndpointsResponse ¶
type ListEndpointsResponse struct { // 符合条件的endpoint总数 Total *int32 `json:"total,omitempty"` // 符合条件的Endpoint简要信息列表 Endpoints *[]EndpointBriefInfo `json:"endpoints,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListEndpointsResponse Response Object
func (ListEndpointsResponse) String ¶
func (o ListEndpointsResponse) String() string
type ListFabricProjectTagsRequest ¶
type ListFabricProjectTagsRequest struct { // 使用预定义标签,true表示使用。 UsePredefineTags bool `json:"use_predefine_tags"` // 偏移量,表示从此偏移量开始查询, offset大于等于0,默认为0。 Offset *int32 `json:"offset,omitempty"` // 查询记录数默认为1000,limit最多为1000,不能为负数,最小值为1 Limit *int32 `json:"limit,omitempty"` }
ListFabricProjectTagsRequest Request Object
func (ListFabricProjectTagsRequest) String ¶
func (o ListFabricProjectTagsRequest) String() string
type ListFabricProjectTagsResponse ¶
type ListFabricProjectTagsResponse struct { // 标签列表 Tags *[]ResourceTagParam `json:"tags,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListFabricProjectTagsResponse Response Object
func (ListFabricProjectTagsResponse) String ¶
func (o ListFabricProjectTagsResponse) String() string
type ListFabricWorkspaceTagsRequest ¶
type ListFabricWorkspaceTagsRequest struct { // Workspace的ID WorkspaceId string `json:"workspace_id"` // 偏移量,表示从此偏移量开始查询, offset大于等于0,默认为0。 Offset *int32 `json:"offset,omitempty"` // 查询记录数默认为1000,limit最多为1000,不能为负数,最小值为1 Limit *int32 `json:"limit,omitempty"` }
ListFabricWorkspaceTagsRequest Request Object
func (ListFabricWorkspaceTagsRequest) String ¶
func (o ListFabricWorkspaceTagsRequest) String() string
type ListFabricWorkspaceTagsResponse ¶
type ListFabricWorkspaceTagsResponse struct { // 资源标签列表 Tags *[]ResourceTag `json:"tags,omitempty"` // 系统标签列表。 SysTags *[]SystemTag `json:"sys_tags,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListFabricWorkspaceTagsResponse Response Object
func (ListFabricWorkspaceTagsResponse) String ¶
func (o ListFabricWorkspaceTagsResponse) String() string
type ListFeaturesRequest ¶
type ListFeaturesRequest struct { // 偏移量,表示从此偏移量开始查询, offset大于等于0,默认为0。 Offset *int32 `json:"offset,omitempty"` // 指定每一页返回的最大条目数,取值范围[1,100],默认为10。 Limit *int32 `json:"limit,omitempty"` }
ListFeaturesRequest Request Object
func (ListFeaturesRequest) String ¶
func (o ListFeaturesRequest) String() string
type ListFeaturesResponse ¶
type ListFeaturesResponse struct { // 配置列表。 Configs *[]Feature `json:"configs,omitempty"` // 配置项总数。 Total *int32 `json:"total,omitempty"` HttpStatusCode int `json:"-"` }
ListFeaturesResponse Response Object
func (ListFeaturesResponse) String ¶
func (o ListFeaturesResponse) String() string
type ListMessageNotificationPolicyRequest ¶
type ListMessageNotificationPolicyRequest struct { // Workspace的ID WorkspaceId string `json:"workspace_id"` // 偏移量,表示从此偏移量开始查询, offset大于等于0,默认为0。 Offset *int32 `json:"offset,omitempty"` // 指定每一页返回的最大条目数,取值范围[1,100],默认为10。 Limit *int32 `json:"limit,omitempty"` // 消息类型。job:任务执行结果消息。 MessageType *string `json:"message_type,omitempty"` // 名称样式。支持模糊匹配,区分大小写 NamePattern *string `json:"name_pattern,omitempty"` // 消息类型。SUCCESS:成功通知;FAILED:失败通知 NotifyType *string `json:"notify_type,omitempty"` }
ListMessageNotificationPolicyRequest Request Object
func (ListMessageNotificationPolicyRequest) String ¶
func (o ListMessageNotificationPolicyRequest) String() string
type ListMessageNotificationPolicyResponse ¶
type ListMessageNotificationPolicyResponse struct { // 符合条件的消息通知策略总数 Total *int32 `json:"total,omitempty"` // 消息通知策略列表信息 Policies *[]MessageNotificationPolicy `json:"policies,omitempty"` HttpStatusCode int `json:"-"` }
ListMessageNotificationPolicyResponse Response Object
func (ListMessageNotificationPolicyResponse) String ¶
func (o ListMessageNotificationPolicyResponse) String() string
type ListModelVersionsRequest ¶
type ListModelVersionsRequest struct { // 工作空间ID WorkspaceId string `json:"workspace_id"` // Service ID ModelId string `json:"model_id"` // 偏移量,表示从此偏移量开始查询, offset大于等于0,默认为0。 Offset *int32 `json:"offset,omitempty"` // 指定每一页返回的最大条目数,取值范围[1,100],默认为10。 Limit *int32 `json:"limit,omitempty"` // 模型版本ID VersionId *string `json:"version_id,omitempty"` // 模型版本名称,支持模糊查询 Name *string `json:"name,omitempty"` }
ListModelVersionsRequest Request Object
func (ListModelVersionsRequest) String ¶
func (o ListModelVersionsRequest) String() string
type ListModelVersionsResponse ¶
type ListModelVersionsResponse struct { // 符合条件的Version总数 Total *int32 `json:"total,omitempty"` // 列表信息 Versions *[]ModelVersionInfo `json:"versions,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListModelVersionsResponse Response Object
func (ListModelVersionsResponse) String ¶
func (o ListModelVersionsResponse) String() string
type ListModelsRequest ¶
type ListModelsRequest struct { // 工作空间ID WorkspaceId string `json:"workspace_id"` // 偏移量,表示从此偏移量开始查询, offset大于等于0,默认为0。 Offset *int32 `json:"offset,omitempty"` // 指定每一页返回的最大条目数,取值范围[1,100],默认为10。 Limit *int32 `json:"limit,omitempty"` // 通过名字搜索Model,支持模糊查询 Name *string `json:"name,omitempty"` // 通过模型ID检索,32~36位的英文、数字、短横组合 Id *string `json:"id,omitempty"` // 通过模型类型检索 Type *string `json:"type,omitempty"` // 可见性检索的参数,可选值为: - PRIVATE: 私有,用户自己创建的; - PUBLIC:公共,查询所有公共的,包括其他用户创建的; - ALL: 所有的; - 默认为空,不填表示不限制,则查出当前用户下的,包括PRIVATE和PUBLIC,不包括其他用户创建的。 Visibility *string `json:"visibility,omitempty"` // 指定排序字段,可选值为: CREATE_TIME:创建时间,默认值 UPDATE_TIME:更新时间 NAME: 服务名称 SortBy *string `json:"sort_by,omitempty"` // 排序方式,可选值如下: ASC : 递增排序 DESC: 递减排序,默认值 OrderBy *string `json:"order_by,omitempty"` }
ListModelsRequest Request Object
func (ListModelsRequest) String ¶
func (o ListModelsRequest) String() string
type ListModelsResponse ¶
type ListModelsResponse struct { // 符合条件的总数 Total *int32 `json:"total,omitempty"` // 列表信息 Models *[]ModelInfo `json:"models,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListModelsResponse Response Object
func (ListModelsResponse) String ¶
func (o ListModelsResponse) String() string
type ListSpecsRequest ¶
type ListSpecsRequest struct { // 规格编码 SpecCode *string `json:"spec_code,omitempty"` // 通过资源规格类型检索 SpecTypes *[]string `json:"spec_types,omitempty"` // 偏移量,表示从此偏移量开始查询, offset大于等于0,默认为0。 Offset *int32 `json:"offset,omitempty"` // 指定每一页返回的最大条目数,取值范围[1,100],默认为10。 Limit *int32 `json:"limit,omitempty"` // 规格使用场景,不填表示不限制: COMPUTE: 用于购买Ray计算资源时配置的物理节点规格 ENDPOINT: 用于创建Endpoint时配置的资源组规格大小 Scenario *SpecScenario `json:"scenario,omitempty"` }
ListSpecsRequest Request Object
func (ListSpecsRequest) String ¶
func (o ListSpecsRequest) String() string
type ListSpecsResponse ¶
type ListSpecsResponse struct { // 总数 Total *int32 `json:"total,omitempty"` // 规格编码列表 SpecCodes *[]Spec `json:"spec_codes,omitempty"` HttpStatusCode int `json:"-"` }
ListSpecsResponse Response Object
func (ListSpecsResponse) String ¶
func (o ListSpecsResponse) String() string
type ListTagFabricWorkspacesRequest ¶
type ListTagFabricWorkspacesRequest struct { // 偏移量,表示从此偏移量开始查询, offset大于等于0,默认为0。 Offset *int32 `json:"offset,omitempty"` // 指定每一页返回的最大条目数,取值范围[1,100],默认为10。 Limit *int32 `json:"limit,omitempty"` Body *ListTagWorkspacesRequestBody `json:"body,omitempty"` }
ListTagFabricWorkspacesRequest Request Object
func (ListTagFabricWorkspacesRequest) String ¶
func (o ListTagFabricWorkspacesRequest) String() string
type ListTagFabricWorkspacesResponse ¶
type ListTagFabricWorkspacesResponse struct { // 资源列表。 Resources *[]TagFabricWorkspace `json:"resources,omitempty"` // 资源总数 TotalCount *int32 `json:"total_count,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListTagFabricWorkspacesResponse Response Object
func (ListTagFabricWorkspacesResponse) String ¶
func (o ListTagFabricWorkspacesResponse) String() string
type ListTagWorkspacesRequestBody ¶
type ListTagWorkspacesRequestBody struct { // 不包含任意一个标签,该字段为true时查询所有不带标签的资源,此时忽略 “tags”、“tags_any”、“not_tags”、“not_tags_any”字段 WithoutAnyTag *bool `json:"without_any_tag,omitempty"` // 包含标签,最多包含50个key,每个key下面的value最多10个,每个key对应的value可以为空数组但结构体不能缺失。 Tags *[]ResourceTagParam `json:"tags,omitempty"` // 搜索字段,key为要匹配的字段,如resource_name等。value为匹配的值。 Matches *[]TagMatch `json:"matches,omitempty"` // 系统标签列表,目前只包含一个tag结构体。key下面只包含一个value。 SysTags *[]SystemTagParam `json:"sys_tags,omitempty"` }
ListTagWorkspacesRequestBody 标签管理界面查询资源实例列表的请求体。
func (ListTagWorkspacesRequestBody) String ¶
func (o ListTagWorkspacesRequestBody) String() string
type ListWorkspacesRequest ¶
type ListWorkspacesRequest struct { // 偏移量,表示从此偏移量开始查询, offset大于等于0,默认为0。 Offset *int32 `json:"offset,omitempty"` // 指定每一页返回的最大条目数,取值范围[1,100],默认为10。 Limit *int32 `json:"limit,omitempty"` // 使用名称进行检索,支持模糊查询。只能包含字母、数字、下划线和中划线,且长度为4到32个字符。 Name *string `json:"name,omitempty"` // 工作空间Id Id *string `json:"id,omitempty"` // 企业项目ID。由用户输入,只能包含字母、数字、下划线和中划线,且长度为1到36个字符。默认为all_granted_eps EnterpriseProjectId string `json:"enterprise_project_id"` }
ListWorkspacesRequest Request Object
func (ListWorkspacesRequest) String ¶
func (o ListWorkspacesRequest) String() string
type ListWorkspacesResponse ¶
type ListWorkspacesResponse struct { // workspace总数 Total *int32 `json:"total,omitempty"` // workaspace列表 Workspaces *[]Workspace `json:"workspaces,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ListWorkspacesResponse Response Object
func (ListWorkspacesResponse) String ¶
func (o ListWorkspacesResponse) String() string
type LlmModelConfig ¶
type LlmModelConfig struct { // 类型请从ListBaseModels列举基模型接口响应中获取 BaseModelType string `json:"base_model_type"` // 模型文件路径 ModelPath string `json:"model_path"` }
func (LlmModelConfig) String ¶
func (o LlmModelConfig) String() string
type LogConfig ¶
type LogConfig struct { // 是否开启日志并记录到LTS,默认不开启 EnableLtsLog *bool `json:"enable_lts_log,omitempty"` // 是否开启日志转储到OBS,默认不开启 开启的时候需要先开启日志记录到LTS,否则无法开启。 EnableObsLog *bool `json:"enable_obs_log,omitempty"` // 日志存储的OBS路径 ObsPath *string `json:"obs_path,omitempty"` }
LogConfig Ray日志配置
type LogConfigInfo ¶
type LogConfigInfo struct { // 是否开启日志并记录到LTS,默认不开启 EnableLtsLog *bool `json:"enable_lts_log,omitempty"` // 是否开启日志转储到OBS,默认不开启 开启的时候需要先开启日志记录到LTS,否则无法开启。 EnableObsLog *bool `json:"enable_obs_log,omitempty"` // 日志存储的OBS路径 ObsPath *string `json:"obs_path,omitempty"` // 日志组ID LogGroupId *string `json:"log_group_id,omitempty"` // 日志流ID集合 LogStreams *[]LogStream `json:"log_streams,omitempty"` }
LogConfigInfo 日志配置的详细信息
func (LogConfigInfo) String ¶
func (o LogConfigInfo) String() string
type LogStream ¶
type LogStream struct { // 日志流ID LogStreamId *string `json:"log_stream_id,omitempty"` // 日志流名称 LogStreamName *string `json:"log_stream_name,omitempty"` }
LogStream 日志流信息
type MessageNotificationPolicy ¶
type MessageNotificationPolicy struct { // id Id string `json:"id"` // 消息类型。job:任务执行结果。 MessageType MessageNotificationPolicyMessageType `json:"message_type"` // 名称样式,用来匹配消息类型中所有符合该样式的消息。比如,message_type设置为job,name_pattern设置为ray_job*,表示匹配到所有以\"ray_job\"开头的job发出的消息。 NamePattern string `json:"name_pattern"` // 通知类型。SUCCESS:成功通知;FAILED:失败通知 NotificationTypes []MessageNotificationPolicyNotificationTypes `json:"notification_types"` // 消息通知主题。 TopicUrn string `json:"topic_urn"` }
MessageNotificationPolicy 消息通知策略
func (MessageNotificationPolicy) String ¶
func (o MessageNotificationPolicy) String() string
type MessageNotificationPolicyMessageType ¶
type MessageNotificationPolicyMessageType struct {
// contains filtered or unexported fields
}
func (MessageNotificationPolicyMessageType) MarshalJSON ¶
func (c MessageNotificationPolicyMessageType) MarshalJSON() ([]byte, error)
func (*MessageNotificationPolicyMessageType) UnmarshalJSON ¶
func (c *MessageNotificationPolicyMessageType) UnmarshalJSON(b []byte) error
func (MessageNotificationPolicyMessageType) Value ¶
func (c MessageNotificationPolicyMessageType) Value() string
type MessageNotificationPolicyMessageTypeEnum ¶
type MessageNotificationPolicyMessageTypeEnum struct {
JOB MessageNotificationPolicyMessageType
}
func GetMessageNotificationPolicyMessageTypeEnum ¶
func GetMessageNotificationPolicyMessageTypeEnum() MessageNotificationPolicyMessageTypeEnum
type MessageNotificationPolicyNotificationTypes ¶
type MessageNotificationPolicyNotificationTypes struct {
// contains filtered or unexported fields
}
func (MessageNotificationPolicyNotificationTypes) MarshalJSON ¶
func (c MessageNotificationPolicyNotificationTypes) MarshalJSON() ([]byte, error)
func (*MessageNotificationPolicyNotificationTypes) UnmarshalJSON ¶
func (c *MessageNotificationPolicyNotificationTypes) UnmarshalJSON(b []byte) error
func (MessageNotificationPolicyNotificationTypes) Value ¶
func (c MessageNotificationPolicyNotificationTypes) Value() string
type MessageNotificationPolicyNotificationTypesEnum ¶
type MessageNotificationPolicyNotificationTypesEnum struct { SUCCESS MessageNotificationPolicyNotificationTypes FAILED MessageNotificationPolicyNotificationTypes }
func GetMessageNotificationPolicyNotificationTypesEnum ¶
func GetMessageNotificationPolicyNotificationTypesEnum() MessageNotificationPolicyNotificationTypesEnum
type MetaStoreId ¶
type MetaStoreId struct { }
MetaStoreId Metastore信息,LakeFormation服务的实例Id,即MetaStoreId。
func (MetaStoreId) String ¶
func (o MetaStoreId) String() string
type MetricsEnable ¶
type MetricsEnable struct { }
MetricsEnable 是否开启AOM监控采集。
func (MetricsEnable) String ¶
func (o MetricsEnable) String() string
type ModelConfig ¶
type ModelConfig struct {
LlmModelConfig *LlmModelConfig `json:"llm_model_config,omitempty"`
}
ModelConfig 模型配置
func (ModelConfig) String ¶
func (o ModelConfig) String() string
type ModelInfo ¶
type ModelInfo struct { // 可见性: - PRIVATE:私有 - PUBLIC:公共 默认为PRIVATE Visibility *string `json:"visibility,omitempty"` // 模型ID,32~36位的英文、数字、短横组合 Id *string `json:"id,omitempty"` // 一个Model的名称,只能包含中文、字母、数字、下划线、中划线、点、空格 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` Type *ModelType `json:"type,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` CurrentVersion *ModelVersionInfo `json:"current_version,omitempty"` CreateUser *User `json:"create_user,omitempty"` UpdateUser *User `json:"update_user,omitempty"` }
ModelInfo 模型详情信息
type ModelType ¶
type ModelType struct {
// contains filtered or unexported fields
}
ModelType 模型的类型,可选值: - LLM_MODEL:大语言模型
func (ModelType) MarshalJSON ¶
func (*ModelType) UnmarshalJSON ¶
type ModelTypeEnum ¶
type ModelTypeEnum struct {
LLM_MODEL ModelType
}
func GetModelTypeEnum ¶
func GetModelTypeEnum() ModelTypeEnum
type ModelVersionId ¶
type ModelVersionId struct { }
ModelVersionId 模型版本ID,32~36位的英文、数字、短横组合,系统自动生成无法修改,输入不生效。
func (ModelVersionId) String ¶
func (o ModelVersionId) String() string
type ModelVersionInfo ¶
type ModelVersionInfo struct { // 模型版本ID,32~36位的英文、数字、短横组合,系统自动生成无法修改,输入不生效。 Id *string `json:"id,omitempty"` // 模型版本名称, 只能包含中文、字母、数字、下划线、中划线、点、空格 Name string `json:"name"` // cap白名单 CapWhiteList *[]string `json:"cap_white_list,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` Config *ModelConfig `json:"config"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` CreateUser *User `json:"create_user,omitempty"` }
ModelVersionInfo Model Version详情信息
func (ModelVersionInfo) String ¶
func (o ModelVersionInfo) String() string
type ModelVersionInput ¶
type ModelVersionInput struct { // 模型版本名称, 只能包含中文、字母、数字、下划线、中划线、点、空格 Name string `json:"name"` // 描述信息 Description *string `json:"description,omitempty"` Config *ModelConfig `json:"config,omitempty"` }
ModelVersionInput 每个版本的详细信息
func (ModelVersionInput) String ¶
func (o ModelVersionInput) String() string
type ModelVersionName ¶
type ModelVersionName struct { }
ModelVersionName 模型版本名称, 只能包含中文、字母、数字、下划线、中划线、点、空格
func (ModelVersionName) String ¶
func (o ModelVersionName) String() string
type RayResource ¶
type RayResource struct { HeadGroupSpec *HeadGroupSpec `json:"head_group_spec,omitempty"` // Ray worker group配置 WorkerGroupSpec *[]WorkerGroupSpec `json:"worker_group_spec,omitempty"` }
RayResource Ray资源配置
func (RayResource) String ¶
func (o RayResource) String() string
type RayResourceInfo ¶
type RayResourceInfo struct { HeadGroupSpec *HeadGroupSpec `json:"head_group_spec,omitempty"` // Ray worker group配置 WorkerGroupSpec *[]WorkerGroupSpec `json:"worker_group_spec,omitempty"` }
RayResourceInfo Ray资源配置
func (RayResourceInfo) String ¶
func (o RayResourceInfo) String() string
type RayResourceInput ¶
type RayResourceInput struct { HeadNodeResource *HeadNodeResourceDemand `json:"head_node_resource"` // 工作节点资源配置 WorkNodeResources []WorkNodeResourceDemand `json:"work_node_resources"` }
RayResourceInput 创建ray集群的资源配置
func (RayResourceInput) String ¶
func (o RayResourceInput) String() string
type ReservedResource ¶
type ReservedResource struct { Apu *ResourceDef `json:"apu,omitempty"` Dpu *ResourceDef `json:"dpu,omitempty"` Mu *ResourceDemand `json:"mu,omitempty"` }
ReservedResource 通用预留资源
func (ReservedResource) String ¶
func (o ReservedResource) String() string
type ResourceDef ¶
type ResourceDef struct { // 资源规格编码,从查询规格列表ListSpecs接口获取 SpecCode string `json:"spec_code"` // 预热资源量 WarmUpNum int32 `json:"warm_up_num"` // 最大资源量,不填默认为预热资源量,即不使用弹性资源 MaxNum *int32 `json:"max_num,omitempty"` }
func (ResourceDef) String ¶
func (o ResourceDef) String() string
type ResourceDemand ¶
type ResourceDemand struct { // 资源规格,从规格列表查询获取。 SpecCode string `json:"spec_code"` // 最小数 Min int32 `json:"min"` // 最大数 Max int32 `json:"max"` }
ResourceDemand 资源需求量配置
func (ResourceDemand) String ¶
func (o ResourceDemand) String() string
type ResourceDescription ¶
type ResourceDescription struct { }
ResourceDescription 描述信息
func (ResourceDescription) String ¶
func (o ResourceDescription) String() string
type ResourceTag ¶
type ResourceTag struct { // 键 Key string `json:"key"` // 值 Value *string `json:"value,omitempty"` }
ResourceTag 资源标签。
func (ResourceTag) String ¶
func (o ResourceTag) String() string
type ResourceTagParam ¶
type ResourceTagParam struct { // 资源标签的键。 Key string `json:"key"` // 资源标签的值列表。 Values *[]string `json:"values,omitempty"` }
ResourceTagParam 标签查询参数。
func (ResourceTagParam) String ¶
func (o ResourceTagParam) String() string
type ResourceType ¶
type ResourceType struct { }
ResourceType 资源类型
func (ResourceType) String ¶
func (o ResourceType) String() string
type ShowAdminHealthCheckRequest ¶
type ShowAdminHealthCheckRequest struct { }
ShowAdminHealthCheckRequest Request Object
func (ShowAdminHealthCheckRequest) String ¶
func (o ShowAdminHealthCheckRequest) String() string
type ShowAdminHealthCheckResponse ¶
type ShowAdminHealthCheckResponse struct {
HttpStatusCode int `json:"-"`
}
ShowAdminHealthCheckResponse Response Object
func (ShowAdminHealthCheckResponse) String ¶
func (o ShowAdminHealthCheckResponse) String() string
type ShowAgreementRequest ¶
type ShowAgreementRequest struct { }
ShowAgreementRequest Request Object
func (ShowAgreementRequest) String ¶
func (o ShowAgreementRequest) String() string
type ShowAgreementResponse ¶
type ShowAgreementResponse struct { // 租户协议列表 Agreements *[]TenantAgreement `json:"agreements,omitempty"` HttpStatusCode int `json:"-"` }
ShowAgreementResponse Response Object
func (ShowAgreementResponse) String ¶
func (o ShowAgreementResponse) String() string
type ShowAgreementRuleRequest ¶
type ShowAgreementRuleRequest struct { }
ShowAgreementRuleRequest Request Object
func (ShowAgreementRuleRequest) String ¶
func (o ShowAgreementRuleRequest) String() string
type ShowAgreementRuleResponse ¶
type ShowAgreementRuleResponse struct { // 系统协议列表 AgreementRules *[]AgreementRule `json:"agreement_rules,omitempty"` HttpStatusCode int `json:"-"` }
ShowAgreementRuleResponse Response Object
func (ShowAgreementRuleResponse) String ¶
func (o ShowAgreementRuleResponse) String() string
type ShowEndpointRequest ¶
type ShowEndpointRequest struct { // Workspace的ID WorkspaceId string `json:"workspace_id"` // Endpoint的ID EndpointId string `json:"endpoint_id"` // 查询endpoint信息的版本:CURRENT-当前版本,PREVIOUS-上个版本 Version *string `json:"version,omitempty"` }
ShowEndpointRequest Request Object
func (ShowEndpointRequest) String ¶
func (o ShowEndpointRequest) String() string
type ShowEndpointResponse ¶
type ShowEndpointResponse struct { // 可见性: - PRIVATE:私有 - PUBLIC:公共 默认为PRIVATE Visibility *string `json:"visibility,omitempty"` // Endpoint Id,32~36位的英文、数字、短横组合。 Id string `json:"id"` // 一个Endpoint名称,只能包含中文、字母、数字、下划线、中划线、点、空格 Name string `json:"name"` Type *EndpointType `json:"type"` Status *EndpointStatus `json:"status"` // 描述信息 Description *string `json:"description,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time"` Owner *User `json:"owner"` Cap *CapRef `json:"cap,omitempty"` ReservedResource *ReservedResource `json:"reserved_resource,omitempty"` RayResource *RayResourceInfo `json:"ray_resource,omitempty"` // 失败状态时的错误编码 ErrorCode *string `json:"error_code,omitempty"` // 失败状态时的错误信息 ErrorMsg *string `json:"error_msg,omitempty"` // 调用地址 Urls *[]Url `json:"urls,omitempty"` LogConfig *LogConfigInfo `json:"log_config,omitempty"` // 引擎实例id列表 BusinessEngineInstanceIds *[]string `json:"business_engine_instance_ids,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
ShowEndpointResponse Response Object
func (ShowEndpointResponse) String ¶
func (o ShowEndpointResponse) String() string
type Spec ¶
type Spec struct { // 资源规格,从规格列表查询获取。 SpecCode *string `json:"spec_code,omitempty"` SpecType *SpecType `json:"spec_type,omitempty"` // 资源类型 ResourceType *string `json:"resource_type,omitempty"` // 步长 Stride *int32 `json:"stride,omitempty"` // 单位 Unit *string `json:"unit,omitempty"` // 资源步数,最小为10000,步长为1。输入范围还需要满足规格列表接口的步长白名单 MinStrideNum *int32 `json:"min_stride_num,omitempty"` // 资源步数,最小为10000,步长为1。输入范围还需要满足规格列表接口的步长白名单 MaxStrideNum *int32 `json:"max_stride_num,omitempty"` // 使用量单位标识 UsageMeasureId *int32 `json:"usage_measure_id,omitempty"` // 使用量因子 UsageFactor *string `json:"usage_factor,omitempty"` // 步数白名单,返回时,步数必须是白名单中的值 StrideNumWhitelist *[]int32 `json:"stride_num_whitelist,omitempty"` }
Spec 规格信息
type SpecScenario ¶
type SpecScenario struct {
// contains filtered or unexported fields
}
SpecScenario 规格使用场景,不填表示不限制: COMPUTE: 用于购买Ray计算资源时配置的物理节点规格 ENDPOINT: 用于创建Endpoint时配置的资源组规格大小
func (SpecScenario) MarshalJSON ¶
func (c SpecScenario) MarshalJSON() ([]byte, error)
func (*SpecScenario) UnmarshalJSON ¶
func (c *SpecScenario) UnmarshalJSON(b []byte) error
func (SpecScenario) Value ¶
func (c SpecScenario) Value() string
type SpecScenarioEnum ¶
type SpecScenarioEnum struct { COMPUTE SpecScenario ENDPOINT SpecScenario }
func GetSpecScenarioEnum ¶
func GetSpecScenarioEnum() SpecScenarioEnum
type SpecStrideNum ¶
type SpecStrideNum struct { }
SpecStrideNum 资源步数,最小为10000,步长为1。输入范围还需要满足规格列表接口的步长白名单
func (SpecStrideNum) String ¶
func (o SpecStrideNum) String() string
type SpecType ¶
type SpecType struct {
// contains filtered or unexported fields
}
SpecType 资源规格类型: 1.APU:APU类型, 2.DPU:DPU类型, 3.MU:MU类型, 4.RESOURCE_USAGE_UNIT:资源使用量类型, 5.TOKENS_USAGE_UNIT:Tokens数使用量类型
func (SpecType) MarshalJSON ¶
func (*SpecType) UnmarshalJSON ¶
type SpecTypeEnum ¶
type SpecTypeEnum struct { APU SpecType DPU SpecType MU SpecType RESOURCE_USAGE_UNIT SpecType TOKENS_USAGE_UNIT SpecType }
func GetSpecTypeEnum ¶
func GetSpecTypeEnum() SpecTypeEnum
type SubscribeEndpointRequest ¶
type SubscribeEndpointRequest struct { // Workspace的ID WorkspaceId string `json:"workspace_id"` // Endpoint的ID EndpointId string `json:"endpoint_id"` }
SubscribeEndpointRequest Request Object
func (SubscribeEndpointRequest) String ¶
func (o SubscribeEndpointRequest) String() string
type SubscribeEndpointResponse ¶
type SubscribeEndpointResponse struct {
HttpStatusCode int `json:"-"`
}
SubscribeEndpointResponse Response Object
func (SubscribeEndpointResponse) String ¶
func (o SubscribeEndpointResponse) String() string
type SystemTagParam ¶
type SystemTagParam struct { // 键,固定值。 Key string `json:"key"` // 系统标签的值列表。 Values []string `json:"values"` }
SystemTagParam 系统标签查询参数。
func (SystemTagParam) String ¶
func (o SystemTagParam) String() string
type TagFabricWorkspace ¶
type TagFabricWorkspace struct { // workspace的ID ResourceId *string `json:"resource_id,omitempty"` // 资源详情。 资源对象,用于扩展。默认为空。 ResourceDetail *interface{} `json:"resource_detail,omitempty"` // workspace名称 ResourceName *string `json:"resource_name,omitempty"` // 标签列表,没有标签默认为空数组。 Tags *[]ResourceTag `json:"tags,omitempty"` SysTags *[]SystemTag `json:"sys_tags,omitempty"` }
TagFabricWorkspace FabricWorkspace列表响应体。
func (TagFabricWorkspace) String ¶
func (o TagFabricWorkspace) String() string
type TagMatch ¶
type TagMatch struct { // 键。第一期限定为resource_name,后续扩展。 Key string `json:"key"` // 资源标签的值。 Value *string `json:"value,omitempty"` }
TagMatch 搜索字段,key为要匹配的字段,如resource_name等。value为匹配的值。
type TenantAgreement ¶
type TenantAgreement struct { // 协议名称。只能包含字母、数字、下划线和中划线,且长度为1到64个字符 AgreementName *string `json:"agreement_name,omitempty"` // 协议版本号。只能包含字母和数字,且长度为1到32个字符 AgreementVersion *string `json:"agreement_version,omitempty"` }
TenantAgreement 租户协议
func (TenantAgreement) String ¶
func (o TenantAgreement) String() string
type TenantAgreementBody ¶
type TenantAgreementBody struct { // 租户协议列表 Agreements *[]TenantAgreement `json:"agreements,omitempty"` }
TenantAgreementBody 租户注册协议请求体
func (TenantAgreementBody) String ¶
func (o TenantAgreementBody) String() string
type UpdateEndpointRequest ¶
type UpdateEndpointRequest struct { // Workspace的ID WorkspaceId string `json:"workspace_id"` // Endpoint的ID EndpointId string `json:"endpoint_id"` Body *UpdateEndpointRequestBody `json:"body,omitempty"` }
UpdateEndpointRequest Request Object
func (UpdateEndpointRequest) String ¶
func (o UpdateEndpointRequest) String() string
type UpdateEndpointRequestBody ¶
type UpdateEndpointRequestBody struct { // 一个Endpoint名称,只能包含中文、字母、数字、下划线、中划线、点、空格 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` ReservedResource *ReservedResource `json:"reserved_resource,omitempty"` RayResource *RayResourceInput `json:"ray_resource,omitempty"` Cap *CapRef `json:"cap,omitempty"` }
func (UpdateEndpointRequestBody) String ¶
func (o UpdateEndpointRequestBody) String() string
type UpdateEndpointResponse ¶
type UpdateEndpointResponse struct { // 可见性: - PRIVATE:私有 - PUBLIC:公共 默认为PRIVATE Visibility *string `json:"visibility,omitempty"` // Endpoint Id,32~36位的英文、数字、短横组合。 Id string `json:"id"` // 一个Endpoint名称,只能包含中文、字母、数字、下划线、中划线、点、空格 Name string `json:"name"` Type *EndpointType `json:"type"` Status *EndpointStatus `json:"status"` // 描述信息 Description *string `json:"description,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time"` Owner *User `json:"owner"` Cap *CapRef `json:"cap,omitempty"` ReservedResource *ReservedResource `json:"reserved_resource,omitempty"` RayResource *RayResourceInfo `json:"ray_resource,omitempty"` // 失败状态时的错误编码 ErrorCode *string `json:"error_code,omitempty"` // 失败状态时的错误信息 ErrorMsg *string `json:"error_msg,omitempty"` // 调用地址 Urls *[]Url `json:"urls,omitempty"` LogConfig *LogConfigInfo `json:"log_config,omitempty"` // 引擎实例id列表 BusinessEngineInstanceIds *[]string `json:"business_engine_instance_ids,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateEndpointResponse Response Object
func (UpdateEndpointResponse) String ¶
func (o UpdateEndpointResponse) String() string
type UpdateMetricsConfigInput ¶
type UpdateMetricsConfigInput struct { // 是否开启AOM监控采集。 Enable bool `json:"enable"` }
UpdateMetricsConfigInput 更新AOM监控配置
func (UpdateMetricsConfigInput) String ¶
func (o UpdateMetricsConfigInput) String() string
type UpdateMetricsConfigRequest ¶
type UpdateMetricsConfigRequest struct { // Workspace的ID WorkspaceId string `json:"workspace_id"` Body *UpdateMetricsConfigInput `json:"body,omitempty"` }
UpdateMetricsConfigRequest Request Object
func (UpdateMetricsConfigRequest) String ¶
func (o UpdateMetricsConfigRequest) String() string
type UpdateMetricsConfigResponse ¶
type UpdateMetricsConfigResponse struct {
HttpStatusCode int `json:"-"`
}
UpdateMetricsConfigResponse Response Object
func (UpdateMetricsConfigResponse) String ¶
func (o UpdateMetricsConfigResponse) String() string
type UpdateModelDefinitionRequest ¶
type UpdateModelDefinitionRequest struct { // 工作空间ID WorkspaceId string `json:"workspace_id"` // Service ID ModelId string `json:"model_id"` Body *UpdateModelInput `json:"body,omitempty"` }
UpdateModelDefinitionRequest Request Object
func (UpdateModelDefinitionRequest) String ¶
func (o UpdateModelDefinitionRequest) String() string
type UpdateModelDefinitionResponse ¶
type UpdateModelDefinitionResponse struct { // 可见性: - PRIVATE:私有 - PUBLIC:公共 默认为PRIVATE Visibility *string `json:"visibility,omitempty"` // 模型ID,32~36位的英文、数字、短横组合 Id *string `json:"id,omitempty"` // 一个Model的名称,只能包含中文、字母、数字、下划线、中划线、点、空格 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` Type *ModelType `json:"type,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 更新时间 UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"` CurrentVersion *ModelVersionInfo `json:"current_version,omitempty"` CreateUser *User `json:"create_user,omitempty"` UpdateUser *User `json:"update_user,omitempty"` HttpStatusCode int `json:"-"` }
UpdateModelDefinitionResponse Response Object
func (UpdateModelDefinitionResponse) String ¶
func (o UpdateModelDefinitionResponse) String() string
type UpdateModelInput ¶
type UpdateModelInput struct { // 一个Model的名称,只能包含中文、字母、数字、下划线、中划线、点、空格 Name *string `json:"name,omitempty"` // 描述信息 Description *string `json:"description,omitempty"` // 模型版本ID,32~36位的英文、数字、短横组合,系统自动生成无法修改,输入不生效。 CurrentVersionId *string `json:"current_version_id,omitempty"` Version *ModelVersionInput `json:"version,omitempty"` }
UpdateModelInput 更新模型的输入请求
func (UpdateModelInput) String ¶
func (o UpdateModelInput) String() string
type UpdateTime ¶
type UpdateTime struct { }
UpdateTime 更新时间
func (UpdateTime) String ¶
func (o UpdateTime) String() string
type UpdateWorkspaceRequest ¶
type UpdateWorkspaceRequest struct { // 工作空间ID WorkspaceId string `json:"workspace_id"` Body *UpdateWorkspaceRequestInput `json:"body,omitempty"` }
UpdateWorkspaceRequest Request Object
func (UpdateWorkspaceRequest) String ¶
func (o UpdateWorkspaceRequest) String() string
type UpdateWorkspaceRequestInput ¶
type UpdateWorkspaceRequestInput struct { // 工作空间名称。 Name *string `json:"name,omitempty"` // 描述。用户输入的描述,最长为255个字符。 Description *string `json:"description,omitempty"` // Metastore信息,LakeFormation服务的实例Id,即MetaStoreId。 MetastoreId *string `json:"metastore_id,omitempty"` }
UpdateWorkspaceRequestInput 更新Workspace的请求体。
func (UpdateWorkspaceRequestInput) String ¶
func (o UpdateWorkspaceRequestInput) String() string
type UpdateWorkspaceResponse ¶
type UpdateWorkspaceResponse struct { // 工作空间ID。 Id *string `json:"id,omitempty"` // 工作空间名称。 Name *string `json:"name,omitempty"` // 描述。用户输入的描述,最长为255个字符。 Description *string `json:"description,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 创建账号名称。 CreateDomainName *string `json:"create_domain_name,omitempty"` // 创建用户名称。 CreateUserName *string `json:"create_user_name,omitempty"` // Metastore信息,LakeFormation服务的实例Id,即MetaStoreId。 MetastoreId *string `json:"metastore_id,omitempty"` // 访问资源地址 AccessUrl *string `json:"access_url,omitempty"` // 企业项目ID,只有对接了企业项目才可以填写。只能包含字母、数字和中划线,且长度为1到64个字符。默认是0,即default EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` XRequestId *string `json:"X-request-id,omitempty"` HttpStatusCode int `json:"-"` }
UpdateWorkspaceResponse Response Object
func (UpdateWorkspaceResponse) String ¶
func (o UpdateWorkspaceResponse) String() string
type Url ¶
type Url struct { // Url名称,其中ApiInvoke表示endpoint相关功能restful接口,其他名称的意义可以从cap信息中获取 Name *string `json:"name,omitempty"` // Url地址 Address *string `json:"address,omitempty"` // 类型,PUBLIC为公网地址,PRIVATE为内网地址 Type *UrlType `json:"type,omitempty"` // Token Token *string `json:"token,omitempty"` }
Url Url信息
type UrlType ¶
type UrlType struct {
// contains filtered or unexported fields
}
func (UrlType) MarshalJSON ¶
func (*UrlType) UnmarshalJSON ¶
type UrlTypeEnum ¶
func GetUrlTypeEnum ¶
func GetUrlTypeEnum() UrlTypeEnum
type UsageFactor ¶
type UsageFactor struct { }
UsageFactor 使用量因子
func (UsageFactor) String ¶
func (o UsageFactor) String() string
type UsageMeasureId ¶
type UsageMeasureId struct { }
UsageMeasureId 使用量单位标识
func (UsageMeasureId) String ¶
func (o UsageMeasureId) String() string
type User ¶
type User struct { // 账户名称 DomainName *string `json:"domain_name,omitempty"` // 账号ID DomainId *string `json:"domain_id,omitempty"` // 用户名称 UserName *string `json:"user_name,omitempty"` // 用户ID UserId *string `json:"user_id,omitempty"` }
User 租户信息
type VisibilityBody ¶
type VisibilityBody struct { // 可见性: - PRIVATE:私有 - PUBLIC:公共 默认为PRIVATE Visibility *string `json:"visibility,omitempty"` }
VisibilityBody 可见性: - PRIVATE:私有 - PUBLIC:公共 默认为PRIVATE
func (VisibilityBody) String ¶
func (o VisibilityBody) String() string
type WorkNodeResourceDemand ¶
type WorkNodeResourceDemand struct { // 资源配置名称 Name string `json:"name"` Resource *ResourceDemand `json:"resource"` }
WorkNodeResourceDemand ray集群工作节点资源需求量
func (WorkNodeResourceDemand) String ¶
func (o WorkNodeResourceDemand) String() string
type WorkSpaceDescription ¶
type WorkSpaceDescription struct { }
WorkSpaceDescription 描述。用户输入的描述,最长为255个字符。
func (WorkSpaceDescription) String ¶
func (o WorkSpaceDescription) String() string
type WorkSpaceId ¶
type WorkSpaceId struct { }
WorkSpaceId 工作空间ID。
func (WorkSpaceId) String ¶
func (o WorkSpaceId) String() string
type WorkSpaceName ¶
type WorkSpaceName struct { }
WorkSpaceName 工作空间名称。
func (WorkSpaceName) String ¶
func (o WorkSpaceName) String() string
type WorkerGroupSpec ¶
type WorkerGroupSpec struct { // 名称 Name *string `json:"name,omitempty"` // 资源规格,从规格列表查询获取。 SpecCode *string `json:"spec_code,omitempty"` // 最小副本数 MinReplicas *int32 `json:"min_replicas,omitempty"` // 最大副本数 MaxReplicas *int32 `json:"max_replicas,omitempty"` }
WorkerGroupSpec Ray worker配置信息
func (WorkerGroupSpec) String ¶
func (o WorkerGroupSpec) String() string
type Workspace ¶
type Workspace struct { // 工作空间ID。 Id *string `json:"id,omitempty"` // 工作空间名称。 Name *string `json:"name,omitempty"` // 描述。用户输入的描述,最长为255个字符。 Description *string `json:"description,omitempty"` // 创建时间 CreateTime *sdktime.SdkTime `json:"create_time,omitempty"` // 创建账号名称。 CreateDomainName *string `json:"create_domain_name,omitempty"` // 创建用户名称。 CreateUserName *string `json:"create_user_name,omitempty"` // Metastore信息,LakeFormation服务的实例Id,即MetaStoreId。 MetastoreId *string `json:"metastore_id,omitempty"` // 访问资源地址 AccessUrl *string `json:"access_url,omitempty"` // 企业项目ID,只有对接了企业项目才可以填写。只能包含字母、数字和中划线,且长度为1到64个字符。默认是0,即default EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"` }
Workspace workspace详细信息
Source Files ¶
- model_agency_policy.go
- model_agency_type_body.go
- model_agreement_rule.go
- model_base_model.go
- model_base_model_type.go
- model_batch_create_fabric_workspace_tags_request.go
- model_batch_create_fabric_workspace_tags_response.go
- model_batch_create_tags_request_body.go
- model_batch_delete_fabric_workspace_tags_request.go
- model_batch_delete_fabric_workspace_tags_response.go
- model_batch_delete_tags_request_body.go
- model_cap_id.go
- model_cap_ref.go
- model_cap_version_id.go
- model_cleanup_model_request.go
- model_cleanup_model_response.go
- model_count_tag_fabric_workspaces_request.go
- model_count_tag_fabric_workspaces_response.go
- model_create_agency_request.go
- model_create_agency_response.go
- model_create_agreement_request.go
- model_create_agreement_response.go
- model_create_endpoint_request.go
- model_create_endpoint_response.go
- model_create_message_notification_policy.go
- model_create_message_notification_policy_request.go
- model_create_message_notification_policy_request_body.go
- model_create_message_notification_policy_response.go
- model_create_model_definition_request.go
- model_create_model_definition_response.go
- model_create_model_input.go
- model_create_time.go
- model_create_workspace_request.go
- model_create_workspace_request_input.go
- model_create_workspace_response.go
- model_delete_agency_request.go
- model_delete_agency_response.go
- model_delete_agreement_request.go
- model_delete_agreement_response.go
- model_delete_endpoint_request.go
- model_delete_endpoint_response.go
- model_delete_message_notification_policy_request.go
- model_delete_message_notification_policy_response.go
- model_delete_model_version_request.go
- model_delete_model_version_response.go
- model_delete_resource_tag.go
- model_delete_workspace_request.go
- model_delete_workspace_response.go
- model_description.go
- model_endpoint_brief_info.go
- model_endpoint_id.go
- model_endpoint_input.go
- model_endpoint_name.go
- model_endpoint_status.go
- model_endpoint_type.go
- model_enterprise_project_id.go
- model_feature.go
- model_head_group_spec.go
- model_head_node_resource_demand.go
- model_list_agency_request.go
- model_list_agency_response.go
- model_list_base_models_request.go
- model_list_base_models_response.go
- model_list_endpoints_request.go
- model_list_endpoints_response.go
- model_list_fabric_project_tags_request.go
- model_list_fabric_project_tags_response.go
- model_list_fabric_workspace_tags_request.go
- model_list_fabric_workspace_tags_response.go
- model_list_features_request.go
- model_list_features_response.go
- model_list_message_notification_policy_request.go
- model_list_message_notification_policy_response.go
- model_list_model_versions_request.go
- model_list_model_versions_response.go
- model_list_models_request.go
- model_list_models_response.go
- model_list_specs_request.go
- model_list_specs_response.go
- model_list_tag_fabric_workspaces_request.go
- model_list_tag_fabric_workspaces_response.go
- model_list_tag_workspaces_request_body.go
- model_list_workspaces_request.go
- model_list_workspaces_response.go
- model_llm_model_config.go
- model_log_config.go
- model_log_config_info.go
- model_log_stream.go
- model_message_notification_policy.go
- model_meta_store_id.go
- model_metrics_enable.go
- model_model_config.go
- model_model_id.go
- model_model_info.go
- model_model_name.go
- model_model_type.go
- model_model_version_id.go
- model_model_version_info.go
- model_model_version_input.go
- model_model_version_name.go
- model_ray_resource.go
- model_ray_resource_info.go
- model_ray_resource_input.go
- model_reserved_resource.go
- model_resource_def.go
- model_resource_demand.go
- model_resource_description.go
- model_resource_tag.go
- model_resource_tag_param.go
- model_resource_type.go
- model_show_admin_health_check_request.go
- model_show_admin_health_check_response.go
- model_show_agreement_request.go
- model_show_agreement_response.go
- model_show_agreement_rule_request.go
- model_show_agreement_rule_response.go
- model_show_endpoint_request.go
- model_show_endpoint_response.go
- model_spec.go
- model_spec_code.go
- model_spec_scenario.go
- model_spec_stride_num.go
- model_spec_type.go
- model_spec_unit.go
- model_stride.go
- model_subscribe_endpoint_request.go
- model_subscribe_endpoint_response.go
- model_system_tag.go
- model_system_tag_param.go
- model_tag_fabric_workspace.go
- model_tag_match.go
- model_tenant_agreement.go
- model_tenant_agreement_body.go
- model_update_endpoint_request.go
- model_update_endpoint_request_body.go
- model_update_endpoint_response.go
- model_update_metrics_config_input.go
- model_update_metrics_config_request.go
- model_update_metrics_config_response.go
- model_update_model_definition_request.go
- model_update_model_definition_response.go
- model_update_model_input.go
- model_update_time.go
- model_update_workspace_request.go
- model_update_workspace_request_input.go
- model_update_workspace_response.go
- model_url.go
- model_usage_factor.go
- model_usage_measure_id.go
- model_user.go
- model_visibility_body.go
- model_work_node_resource_demand.go
- model_work_space_description.go
- model_work_space_id.go
- model_work_space_name.go
- model_worker_group_spec.go
- model_workspace.go