Documentation
¶
Index ¶
- Constants
- type Apis
- type FlexibleBool
- type SfsAddMountpointSfsApi
- type SfsAddMountpointSfsRequest
- type SfsAddMountpointSfsResponse
- type SfsAddMountpointSfsReturnObjResponse
- type SfsChangePermissionApi
- type SfsChangePermissionRequest
- type SfsChangePermissionResponse
- type SfsChangePermissionReturnObjResponse
- type SfsCountQuotaSfsApi
- type SfsCountQuotaSfsRequest
- type SfsCountQuotaSfsResponse
- type SfsCountQuotaSfsReturnObjResponse
- type SfsCreateSubdirSfsApi
- type SfsCreateSubdirSfsRequest
- type SfsCreateSubdirSfsResponse
- type SfsCreateSubdirSfsReturnObjResponse
- type SfsDeleteMountpointApi
- type SfsDeleteMountpointRequest
- type SfsDeleteMountpointResponse
- type SfsDeleteMountpointSfsApi
- type SfsDeleteMountpointSfsRequest
- type SfsDeleteMountpointSfsResponse
- type SfsDeleteMountpointSfsReturnObjResponse
- type SfsFreeStorageApi
- type SfsFreeStorageRequest
- type SfsFreeStorageResponse
- type SfsListMountpointApi
- type SfsListMountpointRequest
- type SfsListMountpointResponse
- type SfsListMountpointReturnObjMountPointListResponse
- type SfsListMountpointReturnObjResponse
- type SfsListPermissionApi
- type SfsListPermissionRequest
- type SfsListPermissionResponse
- type SfsListRegionSfsApi
- type SfsListRegionSfsRequest
- type SfsListRegionSfsResponse
- type SfsListRegionSfsReturnObjRegionListResponse
- type SfsListRegionSfsReturnObjResponse
- type SfsListSfsByOndemandApi
- type SfsListSfsByOndemandRequest
- type SfsListSfsByOndemandResponse
- type SfsListSfsByOndemandReturnObjResponse
- type SfsListSfsBySfsprotocolApi
- type SfsListSfsBySfsprotocolRequest
- type SfsListSfsBySfsprotocolResponse
- type SfsListSfsBySfsprotocolReturnObjResponse
- type SfsListSfsBySfstypeApi
- type SfsListSfsBySfstypeRequest
- type SfsListSfsBySfstypeResponse
- type SfsListSfsBySfstypeReturnObjResponse
- type SfsModifyPermissionGroupApi
- type SfsModifyPermissionGroupRequest
- type SfsModifyPermissionGroupResponse
- type SfsModifyPermissionGroupReturnObjResponse
- type SfsOpendListApi
- type SfsOpendListRequest
- type SfsOpendListResponse
- type SfsOpendListReturnObjResponse
- type SfsPermissionGroupDeleteApi
- type SfsPermissionGroupDeleteRequest
- type SfsPermissionGroupDeleteResponse
- type SfsPermissionGroupDeleteReturnObjResponse
- type SfsPermissionGroupListApi
- type SfsPermissionGroupListRequest
- type SfsPermissionGroupListResponse
- type SfsPermissionGroupNewApi
- type SfsPermissionGroupNewRequest
- type SfsPermissionGroupNewResponse
- type SfsPermissionGroupNewReturnObjResponse
- type SfsPermissionRuleDeleteApi
- type SfsPermissionRuleDeleteRequest
- type SfsPermissionRuleDeleteResponse
- type SfsPermissionRuleDeleteReturnObjResponse
- type SfsPermissionRuleListApi
- type SfsPermissionRuleListRequest
- type SfsPermissionRuleListResponse
- type SfsPermissionRuleListReturnObjListResponse
- type SfsPermissionRuleListReturnObjResponse
- type SfsPermissionRuleModifyApi
- type SfsPermissionRuleModifyRequest
- type SfsPermissionRuleModifyResponse
- type SfsPermissionRuleModifyReturnObjResponse
- type SfsPermissionRuleNewApi
- type SfsPermissionRuleNewRequest
- type SfsPermissionRuleNewResponse
- type SfsPermissionRuleNewReturnObjResponse
- type SfsQueryPricesApi
- type SfsQueryPricesRequest
- type SfsQueryPricesResponse
- type SfsQueryPricesReturnObjResponse
- type SfsQueryPricesReturnObjSubOrderPricesOrderItemPricesResponse
- type SfsQueryPricesReturnObjSubOrderPricesResponse
- type SfsRateStorageApi
- type SfsRateStorageRequest
- type SfsRateStorageResponse
- type SfsRateStorageReturnObjResponse
- type SfsRenameSFSApi
- type SfsRenameSFSRequest
- type SfsRenameSFSResponse
- type SfsRenameSFSReturnObjResponse
- type SfsSfsBatchBindLabelApi
- type SfsSfsBatchBindLabelRequest
- type SfsSfsBatchBindLabelResponse
- type SfsSfsBatchBindLabelReturnObjResponse
- type SfsSfsBindPermissionApi
- type SfsSfsBindPermissionRequest
- type SfsSfsBindPermissionResponse
- type SfsSfsBindPermissionReturnObjResponse
- type SfsSfsBindVpcSfsApi
- type SfsSfsBindVpcSfsRequest
- type SfsSfsBindVpcSfsResponse
- type SfsSfsBindVpcSfsReturnObjResponse
- type SfsSfsChangeVpcSfsApi
- type SfsSfsChangeVpcSfsRequest
- type SfsSfsChangeVpcSfsResponse
- type SfsSfsChangeVpcSfsReturnObjResponse
- type SfsSfsCheckKtbApi
- type SfsSfsCheckKtbRequest
- type SfsSfsCheckKtbResponse
- type SfsSfsCreateDuplicateApi
- type SfsSfsCreateDuplicateRequest
- type SfsSfsCreateDuplicateResponse
- type SfsSfsCreateQueryPricesApi
- type SfsSfsCreateQueryPricesRequest
- type SfsSfsCreateQueryPricesResponse
- type SfsSfsCreateQueryPricesReturnObjResponse
- type SfsSfsCreateQueryPricesReturnObjSubOrderPricesOrderItemPricesResponse
- type SfsSfsCreateQueryPricesReturnObjSubOrderPricesResponse
- type SfsSfsCreateSfsApi
- type SfsSfsCreateSfsRequest
- type SfsSfsCreateSfsResponse
- type SfsSfsCreateSfsReturnObjResponse
- type SfsSfsDeleteADApi
- type SfsSfsDeleteADRequest
- type SfsSfsDeleteADResponse
- type SfsSfsDeleteDuplicateApi
- type SfsSfsDeleteDuplicateRequest
- type SfsSfsDeleteDuplicateResponse
- type SfsSfsDeleteDuplicateReturnObjResponse
- type SfsSfsDeletePermissionRuleSfsApi
- type SfsSfsDeletePermissionRuleSfsRequest
- type SfsSfsDeletePermissionRuleSfsResponse
- type SfsSfsDeletePermissionRuleSfsReturnObjResponse
- type SfsSfsDeletePermissionSfsApi
- type SfsSfsDeletePermissionSfsRequest
- type SfsSfsDeletePermissionSfsResponse
- type SfsSfsDeletePermissionSfsReturnObjResponse
- type SfsSfsFreeSizeSfsApi
- type SfsSfsFreeSizeSfsRequest
- type SfsSfsFreeSizeSfsResponse
- type SfsSfsFreeSizeSfsReturnObjResponse
- type SfsSfsInfoApi
- type SfsSfsInfoByNameApi
- type SfsSfsInfoByNameRequest
- type SfsSfsInfoByNameResponse
- type SfsSfsInfoByNameReturnObjResponse
- type SfsSfsInfoByNameSfsApi
- type SfsSfsInfoByNameSfsRequest
- type SfsSfsInfoByNameSfsResponse
- type SfsSfsInfoByNameSfsReturnObjResponse
- type SfsSfsInfoRequest
- type SfsSfsInfoResponse
- type SfsSfsInfoReturnObjResponse
- type SfsSfsInfoSfsApi
- type SfsSfsInfoSfsRequest
- type SfsSfsInfoSfsResponse
- type SfsSfsInfoSfsReturnObjListResponse
- type SfsSfsInfoSfsReturnObjResponse
- type SfsSfsJoinADApi
- type SfsSfsJoinADRequest
- type SfsSfsJoinADResponse
- type SfsSfsListADApi
- type SfsSfsListADRequest
- type SfsSfsListADResponse
- type SfsSfsListApi
- type SfsSfsListDuplicateApi
- type SfsSfsListDuplicateRequest
- type SfsSfsListDuplicateResponse
- type SfsSfsListDuplicateReturnObjListResponse
- type SfsSfsListDuplicateReturnObjResponse
- type SfsSfsListLabelBySfsApi
- type SfsSfsListLabelBySfsRequest
- type SfsSfsListLabelBySfsResponse
- type SfsSfsListLabelBySfsReturnObjLabelListResponse
- type SfsSfsListLabelBySfsReturnObjResponse
- type SfsSfsListMountpointApi
- type SfsSfsListMountpointRequest
- type SfsSfsListMountpointResponse
- type SfsSfsListMountpointReturnObjResponse
- type SfsSfsListPermissionRuleSfsApi
- type SfsSfsListPermissionRuleSfsRequest
- type SfsSfsListPermissionRuleSfsResponse
- type SfsSfsListPermissionRuleSfsReturnObjListResponse
- type SfsSfsListPermissionRuleSfsReturnObjResponse
- type SfsSfsListPermissionSfsApi
- type SfsSfsListPermissionSfsRequest
- type SfsSfsListPermissionSfsResponse
- type SfsSfsListPermissionSfsReturnObjListResponse
- type SfsSfsListPermissionSfsReturnObjResponse
- type SfsSfsListReadWriteSfs1Api
- type SfsSfsListReadWriteSfs1Request
- type SfsSfsListReadWriteSfs1Response
- type SfsSfsListReadWriteSfs1ReturnObjListResponse
- type SfsSfsListReadWriteSfs1ReturnObjResponse
- type SfsSfsListRequest
- type SfsSfsListResponse
- type SfsSfsListReturnObjListResponse
- type SfsSfsListReturnObjResponse
- type SfsSfsListRwApi
- type SfsSfsListRwRequest
- type SfsSfsListRwResponse
- type SfsSfsListRwReturnObjResponse
- type SfsSfsListSfsByVpcidApi
- type SfsSfsListSfsByVpcidRequest
- type SfsSfsListSfsByVpcidResponse
- type SfsSfsListSfsByVpcidReturnObjResponse
- type SfsSfsListVpcSfsApi
- type SfsSfsListVpcSfsRequest
- type SfsSfsListVpcSfsResponse
- type SfsSfsListVpcSfsReturnObjListResponse
- type SfsSfsListVpcSfsReturnObjResponse
- type SfsSfsModifyADApi
- type SfsSfsModifyADRequest
- type SfsSfsModifyADResponse
- type SfsSfsModifyPermissionRuleSfsApi
- type SfsSfsModifyPermissionRuleSfsRequest
- type SfsSfsModifyPermissionRuleSfsResponse
- type SfsSfsModifyPermissionSfsApi
- type SfsSfsModifyPermissionSfsRequest
- type SfsSfsModifyPermissionSfsResponse
- type SfsSfsModifyPermissionSfsReturnObjResponse
- type SfsSfsNewApi
- type SfsSfsNewPermissionRuleSfsApi
- type SfsSfsNewPermissionRuleSfsRequest
- type SfsSfsNewPermissionRuleSfsResponse
- type SfsSfsNewPermissionRuleSfsReturnObjResponse
- type SfsSfsNewPermissionSfsApi
- type SfsSfsNewPermissionSfsRequest
- type SfsSfsNewPermissionSfsResponse
- type SfsSfsNewPermissionSfsReturnObjResponse
- type SfsSfsNewRequest
- type SfsSfsNewResponse
- type SfsSfsNewReturnObjResourcesResourceConfigResponse
- type SfsSfsNewReturnObjResourcesResponse
- type SfsSfsNewReturnObjResponse
- type SfsSfsNewSfsApi
- type SfsSfsNewSfsErrorDetailResponse
- type SfsSfsNewSfsRequest
- type SfsSfsNewSfsResponse
- type SfsSfsNewSfsReturnObjResourcesResponse
- type SfsSfsNewSfsReturnObjResponse
- type SfsSfsOpenListSfsApi
- type SfsSfsOpenListSfsRequest
- type SfsSfsOpenListSfsResponse
- type SfsSfsQueryPricesApi
- type SfsSfsQueryPricesRequest
- type SfsSfsQueryPricesResponse
- type SfsSfsQueryPricesReturnObjResponse
- type SfsSfsQueryPricesReturnObjSubOrderPricesOrderItemPricesResponse
- type SfsSfsQueryPricesReturnObjSubOrderPricesResponse
- type SfsSfsRefundApi
- type SfsSfsRefundRequest
- type SfsSfsRefundResponse
- type SfsSfsRefundReturnObjResponse
- type SfsSfsRefundSfsApi
- type SfsSfsRefundSfsErrorDetailResponse
- type SfsSfsRefundSfsRequest
- type SfsSfsRefundSfsResponse
- type SfsSfsRefundSfsReturnObjResponse
- type SfsSfsRegionDetailsSfsApi
- type SfsSfsRegionDetailsSfsRequest
- type SfsSfsRegionDetailsSfsResponse
- type SfsSfsRegionDetailsSfsReturnObjRegionSupportListResponse
- type SfsSfsRegionDetailsSfsReturnObjResponse
- type SfsSfsRegionlistApi
- type SfsSfsRegionlistRequest
- type SfsSfsRegionlistResponse
- type SfsSfsRenewApi
- type SfsSfsRenewRequest
- type SfsSfsRenewResponse
- type SfsSfsRenewReturnObjResponse
- type SfsSfsRenewSfsApi
- type SfsSfsRenewSfsErrorDetailResponse
- type SfsSfsRenewSfsRequest
- type SfsSfsRenewSfsResponse
- type SfsSfsRenewSfsReturnObjResponse
- type SfsSfsResizeApi
- type SfsSfsResizeRequest
- type SfsSfsResizeResponse
- type SfsSfsResizeReturnObjResponse
- type SfsSfsResizeSfsApi
- type SfsSfsResizeSfsErrorDetailResponse
- type SfsSfsResizeSfsRequest
- type SfsSfsResizeSfsResponse
- type SfsSfsResizeSfsReturnObjResponse
- type SfsSfsRoApi
- type SfsSfsRoRequest
- type SfsSfsRoResponse
- type SfsSfsRwApi
- type SfsSfsRwRequest
- type SfsSfsRwResponse
- type SfsSfsSetProtectSwitchApi
- type SfsSfsSetProtectSwitchRequest
- type SfsSfsSetProtectSwitchResponse
- type SfsSfsSetProtectSwitchReturnObjResponse
- type SfsSfsSetReadSfsApi
- type SfsSfsSetReadSfsRequest
- type SfsSfsSetReadSfsResponse
- type SfsSfsSetReadSfsReturnObjResponse
- type SfsSfsSetReadWriteSfsApi
- type SfsSfsSetReadWriteSfsRequest
- type SfsSfsSetReadWriteSfsResponse
- type SfsSfsSetReadWriteSfsReturnObjResponse
- type SfsSfsTotalSizeSfsApi
- type SfsSfsTotalSizeSfsRequest
- type SfsSfsTotalSizeSfsResponse
- type SfsSfsTotalSizeSfsReturnObjResponse
- type SfsSfsUnbindPermissionApi
- type SfsSfsUnbindPermissionRequest
- type SfsSfsUnbindPermissionResponse
- type SfsSfsUnbindPermissionReturnObjResponse
- type SfsSfsUnbindVpcSfsApi
- type SfsSfsUnbindVpcSfsRequest
- type SfsSfsUnbindVpcSfsResponse
- type SfsSfsUnbindVpcSfsReturnObjResponse
- type SfsSfsUpdateLabelApi
- type SfsSfsUpdateLabelLabelListRequest
- type SfsSfsUpdateLabelRequest
- type SfsSfsUpdateLabelResponse
- type SfsSfsUpdateLabelReturnObjResponse
- type SfsSfsUsedRateSfsApi
- type SfsSfsUsedRateSfsRequest
- type SfsSfsUsedRateSfsResponse
- type SfsSfsUsedRateSfsReturnObjResponse
- type SfsSfsUsedSizeSfsApi
- type SfsSfsUsedSizeSfsRequest
- type SfsSfsUsedSizeSfsResponse
- type SfsSfsUsedSizeSfsReturnObjResponse
- type SfsSfsZoneListsfsApi
- type SfsSfsZoneListsfsRequest
- type SfsSfsZoneListsfsResponse
- type SfsStorageQuotaSfsApi
- type SfsStorageQuotaSfsRequest
- type SfsStorageQuotaSfsResponse
- type SfsStorageQuotaSfsReturnObjResponse
- type SfsTotalStorageApi
- type SfsTotalStorageRequest
- type SfsTotalStorageResponse
- type SfsTotalStorageReturnObjResponse
- type SfsUsedStorageApi
- type SfsUsedStorageRequest
- type SfsUsedStorageResponse
- type SfsUsedStorageReturnObjResponse
- type SfsVpcQuotaSfsApi
- type SfsVpcQuotaSfsRequest
- type SfsVpcQuotaSfsResponse
- type SfsVpcQuotaSfsReturnObjResponse
- type SfsVpceSharePathResponse
Constants ¶
View Source
const EndpointName = "sfs"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apis ¶
type Apis struct { SfsSfsNewApi *SfsSfsNewApi SfsListRegionSfsApi *SfsListRegionSfsApi SfsListSfsByOndemandApi *SfsListSfsByOndemandApi SfsListSfsBySfstypeApi *SfsListSfsBySfstypeApi SfsStorageQuotaSfsApi *SfsStorageQuotaSfsApi SfsCountQuotaSfsApi *SfsCountQuotaSfsApi SfsRenameSFSApi *SfsRenameSFSApi SfsSfsRegionDetailsSfsApi *SfsSfsRegionDetailsSfsApi SfsListSfsBySfsprotocolApi *SfsListSfsBySfsprotocolApi SfsSfsOpenListSfsApi *SfsSfsOpenListSfsApi SfsSfsListRwApi *SfsSfsListRwApi SfsSfsListReadWriteSfs1Api *SfsSfsListReadWriteSfs1Api SfsDeleteMountpointSfsApi *SfsDeleteMountpointSfsApi SfsSfsSetReadWriteSfsApi *SfsSfsSetReadWriteSfsApi SfsSfsSetReadSfsApi *SfsSfsSetReadSfsApi SfsSfsListVpcSfsApi *SfsSfsListVpcSfsApi SfsSfsUsedRateSfsApi *SfsSfsUsedRateSfsApi SfsSfsFreeSizeSfsApi *SfsSfsFreeSizeSfsApi SfsSfsUsedSizeSfsApi *SfsSfsUsedSizeSfsApi SfsSfsTotalSizeSfsApi *SfsSfsTotalSizeSfsApi SfsSfsInfoApi *SfsSfsInfoApi SfsSfsInfoByNameApi *SfsSfsInfoByNameApi SfsSfsListApi *SfsSfsListApi SfsSfsZoneListsfsApi *SfsSfsZoneListsfsApi SfsSfsRegionlistApi *SfsSfsRegionlistApi SfsTotalStorageApi *SfsTotalStorageApi SfsUsedStorageApi *SfsUsedStorageApi SfsFreeStorageApi *SfsFreeStorageApi SfsRateStorageApi *SfsRateStorageApi SfsOpendListApi *SfsOpendListApi SfsSfsRoApi *SfsSfsRoApi SfsSfsRwApi *SfsSfsRwApi SfsSfsInfoByNameSfsApi *SfsSfsInfoByNameSfsApi SfsSfsCreateSfsApi *SfsSfsCreateSfsApi SfsSfsListMountpointApi *SfsSfsListMountpointApi SfsSfsListLabelBySfsApi *SfsSfsListLabelBySfsApi SfsSfsBatchBindLabelApi *SfsSfsBatchBindLabelApi SfsSfsUpdateLabelApi *SfsSfsUpdateLabelApi SfsCreateSubdirSfsApi *SfsCreateSubdirSfsApi SfsSfsNewPermissionSfsApi *SfsSfsNewPermissionSfsApi SfsSfsDeletePermissionSfsApi *SfsSfsDeletePermissionSfsApi SfsSfsModifyPermissionSfsApi *SfsSfsModifyPermissionSfsApi SfsSfsCreateQueryPricesApi *SfsSfsCreateQueryPricesApi SfsSfsQueryPricesApi *SfsSfsQueryPricesApi SfsQueryPricesApi *SfsQueryPricesApi SfsAddMountpointSfsApi *SfsAddMountpointSfsApi SfsSfsChangeVpcSfsApi *SfsSfsChangeVpcSfsApi SfsSfsUnbindVpcSfsApi *SfsSfsUnbindVpcSfsApi SfsSfsBindVpcSfsApi *SfsSfsBindVpcSfsApi SfsSfsModifyPermissionRuleSfsApi *SfsSfsModifyPermissionRuleSfsApi SfsSfsListPermissionRuleSfsApi *SfsSfsListPermissionRuleSfsApi SfsSfsDeletePermissionRuleSfsApi *SfsSfsDeletePermissionRuleSfsApi SfsSfsNewPermissionRuleSfsApi *SfsSfsNewPermissionRuleSfsApi SfsSfsListPermissionSfsApi *SfsSfsListPermissionSfsApi SfsSfsNewSfsApi *SfsSfsNewSfsApi SfsSfsRenewSfsApi *SfsSfsRenewSfsApi SfsSfsResizeSfsApi *SfsSfsResizeSfsApi SfsSfsRefundSfsApi *SfsSfsRefundSfsApi SfsPermissionRuleModifyApi *SfsPermissionRuleModifyApi SfsPermissionRuleListApi *SfsPermissionRuleListApi SfsPermissionRuleDeleteApi *SfsPermissionRuleDeleteApi SfsPermissionRuleNewApi *SfsPermissionRuleNewApi SfsModifyPermissionGroupApi *SfsModifyPermissionGroupApi SfsPermissionGroupListApi *SfsPermissionGroupListApi SfsPermissionGroupDeleteApi *SfsPermissionGroupDeleteApi SfsPermissionGroupNewApi *SfsPermissionGroupNewApi SfsListPermissionApi *SfsListPermissionApi SfsChangePermissionApi *SfsChangePermissionApi SfsSfsUnbindPermissionApi *SfsSfsUnbindPermissionApi SfsSfsBindPermissionApi *SfsSfsBindPermissionApi SfsDeleteMountpointApi *SfsDeleteMountpointApi SfsListMountpointApi *SfsListMountpointApi SfsSfsRefundApi *SfsSfsRefundApi SfsSfsResizeApi *SfsSfsResizeApi SfsSfsRenewApi *SfsSfsRenewApi SfsSfsListSfsByVpcidApi *SfsSfsListSfsByVpcidApi SfsVpcQuotaSfsApi *SfsVpcQuotaSfsApi SfsSfsCheckKtbApi *SfsSfsCheckKtbApi SfsSfsListADApi *SfsSfsListADApi SfsSfsJoinADApi *SfsSfsJoinADApi SfsSfsModifyADApi *SfsSfsModifyADApi SfsSfsDeleteADApi *SfsSfsDeleteADApi SfsSfsCreateDuplicateApi *SfsSfsCreateDuplicateApi SfsSfsSetProtectSwitchApi *SfsSfsSetProtectSwitchApi SfsSfsListDuplicateApi *SfsSfsListDuplicateApi SfsSfsDeleteDuplicateApi *SfsSfsDeleteDuplicateApi SfsSfsInfoSfsApi *SfsSfsInfoSfsApi }
type FlexibleBool ¶
type FlexibleBool struct {
Value *bool
}
新增自定义类型处理 readOnly 字段
func (*FlexibleBool) UnmarshalJSON ¶
func (b *FlexibleBool) UnmarshalJSON(data []byte) error
实现自定义反序列化逻辑
type SfsAddMountpointSfsApi ¶
type SfsAddMountpointSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsAddMountpointSfsApi ¶
func NewSfsAddMountpointSfsApi(client *core.CtyunClient) *SfsAddMountpointSfsApi
func (*SfsAddMountpointSfsApi) Do ¶
func (a *SfsAddMountpointSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsAddMountpointSfsRequest) (*SfsAddMountpointSfsResponse, error)
type SfsAddMountpointSfsRequest ¶
type SfsAddMountpointSfsRequest struct { RegionID string `json:"regionID,omitempty"` /* 资源池ID */ SfsUID string `json:"sfsUID,omitempty"` /* 弹性文件功能系统唯一ID */ VpcID string `json:"vpcID,omitempty"` /* vpcID。可以通过<a href="https://www.ctyun.cn/document/10026755/10040788" target="_blank">查询VPC列表</a>获取,如需新增可以<a href="https://www.ctyun.cn/document/10026755/10040800" target="_blank">创建VPC</a>。也可以登录官网,在“控制中心-网络-虚拟私有云”控制台查询vpcID,具体请参考<a href="https://www.ctyun.cn/document/10026755" target="_blank">虚拟私有云</a>。 */ SubnetID string `json:"subnetID,omitempty"` /* 子网ID。可以通过<a href="https://www.ctyun.cn/document/10026755/10040797" target="_blank">查询子网列表</a>获取,如需新增可以<a href="https://www.ctyun.cn/document/10026755/10040804" target="_blank">创建子网</a>。也可以登录官网,在“控制中心-网络-虚拟私有云”控制台查询subnetID,具体请参考<a href="https://www.ctyun.cn/document/10026755" target="_blank">虚拟私有云</a>。 */ }
type SfsAddMountpointSfsResponse ¶
type SfsAddMountpointSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsAddMountpointSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsAddMountpointSfsReturnObjResponse ¶
type SfsAddMountpointSfsReturnObjResponse struct {
OperationID string `json:"operationID"` /* 添加挂载点的操作ID */
}
type SfsChangePermissionApi ¶
type SfsChangePermissionApi struct {
// contains filtered or unexported fields
}
func NewSfsChangePermissionApi ¶
func NewSfsChangePermissionApi(client *core.CtyunClient) *SfsChangePermissionApi
func (*SfsChangePermissionApi) Do ¶
func (a *SfsChangePermissionApi) Do(ctx context.Context, credential core.Credential, req *SfsChangePermissionRequest) (*SfsChangePermissionResponse, error)
type SfsChangePermissionResponse ¶
type SfsChangePermissionResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsChangePermissionReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsChangePermissionReturnObjResponse ¶
type SfsChangePermissionReturnObjResponse struct {
OperationID string `json:"operationID"` /* 文件系统VPC换绑权限组的操作号 */
}
type SfsCountQuotaSfsApi ¶
type SfsCountQuotaSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsCountQuotaSfsApi ¶
func NewSfsCountQuotaSfsApi(client *core.CtyunClient) *SfsCountQuotaSfsApi
func (*SfsCountQuotaSfsApi) Do ¶
func (a *SfsCountQuotaSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsCountQuotaSfsRequest) (*SfsCountQuotaSfsResponse, error)
type SfsCountQuotaSfsRequest ¶
type SfsCountQuotaSfsRequest struct {
RegionID string `json:"regionID,omitempty"` /* 资源池ID */
}
type SfsCountQuotaSfsResponse ¶
type SfsCountQuotaSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsCountQuotaSfsReturnObjResponse `json:"returnObj"` /* returnObj */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsCreateSubdirSfsApi ¶
type SfsCreateSubdirSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsCreateSubdirSfsApi ¶
func NewSfsCreateSubdirSfsApi(client *core.CtyunClient) *SfsCreateSubdirSfsApi
func (*SfsCreateSubdirSfsApi) Do ¶
func (a *SfsCreateSubdirSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsCreateSubdirSfsRequest) (*SfsCreateSubdirSfsResponse, error)
type SfsCreateSubdirSfsResponse ¶
type SfsCreateSubdirSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsCreateSubdirSfsReturnObjResponse `json:"returnObj"` /* 返回队形 */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsDeleteMountpointApi ¶
type SfsDeleteMountpointApi struct {
// contains filtered or unexported fields
}
func NewSfsDeleteMountpointApi ¶
func NewSfsDeleteMountpointApi(client *core.CtyunClient) *SfsDeleteMountpointApi
func (*SfsDeleteMountpointApi) Do ¶
func (a *SfsDeleteMountpointApi) Do(ctx context.Context, credential core.Credential, req *SfsDeleteMountpointRequest) (*SfsDeleteMountpointResponse, error)
type SfsDeleteMountpointResponse ¶
type SfsDeleteMountpointResponse 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三段式码大驼峰形式 */ OperationID string `json:"operationID"` /* 删除文件系统挂载点的操作号 */ }
type SfsDeleteMountpointSfsApi ¶
type SfsDeleteMountpointSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsDeleteMountpointSfsApi ¶
func NewSfsDeleteMountpointSfsApi(client *core.CtyunClient) *SfsDeleteMountpointSfsApi
func (*SfsDeleteMountpointSfsApi) Do ¶
func (a *SfsDeleteMountpointSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsDeleteMountpointSfsRequest) (*SfsDeleteMountpointSfsResponse, error)
type SfsDeleteMountpointSfsResponse ¶
type SfsDeleteMountpointSfsResponse 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三段式码大驼峰形式 */ ReturnObj *SfsDeleteMountpointSfsReturnObjResponse `json:"returnObj"` /* 参考[响应示例] */ }
type SfsDeleteMountpointSfsReturnObjResponse ¶
type SfsDeleteMountpointSfsReturnObjResponse struct {
OperationID string `json:"operationID"` /* 删除文件系统挂载点的操作号 */
}
type SfsFreeStorageApi ¶
type SfsFreeStorageApi struct {
// contains filtered or unexported fields
}
func NewSfsFreeStorageApi ¶
func NewSfsFreeStorageApi(client *core.CtyunClient) *SfsFreeStorageApi
func (*SfsFreeStorageApi) Do ¶
func (a *SfsFreeStorageApi) Do(ctx context.Context, credential core.Credential, req *SfsFreeStorageRequest) (*SfsFreeStorageResponse, error)
type SfsFreeStorageRequest ¶
type SfsFreeStorageResponse ¶
type SfsFreeStorageResponse 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 SfsListMountpointApi ¶
type SfsListMountpointApi struct {
// contains filtered or unexported fields
}
func NewSfsListMountpointApi ¶
func NewSfsListMountpointApi(client *core.CtyunClient) *SfsListMountpointApi
func (*SfsListMountpointApi) Do ¶
func (a *SfsListMountpointApi) Do(ctx context.Context, credential core.Credential, req *SfsListMountpointRequest) (*SfsListMountpointResponse, error)
type SfsListMountpointResponse ¶
type SfsListMountpointResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsListMountpointReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsListMountpointReturnObjMountPointListResponse ¶
type SfsListMountpointReturnObjMountPointListResponse struct { MountPointID string `json:"mountPointID"` /* 文件系统挂载点ID */ SubnetID string `json:"subnetID"` /* 子网ID */ VpcID string `json:"vpcID"` /* vpc ID */ SubnetName string `json:"subnetName"` /* 子网名字 */ VpcName string `json:"vpcName"` /* vpc名字 */ }
type SfsListMountpointReturnObjResponse ¶
type SfsListMountpointReturnObjResponse struct { TotalCount int32 `json:"totalCount"` /* 挂载点个数 */ CurrentCount int32 `json:"currentCount"` /* 当前页码的元素个数 */ MountPointList []*SfsListMountpointReturnObjMountPointListResponse `json:"mountPointList"` /* 挂载点信息列表 */ PageSize int32 `json:"pageSize"` /* 每页个数 */ PageNo int32 `json:"pageNo"` /* 页数 */ }
type SfsListPermissionApi ¶
type SfsListPermissionApi struct {
// contains filtered or unexported fields
}
func NewSfsListPermissionApi ¶
func NewSfsListPermissionApi(client *core.CtyunClient) *SfsListPermissionApi
func (*SfsListPermissionApi) Do ¶
func (a *SfsListPermissionApi) Do(ctx context.Context, credential core.Credential, req *SfsListPermissionRequest) (*SfsListPermissionResponse, error)
type SfsListPermissionResponse ¶
type SfsListPermissionResponse 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 SfsListRegionSfsApi ¶
type SfsListRegionSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsListRegionSfsApi ¶
func NewSfsListRegionSfsApi(client *core.CtyunClient) *SfsListRegionSfsApi
func (*SfsListRegionSfsApi) Do ¶
func (a *SfsListRegionSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsListRegionSfsRequest) (*SfsListRegionSfsResponse, error)
type SfsListRegionSfsRequest ¶
type SfsListRegionSfsRequest struct{}
type SfsListRegionSfsResponse ¶
type SfsListRegionSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为英文描述 */ ReturnObj *SfsListRegionSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsListRegionSfsReturnObjResponse ¶
type SfsListRegionSfsReturnObjResponse struct {
RegionList []*SfsListRegionSfsReturnObjRegionListResponse `json:"regionList"` /* 查询的地域详情列表 */
}
type SfsListSfsByOndemandApi ¶
type SfsListSfsByOndemandApi struct {
// contains filtered or unexported fields
}
func NewSfsListSfsByOndemandApi ¶
func NewSfsListSfsByOndemandApi(client *core.CtyunClient) *SfsListSfsByOndemandApi
func (*SfsListSfsByOndemandApi) Do ¶
func (a *SfsListSfsByOndemandApi) Do(ctx context.Context, credential core.Credential, req *SfsListSfsByOndemandRequest) (*SfsListSfsByOndemandResponse, error)
type SfsListSfsByOndemandResponse ¶
type SfsListSfsByOndemandResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsListSfsByOndemandReturnObjResponse `json:"returnObj"` /* 参考returnObj */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsListSfsBySfsprotocolApi ¶
type SfsListSfsBySfsprotocolApi struct {
// contains filtered or unexported fields
}
func NewSfsListSfsBySfsprotocolApi ¶
func NewSfsListSfsBySfsprotocolApi(client *core.CtyunClient) *SfsListSfsBySfsprotocolApi
func (*SfsListSfsBySfsprotocolApi) Do ¶
func (a *SfsListSfsBySfsprotocolApi) Do(ctx context.Context, credential core.Credential, req *SfsListSfsBySfsprotocolRequest) (*SfsListSfsBySfsprotocolResponse, error)
type SfsListSfsBySfsprotocolResponse ¶
type SfsListSfsBySfsprotocolResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsListSfsBySfsprotocolReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsListSfsBySfstypeApi ¶
type SfsListSfsBySfstypeApi struct {
// contains filtered or unexported fields
}
func NewSfsListSfsBySfstypeApi ¶
func NewSfsListSfsBySfstypeApi(client *core.CtyunClient) *SfsListSfsBySfstypeApi
func (*SfsListSfsBySfstypeApi) Do ¶
func (a *SfsListSfsBySfstypeApi) Do(ctx context.Context, credential core.Credential, req *SfsListSfsBySfstypeRequest) (*SfsListSfsBySfstypeResponse, error)
type SfsListSfsBySfstypeResponse ¶
type SfsListSfsBySfstypeResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsListSfsBySfstypeReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsListSfsBySfstypeReturnObjResponse ¶
type SfsListSfsBySfstypeReturnObjResponse struct { TotalCount int32 `json:"totalCount"` /* 资源池下用户弹性文件总数 */ CurrentCount int32 `json:"currentCount"` /* 当前页码下查询回来的用户弹性文件数 */ Total int32 `json:"total"` /* 资源池下用户弹性文件总数 */ PageSize int32 `json:"pageSize"` /* 每页包含的元素个数。默认为1 */ PageNo int32 `json:"pageNo"` /* 当前页码。默认为10 */ }
type SfsModifyPermissionGroupApi ¶
type SfsModifyPermissionGroupApi struct {
// contains filtered or unexported fields
}
func NewSfsModifyPermissionGroupApi ¶
func NewSfsModifyPermissionGroupApi(client *core.CtyunClient) *SfsModifyPermissionGroupApi
func (*SfsModifyPermissionGroupApi) Do ¶
func (a *SfsModifyPermissionGroupApi) Do(ctx context.Context, credential core.Credential, req *SfsModifyPermissionGroupRequest) (*SfsModifyPermissionGroupResponse, error)
type SfsModifyPermissionGroupRequest ¶
type SfsModifyPermissionGroupRequest struct { PermissionGroupID string `json:"permissionGroupID,omitempty"` /* 权限组fuid */ RegionID string `json:"regionID,omitempty"` /* 资源池 ID */ Name string `json:"name,omitempty"` /* 权限组名字,不可重复;长度为2-63字符,只能由数字、字母、-组成,不能以数字和-开头、且不能以-结尾。 */ Description string `json:"description,omitempty"` /* 权限组描述信息,长度为0-128字符。 */ }
type SfsModifyPermissionGroupResponse ¶
type SfsModifyPermissionGroupResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsModifyPermissionGroupReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsModifyPermissionGroupReturnObjResponse ¶
type SfsModifyPermissionGroupReturnObjResponse struct {
OperationID string `json:"operationID"` /* 修改权限组的操作号 */
}
type SfsOpendListApi ¶
type SfsOpendListApi struct {
// contains filtered or unexported fields
}
func NewSfsOpendListApi ¶
func NewSfsOpendListApi(client *core.CtyunClient) *SfsOpendListApi
func (*SfsOpendListApi) Do ¶
func (a *SfsOpendListApi) Do(ctx context.Context, credential core.Credential, req *SfsOpendListRequest) (*SfsOpendListResponse, error)
type SfsOpendListRequest ¶
type SfsOpendListResponse ¶
type SfsOpendListResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsOpendListReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsPermissionGroupDeleteApi ¶
type SfsPermissionGroupDeleteApi struct {
// contains filtered or unexported fields
}
func NewSfsPermissionGroupDeleteApi ¶
func NewSfsPermissionGroupDeleteApi(client *core.CtyunClient) *SfsPermissionGroupDeleteApi
func (*SfsPermissionGroupDeleteApi) Do ¶
func (a *SfsPermissionGroupDeleteApi) Do(ctx context.Context, credential core.Credential, req *SfsPermissionGroupDeleteRequest) (*SfsPermissionGroupDeleteResponse, error)
type SfsPermissionGroupDeleteResponse ¶
type SfsPermissionGroupDeleteResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsPermissionGroupDeleteReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsPermissionGroupDeleteReturnObjResponse ¶
type SfsPermissionGroupDeleteReturnObjResponse struct {
OperationID string `json:"operationID"` /* 删除权限组的操作号 */
}
type SfsPermissionGroupListApi ¶
type SfsPermissionGroupListApi struct {
// contains filtered or unexported fields
}
func NewSfsPermissionGroupListApi ¶
func NewSfsPermissionGroupListApi(client *core.CtyunClient) *SfsPermissionGroupListApi
func (*SfsPermissionGroupListApi) Do ¶
func (a *SfsPermissionGroupListApi) Do(ctx context.Context, credential core.Credential, req *SfsPermissionGroupListRequest) (*SfsPermissionGroupListResponse, error)
type SfsPermissionGroupListResponse ¶
type SfsPermissionGroupListResponse 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 SfsPermissionGroupNewApi ¶
type SfsPermissionGroupNewApi struct {
// contains filtered or unexported fields
}
func NewSfsPermissionGroupNewApi ¶
func NewSfsPermissionGroupNewApi(client *core.CtyunClient) *SfsPermissionGroupNewApi
func (*SfsPermissionGroupNewApi) Do ¶
func (a *SfsPermissionGroupNewApi) Do(ctx context.Context, credential core.Credential, req *SfsPermissionGroupNewRequest) (*SfsPermissionGroupNewResponse, error)
type SfsPermissionGroupNewRequest ¶
type SfsPermissionGroupNewRequest struct { RegionID string `json:"regionID,omitempty"` /* 资源池 ID */ Name string `json:"name,omitempty"` /* 权限组名字。名称不可重复;长度为2-63字符,只能由数字、字母、-组成,不能以数字和-开头、且不能以-结尾。 */ NetworkType string `json:"networkType,omitempty"` /* 权限组网络类型。有效值范围:private_network */ Description string `json:"description,omitempty"` /* 描述信息,长度为0-128字符。 */ }
type SfsPermissionGroupNewResponse ¶
type SfsPermissionGroupNewResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsPermissionGroupNewReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsPermissionGroupNewReturnObjResponse ¶
type SfsPermissionGroupNewReturnObjResponse struct {
OperationID string `json:"operationID"` /* 创建权限组规则的操作号 */
}
type SfsPermissionRuleDeleteApi ¶
type SfsPermissionRuleDeleteApi struct {
// contains filtered or unexported fields
}
func NewSfsPermissionRuleDeleteApi ¶
func NewSfsPermissionRuleDeleteApi(client *core.CtyunClient) *SfsPermissionRuleDeleteApi
func (*SfsPermissionRuleDeleteApi) Do ¶
func (a *SfsPermissionRuleDeleteApi) Do(ctx context.Context, credential core.Credential, req *SfsPermissionRuleDeleteRequest) (*SfsPermissionRuleDeleteResponse, error)
type SfsPermissionRuleDeleteResponse ¶
type SfsPermissionRuleDeleteResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsPermissionRuleDeleteReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsPermissionRuleDeleteReturnObjResponse ¶
type SfsPermissionRuleDeleteReturnObjResponse struct {
OperationID string `json:"operationID"` /* 删除权限组规则的操作号 */
}
type SfsPermissionRuleListApi ¶
type SfsPermissionRuleListApi struct {
// contains filtered or unexported fields
}
func NewSfsPermissionRuleListApi ¶
func NewSfsPermissionRuleListApi(client *core.CtyunClient) *SfsPermissionRuleListApi
func (*SfsPermissionRuleListApi) Do ¶
func (a *SfsPermissionRuleListApi) Do(ctx context.Context, credential core.Credential, req *SfsPermissionRuleListRequest) (*SfsPermissionRuleListResponse, error)
type SfsPermissionRuleListResponse ¶
type SfsPermissionRuleListResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsPermissionRuleListReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsPermissionRuleListReturnObjListResponse ¶
type SfsPermissionRuleListReturnObjListResponse struct { Fuid string `json:"fuid"` /* 规则的 ID */ Fuser_last_updated string `json:"fuser_last_updated"` /* 更新时间。utc 时间 */ User_id string `json:"user_id"` /* 租户 ID */ Region_id string `json:"region_id"` /* 资源池 ID。中间层用的 */ Permission_group_id string `json:"permission_group_id"` /* 权限组底层 id。yacos用的id */ Permission_group_fuid string `json:"permission_group_fuid"` /* 权限组 fuid。权限组查询接口中的fuid */ Rule_id string `json:"rule_id"` /* 权限组规则底层 id */ Rule_auth_address string `json:"rule_auth_address"` /* 授权地址,可用于区分子网及具体虚机等 */ Rule_rw_permission string `json:"rule_rw_permission"` /* 读写权限控制 */ Rule_user_permission string `json:"rule_user_permission"` /* nfs 访问用户映射 */ Rule_priority_id int32 `json:"rule_priority_id"` /* 优先级 */ Rule_is_default *bool `json:"rule_is_default"` /* 优先级 */ }
type SfsPermissionRuleListReturnObjResponse ¶
type SfsPermissionRuleListReturnObjResponse struct { TotalCount int32 `json:"totalCount"` /* 权限组下的规则总数 */ CurrentCount int32 `json:"currentCount"` /* 当前查询到的规则个数 */ List []*SfsPermissionRuleListReturnObjListResponse `json:"list"` /* 查询到的权限组规则列表。参考list */ PageSize int32 `json:"pageSize"` /* 每页个数 */ PageNo int32 `json:"pageNo"` /* 页数 */ }
type SfsPermissionRuleModifyApi ¶
type SfsPermissionRuleModifyApi struct {
// contains filtered or unexported fields
}
func NewSfsPermissionRuleModifyApi ¶
func NewSfsPermissionRuleModifyApi(client *core.CtyunClient) *SfsPermissionRuleModifyApi
func (*SfsPermissionRuleModifyApi) Do ¶
func (a *SfsPermissionRuleModifyApi) Do(ctx context.Context, credential core.Credential, req *SfsPermissionRuleModifyRequest) (*SfsPermissionRuleModifyResponse, error)
type SfsPermissionRuleModifyRequest ¶
type SfsPermissionRuleModifyRequest struct { PermissionRuleID string `json:"permissionRuleID,omitempty"` /* 权限组规则的 fuid */ RegionID string `json:"regionID,omitempty"` /* 资源池 ID */ AuthAddr string `json:"authAddr,omitempty"` /* 授权地址,可用于区分子网及具体虚机等。有效值范围:ipv4、ipv6,授权地址不能重复 */ RwPermission string `json:"rwPermission,omitempty"` /* 读写权限控制。有效值范围:rw、ro */ UserPermission string `json:"userPermission,omitempty"` /* nfs 访问用户映射。有效值范围:no_root_squash */ Priority int32 `json:"priority,omitempty"` /* 优先级 1 为最高 1-400。不同规则优先级不能重复 */ }
type SfsPermissionRuleModifyResponse ¶
type SfsPermissionRuleModifyResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsPermissionRuleModifyReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsPermissionRuleModifyReturnObjResponse ¶
type SfsPermissionRuleModifyReturnObjResponse struct {
OperationID string `json:"operationID"` /* 修改权限组规则的操作号 */
}
type SfsPermissionRuleNewApi ¶
type SfsPermissionRuleNewApi struct {
// contains filtered or unexported fields
}
func NewSfsPermissionRuleNewApi ¶
func NewSfsPermissionRuleNewApi(client *core.CtyunClient) *SfsPermissionRuleNewApi
func (*SfsPermissionRuleNewApi) Do ¶
func (a *SfsPermissionRuleNewApi) Do(ctx context.Context, credential core.Credential, req *SfsPermissionRuleNewRequest) (*SfsPermissionRuleNewResponse, error)
type SfsPermissionRuleNewRequest ¶
type SfsPermissionRuleNewRequest struct { PermissionGroupID string `json:"permissionGroupID,omitempty"` /* 权限组的fuid */ RegionID string `json:"regionID,omitempty"` /* 资源池 ID */ AuthAddr string `json:"authAddr,omitempty"` /* 授权地址。有效值范围:ipv4、ipv6 */ RwPermission string `json:"rwPermission,omitempty"` /* 读写权限控制。有效值范围:rw、ro */ UserPermission string `json:"userPermission,omitempty"` /* nfs 访问用户映射。有效值范围:no_root_squash */ Priority int32 `json:"priority,omitempty"` /* 优先级。有效值范围:1-400 */ }
type SfsPermissionRuleNewResponse ¶
type SfsPermissionRuleNewResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsPermissionRuleNewReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsPermissionRuleNewReturnObjResponse ¶
type SfsPermissionRuleNewReturnObjResponse struct {
OperationID string `json:"operationID"` /* 创建权限组规则的操作号 */
}
type SfsQueryPricesApi ¶
type SfsQueryPricesApi struct {
// contains filtered or unexported fields
}
func NewSfsQueryPricesApi ¶
func NewSfsQueryPricesApi(client *core.CtyunClient) *SfsQueryPricesApi
func (*SfsQueryPricesApi) Do ¶
func (a *SfsQueryPricesApi) Do(ctx context.Context, credential core.Credential, req *SfsQueryPricesRequest) (*SfsQueryPricesResponse, error)
type SfsQueryPricesRequest ¶
type SfsQueryPricesRequest struct { RegionID string `json:"regionID,omitempty"` /* 资源池ID */ SfsUID string `json:"sfsUID,omitempty"` /* 文件系统ID */ SfsSize int32 `json:"sfsSize,omitempty"` /* 须填写扩容后的文件系统容量大小。单位 GB,500GB起步,默认容量上限为32TB,即32768GB。如无法满足需求,可提交工单申请扩大配额,详细参见<a href="https://www.ctyun.cn/document/10027350/10192640" target="_blank">服务配额</a> */ }
type SfsQueryPricesResponse ¶
type SfsQueryPricesResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsQueryPricesReturnObjResponse `json:"returnObj"` /* returnObj */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsQueryPricesReturnObjResponse ¶
type SfsQueryPricesReturnObjResponse struct { TotalPrice float32 `json:"totalPrice"` /* 查询到的订单总价 */ FinalPrice float32 `json:"finalPrice"` /* 最终价格 */ IsSucceed *bool `json:"isSucceed"` /* 查询成功状态 */ SubOrderPrices []*SfsQueryPricesReturnObjSubOrderPricesResponse `json:"subOrderPrices"` /* 查询到的订单价格详情 */ DiscountPrice float32 `json:"discountPrice"` /* 折后价格 */ }
type SfsQueryPricesReturnObjSubOrderPricesResponse ¶
type SfsQueryPricesReturnObjSubOrderPricesResponse struct { ServiceTag string `json:"serviceTag"` /* 服务类型 */ TotalPrice float32 `json:"totalPrice"` /* 查询到的订单总价 */ OrderItemPrices []*SfsQueryPricesReturnObjSubOrderPricesOrderItemPricesResponse `json:"orderItemPrices"` /* item价格信息 */ FinalPrice float32 `json:"finalPrice"` /* 最终价格 */ CycleType int32 `json:"cycleType"` /* 订购周期(年/月) */ }
type SfsRateStorageApi ¶
type SfsRateStorageApi struct {
// contains filtered or unexported fields
}
func NewSfsRateStorageApi ¶
func NewSfsRateStorageApi(client *core.CtyunClient) *SfsRateStorageApi
func (*SfsRateStorageApi) Do ¶
func (a *SfsRateStorageApi) Do(ctx context.Context, credential core.Credential, req *SfsRateStorageRequest) (*SfsRateStorageResponse, error)
type SfsRateStorageRequest ¶
type SfsRateStorageResponse ¶
type SfsRateStorageResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsRateStorageReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsRenameSFSApi ¶
type SfsRenameSFSApi struct {
// contains filtered or unexported fields
}
func NewSfsRenameSFSApi ¶
func NewSfsRenameSFSApi(client *core.CtyunClient) *SfsRenameSFSApi
func (*SfsRenameSFSApi) Do ¶
func (a *SfsRenameSFSApi) Do(ctx context.Context, credential core.Credential, req *SfsRenameSFSRequest) (*SfsRenameSFSResponse, error)
type SfsRenameSFSRequest ¶
type SfsRenameSFSResponse ¶
type SfsRenameSFSResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsRenameSFSReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsRenameSFSReturnObjResponse ¶
type SfsRenameSFSReturnObjResponse struct {
OperationID string `json:"operationID"` /* 重命名文件系统的操作ID */
}
type SfsSfsBatchBindLabelApi ¶
type SfsSfsBatchBindLabelApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsBatchBindLabelApi ¶
func NewSfsSfsBatchBindLabelApi(client *core.CtyunClient) *SfsSfsBatchBindLabelApi
func (*SfsSfsBatchBindLabelApi) Do ¶
func (a *SfsSfsBatchBindLabelApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsBatchBindLabelRequest) (*SfsSfsBatchBindLabelResponse, error)
type SfsSfsBatchBindLabelRequest ¶
type SfsSfsBatchBindLabelRequest struct {
RegionID string `json:"regionID,omitempty"` /* 资源池(区域)ID */
}
type SfsSfsBatchBindLabelResponse ¶
type SfsSfsBatchBindLabelResponse struct { ReturnObj *SfsSfsBatchBindLabelReturnObjResponse `json:"returnObj"` /* 返回对象 */ 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 SfsSfsBindPermissionApi ¶
type SfsSfsBindPermissionApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsBindPermissionApi ¶
func NewSfsSfsBindPermissionApi(client *core.CtyunClient) *SfsSfsBindPermissionApi
func (*SfsSfsBindPermissionApi) Do ¶
func (a *SfsSfsBindPermissionApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsBindPermissionRequest) (*SfsSfsBindPermissionResponse, error)
type SfsSfsBindPermissionResponse ¶
type SfsSfsBindPermissionResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsBindPermissionReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsBindPermissionReturnObjResponse ¶
type SfsSfsBindPermissionReturnObjResponse struct {
OperationID string `json:"operationID"` /* 文件系统VPC绑定权限组的操作号 */
}
type SfsSfsBindVpcSfsApi ¶
type SfsSfsBindVpcSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsBindVpcSfsApi ¶
func NewSfsSfsBindVpcSfsApi(client *core.CtyunClient) *SfsSfsBindVpcSfsApi
func (*SfsSfsBindVpcSfsApi) Do ¶
func (a *SfsSfsBindVpcSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsBindVpcSfsRequest) (*SfsSfsBindVpcSfsResponse, error)
type SfsSfsBindVpcSfsRequest ¶
type SfsSfsBindVpcSfsResponse ¶
type SfsSfsBindVpcSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsBindVpcSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsBindVpcSfsReturnObjResponse ¶
type SfsSfsBindVpcSfsReturnObjResponse struct {
OperationID string `json:"operationID"` /* 文件系统VPC绑定权限组的操作号 */
}
type SfsSfsChangeVpcSfsApi ¶
type SfsSfsChangeVpcSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsChangeVpcSfsApi ¶
func NewSfsSfsChangeVpcSfsApi(client *core.CtyunClient) *SfsSfsChangeVpcSfsApi
func (*SfsSfsChangeVpcSfsApi) Do ¶
func (a *SfsSfsChangeVpcSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsChangeVpcSfsRequest) (*SfsSfsChangeVpcSfsResponse, error)
type SfsSfsChangeVpcSfsResponse ¶
type SfsSfsChangeVpcSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsChangeVpcSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsChangeVpcSfsReturnObjResponse ¶
type SfsSfsChangeVpcSfsReturnObjResponse struct {
OperationID string `json:"operationID"` /* 文件系统VPC换绑权限组的操作号 */
}
type SfsSfsCheckKtbApi ¶
type SfsSfsCheckKtbApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsCheckKtbApi ¶
func NewSfsSfsCheckKtbApi(client *core.CtyunClient) *SfsSfsCheckKtbApi
func (*SfsSfsCheckKtbApi) Do ¶
func (a *SfsSfsCheckKtbApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsCheckKtbRequest) (*SfsSfsCheckKtbResponse, error)
type SfsSfsCheckKtbRequest ¶
type SfsSfsCheckKtbRequest struct { RegionID string `json:"regionID,omitempty"` /* 资源池ID */ SfsUID string `json:"sfsUID,omitempty"` /* 弹性文件功能系统唯一 ID */ Keytab string `json:"keytab,omitempty"` /* keytab 文件内容通过 base64 加密后的字符串 */ KeytabMd5 string `json:"keytabMd5,omitempty"` /* keytab 文件内容通过 MD5 加密后的字符串 */ }
type SfsSfsCheckKtbResponse ¶
type SfsSfsCheckKtbResponse 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 SfsSfsCreateDuplicateApi ¶
type SfsSfsCreateDuplicateApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsCreateDuplicateApi ¶
func NewSfsSfsCreateDuplicateApi(client *core.CtyunClient) *SfsSfsCreateDuplicateApi
func (*SfsSfsCreateDuplicateApi) Do ¶
func (a *SfsSfsCreateDuplicateApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsCreateDuplicateRequest) (*SfsSfsCreateDuplicateResponse, error)
type SfsSfsCreateDuplicateRequest ¶
type SfsSfsCreateDuplicateRequest struct { SrcSfsUID string `json:"srcSfsUID,omitempty"` /* 源文件系统唯一ID */ DstSfsUID string `json:"dstSfsUID,omitempty"` /* 目标文件系统唯一ID */ SrcRegionID string `json:"srcRegionID,omitempty"` /* 源文件系统所在资源池ID */ DstRegionID string `json:"dstRegionID,omitempty"` /* 目的文件系统所在资源池ID */ }
type SfsSfsCreateDuplicateResponse ¶
type SfsSfsCreateDuplicateResponse struct { ReturnObj string `json:"returnObj"` /* 返回参数 */ 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 SfsSfsCreateQueryPricesApi ¶
type SfsSfsCreateQueryPricesApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsCreateQueryPricesApi ¶
func NewSfsSfsCreateQueryPricesApi(client *core.CtyunClient) *SfsSfsCreateQueryPricesApi
func (*SfsSfsCreateQueryPricesApi) Do ¶
func (a *SfsSfsCreateQueryPricesApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsCreateQueryPricesRequest) (*SfsSfsCreateQueryPricesResponse, error)
type SfsSfsCreateQueryPricesRequest ¶
type SfsSfsCreateQueryPricesRequest struct { RegionID string `json:"regionID,omitempty"` /* 资源池ID */ OrderNum int32 `json:"orderNum,omitempty"` /* 订购数量(最大订购数量:50) */ CycleType string `json:"cycleType,omitempty"` /* 订购时间单位(month/year) */ SfsSize int32 `json:"sfsSize,omitempty"` /* 订购规格(500-32768 单位GB) */ VolumeType string `json:"volumeType,omitempty"` /* 磁盘类型(标准型hdd, 性能型nvme, 标准专属型hdd_e) */ CycleCnt int32 `json:"cycleCnt,omitempty"` /* 订购时间长度(最大订购月数:36, 最大订购年数:3,选择包年可享受优惠,参考<a href="https://www.ctyun.cn/document/10027350/10237145" target="_blank">产品价格</a>) */ }
type SfsSfsCreateQueryPricesResponse ¶
type SfsSfsCreateQueryPricesResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsCreateQueryPricesReturnObjResponse `json:"returnObj"` /* returnObj */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsCreateQueryPricesReturnObjResponse ¶
type SfsSfsCreateQueryPricesReturnObjResponse struct { TotalPrice float32 `json:"totalPrice"` /* 查询到的订单总价,单位:元 */ FinalPrice float32 `json:"finalPrice"` /* 最终价格,单位:元 */ IsSucceed *bool `json:"isSucceed"` /* 查询成功状态 */ SubOrderPrices *SfsSfsCreateQueryPricesReturnObjSubOrderPricesResponse `json:"subOrderPrices"` /* 查询到的订单价格详情 */ }
type SfsSfsCreateQueryPricesReturnObjSubOrderPricesOrderItemPricesResponse ¶
type SfsSfsCreateQueryPricesReturnObjSubOrderPricesOrderItemPricesResponse struct { ItemId string `json:"itemId"` /* itemId */ ResourceType string `json:"resourceType"` /* 文件存储资源包类型(包周期为SFS_TURBOC) */ TotalPrice float32 `json:"totalPrice"` /* 总价格,单位:元 */ FinalPrice float32 `json:"finalPrice"` /* 最终价格,单位:元 */ }
type SfsSfsCreateQueryPricesReturnObjSubOrderPricesResponse ¶
type SfsSfsCreateQueryPricesReturnObjSubOrderPricesResponse struct { ServiceTag string `json:"serviceTag"` /* 服务类型 */ TotalPrice float32 `json:"totalPrice"` /* 查询到的订单总价,单位:元 */ OrderItemPrices *SfsSfsCreateQueryPricesReturnObjSubOrderPricesOrderItemPricesResponse `json:"orderItemPrices"` /* item价格信息 */ FinalPrice float32 `json:"finalPrice"` /* 最终价格,单位:元 */ }
type SfsSfsCreateSfsApi ¶
type SfsSfsCreateSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsCreateSfsApi ¶
func NewSfsSfsCreateSfsApi(client *core.CtyunClient) *SfsSfsCreateSfsApi
func (*SfsSfsCreateSfsApi) Do ¶
func (a *SfsSfsCreateSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsCreateSfsRequest) (*SfsSfsCreateSfsResponse, error)
type SfsSfsCreateSfsRequest ¶
type SfsSfsCreateSfsResponse ¶
type SfsSfsCreateSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsCreateSfsReturnObjResponse `json:"returnObj"` /* 参考表[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为 product.module.code 三段式码大驼峰形式 */ }
type SfsSfsCreateSfsReturnObjResponse ¶
type SfsSfsCreateSfsReturnObjResponse struct { SfsName string `json:"sfsName"` /* 弹性文件命名 */ SfsUID string `json:"sfsUID"` /* 弹性文件功能系统唯一 ID */ SfsSize int32 `json:"sfsSize"` /* 大小(GB) */ SfsType string `json:"sfsType"` /* 类型,2种,capacity/performance */ SfsProtocol string `json:"sfsProtocol"` /* 挂载协议。2 种,nfs/cifs */ SfsStatus string `json:"sfsStatus"` /* 弹性文件状态。creating/available/unusable/delete_error/deleting */ UsedSize int32 `json:"usedSize"` /* 已用大小(MB) */ CreateTime int64 `json:"createTime"` /* 创建时刻,epoch 时戳,精度毫秒 */ UpdateTime int64 `json:"updateTime"` /* 更新时刻,epoch 时戳,精度毫秒 */ ExpireTime int64 `json:"expireTime"` /* 过期时刻,epoch 时戳,精度毫秒 */ ProjectID string `json:"projectID"` /* 资源所属企业项目 ID */ IsEncrypt *bool `json:"isEncrypt"` /* 是否加密盘 */ KmsUUID string `json:"kmsUUID"` /* 加密盘密钥 UUID */ OnDemand *bool `json:"onDemand"` /* 是否按需订购 */ RegionID string `json:"regionID"` /* 资源池 ID */ AzName string `json:"azName"` /* 多可用区下的可用区名字 */ MountCount int32 `json:"mountCount"` /* 挂载点数量 */ CephID string `json:"cephID"` /* ceph底层的id */ }
type SfsSfsDeleteADApi ¶
type SfsSfsDeleteADApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsDeleteADApi ¶
func NewSfsSfsDeleteADApi(client *core.CtyunClient) *SfsSfsDeleteADApi
func (*SfsSfsDeleteADApi) Do ¶
func (a *SfsSfsDeleteADApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsDeleteADRequest) (*SfsSfsDeleteADResponse, error)
type SfsSfsDeleteADRequest ¶
type SfsSfsDeleteADResponse ¶
type SfsSfsDeleteADResponse 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 SfsSfsDeleteDuplicateApi ¶
type SfsSfsDeleteDuplicateApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsDeleteDuplicateApi ¶
func NewSfsSfsDeleteDuplicateApi(client *core.CtyunClient) *SfsSfsDeleteDuplicateApi
func (*SfsSfsDeleteDuplicateApi) Do ¶
func (a *SfsSfsDeleteDuplicateApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsDeleteDuplicateRequest) (*SfsSfsDeleteDuplicateResponse, error)
type SfsSfsDeleteDuplicateResponse ¶
type SfsSfsDeleteDuplicateResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Description string `json:"description"` /* 响应描述,一般为英文描述 */ ReturnObj *SfsSfsDeleteDuplicateReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码,参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsDeleteDuplicateReturnObjResponse ¶
type SfsSfsDeleteDuplicateReturnObjResponse struct {
RegionID string `json:"regionID"` /* 资源池ID */
}
type SfsSfsDeletePermissionRuleSfsApi ¶
type SfsSfsDeletePermissionRuleSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsDeletePermissionRuleSfsApi ¶
func NewSfsSfsDeletePermissionRuleSfsApi(client *core.CtyunClient) *SfsSfsDeletePermissionRuleSfsApi
func (*SfsSfsDeletePermissionRuleSfsApi) Do ¶
func (a *SfsSfsDeletePermissionRuleSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsDeletePermissionRuleSfsRequest) (*SfsSfsDeletePermissionRuleSfsResponse, error)
type SfsSfsDeletePermissionRuleSfsResponse ¶
type SfsSfsDeletePermissionRuleSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsDeletePermissionRuleSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码,参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsDeletePermissionRuleSfsReturnObjResponse ¶
type SfsSfsDeletePermissionRuleSfsReturnObjResponse struct {
OperationID string `json:"operationID"` /* 删除权限组规则的操作号 */
}
type SfsSfsDeletePermissionSfsApi ¶
type SfsSfsDeletePermissionSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsDeletePermissionSfsApi ¶
func NewSfsSfsDeletePermissionSfsApi(client *core.CtyunClient) *SfsSfsDeletePermissionSfsApi
func (*SfsSfsDeletePermissionSfsApi) Do ¶
func (a *SfsSfsDeletePermissionSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsDeletePermissionSfsRequest) (*SfsSfsDeletePermissionSfsResponse, error)
type SfsSfsDeletePermissionSfsResponse ¶
type SfsSfsDeletePermissionSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsDeletePermissionSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码,参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsDeletePermissionSfsReturnObjResponse ¶
type SfsSfsDeletePermissionSfsReturnObjResponse struct {
OperationID string `json:"operationID"` /* 删除权限组的操作号 */
}
type SfsSfsFreeSizeSfsApi ¶
type SfsSfsFreeSizeSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsFreeSizeSfsApi ¶
func NewSfsSfsFreeSizeSfsApi(client *core.CtyunClient) *SfsSfsFreeSizeSfsApi
func (*SfsSfsFreeSizeSfsApi) Do ¶
func (a *SfsSfsFreeSizeSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsFreeSizeSfsRequest) (*SfsSfsFreeSizeSfsResponse, error)
type SfsSfsFreeSizeSfsResponse ¶
type SfsSfsFreeSizeSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800为成功,900为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsFreeSizeSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsInfoApi ¶
type SfsSfsInfoApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsInfoApi ¶
func NewSfsSfsInfoApi(client *core.CtyunClient) *SfsSfsInfoApi
func (*SfsSfsInfoApi) Do ¶
func (a *SfsSfsInfoApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsInfoRequest) (*SfsSfsInfoResponse, error)
type SfsSfsInfoByNameApi ¶
type SfsSfsInfoByNameApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsInfoByNameApi ¶
func NewSfsSfsInfoByNameApi(client *core.CtyunClient) *SfsSfsInfoByNameApi
func (*SfsSfsInfoByNameApi) Do ¶
func (a *SfsSfsInfoByNameApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsInfoByNameRequest) (*SfsSfsInfoByNameResponse, error)
type SfsSfsInfoByNameRequest ¶
type SfsSfsInfoByNameResponse ¶
type SfsSfsInfoByNameResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800为成功,900为失败) */ Message string `json:"message"` /* 失败时的错误描述,一般为英文描述 */ MsgDesc string `json:"msgDesc"` /* 失败时的错误描述,一般为中文描述 */ MsgCode string `json:"msgCode"` /* 业务细分码,为product.module.code三段式码 */ ReturnObj *SfsSfsInfoByNameReturnObjResponse `json:"returnObj"` /* 参考详情对象 */ }
type SfsSfsInfoByNameReturnObjResponse ¶
type SfsSfsInfoByNameReturnObjResponse struct { Name string `json:"name"` /* 弹性文件命名 */ UID string `json:"UID"` /* 弹性文件功能系统唯一ID */ ResourceID string `json:"resourceID"` /* 资源ID(计费资源ID) */ SfsSize int32 `json:"sfsSize"` /* 大小(MB) */ SfsType string `json:"sfsType"` /* 类型,capacity/performance */ SfsProtocol string `json:"sfsProtocol"` /* 挂载协议。nfs/cifs/smb */ SfsStatus string `json:"sfsStatus"` /* 1 */ UsedSize int32 `json:"usedSize"` /* 已用大小,MB */ CreateTime int64 `json:"createTime"` /* 创建时刻,epoch时戳,精度毫秒 */ UpdateTime int64 `json:"updateTime"` /* 更新时刻,epoch时戳,精度毫秒 */ ExpireTime int64 `json:"expireTime"` /* 过期时刻,epoch时戳,精度毫秒 */ ProjectID string `json:"projectID"` /* 资源所属企业项目ID */ IsEncrypt *bool `json:"isEncrypt"` /* 是否加密盘 */ KmsUUID string `json:"kmsUUID"` /* 加密盘密钥UUID */ OnDemand *bool `json:"onDemand"` /* 是否按需订购 */ RegionID string `json:"regionID"` /* 资源池ID */ AzName string `json:"azName"` /* 多可用区下的可用区名字 */ MountCount int32 `json:"mountCount"` /* 挂载点数量 */ }
type SfsSfsInfoByNameSfsApi ¶
type SfsSfsInfoByNameSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsInfoByNameSfsApi ¶
func NewSfsSfsInfoByNameSfsApi(client *core.CtyunClient) *SfsSfsInfoByNameSfsApi
func (*SfsSfsInfoByNameSfsApi) Do ¶
func (a *SfsSfsInfoByNameSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsInfoByNameSfsRequest) (*SfsSfsInfoByNameSfsResponse, error)
type SfsSfsInfoByNameSfsResponse ¶
type SfsSfsInfoByNameSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsInfoByNameSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsInfoByNameSfsReturnObjResponse ¶
type SfsSfsInfoByNameSfsReturnObjResponse struct { SfsName string `json:"sfsName"` /* 弹性文件命名 */ SfsUID string `json:"sfsUID"` /* 弹性文件功能系统唯一 ID */ SfsSize int32 `json:"sfsSize"` /* 大小(GB),1024进制 */ SfsType string `json:"sfsType"` /* 类型,2 种,capacity/performance */ SfsProtocol string `json:"sfsProtocol"` /* 挂载协议。2 种,nfs/cifs */ SfsStatus string `json:"sfsStatus"` /* 弹性文件状态。creating/available/unusable/delete_error/deleting */ UsedSize int32 `json:"usedSize"` /* 已用大小(MB) */ CreateTime int64 `json:"createTime"` /* 创建时刻,epoch 时戳,精度毫秒 */ UpdateTime int64 `json:"updateTime"` /* 更新时刻,epoch 时戳,精度毫秒 */ ExpireTime int64 `json:"expireTime"` /* 过期时刻,epoch 时戳,精度毫秒 */ ProjectID string `json:"projectID"` /* 资源所属企业项目 ID */ IsEncrypt *bool `json:"isEncrypt"` /* 是否加密盘 */ KmsUUID string `json:"kmsUUID"` /* 加密盘密钥 UUID */ OnDemand *bool `json:"onDemand"` /* 是否按需订购 */ RegionID string `json:"regionID"` /* 资源池 ID */ AzName string `json:"azName"` /* 多可用区下的可用区名字 */ MountCount int32 `json:"mountCount"` /* 挂载点数量 */ CephID string `json:"cephID"` /* ceph底层的id */ }
type SfsSfsInfoRequest ¶
type SfsSfsInfoResponse ¶
type SfsSfsInfoResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsInfoReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码。 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式. */ }
type SfsSfsInfoReturnObjResponse ¶
type SfsSfsInfoReturnObjResponse struct { Name string `json:"name"` /* 弹性文件命名 */ UID string `json:"UID"` /* 弹性文件功能系统唯一 ID */ ResourceID string `json:"resourceID"` /* 资源 ID(计费资源 ID) */ SfsSize int32 `json:"sfsSize"` /* 大小(GB) */ SfsType string `json:"sfsType"` /* 类型,capacity/performance/hdd_e/hpfs_perf/massive */ SfsProtocol string `json:"sfsProtocol"` /* 挂载协议。2 种,nfs/cifs */ SfsStatus string `json:"sfsStatus"` /* 弹性文件状态。creating/available/unusable/delete_error/deleting */ UsedSize int32 `json:"usedSize"` /* 已用大小(MB) */ CreateTime int64 `json:"createTime"` /* 创建时刻,epoch 时戳,精度毫秒 */ UpdateTime int64 `json:"updateTime"` /* 更新时刻,epoch 时戳,精度毫秒 */ ExpireTime int64 `json:"expireTime"` /* 过期时刻,epoch 时戳,精度毫秒 */ ProjectID string `json:"projectID"` /* 资源所属企业项目 ID */ IsEncrypt *bool `json:"isEncrypt"` /* 是否加密盘 */ KmsUUID string `json:"kmsUUID"` /* 加密盘密钥 UUID */ OnDemand *bool `json:"onDemand"` /* 是否按需订购 */ RegionID string `json:"regionID"` /* 资源池 ID */ AzName string `json:"azName"` /* 多可用区下的可用区名字 */ MountCount int32 `json:"mountCount"` /* 挂载点数量 */ CephID string `json:"cephID"` /* ceph底层的id */ }
type SfsSfsInfoSfsApi ¶
type SfsSfsInfoSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsInfoSfsApi ¶
func NewSfsSfsInfoSfsApi(client *core.CtyunClient) *SfsSfsInfoSfsApi
func (*SfsSfsInfoSfsApi) Do ¶
func (a *SfsSfsInfoSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsInfoSfsRequest) (*SfsSfsInfoSfsResponse, error)
type SfsSfsInfoSfsRequest ¶
type SfsSfsInfoSfsResponse ¶
type SfsSfsInfoSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsInfoSfsReturnObjResponse `json:"returnObj"` /* 参考表[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsInfoSfsReturnObjListResponse ¶
type SfsSfsInfoSfsReturnObjListResponse struct { SfsName string `json:"sfsName"` // 弹性文件命名 SfsUID string `json:"sfsUID"` // 弹性文件功能系统唯一 ID SfsSize int32 `json:"sfsSize"` // 大小(GB) SfsType string `json:"sfsType"` // 类型,capacity/performance SfsProtocol string `json:"sfsProtocol"` // 挂载协议。nfs/cifs SfsStatus string `json:"sfsStatus"` // 弹性文件状态 UsedSize int32 `json:"usedSize"` // 已用大小(MB) CreateTime int64 `json:"createTime"` // 创建时刻,epoch 时戳,精度毫秒 UpdateTime int64 `json:"updateTime"` // 更新时刻,epoch 时戳,精度毫秒 ExpireTime int64 `json:"expireTime"` // 过期时刻,epoch 时戳,精度毫秒 ProjectID string `json:"projectID"` // 资源所属企业项目 ID IsEncrypt bool `json:"isEncrypt"` // 是否加密盘 KmsUUID string `json:"kmsUUID"` // 加密盘密钥 UUID OnDemand bool `json:"onDemand"` // 是否按需订购 RegionID string `json:"regionID"` // 资源池 ID AzName string `json:"azName"` // 多可用区下的可用区名字 MountCount int32 `json:"mountCount"` // 挂载点数量 CephID string `json:"cephID"` // ceph底层的id }
type SfsSfsInfoSfsReturnObjResponse ¶
type SfsSfsInfoSfsReturnObjResponse struct { TotalCount int32 `json:"totalCount"` /* 资源池下用户弹性文件总数 */ CurrentCount int32 `json:"currentCount"` /* 当前页码下查询回来的用户弹性文件数 */ Total int32 `json:"total"` /* 资源池下用户弹性文件总数 */ PageSize int32 `json:"pageSize"` /* 每页包含的元素个数。默认为1 */ PageNo int32 `json:"pageNo"` /* 当前页码。默认为10 */ List []*SfsSfsInfoSfsReturnObjListResponse `json:"list"` }
type SfsSfsJoinADApi ¶
type SfsSfsJoinADApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsJoinADApi ¶
func NewSfsSfsJoinADApi(client *core.CtyunClient) *SfsSfsJoinADApi
func (*SfsSfsJoinADApi) Do ¶
func (a *SfsSfsJoinADApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsJoinADRequest) (*SfsSfsJoinADResponse, error)
type SfsSfsJoinADRequest ¶
type SfsSfsJoinADRequest struct { RegionID string `json:"regionID,omitempty"` /* 资源池ID */ SfsUID string `json:"sfsUID,omitempty"` /* 弹性文件功能系统唯一 ID */ IsAnonymousAcc *bool `json:"isAnonymousAcc"` /* 是否允许匿名访问。true:允许匿名访问。false(默认):不允许匿名访问 */ Keytab string `json:"keytab,omitempty"` /* keytab 文件内容通过 base64 加密后的字符串 */ KeytabMd5 string `json:"keytabMd5,omitempty"` /* keytab 文件内容通过 MD5 加密后的字符串 */ KeytabName string `json:"keytabName,omitempty"` /* keytab 文件名称 */ }
type SfsSfsJoinADResponse ¶
type SfsSfsJoinADResponse 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 SfsSfsListADApi ¶
type SfsSfsListADApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsListADApi ¶
func NewSfsSfsListADApi(client *core.CtyunClient) *SfsSfsListADApi
func (*SfsSfsListADApi) Do ¶
func (a *SfsSfsListADApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsListADRequest) (*SfsSfsListADResponse, error)
type SfsSfsListADRequest ¶
type SfsSfsListADResponse ¶
type SfsSfsListADResponse 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 SfsSfsListApi ¶
type SfsSfsListApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsListApi ¶
func NewSfsSfsListApi(client *core.CtyunClient) *SfsSfsListApi
func (*SfsSfsListApi) Do ¶
func (a *SfsSfsListApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsListRequest) (*SfsSfsListResponse, error)
type SfsSfsListDuplicateApi ¶
type SfsSfsListDuplicateApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsListDuplicateApi ¶
func NewSfsSfsListDuplicateApi(client *core.CtyunClient) *SfsSfsListDuplicateApi
func (*SfsSfsListDuplicateApi) Do ¶
func (a *SfsSfsListDuplicateApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsListDuplicateRequest) (*SfsSfsListDuplicateResponse, error)
type SfsSfsListDuplicateRequest ¶
type SfsSfsListDuplicateRequest struct { RegionID string `json:"regionID,omitempty"` /* 资源池ID */ SfsUID string `json:"sfsUID,omitempty"` /* 源/目的弹性文件功能系统唯一 ID */ PageNo int32 `json:"pageNo,omitempty"` /* 页码,取值范围:正整数(≥1),注:默认值为1 */ PageSize int32 `json:"pageSize,omitempty"` /* 每页记录数目,取值范围:[1, 50],注:默认值为10 */ }
type SfsSfsListDuplicateResponse ¶
type SfsSfsListDuplicateResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsListDuplicateReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码,参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码,大驼峰形式 */ }
type SfsSfsListDuplicateReturnObjListResponse ¶
type SfsSfsListDuplicateReturnObjListResponse struct { Status string `json:"status"` /* 跨域复制状态 */ DuplicateUID string `json:"duplicateUID"` /* 跨域复制任务ID */ SrcRegionID string `json:"srcRegionID"` /* 源文件系统资源池ID */ DstRegionID string `json:"dstRegionID"` /* 目标文件系统资源池ID */ SrcAzName string `json:"srcAzName"` /* 源文件AZ */ DstAzName string `json:"dstAzName"` /* 目标文件AZ */ SrcSfsName string `json:"srcSfsName"` /* 源文件系统名称 */ DstSfsName string `json:"dstSfsName"` /* 目标文件系统名称 */ SrcSfsUID string `json:"srcSfsUID"` /* 源文件系统ID */ DstSfsUID string `json:"dstSfsUID"` /* 目标文件系统ID */ SrcCephID string `json:"srcCephID"` /* 源文件系统ceph底层的id */ DstCephID string `json:"dstCephID"` /* 目标文件系统ceph底层的id */ Last_sync_time int64 `json:"last_sync_time"` /* 最后一次同步时刻,epoch 时戳,精度毫秒 */ LastSyncTime int64 `json:"lastSyncTime"` /* 最后一次同步时刻,epoch 时戳,精度毫秒 */ }
type SfsSfsListDuplicateReturnObjResponse ¶
type SfsSfsListDuplicateReturnObjResponse struct { List []*SfsSfsListDuplicateReturnObjListResponse `json:"list"` /* 查询信息列表 */ CurrentCount int32 `json:"currentCount"` /* 当前查询到的复制关系个数 */ TotalCount int32 `json:"totalCount"` /* 资源池下用户复制关系总数 */ PageSize int32 `json:"pageSize"` /* 每页包含的元素个数 */ PageNo int32 `json:"pageNo"` /* 页号 */ }
type SfsSfsListLabelBySfsApi ¶
type SfsSfsListLabelBySfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsListLabelBySfsApi ¶
func NewSfsSfsListLabelBySfsApi(client *core.CtyunClient) *SfsSfsListLabelBySfsApi
func (*SfsSfsListLabelBySfsApi) Do ¶
func (a *SfsSfsListLabelBySfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsListLabelBySfsRequest) (*SfsSfsListLabelBySfsResponse, error)
type SfsSfsListLabelBySfsResponse ¶
type SfsSfsListLabelBySfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800为成功,900为失败) */ Message string `json:"message"` /* 参考[响应示例] */ ReturnObj *SfsSfsListLabelBySfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为Product.Module.Code三段式码大驼峰形式 */ }
type SfsSfsListLabelBySfsReturnObjResponse ¶
type SfsSfsListLabelBySfsReturnObjResponse struct {
LabelList []*SfsSfsListLabelBySfsReturnObjLabelListResponse `json:"labelList"` /* 文件系统绑定的标签集合 */
}
type SfsSfsListMountpointApi ¶
type SfsSfsListMountpointApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsListMountpointApi ¶
func NewSfsSfsListMountpointApi(client *core.CtyunClient) *SfsSfsListMountpointApi
func (*SfsSfsListMountpointApi) Do ¶
func (a *SfsSfsListMountpointApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsListMountpointRequest) (*SfsSfsListMountpointResponse, error)
type SfsSfsListMountpointResponse ¶
type SfsSfsListMountpointResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsListMountpointReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsListMountpointReturnObjResponse ¶
type SfsSfsListMountpointReturnObjResponse struct { MountPointList string `json:"mountPointList"` /* 文件系统挂载点ID列表 */ CurrentCount int32 `json:"currentCount"` /* 当前查询到的文件系统挂载点ID个数 */ TotalCount int32 `json:"totalCount"` /* 资源池下文件系统挂载点ID总数 */ PageSize int32 `json:"pageSize"` /* 每页个数 */ PageNo int32 `json:"pageNo"` /* 当前页数 */ }
type SfsSfsListPermissionRuleSfsApi ¶
type SfsSfsListPermissionRuleSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsListPermissionRuleSfsApi ¶
func NewSfsSfsListPermissionRuleSfsApi(client *core.CtyunClient) *SfsSfsListPermissionRuleSfsApi
func (*SfsSfsListPermissionRuleSfsApi) Do ¶
func (a *SfsSfsListPermissionRuleSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsListPermissionRuleSfsRequest) (*SfsSfsListPermissionRuleSfsResponse, error)
type SfsSfsListPermissionRuleSfsRequest ¶
type SfsSfsListPermissionRuleSfsRequest struct { RegionID string `json:"regionID,omitempty"` /* 资源池 ID */ PermissionGroupFuid string `json:"permissionGroupFuid,omitempty"` /* 权限组Fuid,permissionGroupFuid和permissionRuleFuid至少存在一个 */ PermissionRuleFuid string `json:"permissionRuleFuid,omitempty"` /* 权限组规则Fuid,permissionGroupFuid和permissionRuleFuid至少存在一个 */ PageSize int32 `json:"pageSize,omitempty"` /* 每页记录数目,取值范围:[1, 50],注:默认值为10 */ PageNo int32 `json:"pageNo,omitempty"` /* 页码,取值范围:正整数(≥1),注:默认值为1 */ }
type SfsSfsListPermissionRuleSfsResponse ¶
type SfsSfsListPermissionRuleSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsListPermissionRuleSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码,参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsListPermissionRuleSfsReturnObjListResponse ¶
type SfsSfsListPermissionRuleSfsReturnObjListResponse struct { PermissionRuleFuid string `json:"permissionRuleFuid"` /* 权限组规则ID */ UpdateTime string `json:"updateTime"` /* 更新时间。UTC时间 */ UserID string `json:"userID"` /* 租户ID */ RegionID string `json:"regionID"` /* 资源池ID。中间层使用的 */ PermissionGroupID string `json:"permissionGroupID"` /* 权限组底层ID */ PermissionGroupFuid string `json:"permissionGroupFuid"` /* 权限组Fuid */ PermissionRuleID string `json:"permissionRuleID"` /* 权限组规则底层ID */ AuthAddr string `json:"authAddr"` /* 授权地址,可用于区分子网及具体虚机等 */ RwPermission string `json:"rwPermission"` /* 读写权限控制 */ UserPermission string `json:"userPermission"` /* 用户权限 */ PermissionRulePriority int32 `json:"permissionRulePriority"` /* 优先级 */ PermissionRuleIsDefault *bool `json:"permissionRuleIsDefault"` /* 是否为默认规则 */ }
type SfsSfsListPermissionRuleSfsReturnObjResponse ¶
type SfsSfsListPermissionRuleSfsReturnObjResponse struct { TotalCount int32 `json:"totalCount"` /* 权限组下的规则总数 */ CurrentCount int32 `json:"currentCount"` /* 当前查询到的规则个数 */ List []*SfsSfsListPermissionRuleSfsReturnObjListResponse `json:"list"` /* 规则列表 */ PageSize int32 `json:"pageSize"` /* 每页记录数目 */ PageNo int32 `json:"pageNo"` /* 页码 */ }
type SfsSfsListPermissionSfsApi ¶
type SfsSfsListPermissionSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsListPermissionSfsApi ¶
func NewSfsSfsListPermissionSfsApi(client *core.CtyunClient) *SfsSfsListPermissionSfsApi
func (*SfsSfsListPermissionSfsApi) Do ¶
func (a *SfsSfsListPermissionSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsListPermissionSfsRequest) (*SfsSfsListPermissionSfsResponse, error)
type SfsSfsListPermissionSfsRequest ¶
type SfsSfsListPermissionSfsRequest struct { RegionID string `json:"regionID,omitempty"` /* 资源池 ID */ PermissionGroupFuid string `json:"permissionGroupFuid,omitempty"` /* 权限组Fuid */ PageSize int32 `json:"pageSize,omitempty"` /* 每页记录数目,取值范围:[1, 50],注:默认值为10 */ PageNo int32 `json:"pageNo,omitempty"` /* 页码,取值范围:正整数(≥1),注:默认值为1 */ }
type SfsSfsListPermissionSfsResponse ¶
type SfsSfsListPermissionSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsListPermissionSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码,参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsListPermissionSfsReturnObjListResponse ¶
type SfsSfsListPermissionSfsReturnObjListResponse struct { PermissionGroupFuid string `json:"permissionGroupFuid"` /* 权限组Fuid */ CreateTime string `json:"createTime"` /* 创建时间,UTC 时间 */ UpdateTime string `json:"updateTime"` /* 更新时间,UTC 时间 */ UserID string `json:"userID"` /* 租户 ID */ RegionID string `json:"regionID"` /* 所属资源池 ID */ SfsCount int32 `json:"sfsCount"` /* 绑定的文件系统个数 */ PermissionRuleCount int32 `json:"permissionRuleCount"` /* 权限组规则个数 */ PermissionGroupIsDefault *bool `json:"permissionGroupIsDefault"` /* 是否为默认权限组 */ PermissionGroupID string `json:"permissionGroupID"` /* 权限组底层 ID */ PermissionGroupName string `json:"permissionGroupName"` /* 权限组名称 */ PermissionGroupDescription string `json:"permissionGroupDescription"` /* 权限组描述 */ }
type SfsSfsListPermissionSfsReturnObjResponse ¶
type SfsSfsListPermissionSfsReturnObjResponse struct { TotalCount int32 `json:"totalCount"` /* 权限组的总个数 */ CurrentCount int32 `json:"currentCount"` /* 当前页记录数目 */ List []*SfsSfsListPermissionSfsReturnObjListResponse `json:"list"` /* 权限组信息列表 */ PageSize int32 `json:"pageSize"` /* 每页记录数目 */ PageNo int32 `json:"pageNo"` /* 页码 */ }
type SfsSfsListReadWriteSfs1Api ¶
type SfsSfsListReadWriteSfs1Api struct {
// contains filtered or unexported fields
}
func NewSfsSfsListReadWriteSfs1Api ¶
func NewSfsSfsListReadWriteSfs1Api(client *core.CtyunClient) *SfsSfsListReadWriteSfs1Api
func (*SfsSfsListReadWriteSfs1Api) Do ¶
func (a *SfsSfsListReadWriteSfs1Api) Do(ctx context.Context, credential core.Credential, req *SfsSfsListReadWriteSfs1Request) (*SfsSfsListReadWriteSfs1Response, error)
type SfsSfsListReadWriteSfs1Response ¶
type SfsSfsListReadWriteSfs1Response struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsListReadWriteSfs1ReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsListReadWriteSfs1ReturnObjListResponse ¶
type SfsSfsListReadWriteSfs1ReturnObjListResponse struct { SfsUID string `json:"sfsUID"` /* 弹性文件功能系统唯一 ID */ ReadOnly FlexibleBool `json:"readOnly"` /* 是否是只读 */ }
type SfsSfsListReadWriteSfs1ReturnObjResponse ¶
type SfsSfsListReadWriteSfs1ReturnObjResponse struct { List []*SfsSfsListReadWriteSfs1ReturnObjListResponse `json:"list"` /* 查询的详情列表 */ TotalCount int32 `json:"totalCount"` /* 文件系统读写权限信息总数 */ CurrentCount int32 `json:"currentCount"` /* 当前页码的元素个数 */ PageSize int32 `json:"pageSize"` /* 每页个数 */ PageNo int32 `json:"pageNo"` /* 当前页数 */ }
type SfsSfsListRequest ¶
type SfsSfsListResponse ¶
type SfsSfsListResponse struct { StateCode int32 `json:"stateCode"` /* 返回状态码(800为成功,900为失败) */ Message string `json:"message"` /* 失败时的错误描述,一般为英文描述 */ Description string `json:"description"` /* 失败时的错误描述,一般为中文描述 */ ReturnObj *SfsSfsListReturnObjResponse `json:"returnObj"` /* returnObj */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码。 */ }
type SfsSfsListReturnObjListResponse ¶
type SfsSfsListReturnObjListResponse struct { Name string `json:"name"` /* 弹性文件命名 */ UID string `json:"UID"` /* 弹性文件功能系统唯一 ID */ ResourceID string `json:"resourceID"` /* 资源 ID(计费资源 ID) */ SfsSize int32 `json:"sfsSize"` /* 大小(GB) */ SfsType string `json:"sfsType"` /* 类型,capacity/performance/hdd_e/hpfs_perf/massive */ SfsProtocol string `json:"sfsProtocol"` /* 挂载协议。2 种,nfs/cifs */ SfsStatus string `json:"sfsStatus"` /* 弹性文件状态 */ UsedSize int32 `json:"usedSize"` /* 已用大小(MB) */ CreateTime int64 `json:"createTime"` /* 创建时刻,epoch 时戳,精度毫秒 */ UpdateTime int64 `json:"updateTime"` /* 更新时刻,epoch 时戳,精度毫秒 */ ExpireTime int64 `json:"expireTime"` /* 过期时刻,epoch 时戳,精度毫秒 */ ProjectID string `json:"projectID"` /* 资源所属企业项目 ID */ IsEncrypt *bool `json:"isEncrypt"` /* 是否加密盘 */ KmsUUID string `json:"kmsUUID"` /* 加密盘密钥 UUID */ OnDemand *bool `json:"onDemand"` /* 是否按需订购 */ RegionID string `json:"regionID"` /* 资源池 ID */ AzName string `json:"azName"` /* 多可用区下的可用区名字 */ MountCount int32 `json:"mountCount"` /* 挂载点数量 */ CephID string `json:"cephID"` /* ceph底层的id */ }
type SfsSfsListReturnObjResponse ¶
type SfsSfsListReturnObjResponse struct { List []*SfsSfsListReturnObjListResponse `json:"list"` /* 返回的文件列表 */ TotalCount int32 `json:"totalCount"` /* 资源池下用户弹性文件总数 */ CurrentCount int32 `json:"currentCount"` /* 当前页码下查询回来的用户弹性文件数 */ }
type SfsSfsListRwApi ¶
type SfsSfsListRwApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsListRwApi ¶
func NewSfsSfsListRwApi(client *core.CtyunClient) *SfsSfsListRwApi
func (*SfsSfsListRwApi) Do ¶
func (a *SfsSfsListRwApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsListRwRequest) (*SfsSfsListRwResponse, error)
type SfsSfsListRwRequest ¶
type SfsSfsListRwResponse ¶
type SfsSfsListRwResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsListRwReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为product.module.code三段式码 */ Error string `json:"error"` /* 业务细分码,为Product.Module.Code三段式码大驼峰形式 */ }
type SfsSfsListRwReturnObjResponse ¶
type SfsSfsListRwReturnObjResponse struct {
Total int32 `json:"total"` /* 文件系统读写权限信息总数 */
}
type SfsSfsListSfsByVpcidApi ¶
type SfsSfsListSfsByVpcidApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsListSfsByVpcidApi ¶
func NewSfsSfsListSfsByVpcidApi(client *core.CtyunClient) *SfsSfsListSfsByVpcidApi
func (*SfsSfsListSfsByVpcidApi) Do ¶
func (a *SfsSfsListSfsByVpcidApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsListSfsByVpcidRequest) (*SfsSfsListSfsByVpcidResponse, error)
type SfsSfsListSfsByVpcidResponse ¶
type SfsSfsListSfsByVpcidResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsListSfsByVpcidReturnObjResponse `json:"returnObj"` /* 参考returnObj */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsListVpcSfsApi ¶
type SfsSfsListVpcSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsListVpcSfsApi ¶
func NewSfsSfsListVpcSfsApi(client *core.CtyunClient) *SfsSfsListVpcSfsApi
func (*SfsSfsListVpcSfsApi) Do ¶
func (a *SfsSfsListVpcSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsListVpcSfsRequest) (*SfsSfsListVpcSfsResponse, error)
type SfsSfsListVpcSfsRequest ¶
type SfsSfsListVpcSfsResponse ¶
type SfsSfsListVpcSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsListVpcSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsListVpcSfsReturnObjListResponse ¶
type SfsSfsListVpcSfsReturnObjListResponse struct { UserID string `json:"UserID"` /* 租户ID */ SfsUID string `json:"sfsUID"` /* 弹性文件功能系统唯一 ID */ VpcID string `json:"vpcID"` /* vpc底层id */ VpcFuid string `json:"vpcFuid"` /* vpc fuid */ VpcName string `json:"vpcName"` /* vpc名称 */ VpcCidr string `json:"vpcCidr"` /* vpc cidr */ PermissionGroupID string `json:"permissionGroupID"` /* 权限组底层id */ PermissionGroupFuid string `json:"permissionGroupFuid"` /* 权限组id */ PermissionGroupName string `json:"permissionGroupName"` /* 权限组名称 */ PermissionGroupDescription string `json:"permissionGroupDescription"` /* 权限组描述 */ PermissionGroupIsDefault *bool `json:"permissionGroupIsDefault"` /* 是否为默认权限组 */ }
type SfsSfsListVpcSfsReturnObjResponse ¶
type SfsSfsListVpcSfsReturnObjResponse struct { List []*SfsSfsListVpcSfsReturnObjListResponse `json:"list"` /* 返回的文件列表 */ TotalCount int32 `json:"totalCount"` /* 用户弹性文件下VPC总数 */ }
type SfsSfsModifyADApi ¶
type SfsSfsModifyADApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsModifyADApi ¶
func NewSfsSfsModifyADApi(client *core.CtyunClient) *SfsSfsModifyADApi
func (*SfsSfsModifyADApi) Do ¶
func (a *SfsSfsModifyADApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsModifyADRequest) (*SfsSfsModifyADResponse, error)
type SfsSfsModifyADRequest ¶
type SfsSfsModifyADRequest struct { RegionID string `json:"regionID,omitempty"` /* 资源池ID */ SfsUID string `json:"sfsUID,omitempty"` /* 弹性文件功能系统唯一 ID */ IsAnonymousAcc *bool `json:"isAnonymousAcc"` /* 是否允许匿名访问。true:允许匿名访问。false(默认):不允许匿名访问。 注:本参数和keytab信息至少传一项 */ Keytab string `json:"keytab,omitempty"` /* keytab 文件内容通过 base64 加密后的字符串。 注:必须与keytabMd5同时传 */ KeytabMd5 string `json:"keytabMd5,omitempty"` /* keytab 文件内容通过 MD5 加密后的字符串。 注:必须与keytab同时传 */ KeytabName string `json:"keytabName,omitempty"` /* keytab 文件名称 */ }
type SfsSfsModifyADResponse ¶
type SfsSfsModifyADResponse 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 SfsSfsModifyPermissionRuleSfsApi ¶
type SfsSfsModifyPermissionRuleSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsModifyPermissionRuleSfsApi ¶
func NewSfsSfsModifyPermissionRuleSfsApi(client *core.CtyunClient) *SfsSfsModifyPermissionRuleSfsApi
func (*SfsSfsModifyPermissionRuleSfsApi) Do ¶
func (a *SfsSfsModifyPermissionRuleSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsModifyPermissionRuleSfsRequest) (*SfsSfsModifyPermissionRuleSfsResponse, error)
type SfsSfsModifyPermissionRuleSfsRequest ¶
type SfsSfsModifyPermissionRuleSfsRequest struct { PermissionRuleFuid string `json:"permissionRuleFuid,omitempty"` /* 权限组规则的fuid */ RegionID string `json:"regionID,omitempty"` /* 资源池 ID */ AuthAddr string `json:"authAddr,omitempty"` /* 授权地址,可用于区分子网及具体虚机等。有效值范围:ipv4、ipv6 */ RwPermission string `json:"rwPermission,omitempty"` /* 读写权限控制。有效值范围:rw、ro */ UserPermission string `json:"userPermission,omitempty"` /* nfs 访问用户映射。有效值范围:no_root_squash */ PermissionRulePriority int32 `json:"permissionRulePriority,omitempty"` /* 优先级 1 为最高 1-400。不同规则优先级不能重复 */ }
type SfsSfsModifyPermissionRuleSfsResponse ¶
type SfsSfsModifyPermissionRuleSfsResponse 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 SfsSfsModifyPermissionSfsApi ¶
type SfsSfsModifyPermissionSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsModifyPermissionSfsApi ¶
func NewSfsSfsModifyPermissionSfsApi(client *core.CtyunClient) *SfsSfsModifyPermissionSfsApi
func (*SfsSfsModifyPermissionSfsApi) Do ¶
func (a *SfsSfsModifyPermissionSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsModifyPermissionSfsRequest) (*SfsSfsModifyPermissionSfsResponse, error)
type SfsSfsModifyPermissionSfsRequest ¶
type SfsSfsModifyPermissionSfsRequest struct { PermissionGroupFuid string `json:"permissionGroupFuid,omitempty"` /* 权限组Fuid */ RegionID string `json:"regionID,omitempty"` /* 资源池ID */ PermissionGroupName string `json:"permissionGroupName,omitempty"` /* 预修改的权限组名称。permissionGroupName和permissionGroupDescription至少输入一个。长度为2-63字符,只能由数字、字母、"-"组成,不能以数字和"-"开头、且不能以"-"结尾 */ PermissionGroupDescription string `json:"permissionGroupDescription,omitempty"` /* 预修改的权限组描述信息。permissionGroupName和permissionGroupDescription至少输入一个。长度为0-128字符 */ }
type SfsSfsModifyPermissionSfsResponse ¶
type SfsSfsModifyPermissionSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsModifyPermissionSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码,参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsModifyPermissionSfsReturnObjResponse ¶
type SfsSfsModifyPermissionSfsReturnObjResponse struct {
OperationID string `json:"operationID"` /* 修改权限组的操作号 */
}
type SfsSfsNewApi ¶
type SfsSfsNewApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsNewApi ¶
func NewSfsSfsNewApi(client *core.CtyunClient) *SfsSfsNewApi
func (*SfsSfsNewApi) Do ¶
func (a *SfsSfsNewApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsNewRequest) (*SfsSfsNewResponse, error)
type SfsSfsNewPermissionRuleSfsApi ¶
type SfsSfsNewPermissionRuleSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsNewPermissionRuleSfsApi ¶
func NewSfsSfsNewPermissionRuleSfsApi(client *core.CtyunClient) *SfsSfsNewPermissionRuleSfsApi
func (*SfsSfsNewPermissionRuleSfsApi) Do ¶
func (a *SfsSfsNewPermissionRuleSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsNewPermissionRuleSfsRequest) (*SfsSfsNewPermissionRuleSfsResponse, error)
type SfsSfsNewPermissionRuleSfsRequest ¶
type SfsSfsNewPermissionRuleSfsRequest struct { PermissionGroupFuid string `json:"permissionGroupFuid,omitempty"` /* 权限组Fuid */ RegionID string `json:"regionID,omitempty"` /* 资源池ID */ AuthAddr string `json:"authAddr,omitempty"` /* 授权地址。支持IPv4和IPv6两种网络类型,可填写单个IP 或者单个网段。同一权限组内,授权地址不能重复 */ RwPermission string `json:"rwPermission,omitempty"` /* 读写权限控制:ro(只读)、rw(读写)。注:当客户端从读写权限改为只读权限再改回读写权限时,需要重新挂载客户端 */ UserPermission string `json:"userPermission,omitempty"` /* 用户权限:no_root_squash(不匿名用户) */ PermissionRulePriority int32 `json:"permissionRulePriority,omitempty"` /* 优先级,有效范围为1-400。当同一个权限组内单个 IP 与网段中包含的 IP 的权限有冲突时,会生效优先级高的规则。注:优先级不可重复 */ }
type SfsSfsNewPermissionRuleSfsResponse ¶
type SfsSfsNewPermissionRuleSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsNewPermissionRuleSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码,参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsNewPermissionRuleSfsReturnObjResponse ¶
type SfsSfsNewPermissionRuleSfsReturnObjResponse struct {
OperationID string `json:"operationID"` /* 创建权限组规则的操作号 */
}
type SfsSfsNewPermissionSfsApi ¶
type SfsSfsNewPermissionSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsNewPermissionSfsApi ¶
func NewSfsSfsNewPermissionSfsApi(client *core.CtyunClient) *SfsSfsNewPermissionSfsApi
func (*SfsSfsNewPermissionSfsApi) Do ¶
func (a *SfsSfsNewPermissionSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsNewPermissionSfsRequest) (*SfsSfsNewPermissionSfsResponse, error)
type SfsSfsNewPermissionSfsRequest ¶
type SfsSfsNewPermissionSfsRequest struct { RegionID string `json:"regionID,omitempty"` /* 资源池 ID */ PermissionGroupName string `json:"permissionGroupName,omitempty"` /* 权限组名称。名称不能重复,长度为2-63字符,只能由数字、字母(区分大小写)、"-"组成,不能以数字和"-"开头、且不能以"-"结尾 */ NetworkType string `json:"networkType,omitempty"` /* 权限组网络类型:private_network(专有网络) */ PermissionGroupDescription string `json:"permissionGroupDescription,omitempty"` /* 描述信息。长度为0-128字符 */ }
type SfsSfsNewPermissionSfsResponse ¶
type SfsSfsNewPermissionSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsNewPermissionSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码,参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsNewPermissionSfsReturnObjResponse ¶
type SfsSfsNewPermissionSfsReturnObjResponse struct {
OperationID string `json:"operationID"` /* 创建权限组规则的操作号 */
}
type SfsSfsNewRequest ¶
type SfsSfsNewRequest struct { ClientToken string `json:"clientToken,omitempty"` /* 客户端存根,用于保证订单幂等性;要求单个云平台账户内唯一;参考订单幂等性说明 */ RegionID string `json:"regionID,omitempty"` /* 资源池ID */ IsEncrypt *bool `json:"isEncrypt"` /* 是否加密盘,默认false */ KmsUUID string `json:"kmsUUID,omitempty"` /* 如果是加密盘,需要提供kms的uuid */ ProjectID string `json:"projectID,omitempty"` /* 企业项目ID,默认为“0”,即default(默认企业项目) */ SfsType string `json:"sfsType,omitempty"` /* 存储类型,capacity(标准型),performance(性能型) */ SfsProtocol string `json:"sfsProtocol,omitempty"` /* 协议类型,nfs/cifs。nfs适用于Linux,cifs适用于Windows */ Name string `json:"name,omitempty"` /* 文件系统名称;单账户单资源池下,命名需唯一 */ SfsSize int32 `json:"sfsSize,omitempty"` /* 大小,单位GB,最小500GB */ OnDemand *bool `json:"onDemand"` /* 是否按需下单;默认为true */ CycleType string `json:"cycleType,omitempty"` /* 包周期类型,year/month;onDemand为false时,必须指定 */ CycleCount int32 `json:"cycleCount,omitempty"` /* 包周期数。onDemand为false时必须指定;周期最大长度不能超过3年 */ AzName string `json:"azName,omitempty"` /* 多可用区资源池下,必须指定可用区 */ Vpc string `json:"vpc,omitempty"` /* 虚拟私有云ID,获取:<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=18&api=8658&data=94&isNormal=1&vid=88" target="_blank">查询用户VPC列表</a> 注:在多可用区类型资源池下,vpcID通常为“vpc-”开头,非多可用区类型资源池vpcID为uuid格式 */ Subnet string `json:"subnet,omitempty"` /* 子网ID,获取:<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=18&api=8658&data=94&isNormal=1&vid=88" target="_blank">查询用户VPC列表</a> */ }
type SfsSfsNewResponse ¶
type SfsSfsNewResponse struct { StateCode int32 `json:"stateCode"` /* 返回状态码(800为成功,900为失败) */ Message string `json:"message"` /* 失败时的错误描述,一般为英文描述 */ MsgDesc string `json:"msgDesc"` /* 失败时的错误描述,一般为中文描述 */ ReturnObj *SfsSfsNewReturnObjResponse `json:"returnObj"` /* returnObj */ MsgCode string `json:"msgCode"` /* 业务细分码,为product.module.code三段式码;参考结果码 */ }
type SfsSfsNewReturnObjResourcesResourceConfigResponse ¶
type SfsSfsNewReturnObjResourcesResourceConfigResponse struct{}
type SfsSfsNewReturnObjResourcesResponse ¶
type SfsSfsNewReturnObjResourcesResponse struct { ResourceID string `json:"resourceID"` /* 单项资源的变配、续订、退订等需要该资源项的ID */ ResourceType string `json:"resourceType"` /* 资源类型,SFS_TURBO(按需),SFS_TURBOC(包周期) */ OrderID string `json:"orderID"` /* 无需关心 */ StartTime int64 `json:"startTime"` /* 启动时刻,epoch 时戳,毫秒精度 */ CreateTime int64 `json:"createTime"` /* 创建时刻,epoch 时戳,毫秒精度 */ UpdateTime int64 `json:"updateTime"` /* 更新时刻,epoch 时戳,毫秒精度 */ Status int32 `json:"status"` /* 资源状态 */ IsMaster *bool `json:"isMaster"` /* 是否是主资源项 */ ItemValue int32 `json:"itemValue"` /* 无需关心 */ UID string `json:"UID"` /* 弹性文件系统内部唯一 ID */ SfsStatus int32 `json:"sfsStatus"` /* 弹性文件状态序号 */ MasterOrderID string `json:"masterOrderID"` /* 订单 ID */ Name string `json:"name"` /* 文件系统名称 */ MasterResourceID string `json:"masterResourceID"` /* 主资源 ID */ ResourceConfig *SfsSfsNewReturnObjResourcesResourceConfigResponse `json:"resourceConfig"` /* 资源开通相关信息,无需关心 */ }
type SfsSfsNewReturnObjResponse ¶
type SfsSfsNewReturnObjResponse 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 []*SfsSfsNewReturnObjResourcesResponse `json:"resources"` /* 资源明细列表,参考资源明细对象 */ }
type SfsSfsNewSfsApi ¶
type SfsSfsNewSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsNewSfsApi ¶
func NewSfsSfsNewSfsApi(client *core.CtyunClient) *SfsSfsNewSfsApi
func (*SfsSfsNewSfsApi) Do ¶
func (a *SfsSfsNewSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsNewSfsRequest) (*SfsSfsNewSfsResponse, error)
type SfsSfsNewSfsErrorDetailResponse ¶
type SfsSfsNewSfsErrorDetailResponse struct{}
type SfsSfsNewSfsRequest ¶
type SfsSfsNewSfsRequest struct { ClientToken string `json:"clientToken,omitempty"` /* 客户端存根,用于保证订单幂等性。要求单个云平台账户内唯一 */ RegionID string `json:"regionID,omitempty"` /* 资源池 ID,例:100054c0416811e9a6690242ac110002 */ IsEncrypt *bool `json:"isEncrypt"` /* 是否加密盘,true/false,默认 false */ KmsUUID string `json:"kmsUUID,omitempty"` /* 如果是加密盘,需要提供 kms 的 uuid */ ProjectID string `json:"projectID,omitempty"` /* 资源所属企业项目 ID,默认为'0' */ SfsType string `json:"sfsType,omitempty"` /* 弹性文件类型,capacity/performance */ SfsProtocol string `json:"sfsProtocol,omitempty"` /* 协议类型,nfs/cifs/nfs,cifs三种类型, nfs 适用于 linux,cifs 适用于 windows;cifs 适用于 windows;nfs,cifs可以挂载至linux和windows,仅部分"regionVersion": "v3.0"的资源池适用。 */ SfsName string `json:"sfsName,omitempty"` /* 弹性文件名。单账户单资源池下,命名需唯一 */ SfsSize int32 `json:"sfsSize,omitempty"` /* 大小,单位 GB,最小 500GB */ 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 年 */ AzName string `json:"azName,omitempty"` /* 多可用区资源池下,必须指定可用区。4.0资源池必填 */ Vpc string `json:"vpc,omitempty"` /* 虚拟网 ID */ Subnet string `json:"subnet,omitempty"` /* 子网 ID */ }
type SfsSfsNewSfsResponse ¶
type SfsSfsNewSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800为成功,900为失败/订单处理中) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsNewSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ ErrorDetail *SfsSfsNewSfsErrorDetailResponse `json:"errorDetail"` /* 错误明细。一般情况下,会对订单侧(bss)的弹性文件订单业务相关的错误做明确的错误映射和提升,有唯一对应的errorCode。其他订单侧(bss)的错误,以sfs.order.procFailed的errorCode统一映射返回,并在errorDetail中返回订单侧的详细错误信息 */ }
type SfsSfsNewSfsReturnObjResourcesResponse ¶
type SfsSfsNewSfsReturnObjResourcesResponse struct { ResourceID string `json:"resourceID"` /* 单项资源的变配、续订、退订等需要该资源项的 ID。比如某个云主机资源作为主资源,对其挂载 */ ResourceType string `json:"resourceType"` /* 资源类型。SFS_TURBO/SFS_TURBOC */ 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"` /* 弹性文件状态。available/unusable */ MasterOrderID string `json:"masterOrderID"` /* 订单 ID */ SfsName string `json:"sfsName"` /* 弹性文件名字 */ MasterResourceID string `json:"masterResourceID"` /* 主资源 ID */ }
type SfsSfsNewSfsReturnObjResponse ¶
type SfsSfsNewSfsReturnObjResponse 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 []*SfsSfsNewSfsReturnObjResourcesResponse `json:"resources"` /* 资源明细 */ }
type SfsSfsOpenListSfsApi ¶
type SfsSfsOpenListSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsOpenListSfsApi ¶
func NewSfsSfsOpenListSfsApi(client *core.CtyunClient) *SfsSfsOpenListSfsApi
func (*SfsSfsOpenListSfsApi) Do ¶
func (a *SfsSfsOpenListSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsOpenListSfsRequest) (*SfsSfsOpenListSfsResponse, error)
type SfsSfsOpenListSfsResponse ¶
type SfsSfsOpenListSfsResponse 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 SfsSfsQueryPricesApi ¶
type SfsSfsQueryPricesApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsQueryPricesApi ¶
func NewSfsSfsQueryPricesApi(client *core.CtyunClient) *SfsSfsQueryPricesApi
func (*SfsSfsQueryPricesApi) Do ¶
func (a *SfsSfsQueryPricesApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsQueryPricesRequest) (*SfsSfsQueryPricesResponse, error)
type SfsSfsQueryPricesResponse ¶
type SfsSfsQueryPricesResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsQueryPricesReturnObjResponse `json:"returnObj"` /* returnObj */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsQueryPricesReturnObjResponse ¶
type SfsSfsQueryPricesReturnObjResponse struct { TotalPrice float32 `json:"totalPrice"` /* 查询到的订单总价 */ FinalPrice float32 `json:"finalPrice"` /* 最终价格 */ IsSucceed *bool `json:"isSucceed"` /* 查询成功状态 */ SubOrderPrices []*SfsSfsQueryPricesReturnObjSubOrderPricesResponse `json:"subOrderPrices"` /* 查询到的订单价格详情 */ }
type SfsSfsQueryPricesReturnObjSubOrderPricesResponse ¶
type SfsSfsQueryPricesReturnObjSubOrderPricesResponse struct { ServiceTag string `json:"serviceTag"` /* 服务类型 */ TotalPrice float32 `json:"totalPrice"` /* 查询到的订单总价 */ OrderItemPrices []*SfsSfsQueryPricesReturnObjSubOrderPricesOrderItemPricesResponse `json:"orderItemPrices"` /* item价格信息 */ FinalPrice float32 `json:"finalPrice"` /* 最终价格 */ }
type SfsSfsRefundApi ¶
type SfsSfsRefundApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsRefundApi ¶
func NewSfsSfsRefundApi(client *core.CtyunClient) *SfsSfsRefundApi
func (*SfsSfsRefundApi) Do ¶
func (a *SfsSfsRefundApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsRefundRequest) (*SfsSfsRefundResponse, error)
type SfsSfsRefundRequest ¶
type SfsSfsRefundResponse ¶
type SfsSfsRefundResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800为成功,900为订单处理中/失败) */ Message string `json:"message"` /* 失败时的错误描述,一般为英文描述 */ Description string `json:"description"` /* 失败时的错误描述,一般为中文描述 */ ReturnObj *SfsSfsRefundReturnObjResponse `json:"returnObj"` /* returnObj */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ }
type SfsSfsRefundSfsApi ¶
type SfsSfsRefundSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsRefundSfsApi ¶
func NewSfsSfsRefundSfsApi(client *core.CtyunClient) *SfsSfsRefundSfsApi
func (*SfsSfsRefundSfsApi) Do ¶
func (a *SfsSfsRefundSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsRefundSfsRequest) (*SfsSfsRefundSfsResponse, error)
type SfsSfsRefundSfsErrorDetailResponse ¶
type SfsSfsRefundSfsErrorDetailResponse 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 SfsSfsRefundSfsRequest ¶
type SfsSfsRefundSfsResponse ¶
type SfsSfsRefundSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800为成功,900为失败/订单处理中) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsRefundSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ ErrorDetail *SfsSfsRefundSfsErrorDetailResponse `json:"errorDetail"` /* 错误明细。一般情况下,会对订单侧(bss)的弹性文件订单业务相关的错误做明确的错误映射和提升,有唯一对应的errorCode。其他订单侧(bss)的错误,以sfs.order.procFailed的errorCode统一映射返回,并在errorDetail中返回订单侧的详细错误信息 */ }
type SfsSfsRegionDetailsSfsApi ¶
type SfsSfsRegionDetailsSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsRegionDetailsSfsApi ¶
func NewSfsSfsRegionDetailsSfsApi(client *core.CtyunClient) *SfsSfsRegionDetailsSfsApi
func (*SfsSfsRegionDetailsSfsApi) Do ¶
func (a *SfsSfsRegionDetailsSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsRegionDetailsSfsRequest) (*SfsSfsRegionDetailsSfsResponse, error)
type SfsSfsRegionDetailsSfsResponse ¶
type SfsSfsRegionDetailsSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsRegionDetailsSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsRegionDetailsSfsReturnObjRegionSupportListResponse ¶
type SfsSfsRegionDetailsSfsReturnObjRegionSupportListResponse struct { ZoneName string `json:"zoneName"` /* 可用区 Name */ ZoneID string `json:"zoneID"` /* 可用区ID */ StorageType string `json:"storageType"` /* 文件存储类型(capacity/performance/hdd_e) */ ProtocolType []string `json:"protocolType"` /* 文件传输协议类型。例:['nfs','cifs'] */ RemainingStatus *bool `json:"remainingStatus"` /* 该类型是否售罄 */ }
type SfsSfsRegionDetailsSfsReturnObjResponse ¶
type SfsSfsRegionDetailsSfsReturnObjResponse struct { TotalCount int32 `json:"totalCount"` /* 查询到的支持弹性文件详情的类型数量 */ CurrentCount int32 `json:"currentCount"` /* 当前页码的元素个数 */ RegionSupportList []*SfsSfsRegionDetailsSfsReturnObjRegionSupportListResponse `json:"regionSupportList"` /* 可用区信息列表,参考 [regionSupportList] */ PageSize int32 `json:"pageSize"` /* 每页包含的数量 */ PageNo int32 `json:"pageNo"` /* 当前页码 */ }
type SfsSfsRegionlistApi ¶
type SfsSfsRegionlistApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsRegionlistApi ¶
func NewSfsSfsRegionlistApi(client *core.CtyunClient) *SfsSfsRegionlistApi
func (*SfsSfsRegionlistApi) Do ¶
func (a *SfsSfsRegionlistApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsRegionlistRequest) (*SfsSfsRegionlistResponse, error)
type SfsSfsRegionlistRequest ¶
type SfsSfsRegionlistResponse ¶
type SfsSfsRegionlistResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 失败时的错误描述,一般为英文描述 */ Description string `json:"description"` /* 失败时的错误描述,一般为中文描述 */ ReturnObj string `json:"returnObj"` /* returnObj */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码。 */ }
type SfsSfsRenewApi ¶
type SfsSfsRenewApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsRenewApi ¶
func NewSfsSfsRenewApi(client *core.CtyunClient) *SfsSfsRenewApi
func (*SfsSfsRenewApi) Do ¶
func (a *SfsSfsRenewApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsRenewRequest) (*SfsSfsRenewResponse, error)
type SfsSfsRenewRequest ¶
type SfsSfsRenewRequest struct { ResourceID string `json:"resourceID,omitempty"` /* 文件系统资源 ID */ RegionID string `json:"regionID,omitempty"` /* 资源池ID */ CycleType string `json:"cycleType,omitempty"` /* 包周期类型,year/month */ CycleCount int32 `json:"cycleCount,omitempty"` /* 包周期数。周期最大长度不能超过 3 年 */ ClientToken string `json:"clientToken,omitempty"` /* 客户端存根,用于保证订单幂等性。要求单个云平台账户内唯一 */ }
type SfsSfsRenewResponse ¶
type SfsSfsRenewResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800为成功,900为订单处理中/失败) */ Message string `json:"message"` /* 失败时的错误描述,一般为英文描述 */ Description string `json:"description"` /* 失败时的错误描述,一般为中文描述 */ ReturnObj *SfsSfsRenewReturnObjResponse `json:"returnObj"` /* returnObj */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ }
type SfsSfsRenewSfsApi ¶
type SfsSfsRenewSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsRenewSfsApi ¶
func NewSfsSfsRenewSfsApi(client *core.CtyunClient) *SfsSfsRenewSfsApi
func (*SfsSfsRenewSfsApi) Do ¶
func (a *SfsSfsRenewSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsRenewSfsRequest) (*SfsSfsRenewSfsResponse, error)
type SfsSfsRenewSfsErrorDetailResponse ¶
type SfsSfsRenewSfsErrorDetailResponse 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 SfsSfsRenewSfsRequest ¶
type SfsSfsRenewSfsRequest struct { SfsUID string `json:"sfsUID,omitempty"` /* 弹性文件功能系统唯一 ID */ RegionID string `json:"regionID,omitempty"` /* 资源池ID */ CycleType string `json:"cycleType,omitempty"` /* 包周期类型,year/month */ CycleCount int32 `json:"cycleCount,omitempty"` /* 包周期数。周期最大长度不能超过 3 年 */ ClientToken string `json:"clientToken,omitempty"` /* 客户端存根,用于保证订单幂等性。要求单个云平台账户内唯一 */ }
type SfsSfsRenewSfsResponse ¶
type SfsSfsRenewSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800为成功,900为失败/订单处理中) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsRenewSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ ErrorDetail *SfsSfsRenewSfsErrorDetailResponse `json:"errorDetail"` /* 错误明细。一般情况下,会对订单侧(bss)的弹性文件订单业务相关的错误做明确的错误映射和提升,有唯一对应的errorCode。其他订单侧(bss)的错误,以sfs.order.procFailed的errorCode统一映射返回,并在errorDetail中返回订单侧的详细错误信息 */ }
type SfsSfsResizeApi ¶
type SfsSfsResizeApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsResizeApi ¶
func NewSfsSfsResizeApi(client *core.CtyunClient) *SfsSfsResizeApi
func (*SfsSfsResizeApi) Do ¶
func (a *SfsSfsResizeApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsResizeRequest) (*SfsSfsResizeResponse, error)
type SfsSfsResizeRequest ¶
type SfsSfsResizeRequest struct { SfsSize int32 `json:"sfsSize,omitempty"` /* 变配后的大小,单位 GB */ ResourceID string `json:"resourceID,omitempty"` /* 文件系统资源 ID */ RegionID string `json:"regionID,omitempty"` /* 资源池 ID */ ClientToken string `json:"clientToken,omitempty"` /* 客户端存根,用于保证订单幂等性。要求单个云平台账户内唯一 */ }
type SfsSfsResizeResponse ¶
type SfsSfsResizeResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800为成功,900为订单处理中/失败) */ Message string `json:"message"` /* 失败时的错误描述,一般为英文描述 */ Description string `json:"description"` /* 失败时的错误描述,一般为中文描述 */ ReturnObj *SfsSfsResizeReturnObjResponse `json:"returnObj"` /* returnObj */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ }
type SfsSfsResizeSfsApi ¶
type SfsSfsResizeSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsResizeSfsApi ¶
func NewSfsSfsResizeSfsApi(client *core.CtyunClient) *SfsSfsResizeSfsApi
func (*SfsSfsResizeSfsApi) Do ¶
func (a *SfsSfsResizeSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsResizeSfsRequest) (*SfsSfsResizeSfsResponse, error)
type SfsSfsResizeSfsErrorDetailResponse ¶
type SfsSfsResizeSfsErrorDetailResponse 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 SfsSfsResizeSfsRequest ¶
type SfsSfsResizeSfsRequest struct { SfsSize int32 `json:"sfsSize,omitempty"` /* 变配后的大小,单位 GB */ SfsUID string `json:"sfsUID,omitempty"` /* 弹性文件功能系统唯一 ID */ RegionID string `json:"regionID,omitempty"` /* 资源池 ID */ ClientToken string `json:"clientToken,omitempty"` /* 客户端存根,用于保证订单幂等性。要求单个云平台账户内唯一 */ }
type SfsSfsResizeSfsResponse ¶
type SfsSfsResizeSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800为成功,900为失败/订单处理中) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsResizeSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ ErrorDetail *SfsSfsResizeSfsErrorDetailResponse `json:"errorDetail"` /* 错误明细。一般情况下,会对订单侧(bss)的弹性文件订单业务相关的错误做明确的错误映射和提升,有唯一对应的errorCode。其他订单侧(bss)的错误,以sfs.order.procFailed的errorCode统一映射返回,并在errorDetail中返回订单侧的详细错误信息 */ }
type SfsSfsRoApi ¶
type SfsSfsRoApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsRoApi ¶
func NewSfsSfsRoApi(client *core.CtyunClient) *SfsSfsRoApi
func (*SfsSfsRoApi) Do ¶
func (a *SfsSfsRoApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsRoRequest) (*SfsSfsRoResponse, error)
type SfsSfsRoRequest ¶
type SfsSfsRoResponse ¶
type SfsSfsRoResponse 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 SfsSfsRwApi ¶
type SfsSfsRwApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsRwApi ¶
func NewSfsSfsRwApi(client *core.CtyunClient) *SfsSfsRwApi
func (*SfsSfsRwApi) Do ¶
func (a *SfsSfsRwApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsRwRequest) (*SfsSfsRwResponse, error)
type SfsSfsRwRequest ¶
type SfsSfsRwResponse ¶
type SfsSfsRwResponse 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 SfsSfsSetProtectSwitchApi ¶
type SfsSfsSetProtectSwitchApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsSetProtectSwitchApi ¶
func NewSfsSfsSetProtectSwitchApi(client *core.CtyunClient) *SfsSfsSetProtectSwitchApi
func (*SfsSfsSetProtectSwitchApi) Do ¶
func (a *SfsSfsSetProtectSwitchApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsSetProtectSwitchRequest) (*SfsSfsSetProtectSwitchResponse, error)
type SfsSfsSetProtectSwitchResponse ¶
type SfsSfsSetProtectSwitchResponse 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三段式码大驼峰形式 */ ReturnObj *SfsSfsSetProtectSwitchReturnObjResponse `json:"returnObj"` /* 参考[结果码] */ }
type SfsSfsSetProtectSwitchReturnObjResponse ¶
type SfsSfsSetProtectSwitchReturnObjResponse struct {
Status string `json:"status"` /* 返回状态,OK为成功,其他为失败 */
}
type SfsSfsSetReadSfsApi ¶
type SfsSfsSetReadSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsSetReadSfsApi ¶
func NewSfsSfsSetReadSfsApi(client *core.CtyunClient) *SfsSfsSetReadSfsApi
func (*SfsSfsSetReadSfsApi) Do ¶
func (a *SfsSfsSetReadSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsSetReadSfsRequest) (*SfsSfsSetReadSfsResponse, error)
type SfsSfsSetReadSfsRequest ¶
type SfsSfsSetReadSfsResponse ¶
type SfsSfsSetReadSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsSetReadSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsSetReadSfsReturnObjResponse ¶
type SfsSfsSetReadSfsReturnObjResponse struct {
OperationID string `json:"operationID"` /* 设置文件系统只读的操作ID */
}
type SfsSfsSetReadWriteSfsApi ¶
type SfsSfsSetReadWriteSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsSetReadWriteSfsApi ¶
func NewSfsSfsSetReadWriteSfsApi(client *core.CtyunClient) *SfsSfsSetReadWriteSfsApi
func (*SfsSfsSetReadWriteSfsApi) Do ¶
func (a *SfsSfsSetReadWriteSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsSetReadWriteSfsRequest) (*SfsSfsSetReadWriteSfsResponse, error)
type SfsSfsSetReadWriteSfsResponse ¶
type SfsSfsSetReadWriteSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsSetReadWriteSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsSetReadWriteSfsReturnObjResponse ¶
type SfsSfsSetReadWriteSfsReturnObjResponse struct {
OperationID string `json:"operationID"` /* 设置文件系统读写的操作ID */
}
type SfsSfsTotalSizeSfsApi ¶
type SfsSfsTotalSizeSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsTotalSizeSfsApi ¶
func NewSfsSfsTotalSizeSfsApi(client *core.CtyunClient) *SfsSfsTotalSizeSfsApi
func (*SfsSfsTotalSizeSfsApi) Do ¶
func (a *SfsSfsTotalSizeSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsTotalSizeSfsRequest) (*SfsSfsTotalSizeSfsResponse, error)
type SfsSfsTotalSizeSfsResponse ¶
type SfsSfsTotalSizeSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsTotalSizeSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsUnbindPermissionApi ¶
type SfsSfsUnbindPermissionApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsUnbindPermissionApi ¶
func NewSfsSfsUnbindPermissionApi(client *core.CtyunClient) *SfsSfsUnbindPermissionApi
func (*SfsSfsUnbindPermissionApi) Do ¶
func (a *SfsSfsUnbindPermissionApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsUnbindPermissionRequest) (*SfsSfsUnbindPermissionResponse, error)
type SfsSfsUnbindPermissionResponse ¶
type SfsSfsUnbindPermissionResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsUnbindPermissionReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsUnbindPermissionReturnObjResponse ¶
type SfsSfsUnbindPermissionReturnObjResponse struct {
OperationID string `json:"operationID"` /* 文件系统VPC解绑权限组的操作号 */
}
type SfsSfsUnbindVpcSfsApi ¶
type SfsSfsUnbindVpcSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsUnbindVpcSfsApi ¶
func NewSfsSfsUnbindVpcSfsApi(client *core.CtyunClient) *SfsSfsUnbindVpcSfsApi
func (*SfsSfsUnbindVpcSfsApi) Do ¶
func (a *SfsSfsUnbindVpcSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsUnbindVpcSfsRequest) (*SfsSfsUnbindVpcSfsResponse, error)
type SfsSfsUnbindVpcSfsResponse ¶
type SfsSfsUnbindVpcSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsUnbindVpcSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsUnbindVpcSfsReturnObjResponse ¶
type SfsSfsUnbindVpcSfsReturnObjResponse struct {
OperationID string `json:"operationID"` /* 文件系统VPC解绑权限组的操作号 */
}
type SfsSfsUpdateLabelApi ¶
type SfsSfsUpdateLabelApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsUpdateLabelApi ¶
func NewSfsSfsUpdateLabelApi(client *core.CtyunClient) *SfsSfsUpdateLabelApi
func (*SfsSfsUpdateLabelApi) Do ¶
func (a *SfsSfsUpdateLabelApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsUpdateLabelRequest) (*SfsSfsUpdateLabelResponse, error)
type SfsSfsUpdateLabelRequest ¶
type SfsSfsUpdateLabelRequest struct { SfsUID string `json:"sfsUID,omitempty"` /* 弹性文件唯一资源id */ RegionID string `json:"regionID,omitempty"` /* 资源池(区域)ID */ LabelList []*SfsSfsUpdateLabelLabelListRequest `json:"labelList"` /* 标签和相应的操作类型 */ }
type SfsSfsUpdateLabelResponse ¶
type SfsSfsUpdateLabelResponse struct { ReturnObj *SfsSfsUpdateLabelReturnObjResponse `json:"returnObj"` /* 返回对象 */ 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 SfsSfsUsedRateSfsApi ¶
type SfsSfsUsedRateSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsUsedRateSfsApi ¶
func NewSfsSfsUsedRateSfsApi(client *core.CtyunClient) *SfsSfsUsedRateSfsApi
func (*SfsSfsUsedRateSfsApi) Do ¶
func (a *SfsSfsUsedRateSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsUsedRateSfsRequest) (*SfsSfsUsedRateSfsResponse, error)
type SfsSfsUsedRateSfsResponse ¶
type SfsSfsUsedRateSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsUsedRateSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsUsedSizeSfsApi ¶
type SfsSfsUsedSizeSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsUsedSizeSfsApi ¶
func NewSfsSfsUsedSizeSfsApi(client *core.CtyunClient) *SfsSfsUsedSizeSfsApi
func (*SfsSfsUsedSizeSfsApi) Do ¶
func (a *SfsSfsUsedSizeSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsUsedSizeSfsRequest) (*SfsSfsUsedSizeSfsResponse, error)
type SfsSfsUsedSizeSfsResponse ¶
type SfsSfsUsedSizeSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsSfsUsedSizeSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsSfsZoneListsfsApi ¶
type SfsSfsZoneListsfsApi struct {
// contains filtered or unexported fields
}
func NewSfsSfsZoneListsfsApi ¶
func NewSfsSfsZoneListsfsApi(client *core.CtyunClient) *SfsSfsZoneListsfsApi
func (*SfsSfsZoneListsfsApi) Do ¶
func (a *SfsSfsZoneListsfsApi) Do(ctx context.Context, credential core.Credential, req *SfsSfsZoneListsfsRequest) (*SfsSfsZoneListsfsResponse, error)
type SfsSfsZoneListsfsRequest ¶
type SfsSfsZoneListsfsRequest struct { RegionID string `json:"regionID,omitempty"` /* 可用区所在的地域 ID */ FileSystemType string `json:"fileSystemType,omitempty"` /* 文件系统类型。取值范围:performance-性能型、capacity-标准型、hdd_e-标准型专属 */ PageSize int32 `json:"pageSize,omitempty"` /* 分页查询时每页包含的地域数 */ PageNo int32 `json:"pageNo,omitempty"` /* 列表的分页页码 */ }
type SfsSfsZoneListsfsResponse ¶
type SfsSfsZoneListsfsResponse struct { StatusCode string `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 失败时的错误描述,一般为英文描述 */ Description string `json:"description"` /* 失败时的错误描述,一般为英文描述 */ ReturnObj string `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码。 */ }
type SfsStorageQuotaSfsApi ¶
type SfsStorageQuotaSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsStorageQuotaSfsApi ¶
func NewSfsStorageQuotaSfsApi(client *core.CtyunClient) *SfsStorageQuotaSfsApi
func (*SfsStorageQuotaSfsApi) Do ¶
func (a *SfsStorageQuotaSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsStorageQuotaSfsRequest) (*SfsStorageQuotaSfsResponse, error)
type SfsStorageQuotaSfsRequest ¶
type SfsStorageQuotaSfsRequest struct {
RegionID string `json:"regionID,omitempty"` /* 资源池ID */
}
type SfsStorageQuotaSfsResponse ¶
type SfsStorageQuotaSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsStorageQuotaSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsTotalStorageApi ¶
type SfsTotalStorageApi struct {
// contains filtered or unexported fields
}
func NewSfsTotalStorageApi ¶
func NewSfsTotalStorageApi(client *core.CtyunClient) *SfsTotalStorageApi
func (*SfsTotalStorageApi) Do ¶
func (a *SfsTotalStorageApi) Do(ctx context.Context, credential core.Credential, req *SfsTotalStorageRequest) (*SfsTotalStorageResponse, error)
type SfsTotalStorageRequest ¶
type SfsTotalStorageResponse ¶
type SfsTotalStorageResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsTotalStorageReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsUsedStorageApi ¶
type SfsUsedStorageApi struct {
// contains filtered or unexported fields
}
func NewSfsUsedStorageApi ¶
func NewSfsUsedStorageApi(client *core.CtyunClient) *SfsUsedStorageApi
func (*SfsUsedStorageApi) Do ¶
func (a *SfsUsedStorageApi) Do(ctx context.Context, credential core.Credential, req *SfsUsedStorageRequest) (*SfsUsedStorageResponse, error)
type SfsUsedStorageRequest ¶
type SfsUsedStorageResponse ¶
type SfsUsedStorageResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsUsedStorageReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码.参考[结果码] */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsVpcQuotaSfsApi ¶
type SfsVpcQuotaSfsApi struct {
// contains filtered or unexported fields
}
func NewSfsVpcQuotaSfsApi ¶
func NewSfsVpcQuotaSfsApi(client *core.CtyunClient) *SfsVpcQuotaSfsApi
func (*SfsVpcQuotaSfsApi) Do ¶
func (a *SfsVpcQuotaSfsApi) Do(ctx context.Context, credential core.Credential, req *SfsVpcQuotaSfsRequest) (*SfsVpcQuotaSfsResponse, error)
type SfsVpcQuotaSfsRequest ¶
type SfsVpcQuotaSfsResponse ¶
type SfsVpcQuotaSfsResponse struct { StatusCode int32 `json:"statusCode"` /* 返回状态码(800 为成功,900 为失败) */ Message string `json:"message"` /* 响应描述,一般为英文描述 */ Description string `json:"description"` /* 响应描述,一般为中文描述 */ ReturnObj *SfsVpcQuotaSfsReturnObjResponse `json:"returnObj"` /* 参考[returnObj] */ ErrorCode string `json:"errorCode"` /* 业务细分码,为 product.module.code 三段式码 */ Error string `json:"error"` /* 业务细分码,为product.module.code三段式码大驼峰形式 */ }
type SfsVpceSharePathResponse ¶
type SfsVpceSharePathResponse struct {}
Source Files
¶
- apis.go
- sfs_add_mountpoint_sfs_api.go
- sfs_change_permission_api.go
- sfs_count_quota_sfs_api.go
- sfs_create_subdir_sfs_api.go
- sfs_delete_mountpoint_api.go
- sfs_delete_mountpoint_sfs_api.go
- sfs_free_storage_api.go
- sfs_list_mountpoint_api.go
- sfs_list_permission_api.go
- sfs_list_region_sfs_api.go
- sfs_list_sfs_by_ondemand_api.go
- sfs_list_sfs_by_sfsprotocol_api.go
- sfs_list_sfs_by_sfstype_api.go
- sfs_modify_permission_group_api.go
- sfs_opend_list_api.go
- sfs_permission_group_delete_api.go
- sfs_permission_group_list_api.go
- sfs_permission_group_new_api.go
- sfs_permission_rule_delete_api.go
- sfs_permission_rule_list_api.go
- sfs_permission_rule_modify_api.go
- sfs_permission_rule_new_api.go
- sfs_query_prices_api.go
- sfs_rate_storage_api.go
- sfs_rename_s_f_s_api.go
- sfs_sfs_batch_bind_label_api.go
- sfs_sfs_bind_permission_api.go
- sfs_sfs_bind_vpc_sfs_api.go
- sfs_sfs_change_vpc_sfs_api.go
- sfs_sfs_check_ktb_api.go
- sfs_sfs_create_duplicate_api.go
- sfs_sfs_create_query_prices_api.go
- sfs_sfs_create_sfs_api.go
- sfs_sfs_delete_a_d_api.go
- sfs_sfs_delete_duplicate_api.go
- sfs_sfs_delete_permission_rule_sfs_api.go
- sfs_sfs_delete_permission_sfs_api.go
- sfs_sfs_free_size_sfs_api.go
- sfs_sfs_info_api.go
- sfs_sfs_info_by_name_api.go
- sfs_sfs_info_by_name_sfs_api.go
- sfs_sfs_info_sfs_api.go
- sfs_sfs_join_a_d_api.go
- sfs_sfs_list_a_d_api.go
- sfs_sfs_list_api.go
- sfs_sfs_list_duplicate_api.go
- sfs_sfs_list_label_by_sfs_api.go
- sfs_sfs_list_mountpoint_api.go
- sfs_sfs_list_permission_rule_sfs_api.go
- sfs_sfs_list_permission_sfs_api.go
- sfs_sfs_list_read_write_sfs1_api.go
- sfs_sfs_list_rw_api.go
- sfs_sfs_list_sfs_by_vpcid_api.go
- sfs_sfs_list_vpc_sfs_api.go
- sfs_sfs_modify_a_d_api.go
- sfs_sfs_modify_permission_rule_sfs_api.go
- sfs_sfs_modify_permission_sfs_api.go
- sfs_sfs_new_api.go
- sfs_sfs_new_permission_rule_sfs_api.go
- sfs_sfs_new_permission_sfs_api.go
- sfs_sfs_new_sfs_api.go
- sfs_sfs_open_list_sfs_api.go
- sfs_sfs_query_prices_api.go
- sfs_sfs_refund_api.go
- sfs_sfs_refund_sfs_api.go
- sfs_sfs_region_details_sfs_api.go
- sfs_sfs_regionlist_api.go
- sfs_sfs_renew_api.go
- sfs_sfs_renew_sfs_api.go
- sfs_sfs_resize_api.go
- sfs_sfs_resize_sfs_api.go
- sfs_sfs_ro_api.go
- sfs_sfs_rw_api.go
- sfs_sfs_set_protect_switch_api.go
- sfs_sfs_set_read_sfs_api.go
- sfs_sfs_set_read_write_sfs_api.go
- sfs_sfs_total_size_sfs_api.go
- sfs_sfs_unbind_permission_api.go
- sfs_sfs_unbind_vpc_sfs_api.go
- sfs_sfs_update_label_api.go
- sfs_sfs_used_rate_sfs_api.go
- sfs_sfs_used_size_sfs_api.go
- sfs_sfs_zone_listsfs_api.go
- sfs_storage_quota_sfs_api.go
- sfs_total_storage_api.go
- sfs_used_storage_api.go
- sfs_vpc_quota_sfs_api.go
Click to show internal directories.
Click to hide internal directories.