Documentation ¶
Index ¶
- Constants
- Variables
- func DataSourceTencentCloudCfsAccessGroups() *schema.Resource
- func DataSourceTencentCloudCfsAccessRules() *schema.Resource
- func DataSourceTencentCloudCfsAvailableZone() *schema.Resource
- func DataSourceTencentCloudCfsFileSystemClients() *schema.Resource
- func DataSourceTencentCloudCfsFileSystems() *schema.Resource
- func DataSourceTencentCloudCfsMountTargets() *schema.Resource
- func ResourceTencentCloudCfsAccessGroup() *schema.Resource
- func ResourceTencentCloudCfsAccessRule() *schema.Resource
- func ResourceTencentCloudCfsAutoSnapshotPolicy() *schema.Resource
- func ResourceTencentCloudCfsAutoSnapshotPolicyAttachment() *schema.Resource
- func ResourceTencentCloudCfsFileSystem() *schema.Resource
- func ResourceTencentCloudCfsSignUpCfsService() *schema.Resource
- func ResourceTencentCloudCfsSnapshot() *schema.Resource
- func ResourceTencentCloudCfsUserQuota() *schema.Resource
- type CfsService
- func (me *CfsService) CfsSnapshotStateRefreshFunc(snapshotId string, failStates []string) resource.StateRefreshFunc
- func (me *CfsService) CreateAccessGroup(ctx context.Context, name, description string) (id string, errRet error)
- func (me *CfsService) DeleteAccessGroup(ctx context.Context, id string) error
- func (me *CfsService) DeleteAccessRule(ctx context.Context, accessGroupId, accessRuleId string) error
- func (me *CfsService) DeleteCfsAutoSnapshotPolicyAttachmentById(ctx context.Context, autoSnapshotPolicyId string, fileSystemIds string) (errRet error)
- func (me *CfsService) DeleteCfsAutoSnapshotPolicyById(ctx context.Context, autoSnapshotPolicyId string) (errRet error)
- func (me *CfsService) DeleteCfsSnapshotById(ctx context.Context, snapshotId string) (errRet error)
- func (me *CfsService) DeleteCfsUserQuotaById(ctx context.Context, fileSystemId string, userType string, userId string) (errRet error)
- func (me *CfsService) DeleteFileSystem(ctx context.Context, fsId string) error
- func (me *CfsService) DescribeAccessGroup(ctx context.Context, id, name string) (accessGroups []*cfs.PGroupInfo, errRet error)
- func (me *CfsService) DescribeAccessRule(ctx context.Context, accessGroupId, accessRuleId string) (accessRules []*cfs.PGroupRuleInfo, errRet error)
- func (me *CfsService) DescribeCfsAutoSnapshotPolicyAttachmentById(ctx context.Context, autoSnapshotPolicyId string, fileSystemIds string) (autoSnapshotPolicyAttachment *cfs.AutoSnapshotPolicyInfo, errRet error)
- func (me *CfsService) DescribeCfsAutoSnapshotPolicyById(ctx context.Context, autoSnapshotPolicyId string) (autoSnapshotPolicy *cfs.AutoSnapshotPolicyInfo, errRet error)
- func (me *CfsService) DescribeCfsAvailableZoneByFilter(ctx context.Context) (availableZone []*cfs.AvailableRegion, errRet error)
- func (me *CfsService) DescribeCfsFileSystemClientsById(ctx context.Context, fileSystemId string) (fileSystemClients []*cfs.FileSystemClient, errRet error)
- func (me *CfsService) DescribeCfsMountTargetsById(ctx context.Context, fileSystemId string) (mountTargets []*cfs.MountInfo, errRet error)
- func (me *CfsService) DescribeCfsSnapshotById(ctx context.Context, snapshotId string) (snapshot *cfs.SnapshotInfo, errRet error)
- func (me *CfsService) DescribeCfsUserQuotaById(ctx context.Context, fileSystemId string, userType string, userId string) (userQuota *cfs.UserQuota, errRet error)
- func (me *CfsService) DescribeFileSystem(ctx context.Context, fsId, vpcId, subnetId string) (fs []*cfs.FileSystemInfo, errRet error)
- func (me *CfsService) DescribeMountTargets(ctx context.Context, fsId string) (targets []*cfs.MountInfo, errRet error)
- func (me *CfsService) ModifyFileSystemAccessGroup(ctx context.Context, fsId, accessGroupId string) error
- func (me *CfsService) ModifyFileSystemName(ctx context.Context, fsId, fsName string) error
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, }
View Source
var CFS_PROTOCOL = []string{ CFS_PROTOCOL_NFS, CFS_PROTOCOL_CIFS, CFS_PROTOCOL_TURBO, }
View Source
var CFS_RW_PERMISSION = []string{ CFS_RW_PERMISSION_RO, CFS_RW_PERMISSION_RW, }
View Source
var CFS_STORAGETYPE = []string{ CFS_STORAGETYPE_SD, CFS_STORAGETYPE_HP, CFS_STORAGETYPE_TB, CFS_STORAGETYPE_TP, }
View Source
var CFS_USER_PERMISSION = []string{ CFS_USER_PERMISSION_ALL_SQUASH, CFS_USER_PERMISSION_NO_ALL_SQUASH, CFS_USER_PERMISSION_ROOT_SQUASH, CFS_USER_PERMISSION_NO_ROOT_SQUASH, }
Functions ¶
func ResourceTencentCloudCfsUserQuota ¶ added in v1.81.62
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 (*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 (*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 (*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 (*CfsService) DescribeCfsSnapshotById ¶
func (me *CfsService) DescribeCfsSnapshotById(ctx context.Context, snapshotId string) (snapshot *cfs.SnapshotInfo, errRet error)
func (*CfsService) DescribeCfsUserQuotaById ¶
func (*CfsService) DescribeFileSystem ¶
func (me *CfsService) DescribeFileSystem(ctx context.Context, fsId, vpcId, subnetId string) (fs []*cfs.FileSystemInfo, errRet error)
func (*CfsService) DescribeMountTargets ¶
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
Source Files ¶
- data_source_tc_cfs_access_groups.go
- data_source_tc_cfs_access_rules.go
- data_source_tc_cfs_available_zone.go
- data_source_tc_cfs_file_system_clients.go
- data_source_tc_cfs_file_systems.go
- data_source_tc_cfs_mount_targets.go
- extension_cfs.go
- resource_tc_cfs_access_group.go
- resource_tc_cfs_access_rule.go
- resource_tc_cfs_auto_snapshot_policy.go
- resource_tc_cfs_auto_snapshot_policy_attachment.go
- resource_tc_cfs_file_system.go
- resource_tc_cfs_sign_up_cfs_service.go
- resource_tc_cfs_snapshot.go
- resource_tc_cfs_user_quota.go
- service_tencentcloud_cfs.go
Click to show internal directories.
Click to hide internal directories.