cfs

package
v1.81.139 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CFS_PROTOCOL_NFS   = "NFS"
	CFS_PROTOCOL_CIFS  = "CIFS"
	CFS_PROTOCOL_TURBO = "TURBO"

	CFS_STORAGETYPE_SD = "SD"
	CFS_STORAGETYPE_HP = "HP"
	CFS_STORAGETYPE_TB = "TB"
	CFS_STORAGETYPE_TP = "TP"

	CFS_NET_VPC = "VPC"
	CFS_NET_CCN = "CCN"

	CFS_FILE_SYSTEM_STATUS_CREATING = "creating"
	CFS_FILE_SYSTEM_STATUS_SUCCESS  = "available"
	CFS_FILE_SYSTEM_STATUS_FAILED   = "create_failed"

	CFS_RW_PERMISSION_RO = "RO"
	CFS_RW_PERMISSION_RW = "RW"

	CFS_USER_PERMISSION_ALL_SQUASH     = "all_squash"
	CFS_USER_PERMISSION_NO_ALL_SQUASH  = "no_all_squash"
	CFS_USER_PERMISSION_ROOT_SQUASH    = "root_squash"
	CFS_USER_PERMISSION_NO_ROOT_SQUASH = "no_root_squash"
)
View Source
const CfsInvalidPgroup = "InvalidParameterValue.InvalidPgroup"

Variables

View Source
var CFS_NET = []string{
	CFS_NET_VPC,
	CFS_NET_CCN,
}

Functions

func DataSourceTencentCloudCfsAccessGroups

func DataSourceTencentCloudCfsAccessGroups() *schema.Resource

func DataSourceTencentCloudCfsAccessRules

func DataSourceTencentCloudCfsAccessRules() *schema.Resource

func DataSourceTencentCloudCfsAvailableZone

func DataSourceTencentCloudCfsAvailableZone() *schema.Resource

func DataSourceTencentCloudCfsFileSystemClients

func DataSourceTencentCloudCfsFileSystemClients() *schema.Resource

func DataSourceTencentCloudCfsFileSystems

func DataSourceTencentCloudCfsFileSystems() *schema.Resource

func DataSourceTencentCloudCfsMountTargets

func DataSourceTencentCloudCfsMountTargets() *schema.Resource

func ResourceTencentCloudCfsAccessGroup

func ResourceTencentCloudCfsAccessGroup() *schema.Resource

func ResourceTencentCloudCfsAccessRule

func ResourceTencentCloudCfsAccessRule() *schema.Resource

func ResourceTencentCloudCfsAutoSnapshotPolicy

func ResourceTencentCloudCfsAutoSnapshotPolicy() *schema.Resource

func ResourceTencentCloudCfsAutoSnapshotPolicyAttachment

func ResourceTencentCloudCfsAutoSnapshotPolicyAttachment() *schema.Resource

func ResourceTencentCloudCfsFileSystem

func ResourceTencentCloudCfsFileSystem() *schema.Resource

func ResourceTencentCloudCfsSignUpCfsService

func ResourceTencentCloudCfsSignUpCfsService() *schema.Resource

func ResourceTencentCloudCfsSnapshot

func ResourceTencentCloudCfsSnapshot() *schema.Resource

func ResourceTencentCloudCfsUserQuota added in v1.81.62

func ResourceTencentCloudCfsUserQuota() *schema.Resource

Types

type CfsService

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

func NewCfsService

func NewCfsService(client *connectivity.TencentCloudClient) CfsService

func (*CfsService) CfsSnapshotStateRefreshFunc

func (me *CfsService) CfsSnapshotStateRefreshFunc(snapshotId string, failStates []string) resource.StateRefreshFunc

func (*CfsService) CreateAccessGroup

func (me *CfsService) CreateAccessGroup(ctx context.Context, name, description string) (id string, errRet error)

func (*CfsService) DeleteAccessGroup

func (me *CfsService) DeleteAccessGroup(ctx context.Context, id string) error

func (*CfsService) DeleteAccessRule

func (me *CfsService) DeleteAccessRule(ctx context.Context, accessGroupId, accessRuleId string) error

func (*CfsService) DeleteCfsAutoSnapshotPolicyAttachmentById

func (me *CfsService) DeleteCfsAutoSnapshotPolicyAttachmentById(ctx context.Context, autoSnapshotPolicyId string, fileSystemIds string) (errRet error)

func (*CfsService) DeleteCfsAutoSnapshotPolicyById

func (me *CfsService) DeleteCfsAutoSnapshotPolicyById(ctx context.Context, autoSnapshotPolicyId string) (errRet error)

func (*CfsService) DeleteCfsSnapshotById

func (me *CfsService) DeleteCfsSnapshotById(ctx context.Context, snapshotId string) (errRet error)

func (*CfsService) DeleteCfsUserQuotaById

func (me *CfsService) DeleteCfsUserQuotaById(ctx context.Context, fileSystemId string, userType string, userId string) (errRet error)

func (*CfsService) DeleteFileSystem

func (me *CfsService) DeleteFileSystem(ctx context.Context, fsId string) error

func (*CfsService) DescribeAccessGroup

func (me *CfsService) DescribeAccessGroup(ctx context.Context, id, name string) (accessGroups []*cfs.PGroupInfo, errRet error)

func (*CfsService) DescribeAccessRule

func (me *CfsService) DescribeAccessRule(ctx context.Context, accessGroupId, accessRuleId string) (accessRules []*cfs.PGroupRuleInfo, errRet error)

func (*CfsService) DescribeCfsAutoSnapshotPolicyAttachmentById

func (me *CfsService) DescribeCfsAutoSnapshotPolicyAttachmentById(ctx context.Context, autoSnapshotPolicyId string, fileSystemIds string) (autoSnapshotPolicyAttachment *cfs.AutoSnapshotPolicyInfo, errRet error)

func (*CfsService) DescribeCfsAutoSnapshotPolicyById

func (me *CfsService) DescribeCfsAutoSnapshotPolicyById(ctx context.Context, autoSnapshotPolicyId string) (autoSnapshotPolicy *cfs.AutoSnapshotPolicyInfo, errRet error)

func (*CfsService) DescribeCfsAvailableZoneByFilter

func (me *CfsService) DescribeCfsAvailableZoneByFilter(ctx context.Context) (availableZone []*cfs.AvailableRegion, errRet error)

func (*CfsService) DescribeCfsFileSystemClientsById

func (me *CfsService) DescribeCfsFileSystemClientsById(ctx context.Context, fileSystemId string) (fileSystemClients []*cfs.FileSystemClient, errRet error)

func (*CfsService) DescribeCfsMountTargetsById

func (me *CfsService) DescribeCfsMountTargetsById(ctx context.Context, fileSystemId string) (mountTargets []*cfs.MountInfo, errRet error)

func (*CfsService) DescribeCfsSnapshotById

func (me *CfsService) DescribeCfsSnapshotById(ctx context.Context, snapshotId string) (snapshot *cfs.SnapshotInfo, errRet error)

func (*CfsService) DescribeCfsUserQuotaById

func (me *CfsService) DescribeCfsUserQuotaById(ctx context.Context, fileSystemId string, userType string, userId string) (userQuota *cfs.UserQuota, errRet error)

func (*CfsService) DescribeFileSystem

func (me *CfsService) DescribeFileSystem(ctx context.Context, fsId, vpcId, subnetId string) (fs []*cfs.FileSystemInfo, errRet error)

func (*CfsService) DescribeMountTargets

func (me *CfsService) DescribeMountTargets(ctx context.Context, fsId string) (targets []*cfs.MountInfo, errRet error)

func (*CfsService) ModifyFileSystemAccessGroup

func (me *CfsService) ModifyFileSystemAccessGroup(ctx context.Context, fsId, accessGroupId string) error

func (*CfsService) ModifyFileSystemName

func (me *CfsService) ModifyFileSystemName(ctx context.Context, fsId, fsName string) error

Jump to

Keyboard shortcuts

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