hpfs

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2025 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const EndpointName = "hpfs"

Variables

This section is empty.

Functions

This section is empty.

Types

type Apis

type Apis struct {
	HpfsNewSfsApi                *HpfsNewSfsApi
	HpfsInfoSfsApi               *HpfsInfoSfsApi
	HpfsInfoByNameSfsApi         *HpfsInfoByNameSfsApi
	HpfsRefundSfsApi             *HpfsRefundSfsApi
	HpfsResizeSfsApi             *HpfsResizeSfsApi
	HpfsListClusterApi           *HpfsListClusterApi
	HpfsListBaselineApi          *HpfsListBaselineApi
	HpfsListRegionApi            *HpfsListRegionApi
	HpfsListZoneApi              *HpfsListZoneApi
	HpfsCountQuotaApi            *HpfsCountQuotaApi
	HpfsCapacityQuotaApi         *HpfsCapacityQuotaApi
	HpfsDataflowQuotaApi         *HpfsDataflowQuotaApi
	HpfsRenameSfsApi             *HpfsRenameSfsApi
	HpfsInfoDirectoryApi         *HpfsInfoDirectoryApi
	HpfsNewDirectoryApi          *HpfsNewDirectoryApi
	HpfsListSfsByClusterApi      *HpfsListSfsByClusterApi
	HpfsListSfsBySfstypeApi      *HpfsListSfsBySfstypeApi
	HpfsListClusterByDeviceApi   *HpfsListClusterByDeviceApi
	HpfsListSfsApi               *HpfsListSfsApi
	HpfsListDataflowApi          *HpfsListDataflowApi
	HpfsInfoDataflowApi          *HpfsInfoDataflowApi
	HpfsNewDataflowApi           *HpfsNewDataflowApi
	HpfsUpdateDataflowApi        *HpfsUpdateDataflowApi
	HpfsDeleteDataflowApi        *HpfsDeleteDataflowApi
	HpfsNewDataflowtaskApi       *HpfsNewDataflowtaskApi
	HpfsListDataflowtaskApi      *HpfsListDataflowtaskApi
	HpfsInfoDataflowtaskApi      *HpfsInfoDataflowtaskApi
	HpfsNewProtocolServiceApi    *HpfsNewProtocolServiceApi
	HpfsDeleteProtocolServiceApi *HpfsDeleteProtocolServiceApi
	HpfsListProtocolServiceApi   *HpfsListProtocolServiceApi
	HpfsInfoProtocolServiceApi   *HpfsInfoProtocolServiceApi
}

func NewApis

func NewApis(endpointUrl string, client *core.CtyunClient) *Apis

type HpfsCapacityQuotaApi

type HpfsCapacityQuotaApi struct {
	// contains filtered or unexported fields
}

func NewHpfsCapacityQuotaApi

func NewHpfsCapacityQuotaApi(client *core.CtyunClient) *HpfsCapacityQuotaApi

func (*HpfsCapacityQuotaApi) Do

type HpfsCapacityQuotaRequest

type HpfsCapacityQuotaRequest struct {
	RegionID string `json:"regionID,omitempty"` /*  资源池 ID  */
}

type HpfsCapacityQuotaResponse

type HpfsCapacityQuotaResponse struct {
	StatusCode  int32                               `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                              `json:"message"`     /*  响应描述  */
	Description string                              `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsCapacityQuotaReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                              `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                              `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsCapacityQuotaReturnObjResponse

type HpfsCapacityQuotaReturnObjResponse struct {
	TotalCapacityQuota int32 `json:"totalCapacityQuota"` /*  总容量配额,单位GB,-1表示无限制  */
	UsedCapacityQuota  int32 `json:"usedCapacityQuota"`  /*  已使⽤容量配额,单位GB  */
	AvlCapacityQuota   int32 `json:"avlCapacityQuota"`   /*  剩余容量配额,单位GB,-1表示无限制  */
}

type HpfsCountQuotaApi

type HpfsCountQuotaApi struct {
	// contains filtered or unexported fields
}

func NewHpfsCountQuotaApi

func NewHpfsCountQuotaApi(client *core.CtyunClient) *HpfsCountQuotaApi

func (*HpfsCountQuotaApi) Do

type HpfsCountQuotaRequest

type HpfsCountQuotaRequest struct {
	RegionID string `json:"regionID,omitempty"` /*  资源池 ID  */
}

type HpfsCountQuotaResponse

type HpfsCountQuotaResponse struct {
	StatusCode  int32                            `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                           `json:"message"`     /*  响应描述  */
	Description string                           `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsCountQuotaReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                           `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                           `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsCountQuotaReturnObjResponse

type HpfsCountQuotaReturnObjResponse struct {
	AvlCountQuota   int32 `json:"avlCountQuota"`   /*  可用并行文件配额数量  */
	UsedCountQuota  int32 `json:"usedCountQuota"`  /*  已用并行文件配额数量  */
	TotalCountQuota int32 `json:"totalCountQuota"` /*  并行文件配额总数量  */
}

type HpfsDataflowQuotaApi

type HpfsDataflowQuotaApi struct {
	// contains filtered or unexported fields
}

func NewHpfsDataflowQuotaApi

func NewHpfsDataflowQuotaApi(client *core.CtyunClient) *HpfsDataflowQuotaApi

func (*HpfsDataflowQuotaApi) Do

type HpfsDataflowQuotaRequest

type HpfsDataflowQuotaRequest struct {
	RegionID string `json:"regionID,omitempty"` /*  资源池 ID  */
	SfsUID   string `json:"sfsUID,omitempty"`   /*  并行文件唯一ID  */
}

type HpfsDataflowQuotaResponse

type HpfsDataflowQuotaResponse struct {
	StatusCode  int32                               `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                              `json:"message"`     /*  响应描述  */
	Description string                              `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsDataflowQuotaReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                              `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                              `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsDataflowQuotaReturnObjResponse

type HpfsDataflowQuotaReturnObjResponse struct {
	TotalDataflowQuota int32 `json:"totalDataflowQuota"` /*  文件系统数据流动策略配额总数  */
	UsedDataflowQuota  int32 `json:"usedDataflowQuota"`  /*  文件系统已用数据流动策略配额数  */
	AvlDataflowQuota   int32 `json:"avlDataflowQuota"`   /*  文件系统剩余可用数据流动策略配额数  */
}

type HpfsDeleteDataflowApi

type HpfsDeleteDataflowApi struct {
	// contains filtered or unexported fields
}

func NewHpfsDeleteDataflowApi

func NewHpfsDeleteDataflowApi(client *core.CtyunClient) *HpfsDeleteDataflowApi

func (*HpfsDeleteDataflowApi) Do

type HpfsDeleteDataflowRequest

type HpfsDeleteDataflowRequest struct {
	RegionID   string `json:"regionID,omitempty"`   /*  资源池 ID  */
	DataflowID string `json:"dataflowID,omitempty"` /*  数据流动策略ID  */
}

type HpfsDeleteDataflowResponse

type HpfsDeleteDataflowResponse struct {
	StatusCode  int32                                `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                               `json:"message"`     /*  响应描述  */
	Description string                               `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsDeleteDataflowReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                               `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                               `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsDeleteDataflowReturnObjResponse

type HpfsDeleteDataflowReturnObjResponse struct {
	RegionID string `json:"regionID"` /*  资源所属资源池 ID  */
}

type HpfsDeleteProtocolServiceApi

type HpfsDeleteProtocolServiceApi struct {
	// contains filtered or unexported fields
}

func NewHpfsDeleteProtocolServiceApi

func NewHpfsDeleteProtocolServiceApi(client *core.CtyunClient) *HpfsDeleteProtocolServiceApi

func (*HpfsDeleteProtocolServiceApi) Do

type HpfsDeleteProtocolServiceRequest

type HpfsDeleteProtocolServiceRequest struct {
	RegionID          string `json:"regionID,omitempty"`          /*  资源池 ID  */
	ProtocolServiceID string `json:"protocolServiceID,omitempty"` /*  协议服务唯一ID  */
}

type HpfsDeleteProtocolServiceResponse

type HpfsDeleteProtocolServiceResponse struct {
	StatusCode  int32                                       `json:"statusCode"`  /*  返回状态码(800为成功,900为处理中/失败,详见errorCode)  */
	Message     string                                      `json:"message"`     /*  响应描述  */
	Description string                                      `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsDeleteProtocolServiceReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                                      `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                                      `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsDeleteProtocolServiceReturnObjResourcesResponse

type HpfsDeleteProtocolServiceReturnObjResourcesResponse struct {
	SfsUID            string `json:"sfsUID"`            /*  并行文件内部唯一 ID  */
	ProtocolServiceID string `json:"protocolServiceID"` /*  协议服务唯一ID  */
}

type HpfsDeleteProtocolServiceReturnObjResponse

type HpfsDeleteProtocolServiceReturnObjResponse struct {
	RegionID  string                                                 `json:"regionID"`  /*  资源所属资源池 ID  */
	Resources []*HpfsDeleteProtocolServiceReturnObjResourcesResponse `json:"resources"` /*  资源明细  */
}

type HpfsInfoByNameSfsApi

type HpfsInfoByNameSfsApi struct {
	// contains filtered or unexported fields
}

func NewHpfsInfoByNameSfsApi

func NewHpfsInfoByNameSfsApi(client *core.CtyunClient) *HpfsInfoByNameSfsApi

func (*HpfsInfoByNameSfsApi) Do

type HpfsInfoByNameSfsRequest

type HpfsInfoByNameSfsRequest struct {
	SfsName  string `json:"sfsName,omitempty"`  /*  并行文件名称  */
	RegionID string `json:"regionID,omitempty"` /*  资源池 ID  */
}

type HpfsInfoByNameSfsResponse

type HpfsInfoByNameSfsResponse struct {
	StatusCode  int32                               `json:"statusCode"`  /*  返回状态码(800 为成功,900为失败)  */
	Message     string                              `json:"message"`     /*  响应描述  */
	Description string                              `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsInfoByNameSfsReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                              `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                              `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsInfoByNameSfsReturnObjResponse

type HpfsInfoByNameSfsReturnObjResponse struct {
	SfsName       string   `json:"sfsName"`       /*  并行文件命名  */
	SfsUID        string   `json:"sfsUID"`        /*  并行文件唯一 ID  */
	SfsSize       int32    `json:"sfsSize"`       /*  大小(GB)  */
	SfsType       string   `json:"sfsType"`       /*  类型,hpfs_perf(HPC性能型)  */
	SfsProtocol   string   `json:"sfsProtocol"`   /*  挂载协议,nfs/hpfs  */
	SfsStatus     string   `json:"sfsStatus"`     /*  并行文件状态  */
	UsedSize      int32    `json:"usedSize"`      /*  已用大小(MB)  */
	CreateTime    int64    `json:"createTime"`    /*  创建时刻,epoch 时戳,精度毫秒  */
	UpdateTime    int64    `json:"updateTime"`    /*  更新时刻,epoch 时戳,精度毫秒  */
	ProjectID     string   `json:"projectID"`     /*  资源所属企业项目 ID  */
	OnDemand      *bool    `json:"onDemand"`      /*  是否按需订购  */
	RegionID      string   `json:"regionID"`      /*  资源池 ID  */
	AzName        string   `json:"azName"`        /*  多可用区下的可用区名字  */
	ClusterName   string   `json:"clusterName"`   /*  集群名称  */
	Baseline      string   `json:"baseline"`      /*  性能基线(MB/s/TB)  */
	MountCount    int32    `json:"mountCount"`    /*  挂载点数量  */
	HpfsSharePath string   `json:"hpfsSharePath"` /*  HPFS文件系统共享路径(Linux)  */
	SecretKey     string   `json:"secretKey"`     /*  HPC型挂载需要的密钥  */
	DataflowList  []string `json:"dataflowList"`  /*  HPFS文件系统下的数据流动策略ID列表  */
	DataflowCount int32    `json:"dataflowCount"` /*  HPFS文件系统下的数据流动策略数量  */
}

type HpfsInfoDataflowApi

type HpfsInfoDataflowApi struct {
	// contains filtered or unexported fields
}

func NewHpfsInfoDataflowApi

func NewHpfsInfoDataflowApi(client *core.CtyunClient) *HpfsInfoDataflowApi

func (*HpfsInfoDataflowApi) Do

type HpfsInfoDataflowRequest

type HpfsInfoDataflowRequest struct {
	RegionID   string `json:"regionID,omitempty"`   /*  资源池 ID  */
	DataflowID string `json:"dataflowID,omitempty"` /*  数据流动策略ID  */
}

type HpfsInfoDataflowResponse

type HpfsInfoDataflowResponse struct {
	StatusCode  int32                              `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                             `json:"message"`     /*  响应描述  */
	Description string                             `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsInfoDataflowReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                             `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                             `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsInfoDataflowReturnObjResponse

type HpfsInfoDataflowReturnObjResponse struct {
	RegionID            string `json:"regionID"`            /*  资源池id  */
	DataflowID          string `json:"dataflowID"`          /*  数据流动策略id  */
	SfsUID              string `json:"sfsUID"`              /*  并行文件唯一id  */
	SfsDirectory        string `json:"sfsDirectory"`        /*  并行文件下目录  */
	BucketName          string `json:"bucketName"`          /*  对象存储的桶名称  */
	BucketPrefix        string `json:"bucketPrefix"`        /*  对象存储桶的前缀  */
	AutoImport          *bool  `json:"autoImport"`          /*  是否打开自动导入  */
	AutoExport          *bool  `json:"autoExport"`          /*  是否打开自动导出  */
	ImportDataType      string `json:"importDataType"`      /*  导入的数据类型  */
	ExportDataType      string `json:"exportDataType"`      /*  导出的数据类型  */
	ImportTrigger       string `json:"importTrigger"`       /*  导入的触发条件,多个条件用英文逗号隔开  */
	ExportTrigger       string `json:"exportTrigger"`       /*  导出的触发条件,多个条件用英文逗号隔开  */
	DataflowDescription string `json:"dataflowDescription"` /*  数据流动策略的描述  */
	CreateTime          int64  `json:"createTime"`          /*  数据流动策略创建时间  */
	DataflowStatus      string `json:"dataflowStatus"`      /*  数据流动策略的状态,creating/updating/available/syncing/deleting/fail/error。creating:策略创建中;updating:策略更新中;available:策略可用(未打开自动导入导出开);syncing:策略同步中(打开了自动导入或自动导出,数据持续流动中,即使没有数据正在流动也是同步中);deleting:策略删除中;fail:策略异常(异常原因可见dataflowFailMsg,该状态的策略可更新、可恢复);error:策略创建失败(异常原因可见dataflowFailMsg,该状态的策略只能删除,无法恢复,不占用配额)  */
	DataflowFailTime    int64  `json:"dataflowFailTime"`    /*  数据流动策略异常发生时间,当数据流动策略状态dataflowStatus为fail或error才有此字段  */
	DataflowFailMsg     string `json:"dataflowFailMsg"`     /*  数据流动策略异常原因,当数据流动策略状态dataflowStatus为fail或error才有此字段  */
	AzName              string `json:"azName"`              /*  多可用区下的可用区名字  */
}

type HpfsInfoDataflowtaskApi

type HpfsInfoDataflowtaskApi struct {
	// contains filtered or unexported fields
}

func NewHpfsInfoDataflowtaskApi

func NewHpfsInfoDataflowtaskApi(client *core.CtyunClient) *HpfsInfoDataflowtaskApi

func (*HpfsInfoDataflowtaskApi) Do

type HpfsInfoDataflowtaskRequest

type HpfsInfoDataflowtaskRequest struct {
	RegionID string `json:"regionID,omitempty"` /*  资源池 ID  */
	TaskID   string `json:"taskID,omitempty"`   /*  数据流动任务ID  */
}

type HpfsInfoDataflowtaskResponse

type HpfsInfoDataflowtaskResponse struct {
	StatusCode  int32                                  `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                                 `json:"message"`     /*  响应描述  */
	Description string                                 `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsInfoDataflowtaskReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                                 `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                                 `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsInfoDataflowtaskReturnObjResponse

type HpfsInfoDataflowtaskReturnObjResponse struct {
	RegionID        string `json:"regionID"`        /*  资源池id  */
	TaskID          string `json:"taskID"`          /*  数据流动任务id  */
	DataflowID      string `json:"dataflowID"`      /*  数据流动策略id  */
	SfsUID          string `json:"sfsUID"`          /*  并行文件唯一id  */
	SfsDirectory    string `json:"sfsDirectory"`    /*  并行文件下目录  */
	BucketName      string `json:"bucketName"`      /*  对象存储的桶名称  */
	BucketPrefix    string `json:"bucketPrefix"`    /*  对象存储桶的前缀  */
	TaskType        string `json:"taskType"`        /*  任务类型(import_data/import_metadata/export_data)  */
	TaskDescription string `json:"taskDescription"` /*  数据流动任务的描述  */
	TaskStatus      string `json:"taskStatus"`      /*  数据流动任务的状态,creating/executing/completed/canceling/fail。creating:任务创建中;executing:任务执行中;completed:任务已完成;canceling:任务取消中(可能是任务失败正在取消,也可能是策略删除任务正在取消);fail:任务异常(异常原因可见failMsg,异常的任务不可恢复)  */
	CreateTime      int64  `json:"createTime"`      /*  数据流动任务创建时间  */
	StartTime       int64  `json:"startTime"`       /*  数据流动任务开始时间  */
	CompleteTime    int64  `json:"completeTime"`    /*  数据流动任务完成时间  */
	CancelTime      int64  `json:"cancelTime"`      /*  数据流动任务取消时间  */
	FailTime        int64  `json:"failTime"`        /*  数据流动任务异常发生时间  */
	FailMsg         string `json:"failMsg"`         /*  数据流动任务异常原因  */
	AzName          string `json:"azName"`          /*  多可用区下的可用区名字  */
}

type HpfsInfoDirectoryApi

type HpfsInfoDirectoryApi struct {
	// contains filtered or unexported fields
}

func NewHpfsInfoDirectoryApi

func NewHpfsInfoDirectoryApi(client *core.CtyunClient) *HpfsInfoDirectoryApi

func (*HpfsInfoDirectoryApi) Do

type HpfsInfoDirectoryRequest

type HpfsInfoDirectoryRequest struct {
	RegionID     string `json:"regionID,omitempty"`     /*  资源池 ID  */
	SfsUID       string `json:"sfsUID,omitempty"`       /*  并行文件唯一ID  */
	SfsDirectory string `json:"sfsDirectory,omitempty"` /*  并行文件目录,目录名仅允许数字、字母、下划线、连接符、中文组成,每级目录最大长度为255字节,最大目录层数为1000,最大全路径长度为4096字节,如果参数为mydir/、mydir、/mydir或/mydir/,则都视为输入/mydir的目录  */
}

type HpfsInfoDirectoryResponse

type HpfsInfoDirectoryResponse struct {
	StatusCode  int32                               `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                              `json:"message"`     /*  响应描述  */
	Description string                              `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsInfoDirectoryReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                              `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                              `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsInfoDirectoryReturnObjResponse

type HpfsInfoDirectoryReturnObjResponse struct {
	SfsDirectory     string `json:"sfsDirectory"`     /*  并行文件目录  */
	SfsDirectoryMode string `json:"sfsDirectoryMode"` /*  目录权限,每位的范围为0到7。第一位表示目录所有者的权限,第二位表示目录所属用户组的权限,第三位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:755中第一位7代表该目录所有者对该目录具有读、写、执行权限;第二位5代表该目录所属用户组对该目录具有读、执行权限;第三位5代表其他用户对该目录具有读、执行权限  */
	SfsDirectoryUID  int64  `json:"sfsDirectoryUID"`  /*  目录所有者的用户id,取值范围是0到4,294,967,294(即2^32-2)  */
	SfsDirectoryGID  int64  `json:"sfsDirectoryGID"`  /*  目录所属用户组id,取值范围是0到4,294,967,294(即2^32-2)  */
}

type HpfsInfoProtocolServiceApi

type HpfsInfoProtocolServiceApi struct {
	// contains filtered or unexported fields
}

func NewHpfsInfoProtocolServiceApi

func NewHpfsInfoProtocolServiceApi(client *core.CtyunClient) *HpfsInfoProtocolServiceApi

func (*HpfsInfoProtocolServiceApi) Do

type HpfsInfoProtocolServiceRequest

type HpfsInfoProtocolServiceRequest struct {
	RegionID          string `json:"regionID,omitempty"`          /*  资源池 ID,例:100054c0416811e9a6690242ac110002  */
	ProtocolServiceID string `json:"protocolServiceID,omitempty"` /*  协议服务唯一ID  */
}

type HpfsInfoProtocolServiceResponse

type HpfsInfoProtocolServiceResponse struct {
	StatusCode  int32                                     `json:"statusCode"`  /*  返回状态码(800为成功,900为处理中/失败,详见errorCode)  */
	Message     string                                    `json:"message"`     /*  响应描述  */
	Description string                                    `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsInfoProtocolServiceReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                                    `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                                    `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsInfoProtocolServiceReturnObjResponse

type HpfsInfoProtocolServiceReturnObjResponse struct {
	RegionID              string `json:"regionID"`              /*  资源池ID  */
	SfsUID                string `json:"sfsUID"`                /*  并行文件唯一 ID  */
	AzName                string `json:"azName"`                /*  多可用区下可用区的名字  */
	ProtocolServiceID     string `json:"protocolServiceID"`     /*  协议服务唯一ID  */
	ProtocolServiceStatus string `json:"protocolServiceStatus"` /*  协议服务的状态,creating/available//deleting/create_fail/agent_err。creating:协议服务创建中;available:协议服务可用;deleting:协议服务删除中;create_fail:协议服务创建失败;agent_err:底层协议服务组件异常(该异常状态可恢复)  */
	ProtocolSpec          string `json:"protocolSpec"`          /*  协议规格  */
	ProtocolType          string `json:"protocolType"`          /*  协议类型  */
	VpcSharePath          string `json:"vpcSharePath"`          /*  vpc挂载地址(ipv4)  */
	VpcSharePathV6        string `json:"vpcSharePathV6"`        /*  vpc挂载地址(ipv6)  */
	VpceSharePath         string `json:"vpceSharePath"`         /*  vpce挂载地址(ipv4)  */
	VpceSharePathV6       string `json:"vpceSharePathV6"`       /*  vpce挂载地址(ipv6)  */
	VpcID                 string `json:"vpcID"`                 /*  虚拟网 ID  */
	VpcName               string `json:"vpcName"`               /*  vpc名称  */
	SubnetID              string `json:"subnetID"`              /*  子网ID  */
	CreateTime            int64  `json:"createTime"`            /*  协议服务的创建时间  */
	FailMsg               string `json:"failMsg"`               /*  协议服务的异常原因  */
	ProtocolDescription   string `json:"protocolDescription"`   /*  协议服务的描述  */
}

type HpfsInfoSfsApi

type HpfsInfoSfsApi struct {
	// contains filtered or unexported fields
}

func NewHpfsInfoSfsApi

func NewHpfsInfoSfsApi(client *core.CtyunClient) *HpfsInfoSfsApi

func (*HpfsInfoSfsApi) Do

type HpfsInfoSfsRequest

type HpfsInfoSfsRequest struct {
	SfsUID   string `json:"sfsUID,omitempty"`   /*  并行文件唯一 ID  */
	RegionID string `json:"regionID,omitempty"` /*  资源池 ID  */
}

type HpfsInfoSfsResponse

type HpfsInfoSfsResponse struct {
	StatusCode  int32                         `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                        `json:"message"`     /*  响应描述  */
	Description string                        `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsInfoSfsReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                        `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                        `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsInfoSfsReturnObjResponse

type HpfsInfoSfsReturnObjResponse struct {
	SfsName       string   `json:"sfsName"`       /*  并行文件命名  */
	SfsUID        string   `json:"sfsUID"`        /*  并行文件唯一 ID  */
	SfsSize       int32    `json:"sfsSize"`       /*  大小(GB)  */
	SfsType       string   `json:"sfsType"`       /*  类型,hpfs_perf(HPC性能型)  */
	SfsProtocol   string   `json:"sfsProtocol"`   /*  挂载协议,nfs/hpfs  */
	SfsStatus     string   `json:"sfsStatus"`     /*  并行文件状态  */
	UsedSize      int32    `json:"usedSize"`      /*  已用大小(MB)  */
	CreateTime    int64    `json:"createTime"`    /*  创建时刻,epoch 时戳,精度毫秒  */
	UpdateTime    int64    `json:"updateTime"`    /*  更新时刻,epoch 时戳,精度毫秒  */
	ProjectID     string   `json:"projectID"`     /*  资源所属企业项目 ID  */
	OnDemand      *bool    `json:"onDemand"`      /*  是否按需订购  */
	RegionID      string   `json:"regionID"`      /*  资源池 ID  */
	AzName        string   `json:"azName"`        /*  多可用区下的可用区名字  */
	ClusterName   string   `json:"clusterName"`   /*  集群名称  */
	Baseline      string   `json:"baseline"`      /*  性能基线(MB/s/TB)  */
	HpfsSharePath string   `json:"hpfsSharePath"` /*  HPFS文件系统共享路径(Linux)  */
	SecretKey     string   `json:"secretKey"`     /*  HPC型挂载需要的密钥  */
	DataflowList  []string `json:"dataflowList"`  /*  HPFS文件系统下的数据流动策略ID列表  */
	DataflowCount int32    `json:"dataflowCount"` /*  HPFS文件系统下的数据流动策略数量  */
}

type HpfsListBaselineApi

type HpfsListBaselineApi struct {
	// contains filtered or unexported fields
}

func NewHpfsListBaselineApi

func NewHpfsListBaselineApi(client *core.CtyunClient) *HpfsListBaselineApi

func (*HpfsListBaselineApi) Do

type HpfsListBaselineRequest

type HpfsListBaselineRequest struct {
	RegionID    string `json:"regionID,omitempty"`    /*  资源池 ID  */
	SfsType     string `json:"sfsType,omitempty"`     /*  类型,hpfs_perf(HPC性能型)  */
	AzName      string `json:"azName,omitempty"`      /*  多可用区下的可用区名字,4.0资源池必填  */
	ClusterName string `json:"clusterName,omitempty"` /*  集群名称  */
	PageNo      int32  `json:"pageNo,omitempty"`      /*  列表的分页页码 ,默认值为1  */
	PageSize    int32  `json:"pageSize,omitempty"`    /*  每页包含的元素个数范围(1-50),默认值为10  */
}

type HpfsListBaselineResponse

type HpfsListBaselineResponse struct {
	StatusCode  int32                              `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                             `json:"message"`     /*  响应描述  */
	Description string                             `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsListBaselineReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                             `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                             `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsListBaselineReturnObjBaselineListResponse

type HpfsListBaselineReturnObjBaselineListResponse struct {
	Baseline     string   `json:"baseline"`     /*  性能基线(MB/s/TB)  */
	StorageType  string   `json:"storageType"`  /*  支持类型,hpfs_perf(HPC性能型)  */
	AzName       string   `json:"azName"`       /*  多可用区下可用区名称  */
	ClusterNames []string `json:"clusterNames"` /*  集群列表  */
}

type HpfsListBaselineReturnObjResponse

type HpfsListBaselineReturnObjResponse struct {
	BaselineList []*HpfsListBaselineReturnObjBaselineListResponse `json:"baselineList"` /*  返回的性能基线列表  */
	TotalCount   int32                                            `json:"totalCount"`   /*  指定条件下性能基线总数  */
	CurrentCount int32                                            `json:"currentCount"` /*  当前页码下查询回来的基线数  */
	PageSize     int32                                            `json:"pageSize"`     /*  每页包含的元素个数范围(1-50)  */
	PageNo       int32                                            `json:"pageNo"`       /*  列表的分页页码  */
}

type HpfsListClusterApi

type HpfsListClusterApi struct {
	// contains filtered or unexported fields
}

func NewHpfsListClusterApi

func NewHpfsListClusterApi(client *core.CtyunClient) *HpfsListClusterApi

func (*HpfsListClusterApi) Do

type HpfsListClusterByDeviceApi

type HpfsListClusterByDeviceApi struct {
	// contains filtered or unexported fields
}

func NewHpfsListClusterByDeviceApi

func NewHpfsListClusterByDeviceApi(client *core.CtyunClient) *HpfsListClusterByDeviceApi

func (*HpfsListClusterByDeviceApi) Do

type HpfsListClusterByDeviceRequest

type HpfsListClusterByDeviceRequest struct {
	RegionID      string `json:"regionID,omitempty"`      /*  资源池 ID  */
	EbmDeviceType string `json:"ebmDeviceType,omitempty"` /*  裸金属设备规格  */
	PageNo        int32  `json:"pageNo,omitempty"`        /*  列表的分页页码,默认值为1  */
	PageSize      int32  `json:"pageSize,omitempty"`      /*  每页包含的元素个数范围(1-50),默认值为10  */
}

type HpfsListClusterByDeviceResponse

type HpfsListClusterByDeviceResponse struct {
	StatusCode  int32                                     `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                                    `json:"message"`     /*  响应描述  */
	Description string                                    `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsListClusterByDeviceReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                                    `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                                    `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsListClusterByDeviceReturnObjClusterListResponse

type HpfsListClusterByDeviceReturnObjClusterListResponse struct {
	ClusterName     string   `json:"clusterName"`     /*  集群名称  */
	RemainingStatus *bool    `json:"remainingStatus"` /*  该集群是否可以售卖  */
	StorageType     string   `json:"storageType"`     /*  集群的存储类型  */
	AzName          string   `json:"azName"`          /*  多可用区下的可用区名字  */
	ProtocolType    []string `json:"protocolType"`    /*  集群支持的协议列表  */
	Baselines       []string `json:"baselines"`       /*  集群支持的性能基线列表(仅当资源池支持性能基线时返回)  */
	NetworkType     string   `json:"networkType"`     /*  集群的网络类型(tcp/o2ib)  */
	EbmDeviceTypes  []string `json:"ebmDeviceTypes"`  /*  集群支持的裸金属设备规格列表  */
}

type HpfsListClusterByDeviceReturnObjResponse

type HpfsListClusterByDeviceReturnObjResponse struct {
	ClusterList  []*HpfsListClusterByDeviceReturnObjClusterListResponse `json:"clusterList"`  /*  返回的集群列表  */
	TotalCount   int32                                                  `json:"totalCount"`   /*  某资源池指定条件下集群总数  */
	CurrentCount int32                                                  `json:"currentCount"` /*  当前页码下查询回来的集群数  */
	PageSize     int32                                                  `json:"pageSize"`     /*  每页包含的元素个数范围(1-50)  */
	PageNo       int32                                                  `json:"pageNo"`       /*  列表的分页页码  */
}

type HpfsListClusterRequest

type HpfsListClusterRequest struct {
	RegionID      string `json:"regionID,omitempty"`      /*  资源池 ID  */
	SfsType       string `json:"sfsType,omitempty"`       /*  类型,hpfs_perf(HPC性能型)  */
	AzName        string `json:"azName,omitempty"`        /*  多可用区下的可用区名字  */
	EbmDeviceType string `json:"ebmDeviceType,omitempty"` /*  裸金属设备规格  */
	PageNo        int32  `json:"pageNo,omitempty"`        /*  列表的分页页码,默认值为1  */
	PageSize      int32  `json:"pageSize,omitempty"`      /*  每页包含的元素个数范围(1-50),默认值为10  */
}

type HpfsListClusterResponse

type HpfsListClusterResponse struct {
	StatusCode  int32                             `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                            `json:"message"`     /*  响应描述  */
	Description string                            `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsListClusterReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                            `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                            `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsListClusterReturnObjClusterListResponse

type HpfsListClusterReturnObjClusterListResponse struct {
	ClusterName     string   `json:"clusterName"`     /*  集群名称  */
	RemainingStatus *bool    `json:"remainingStatus"` /*  该集群是否可以售卖  */
	StorageType     string   `json:"storageType"`     /*  集群的存储类型  */
	AzName          string   `json:"azName"`          /*  多可用区下的可用区名字  */
	ProtocolType    []string `json:"protocolType"`    /*  集群支持的协议列表  */
	Baselines       []string `json:"baselines"`       /*  集群支持的性能基线列表(仅当资源池支持性能基线时返回)  */
	NetworkType     string   `json:"networkType"`     /*  集群的网络类型(tcp/o2ib)  */
	EbmDeviceTypes  []string `json:"ebmDeviceTypes"`  /*  集群支持的裸金属设备规格列表  */
}

type HpfsListClusterReturnObjResponse

type HpfsListClusterReturnObjResponse struct {
	ClusterList  []*HpfsListClusterReturnObjClusterListResponse `json:"clusterList"`  /*  返回的集群列表  */
	TotalCount   int32                                          `json:"totalCount"`   /*  某资源池指定条件下集群总数  */
	CurrentCount int32                                          `json:"currentCount"` /*  当前页码下查询回来的集群数  */
	PageSize     int32                                          `json:"pageSize"`     /*  每页包含的元素个数范围(1-50)  */
	PageNo       int32                                          `json:"pageNo"`       /*  列表的分页页码  */
}

type HpfsListDataflowApi

type HpfsListDataflowApi struct {
	// contains filtered or unexported fields
}

func NewHpfsListDataflowApi

func NewHpfsListDataflowApi(client *core.CtyunClient) *HpfsListDataflowApi

func (*HpfsListDataflowApi) Do

type HpfsListDataflowRequest

type HpfsListDataflowRequest struct {
	RegionID string `json:"regionID,omitempty"` /*  资源池 ID  */
	AzName   string `json:"azName,omitempty"`   /*  多可用区下的可用区名字,不传为查询全部  */
	SfsUID   string `json:"sfsUID,omitempty"`   /*  数据流动策略所属并行文件UID  */
	PageSize int32  `json:"pageSize,omitempty"` /*  每页包含的元素个数范围(1-50),默认值为10  */
	PageNo   int32  `json:"pageNo,omitempty"`   /*  列表的分页页码,默认值为1  */
}

type HpfsListDataflowResponse

type HpfsListDataflowResponse struct {
	StatusCode  int32                              `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                             `json:"message"`     /*  响应描述  */
	Description string                             `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsListDataflowReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                             `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                             `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsListDataflowReturnObjDataflowListResponse

type HpfsListDataflowReturnObjDataflowListResponse struct {
	RegionID            string `json:"regionID"`            /*  资源池id  */
	DataflowID          string `json:"dataflowID"`          /*  数据流动策略id  */
	SfsUID              string `json:"sfsUID"`              /*  并行文件唯一id  */
	SfsDirectory        string `json:"sfsDirectory"`        /*  并行文件下目录  */
	BucketName          string `json:"bucketName"`          /*  对象存储的桶名称  */
	BucketPrefix        string `json:"bucketPrefix"`        /*  对象存储桶的前缀  */
	AutoImport          *bool  `json:"autoImport"`          /*  是否打开自动导入  */
	AutoExport          *bool  `json:"autoExport"`          /*  是否打开自动导出  */
	ImportDataType      string `json:"importDataType"`      /*  导入的数据类型  */
	ExportDataType      string `json:"exportDataType"`      /*  导出的数据类型  */
	ImportTrigger       string `json:"importTrigger"`       /*  导入的触发条件,多个条件用英文逗号隔开  */
	ExportTrigger       string `json:"exportTrigger"`       /*  导出的触发条件,多个条件用英文逗号隔开  */
	DataflowDescription string `json:"dataflowDescription"` /*  数据流动策略的描述  */
	CreateTime          int64  `json:"createTime"`          /*  数据流动策略创建时间  */
	DataflowStatus      string `json:"dataflowStatus"`      /*  数据流动策略的状态,creating/updating/available/syncing/deleting/fail/error。creating:策略创建中;updating:策略更新中;available:策略可用(未打开自动导入导出开);syncing:策略同步中(打开了自动导入或自动导出,数据持续流动中,即使没有数据正在流动也是同步中);deleting:策略删除中;fail:策略异常(异常原因可见dataflowFailMsg,该状态的策略可更新、可恢复);error:策略创建失败(异常原因可见dataflowFailMsg,该状态的策略只能删除,无法恢复,不占用配额)  */
	DataflowFailTime    int64  `json:"dataflowFailTime"`    /*  数据流动策略异常发生时间,当数据流动策略状态dataflowStatus为fail或error才有此字段  */
	DataflowFailMsg     string `json:"dataflowFailMsg"`     /*  数据流动策略异常原因,当数据流动策略状态dataflowStatus为fail或error才有此字段  */
	AzName              string `json:"azName"`              /*  多可用区下的可用区名字  */
}

type HpfsListDataflowReturnObjResponse

type HpfsListDataflowReturnObjResponse struct {
	DataflowList []*HpfsListDataflowReturnObjDataflowListResponse `json:"dataflowList"` /*  返回的数据流动策略列表  */
	TotalCount   int32                                            `json:"totalCount"`   /*  资源池下用户数据流动策略总数  */
	CurrentCount int32                                            `json:"currentCount"` /*  当前页码下查询回来的用户数据流动策略数  */
	PageSize     int32                                            `json:"pageSize"`     /*  每页包含的元素个数范围(1-50)  */
	PageNo       int32                                            `json:"pageNo"`       /*  列表的分页页码  */
}

type HpfsListDataflowtaskApi

type HpfsListDataflowtaskApi struct {
	// contains filtered or unexported fields
}

func NewHpfsListDataflowtaskApi

func NewHpfsListDataflowtaskApi(client *core.CtyunClient) *HpfsListDataflowtaskApi

func (*HpfsListDataflowtaskApi) Do

type HpfsListDataflowtaskRequest

type HpfsListDataflowtaskRequest struct {
	RegionID   string `json:"regionID,omitempty"`   /*  资源池 ID  */
	AzName     string `json:"azName,omitempty"`     /*  多可用区下的可用区名字,不传为查询全部  */
	SfsUID     string `json:"sfsUID,omitempty"`     /*  并行文件UID  */
	DataflowID string `json:"dataflowID,omitempty"` /*  数据流动策略ID  */
	TaskStatus string `json:"taskStatus,omitempty"` /*  数据流动任务状态(creating/executing/completed/canceling/fail)  */
	TaskType   string `json:"taskType,omitempty"`   /*  数据流动任务类型(import_data/import_metadata/export_data)  */
	PageSize   int32  `json:"pageSize,omitempty"`   /*  每页包含的元素个数范围(1-50),默认值为10  */
	PageNo     int32  `json:"pageNo,omitempty"`     /*  列表的分页页码,默认值为1  */
}

type HpfsListDataflowtaskResponse

type HpfsListDataflowtaskResponse struct {
	StatusCode  int32                                  `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                                 `json:"message"`     /*  响应描述  */
	Description string                                 `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsListDataflowtaskReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                                 `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                                 `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsListDataflowtaskReturnObjResponse

type HpfsListDataflowtaskReturnObjResponse struct {
	TaskList     []*HpfsListDataflowtaskReturnObjTaskListResponse `json:"taskList"`     /*  返回的数据流动任务列表  */
	TotalCount   int32                                            `json:"totalCount"`   /*  指定条件下用户数据流动任务总数  */
	CurrentCount int32                                            `json:"currentCount"` /*  当前页码下查询回来的用户数据流动任务数  */
	PageSize     int32                                            `json:"pageSize"`     /*  每页包含的元素个数范围(1-50)  */
	PageNo       int32                                            `json:"pageNo"`       /*  列表的分页页码  */
}

type HpfsListDataflowtaskReturnObjTaskListResponse

type HpfsListDataflowtaskReturnObjTaskListResponse struct {
	RegionID        string `json:"regionID"`        /*  资源池id  */
	TaskID          string `json:"taskID"`          /*  数据流动任务id  */
	DataflowID      string `json:"dataflowID"`      /*  数据流动策略id  */
	SfsUID          string `json:"sfsUID"`          /*  并行文件唯一id  */
	SfsDirectory    string `json:"sfsDirectory"`    /*  并行文件下目录  */
	BucketName      string `json:"bucketName"`      /*  对象存储的桶名称  */
	BucketPrefix    string `json:"bucketPrefix"`    /*  对象存储桶的前缀  */
	TaskType        string `json:"taskType"`        /*  任务类型(import_data/import_metadata/export_data)  */
	TaskDescription string `json:"taskDescription"` /*  数据流动任务的描述  */
	TaskStatus      string `json:"taskStatus"`      /*  数据流动任务的状态,creating/executing/completed/canceling/fail。creating:任务创建中;executing:任务执行中;completed:任务已完成;canceling:任务取消中(可能是任务失败正在取消,也可能是策略删除任务正在取消);fail:任务异常(异常原因可见failMsg,异常的任务不可恢复)  */
	CreateTime      int64  `json:"createTime"`      /*  数据流动任务创建时间  */
	StartTime       int64  `json:"startTime"`       /*  数据流动任务开始时间  */
	CompleteTime    int64  `json:"completeTime"`    /*  数据流动任务完成时间  */
	CancelTime      int64  `json:"cancelTime"`      /*  数据流动任务取消时间  */
	FailTime        int64  `json:"failTime"`        /*  数据流动任务异常发生时间  */
	FailMsg         string `json:"failMsg"`         /*  数据流动任务异常原因  */
	AzName          string `json:"azName"`          /*  多可用区下的可用区名字  */
}

type HpfsListProtocolServiceApi

type HpfsListProtocolServiceApi struct {
	// contains filtered or unexported fields
}

func NewHpfsListProtocolServiceApi

func NewHpfsListProtocolServiceApi(client *core.CtyunClient) *HpfsListProtocolServiceApi

func (*HpfsListProtocolServiceApi) Do

type HpfsListProtocolServiceRequest

type HpfsListProtocolServiceRequest struct {
	RegionID              string `json:"regionID,omitempty"`              /*  资源池 ID,例:100054c0416811e9a6690242ac110002  */
	AzName                string `json:"azName,omitempty"`                /*  多可用区下的可用区名字,不传为查询全部  */
	SfsUID                string `json:"sfsUID,omitempty"`                /*  并行文件唯一id  */
	ProtocolServiceStatus string `json:"protocolServiceStatus,omitempty"` /*  协议状态  */
	ProtocolSpec          string `json:"protocolSpec,omitempty"`          /*  协议规格  */
	ProtocolType          string `json:"protocolType,omitempty"`          /*  协议类型  */
	PageSize              int32  `json:"pageSize,omitempty"`              /*  每页包含的元素个数范围(1-50),默认值为10  */
	PageNo                int32  `json:"pageNo,omitempty"`                /*  列表的分页页码,默认值为1  */
}

type HpfsListProtocolServiceResponse

type HpfsListProtocolServiceResponse struct {
	StatusCode  int32                                     `json:"statusCode"`  /*  返回状态码(800为成功,900为处理中/失败,详见errorCode)  */
	Message     string                                    `json:"message"`     /*  响应描述  */
	Description string                                    `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsListProtocolServiceReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                                    `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                                    `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsListProtocolServiceReturnObjResponse

type HpfsListProtocolServiceReturnObjResponse struct {
	TotalCount   int32 `json:"totalCount"`   /*  指定条件下协议服务总数  */
	CurrentCount int32 `json:"currentCount"` /*  当前页码下查询回来的协议服务数  */
	PageSize     int32 `json:"pageSize"`     /*  每页包含的元素个数范围(1-50)  */
	PageNo       int32 `json:"pageNo"`       /*  列表的分页页码  */
}

type HpfsListRegionApi

type HpfsListRegionApi struct {
	// contains filtered or unexported fields
}

func NewHpfsListRegionApi

func NewHpfsListRegionApi(client *core.CtyunClient) *HpfsListRegionApi

func (*HpfsListRegionApi) Do

type HpfsListRegionRequest

type HpfsListRegionRequest struct {
	PageSize int32 `json:"pageSize,omitempty"` /*  每页包含的元素个数范围(1-50),默认值为10  */
	PageNo   int32 `json:"pageNo,omitempty"`   /*  列表的分页页码,默认值为1  */
}

type HpfsListRegionResponse

type HpfsListRegionResponse struct {
	StatusCode  int32                            `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                           `json:"message"`     /*  响应描述  */
	Description string                           `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsListRegionReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                           `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                           `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsListRegionReturnObjRegionListResponse

type HpfsListRegionReturnObjRegionListResponse struct {
	RegionID   string `json:"regionID"`   /*  资源池ID  */
	RegionName string `json:"regionName"` /*  资源池名字  */
}

type HpfsListRegionReturnObjResponse

type HpfsListRegionReturnObjResponse struct {
	RegionList   []*HpfsListRegionReturnObjRegionListResponse `json:"regionList"`   /*  查询的地域详情列表  */
	TotalCount   int32                                        `json:"totalCount"`   /*  支持并行文件的地域总数  */
	CurrentCount int32                                        `json:"currentCount"` /*  当前页码的元素个数  */
	PageSize     int32                                        `json:"pageSize"`     /*  每页个数  */
	PageNo       int32                                        `json:"pageNo"`       /*  当前页数  */
}

type HpfsListSfsApi

type HpfsListSfsApi struct {
	// contains filtered or unexported fields
}

func NewHpfsListSfsApi

func NewHpfsListSfsApi(client *core.CtyunClient) *HpfsListSfsApi

func (*HpfsListSfsApi) Do

type HpfsListSfsByClusterApi

type HpfsListSfsByClusterApi struct {
	// contains filtered or unexported fields
}

func NewHpfsListSfsByClusterApi

func NewHpfsListSfsByClusterApi(client *core.CtyunClient) *HpfsListSfsByClusterApi

func (*HpfsListSfsByClusterApi) Do

type HpfsListSfsByClusterRequest

type HpfsListSfsByClusterRequest struct {
	RegionID    string `json:"regionID,omitempty"`    /*  资源池 ID  */
	AzName      string `json:"azName,omitempty"`      /*  可用区名称,多可用区下必填  */
	ClusterName string `json:"clusterName,omitempty"` /*  集群名称  */
	ProjectID   string `json:"projectID,omitempty"`   /*  资源所属企业项目 ID,默认为"0"  */
	PageSize    int32  `json:"pageSize,omitempty"`    /*  每页包含的元素个数范围(1-50),默认值为10  */
	PageNo      int32  `json:"pageNo,omitempty"`      /*  列表的分页页码,默认值为1  */
}

type HpfsListSfsByClusterResponse

type HpfsListSfsByClusterResponse struct {
	StatusCode  int32                                  `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                                 `json:"message"`     /*  响应描述  */
	Description string                                 `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsListSfsByClusterReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                                 `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                                 `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsListSfsByClusterReturnObjListResponse

type HpfsListSfsByClusterReturnObjListResponse struct {
	SfsName       string   `json:"sfsName"`       /*  并行文件命名  */
	SfsUID        string   `json:"sfsUID"`        /*  并行文件唯一 ID  */
	SfsSize       int32    `json:"sfsSize"`       /*  大小(GB)  */
	SfsType       string   `json:"sfsType"`       /*  类型,hpfs_perf(HPC性能型)  */
	SfsProtocol   string   `json:"sfsProtocol"`   /*  挂载协议,nfs/hpfs  */
	SfsStatus     string   `json:"sfsStatus"`     /*  并行文件状态  */
	UsedSize      int32    `json:"usedSize"`      /*  已用大小(MB)  */
	CreateTime    int64    `json:"createTime"`    /*  创建时刻,epoch 时戳,精度毫秒  */
	UpdateTime    int64    `json:"updateTime"`    /*  更新时刻,epoch 时戳,精度毫秒  */
	ProjectID     string   `json:"projectID"`     /*  资源所属企业项目 ID  */
	OnDemand      *bool    `json:"onDemand"`      /*  是否按需订购  */
	RegionID      string   `json:"regionID"`      /*  资源池 ID  */
	AzName        string   `json:"azName"`        /*  多可用区下的可用区名字  */
	ClusterName   string   `json:"clusterName"`   /*  集群名称  */
	Baseline      string   `json:"baseline"`      /*  性能基线(MB/s/TB)  */
	HpfsSharePath string   `json:"hpfsSharePath"` /*  HPFS文件系统共享路径(Linux)  */
	SecretKey     string   `json:"secretKey"`     /*  HPC型挂载需要的密钥  */
	DataflowList  []string `json:"dataflowList"`  /*  HPFS文件系统下的数据流动策略ID列表  */
	DataflowCount int32    `json:"dataflowCount"` /*  HPFS文件系统下的数据流动策略数量  */
}

type HpfsListSfsByClusterReturnObjResponse

type HpfsListSfsByClusterReturnObjResponse struct {
	List         []*HpfsListSfsByClusterReturnObjListResponse `json:"list"`         /*  文件系统详情列表  */
	Total        int32                                        `json:"total"`        /*  指定条件下用户并行文件总数  */
	TotalCount   int32                                        `json:"totalCount"`   /*  指定条件下用户并行文件总数  */
	CurrentCount int32                                        `json:"currentCount"` /*  当前页码的元素个数  */
	PageSize     int32                                        `json:"pageSize"`     /*  每页个数  */
	PageNo       int32                                        `json:"pageNo"`       /*  当前页数  */
}

type HpfsListSfsBySfstypeApi

type HpfsListSfsBySfstypeApi struct {
	// contains filtered or unexported fields
}

func NewHpfsListSfsBySfstypeApi

func NewHpfsListSfsBySfstypeApi(client *core.CtyunClient) *HpfsListSfsBySfstypeApi

func (*HpfsListSfsBySfstypeApi) Do

type HpfsListSfsBySfstypeRequest

type HpfsListSfsBySfstypeRequest struct {
	RegionID  string `json:"regionID,omitempty"`  /*  资源池 ID  */
	AzName    string `json:"azName,omitempty"`    /*  可用区名称,多可用区下必填  */
	SfsType   string `json:"sfsType,omitempty"`   /*  存储类型  */
	ProjectID string `json:"projectID,omitempty"` /*  资源所属企业项目 ID,默认为"0"  */
	PageSize  int32  `json:"pageSize,omitempty"`  /*  每页包含的元素个数范围(1-50),默认值为10  */
	PageNo    int32  `json:"pageNo,omitempty"`    /*  列表的分页页码,默认值为1  */
}

type HpfsListSfsBySfstypeResponse

type HpfsListSfsBySfstypeResponse struct {
	StatusCode  int32                                  `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                                 `json:"message"`     /*  响应描述  */
	Description string                                 `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsListSfsBySfstypeReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                                 `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                                 `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsListSfsBySfstypeReturnObjListResponse

type HpfsListSfsBySfstypeReturnObjListResponse struct {
	SfsName       string   `json:"sfsName"`       /*  并行文件命名  */
	SfsUID        string   `json:"sfsUID"`        /*  并行文件唯一 ID  */
	SfsSize       int32    `json:"sfsSize"`       /*  大小(GB)  */
	SfsType       string   `json:"sfsType"`       /*  类型,hpfs_perf(HPC性能型)  */
	SfsProtocol   string   `json:"sfsProtocol"`   /*  挂载协议,nfs/hpfs  */
	SfsStatus     string   `json:"sfsStatus"`     /*  并行文件状态  */
	UsedSize      int32    `json:"usedSize"`      /*  已用大小(MB)  */
	CreateTime    int64    `json:"createTime"`    /*  创建时刻,epoch 时戳,精度毫秒  */
	UpdateTime    int64    `json:"updateTime"`    /*  更新时刻,epoch 时戳,精度毫秒  */
	ProjectID     string   `json:"projectID"`     /*  资源所属企业项目 ID  */
	OnDemand      *bool    `json:"onDemand"`      /*  是否按需订购  */
	RegionID      string   `json:"regionID"`      /*  资源池 ID  */
	AzName        string   `json:"azName"`        /*  多可用区下的可用区名字  */
	ClusterName   string   `json:"clusterName"`   /*  集群名称  */
	Baseline      string   `json:"baseline"`      /*  性能基线(MB/s/TB)  */
	HpfsSharePath string   `json:"hpfsSharePath"` /*  HPFS文件系统共享路径(Linux)  */
	SecretKey     string   `json:"secretKey"`     /*  HPC型挂载需要的密钥  */
	DataflowList  []string `json:"dataflowList"`  /*  HPFS文件系统下的数据流动策略ID列表  */
	DataflowCount int32    `json:"dataflowCount"` /*  HPFS文件系统下的数据流动策略数量  */
}

type HpfsListSfsBySfstypeReturnObjResponse

type HpfsListSfsBySfstypeReturnObjResponse struct {
	List         []*HpfsListSfsBySfstypeReturnObjListResponse `json:"list"`         /*  文件系统详情列表  */
	Total        int32                                        `json:"total"`        /*  资源池下用户并行文件总数  */
	TotalCount   int32                                        `json:"totalCount"`   /*  当前目录下文件总数  */
	CurrentCount int32                                        `json:"currentCount"` /*  当前页码的元素个数  */
	PageSize     int32                                        `json:"pageSize"`     /*  每页个数  */
	PageNo       int32                                        `json:"pageNo"`       /*  当前页数  */
}

type HpfsListSfsRequest

type HpfsListSfsRequest struct {
	RegionID    string `json:"regionID,omitempty"`    /*  资源池 ID  */
	SfsStatus   string `json:"sfsStatus,omitempty"`   /*  并行文件状态。creating/available/unusable,不传为查询全部  */
	SfsProtocol string `json:"sfsProtocol,omitempty"` /*  挂载协议。2 种,nfs/hpfs ,不传为查询全部  */
	AzName      string `json:"azName,omitempty"`      /*  多可用区下的可用区名字,不传为查询全部  */
	ProjectID   string `json:"projectID,omitempty"`   /*  资源所属企业项目 ID,默认为"0"  */
	PageSize    int32  `json:"pageSize,omitempty"`    /*  每页包含的元素个数范围(1-50),默认值为10  */
	PageNo      int32  `json:"pageNo,omitempty"`      /*  列表的分页页码,默认值为1  */
}

type HpfsListSfsResponse

type HpfsListSfsResponse struct {
	StatusCode  int32                         `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                        `json:"message"`     /*  响应描述  */
	Description string                        `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsListSfsReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                        `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                        `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsListSfsReturnObjListResponse

type HpfsListSfsReturnObjListResponse struct {
	SfsName       string   `json:"sfsName"`       /*  并行文件命名  */
	SfsUID        string   `json:"sfsUID"`        /*  并行文件唯一 ID  */
	SfsSize       int32    `json:"sfsSize"`       /*  大小(GB)  */
	SfsType       string   `json:"sfsType"`       /*  类型,hpfs_perf(HPC性能型)  */
	SfsProtocol   string   `json:"sfsProtocol"`   /*  挂载协议,nfs/hpfs  */
	SfsStatus     string   `json:"sfsStatus"`     /*  并行文件状态  */
	UsedSize      int32    `json:"usedSize"`      /*  已用大小(MB)  */
	CreateTime    int64    `json:"createTime"`    /*  创建时刻,epoch 时戳,精度毫秒  */
	UpdateTime    int64    `json:"updateTime"`    /*  更新时刻,epoch 时戳,精度毫秒  */
	ProjectID     string   `json:"projectID"`     /*  资源所属企业项目 ID  */
	OnDemand      *bool    `json:"onDemand"`      /*  是否按需订购  */
	RegionID      string   `json:"regionID"`      /*  资源池 ID  */
	AzName        string   `json:"azName"`        /*  多可用区下的可用区名字  */
	ClusterName   string   `json:"clusterName"`   /*  集群名称  */
	Baseline      string   `json:"baseline"`      /*  性能基线(MB/s/TB)  */
	HpfsSharePath string   `json:"hpfsSharePath"` /*  HPFS文件系统共享路径(Linux)  */
	SecretKey     string   `json:"secretKey"`     /*  HPC型挂载需要的密钥  */
	DataflowList  []string `json:"dataflowList"`  /*  HPFS文件系统下的数据流动策略ID列表  */
	DataflowCount int32    `json:"dataflowCount"` /*  HPFS文件系统下的数据流动策略数量  */
}

type HpfsListSfsReturnObjResponse

type HpfsListSfsReturnObjResponse struct {
	List         []*HpfsListSfsReturnObjListResponse `json:"list"`         /*  返回的文件列表  */
	TotalCount   int32                               `json:"totalCount"`   /*  资源池下用户并行文件总数  */
	CurrentCount int32                               `json:"currentCount"` /*  当前页码下查询回来的用户并行文件数  */
	Total        int32                               `json:"total"`        /*  资源池下用户并行文件总数  */
	PageSize     int32                               `json:"pageSize"`     /*  每页包含的元素个数范围(1-50)  */
	PageNo       int32                               `json:"pageNo"`       /*  列表的分页页码  */
}

type HpfsListZoneApi

type HpfsListZoneApi struct {
	// contains filtered or unexported fields
}

func NewHpfsListZoneApi

func NewHpfsListZoneApi(client *core.CtyunClient) *HpfsListZoneApi

func (*HpfsListZoneApi) Do

type HpfsListZoneRequest

type HpfsListZoneRequest struct {
	RegionID string `json:"regionID,omitempty"` /*  资源池 ID  */
	PageSize int32  `json:"pageSize,omitempty"` /*  每页包含的元素个数范围(1-50),默认值为10  */
	PageNo   int32  `json:"pageNo,omitempty"`   /*  列表的分页页码,默认值为1  */
}

type HpfsListZoneResponse

type HpfsListZoneResponse struct {
	StatusCode  int32                          `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                         `json:"message"`     /*  响应描述  */
	Description string                         `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsListZoneReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                         `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                         `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsListZoneReturnObjResponse

type HpfsListZoneReturnObjResponse struct {
	ZoneList     []*HpfsListZoneReturnObjZoneListResponse `json:"zoneList"`     /*  查询的可用区列表  */
	TotalCount   int32                                    `json:"totalCount"`   /*  当前资源池下可用区总数  */
	CurrentCount int32                                    `json:"currentCount"` /*  当前页码的元素个数  */
	PageSize     int32                                    `json:"pageSize"`     /*  每页个数  */
	PageNo       int32                                    `json:"pageNo"`       /*  当前页数  */
}

type HpfsListZoneReturnObjZoneListResponse

type HpfsListZoneReturnObjZoneListResponse struct {
	AzName        string   `json:"azName"`        /*  可用区名称,其他需要可用区参数的接口需要依赖该名称结果  */
	AzDisplayName string   `json:"azDisplayName"` /*  可用区展示名  */
	StorageTypes  []string `json:"storageTypes"`  /*  可用区支持的存储类型  */
}

type HpfsNewDataflowApi

type HpfsNewDataflowApi struct {
	// contains filtered or unexported fields
}

func NewHpfsNewDataflowApi

func NewHpfsNewDataflowApi(client *core.CtyunClient) *HpfsNewDataflowApi

func (*HpfsNewDataflowApi) Do

type HpfsNewDataflowRequest

type HpfsNewDataflowRequest struct {
	RegionID            string `json:"regionID,omitempty"`            /*  资源池 ID  */
	SfsUID              string `json:"sfsUID,omitempty"`              /*  并行文件唯一id  */
	SfsDirectory        string `json:"sfsDirectory,omitempty"`        /*  并行文件目录,目录名仅允许数字、字母、下划线、连接符、中文组成,每级目录最大长度为255字节,最大全路径长度为4096字节,如果参数为mydir/、mydir、/mydir或/mydir/,则都视为输入/mydir的目录  */
	BucketName          string `json:"bucketName,omitempty"`          /*  对象存储的桶名称  */
	BucketPrefix        string `json:"bucketPrefix,omitempty"`        /*  对象存储桶的前缀  */
	AutoImport          bool   `json:"autoImport"`                    /*  是否打开自动导入  */
	AutoExport          bool   `json:"autoExport"`                    /*  是否打开自动导出  */
	ImportDataType      string `json:"importDataType,omitempty"`      /*  导入的数据类型,data/metadata,自动导入开关打开时必填  */
	ExportDataType      string `json:"exportDataType,omitempty"`      /*  导出的数据类型,仅支持data,自动导出开关打开时必填  */
	ImportTrigger       string `json:"importTrigger,omitempty"`       /*  导入的触发条件,仅支持new(创建),自动导入开关打开时必填  */
	ExportTrigger       string `json:"exportTrigger,omitempty"`       /*  导出的触发条件,支持new(创建)/changed(新增+修改)自动导出开关打开时必填  */
	DataflowDescription string `json:"dataflowDescription,omitempty"` /*  数据流动策略的描述,最高支持128字符  */
}

type HpfsNewDataflowResponse

type HpfsNewDataflowResponse struct {
	StatusCode  int32                             `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                            `json:"message"`     /*  响应描述  */
	Description string                            `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsNewDataflowReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                            `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                            `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsNewDataflowReturnObjResourcesResponse

type HpfsNewDataflowReturnObjResourcesResponse struct {
	DataflowID string `json:"dataflowID"` /*  数据流动策略ID  */
	SfsUID     string `json:"sfsUID"`     /*  数据流动策略所属并行文件ID  */
}

type HpfsNewDataflowReturnObjResponse

type HpfsNewDataflowReturnObjResponse struct {
	RegionID  string                                       `json:"regionID"`  /*  资源所属资源池 ID  */
	Resources []*HpfsNewDataflowReturnObjResourcesResponse `json:"resources"` /*  资源明细  */
}

type HpfsNewDataflowtaskApi

type HpfsNewDataflowtaskApi struct {
	// contains filtered or unexported fields
}

func NewHpfsNewDataflowtaskApi

func NewHpfsNewDataflowtaskApi(client *core.CtyunClient) *HpfsNewDataflowtaskApi

func (*HpfsNewDataflowtaskApi) Do

type HpfsNewDataflowtaskRequest

type HpfsNewDataflowtaskRequest struct {
	RegionID        string `json:"regionID,omitempty"`        /*  资源池 ID  */
	SfsUID          string `json:"sfsUID,omitempty"`          /*  并行文件唯一ID  */
	DataflowID      string `json:"dataflowID,omitempty"`      /*  数据流动策略ID  */
	TaskType        string `json:"taskType,omitempty"`        /*  数据流动任务类型(目前支持import_data/import_metadata/export_data)  */
	TaskDescription string `json:"taskDescription,omitempty"` /*  数据流动策略的描述,最高支持128字符  */
}

type HpfsNewDataflowtaskResponse

type HpfsNewDataflowtaskResponse struct {
	StatusCode  int32                                 `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                                `json:"message"`     /*  响应描述  */
	Description string                                `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsNewDataflowtaskReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                                `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                                `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsNewDataflowtaskReturnObjResourcesResponse

type HpfsNewDataflowtaskReturnObjResourcesResponse struct {
	DataflowID string `json:"dataflowID"` /*  数据流动策略ID  */
	SfsUID     string `json:"sfsUID"`     /*  并行文件ID  */
	TaskID     string `json:"taskID"`     /*  数据流动任务ID  */
}

type HpfsNewDataflowtaskReturnObjResponse

type HpfsNewDataflowtaskReturnObjResponse struct {
	RegionID  string                                           `json:"regionID"`  /*  资源所属资源池 ID  */
	Resources []*HpfsNewDataflowtaskReturnObjResourcesResponse `json:"resources"` /*  资源明细  */
}

type HpfsNewDirectoryApi

type HpfsNewDirectoryApi struct {
	// contains filtered or unexported fields
}

func NewHpfsNewDirectoryApi

func NewHpfsNewDirectoryApi(client *core.CtyunClient) *HpfsNewDirectoryApi

func (*HpfsNewDirectoryApi) Do

type HpfsNewDirectoryRequest

type HpfsNewDirectoryRequest struct {
	RegionID         string `json:"regionID,omitempty"`         /*  资源池 ID  */
	SfsUID           string `json:"sfsUID,omitempty"`           /*  并行文件唯一ID  */
	SfsDirectory     string `json:"sfsDirectory,omitempty"`     /*  并行文件目录,目录名仅允许数字、字母、下划线、连接符、中文组成,每级目录最大长度为255字节,最大全路径长度为4096字节,最大目录层数为1000,如果参数为mydir/、mydir、/mydir或/mydir/,则都视为输入/mydir的目录  */
	SfsDirectoryMode string `json:"sfsDirectoryMode,omitempty"` /*  目录权限,默认值是755,若传入则必须为三位,每位的范围为0到7。第一位表示目录所有者的权限,第二位表示目录所属用户组的权限,第三位表示其他用户的权限。目录所有者由uid指定,目录所属用户组由gid指定,不是目录所有者且不在目录所属用户组的用户为其他用户。例如:755中第一位7代表该目录所有者对该目录具有读、写、执行权限;第二位5代表该目录所属用户组对该目录具有读、执行权限;第三位5代表其他用户对该目录具有读、执行权限  */
	SfsDirectoryUID  int64  `json:"sfsDirectoryUID,omitempty"`  /*  目录所有者的用户id,默认值是0,取值范围是0到4,294,967,294(即2^32-2)  */
	SfsDirectoryGID  int64  `json:"sfsDirectoryGID,omitempty"`  /*  目录所属用户组id,默认值是0,取值范围是0到4,294,967,294(即2^32-2)  */
}

type HpfsNewDirectoryResponse

type HpfsNewDirectoryResponse struct {
	StatusCode  int32  `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string `json:"message"`     /*  响应描述  */
	Description string `json:"description"` /*  响应描述  */
	ErrorCode   string `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsNewProtocolServiceApi

type HpfsNewProtocolServiceApi struct {
	// contains filtered or unexported fields
}

func NewHpfsNewProtocolServiceApi

func NewHpfsNewProtocolServiceApi(client *core.CtyunClient) *HpfsNewProtocolServiceApi

func (*HpfsNewProtocolServiceApi) Do

type HpfsNewProtocolServiceRequest

type HpfsNewProtocolServiceRequest struct {
	RegionID           string `json:"regionID,omitempty"`           /*  资源池 ID,例:100054c0416811e9a6690242ac110002  */
	SfsUID             string `json:"sfsUID,omitempty"`             /*  并行文件唯一ID  */
	ProtocolSpec       string `json:"protocolSpec,omitempty"`       /*  协议服务规格,目前仅支持general(通用型)  */
	ProtocolType       string `json:"protocolType,omitempty"`       /*  协议服务的协议类型,目前仅支持nfs  */
	VpcID              string `json:"vpcID,omitempty"`              /*  虚拟网 ID  */
	SubnetID           string `json:"subnetID,omitempty"`           /*  子网 ID,3.0资源池必填,4.0资源池若isVpce为true则必填  */
	IsVpce             *bool  `json:"isVpce"`                       /*  是否创建终端节点,默认false,仅4.0资源池生效  */
	IpVersion          int32  `json:"ipVersion,omitempty"`          /*  终端节点的类型,0:ipv4,1:ipv6,2:双栈,默认为0,仅isVpce为true时生效,仅4.0资源池生效  */
	ProtocolDescrption string `json:"protocolDescrption,omitempty"` /*  协议服务的描述,最高支持128字符  */
}

type HpfsNewProtocolServiceResponse

type HpfsNewProtocolServiceResponse struct {
	StatusCode  int32                                    `json:"statusCode"`  /*  返回状态码(800为成功,900为处理中/失败,详见errorCode)  */
	Message     string                                   `json:"message"`     /*  响应描述  */
	Description string                                   `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsNewProtocolServiceReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                                   `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                                   `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsNewProtocolServiceReturnObjResourcesResponse

type HpfsNewProtocolServiceReturnObjResourcesResponse struct {
	SfsUID            string `json:"sfsUID"`            /*  并行文件内部唯一 ID  */
	ProtocolServiceID string `json:"protocolServiceID"` /*  协议服务唯一ID  */
}

type HpfsNewProtocolServiceReturnObjResponse

type HpfsNewProtocolServiceReturnObjResponse struct {
	RegionID  string                                              `json:"regionID"`  /*  资源所属资源池 ID  */
	Resources []*HpfsNewProtocolServiceReturnObjResourcesResponse `json:"resources"` /*  资源明细  */
}

type HpfsNewSfsApi

type HpfsNewSfsApi struct {
	// contains filtered or unexported fields
}

func NewHpfsNewSfsApi

func NewHpfsNewSfsApi(client *core.CtyunClient) *HpfsNewSfsApi

func (*HpfsNewSfsApi) Do

type HpfsNewSfsRequest

type HpfsNewSfsRequest struct {
	ClientToken string `json:"clientToken,omitempty"` /*  客户端存根,用于保证订单幂等性。要求单个云平台账户内唯一  */
	RegionID    string `json:"regionID,omitempty"`    /*  资源池 ID,例:100054c0416811e9a6690242ac110002  */
	ProjectID   string `json:"projectID,omitempty"`   /*  资源所属企业项目 ID,默认为"0"  */
	SfsType     string `json:"sfsType,omitempty"`     /*  并行文件类型,hpfs_perf(HPC性能型)  */
	SfsProtocol string `json:"sfsProtocol,omitempty"` /*  协议类型,nfs/hpfs  */
	OnDemand    *bool  `json:"onDemand"`              /*  是否按需下单。true/false,默认为 true  */
	CycleType   string `json:"cycleType,omitempty"`   /*  包周期(subscription)类型,year/month。onDemand 为 false 时,必须指定  */
	CycleCount  int32  `json:"cycleCount,omitempty"`  /*  包周期数。onDemand 为 false 时必须指定。周期最大长度不能超过 3 年  */
	SfsName     string `json:"sfsName,omitempty"`     /*  并行文件名。单账户单资源池下,命名需唯一  */
	SfsSize     int32  `json:"sfsSize,omitempty"`     /*  大小,单位 GB, 起始容量512,步长为512  */
	AzName      string `json:"azName,omitempty"`      /*  多可用区资源池下,必须指定可用区  */
	ClusterName string `json:"clusterName,omitempty"` /*  集群名称,仅资源池支持指定集群时可传入该参数  */
	Baseline    string `json:"baseline,omitempty"`    /*  性能基线(MB/s/TB),仅资源池支持性能基线时可传入该参数  */
	Vpc         string `json:"vpc,omitempty"`         /*  虚拟网 ID,标准协议必填,hpfs协议不作校验  */
	Subnet      string `json:"subnet,omitempty"`      /*  子网 ID,标准协议必填,hpfs协议不作校验  */
}

type HpfsNewSfsResponse

type HpfsNewSfsResponse struct {
	StatusCode  int32                        `json:"statusCode"`  /*  返回状态码(800为成功,900为处理中/失败,详见errorCode)  */
	Message     string                       `json:"message"`     /*  响应描述  */
	Description string                       `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsNewSfsReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                       `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                       `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsNewSfsReturnObjResourcesResponse

type HpfsNewSfsReturnObjResourcesResponse struct {
	ResourceID       string `json:"resourceID"`       /*  单项资源的变配、续订、退订等需要该资源项的 ID。比如某个云主机资源作为主资源,对其挂载  */
	ResourceType     string `json:"resourceType"`     /*  资源类型  */
	OrderID          string `json:"orderID"`          /*  无需关心  */
	StartTime        int64  `json:"startTime"`        /*  启动时刻,epoch 时戳,毫秒精度。例:1589869069561  */
	CreateTime       int64  `json:"createTime"`       /*  创建时刻,epoch 时戳,毫秒精度  */
	UpdateTime       int64  `json:"updateTime"`       /*  更新时刻,epoch 时戳,毫秒精度  */
	Status           int32  `json:"status"`           /*  资源状态  */
	IsMaster         *bool  `json:"isMaster"`         /*  是否是主资源项  */
	ItemValue        int32  `json:"itemValue"`        /*  资源大小  */
	SfsUID           string `json:"sfsUID"`           /*  并行文件内部唯一 ID  */
	SfsStatus        string `json:"sfsStatus"`        /*  并行文件状态  */
	MasterOrderID    string `json:"masterOrderID"`    /*  订单 ID  */
	SfsName          string `json:"sfsName"`          /*  并行文件名字  */
	MasterResourceID string `json:"masterResourceID"` /*  主资源 ID  */
}

type HpfsNewSfsReturnObjResponse

type HpfsNewSfsReturnObjResponse struct {
	MasterOrderID        string                                  `json:"masterOrderID"`        /*  订单 ID。调用方在拿到 masterOrderID 之后,在若干错误情况下,可以使用 materOrderID 进一步确认订单状态及资源状态  */
	MasterOrderNO        string                                  `json:"masterOrderNO"`        /*  订单号  */
	MasterResourceID     string                                  `json:"masterResourceID"`     /*  主资源 ID  */
	MasterResourceStatus string                                  `json:"masterResourceStatus"` /*  主资源状态。参考主资源状态  */
	RegionID             string                                  `json:"regionID"`             /*  资源所属资源池 ID  */
	Resources            []*HpfsNewSfsReturnObjResourcesResponse `json:"resources"`            /*  资源明细  */
}

type HpfsRefundSfsApi

type HpfsRefundSfsApi struct {
	// contains filtered or unexported fields
}

func NewHpfsRefundSfsApi

func NewHpfsRefundSfsApi(client *core.CtyunClient) *HpfsRefundSfsApi

func (*HpfsRefundSfsApi) Do

type HpfsRefundSfsErrorDetailResponse

type HpfsRefundSfsErrorDetailResponse struct {
	BssErrCode       string `json:"bssErrCode"`       /*  bss错误明细码,包含于bss格式化JSON错误信息中  */
	BssErrMsg        string `json:"bssErrMsg"`        /*  bss错误信息,包含于bss格式化JSON错误信息中  */
	BssOrigErr       string `json:"bssOrigErr"`       /*  无法明确解码bss错误信息时,原样透出的bss错误信息  */
	BssErrPrefixHint string `json:"bssErrPrefixHint"` /*  bss格式化JSON错误信息的前置提示信息  */
}

type HpfsRefundSfsRequest

type HpfsRefundSfsRequest struct {
	ClientToken string `json:"clientToken,omitempty"` /*  客户端存根,用于保证订单幂等性。要求单个云平台账户内唯一  */
	SfsUID      string `json:"sfsUID,omitempty"`      /*  资源 ID  */
	RegionID    string `json:"regionID,omitempty"`    /*  资源池 ID  */
}

type HpfsRefundSfsResponse

type HpfsRefundSfsResponse struct {
	StatusCode  int32                             `json:"statusCode"`  /*  返回状态码(800为成功,900为失败,详见errorCode)  */
	Message     string                            `json:"message"`     /*  响应描述  */
	Description string                            `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsRefundSfsReturnObjResponse   `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                            `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	ErrorDetail *HpfsRefundSfsErrorDetailResponse `json:"errorDetail"` /*  错误明细。一般情况下,会对订单侧(bss)的并行文件订单业务相关的错误做明确的错误映射和提升,有唯一对应的errorCode。其他订单侧(bss)的错误,以sfs.order.procFailed的errorCode统一映射返回,并在errorDetail中返回订单侧的详细错误信息  */
	Error       string                            `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsRefundSfsReturnObjResponse

type HpfsRefundSfsReturnObjResponse struct {
	MasterOrderID string `json:"masterOrderID"` /*  退订订单号,可以使用该订单号确认资源的最终退订状态  */
	MasterOrderNO string `json:"masterOrderNO"` /*  订单号  */
	RegionID      string `json:"regionID"`      /*  资源所属资源池 ID  */
}

type HpfsRenameSfsApi

type HpfsRenameSfsApi struct {
	// contains filtered or unexported fields
}

func NewHpfsRenameSfsApi

func NewHpfsRenameSfsApi(client *core.CtyunClient) *HpfsRenameSfsApi

func (*HpfsRenameSfsApi) Do

type HpfsRenameSfsRequest

type HpfsRenameSfsRequest struct {
	RegionID string `json:"regionID,omitempty"` /*  资源池 ID  */
	SfsUID   string `json:"sfsUID,omitempty"`   /*  并行文件唯一ID  */
	SfsName  string `json:"sfsName,omitempty"`  /*  文件系统新名称  */
}

type HpfsRenameSfsResponse

type HpfsRenameSfsResponse struct {
	StatusCode  int32  `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string `json:"message"`     /*  响应描述  */
	Description string `json:"description"` /*  响应描述  */
	ErrorCode   string `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsResizeSfsApi

type HpfsResizeSfsApi struct {
	// contains filtered or unexported fields
}

func NewHpfsResizeSfsApi

func NewHpfsResizeSfsApi(client *core.CtyunClient) *HpfsResizeSfsApi

func (*HpfsResizeSfsApi) Do

type HpfsResizeSfsErrorDetailResponse

type HpfsResizeSfsErrorDetailResponse struct {
	BssErrCode       string `json:"bssErrCode"`       /*  bss错误明细码,包含于bss格式化JSON错误信息中  */
	BssErrMsg        string `json:"bssErrMsg"`        /*  bss错误信息,包含于bss格式化JSON错误信息中  */
	BssOrigErr       string `json:"bssOrigErr"`       /*  无法明确解码bss错误信息时,原样透出的bss错误信息  */
	BssErrPrefixHint string `json:"bssErrPrefixHint"` /*  bss格式化JSON错误信息的前置提示信息  */
}

type HpfsResizeSfsRequest

type HpfsResizeSfsRequest struct {
	SfsSize     int32  `json:"sfsSize,omitempty"`     /*  变配后的大小,单位 GB, 起始容量512,步长为512  */
	SfsUID      string `json:"sfsUID,omitempty"`      /*  资源 ID  */
	RegionID    string `json:"regionID,omitempty"`    /*  资源池 ID  */
	ClientToken string `json:"clientToken,omitempty"` /*  客户端存根,用于保证订单幂等性。要求单个云平台账户内唯一  */
}

type HpfsResizeSfsResponse

type HpfsResizeSfsResponse struct {
	StatusCode  int32                             `json:"statusCode"`  /*  返回状态码(800为成功,900为处理中/失败,详见errorCode)  */
	Message     string                            `json:"message"`     /*  响应描述  */
	Description string                            `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsResizeSfsReturnObjResponse   `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                            `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	ErrorDetail *HpfsResizeSfsErrorDetailResponse `json:"errorDetail"` /*  错误明细。一般情况下,会对订单侧(bss)的并行文件订单业务相关的错误做明确的错误映射和提升,有唯一对应的errorCode。其他订单侧(bss)的错误,以sfs.order.procFailed的errorCode统一映射返回,并在errorDetail中返回订单侧的详细错误信息  */
	Error       string                            `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsResizeSfsReturnObjResponse

type HpfsResizeSfsReturnObjResponse struct {
	MasterOrderID string `json:"masterOrderID"` /*  订单 ID。调用方在拿到 masterOrderID 之后,在若干错误情况下,可以使用 masterOrderID 进一步确认订单状态及资源状态  */
	MasterOrderNO string `json:"masterOrderNO"` /*  订单号  */
	RegionID      string `json:"regionID"`      /*  资源所属资源池 ID  */
}

type HpfsUpdateDataflowApi

type HpfsUpdateDataflowApi struct {
	// contains filtered or unexported fields
}

func NewHpfsUpdateDataflowApi

func NewHpfsUpdateDataflowApi(client *core.CtyunClient) *HpfsUpdateDataflowApi

func (*HpfsUpdateDataflowApi) Do

type HpfsUpdateDataflowRequest

type HpfsUpdateDataflowRequest struct {
	RegionID            string `json:"regionID,omitempty"`            /*  资源池 ID  */
	DataflowID          string `json:"dataflowID,omitempty"`          /*  数据流动策略ID  */
	AutoSync            *bool  `json:"autoSync"`                      /*  是否打开自动同步  */
	DataflowDescription string `json:"dataflowDescription,omitempty"` /*  数据流动策略的描述  */
}

type HpfsUpdateDataflowResponse

type HpfsUpdateDataflowResponse struct {
	StatusCode  int32                                `json:"statusCode"`  /*  返回状态码(800 为成功,900 为失败)  */
	Message     string                               `json:"message"`     /*  响应描述  */
	Description string                               `json:"description"` /*  响应描述  */
	ReturnObj   *HpfsUpdateDataflowReturnObjResponse `json:"returnObj"`   /*  返回对象  */
	ErrorCode   string                               `json:"errorCode"`   /*  业务细分码,为 product.module.code 三段式码  */
	Error       string                               `json:"error"`       /*  业务细分码,为product.module.code三段式大驼峰码  */
}

type HpfsUpdateDataflowReturnObjResponse

type HpfsUpdateDataflowReturnObjResponse struct {
	RegionID string `json:"regionID"` /*  资源所属资源池 ID  */
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL