Viewing docs for tencentcloud 1.82.80
published on Tuesday, Mar 31, 2026 by tencentcloudstack
published on Tuesday, Mar 31, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.80
published on Tuesday, Mar 31, 2026 by tencentcloudstack
published on Tuesday, Mar 31, 2026 by tencentcloudstack
Create CfsUserQuota Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CfsUserQuota(name: string, args: CfsUserQuotaArgs, opts?: CustomResourceOptions);@overload
def CfsUserQuota(resource_name: str,
args: CfsUserQuotaArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CfsUserQuota(resource_name: str,
opts: Optional[ResourceOptions] = None,
file_system_id: Optional[str] = None,
user_id: Optional[str] = None,
user_type: Optional[str] = None,
capacity_hard_limit: Optional[float] = None,
cfs_user_quota_id: Optional[str] = None,
file_hard_limit: Optional[float] = None)func NewCfsUserQuota(ctx *Context, name string, args CfsUserQuotaArgs, opts ...ResourceOption) (*CfsUserQuota, error)public CfsUserQuota(string name, CfsUserQuotaArgs args, CustomResourceOptions? opts = null)
public CfsUserQuota(String name, CfsUserQuotaArgs args)
public CfsUserQuota(String name, CfsUserQuotaArgs args, CustomResourceOptions options)
type: tencentcloud:CfsUserQuota
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CfsUserQuotaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CfsUserQuotaArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CfsUserQuotaArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CfsUserQuotaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CfsUserQuotaArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CfsUserQuota Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CfsUserQuota resource accepts the following input properties:
- File
System stringId - File system ID.
- User
Id string - Info of UID/GID.
- User
Type string - Quota type. Valid value:
Uid,Gid. - Capacity
Hard doubleLimit - Capacity Limit(GB).
- Cfs
User stringQuota Id - File
Hard doubleLimit - File limit.
- File
System stringId - File system ID.
- User
Id string - Info of UID/GID.
- User
Type string - Quota type. Valid value:
Uid,Gid. - Capacity
Hard float64Limit - Capacity Limit(GB).
- Cfs
User stringQuota Id - File
Hard float64Limit - File limit.
- file
System StringId - File system ID.
- user
Id String - Info of UID/GID.
- user
Type String - Quota type. Valid value:
Uid,Gid. - capacity
Hard DoubleLimit - Capacity Limit(GB).
- cfs
User StringQuota Id - file
Hard DoubleLimit - File limit.
- file
System stringId - File system ID.
- user
Id string - Info of UID/GID.
- user
Type string - Quota type. Valid value:
Uid,Gid. - capacity
Hard numberLimit - Capacity Limit(GB).
- cfs
User stringQuota Id - file
Hard numberLimit - File limit.
- file_
system_ strid - File system ID.
- user_
id str - Info of UID/GID.
- user_
type str - Quota type. Valid value:
Uid,Gid. - capacity_
hard_ floatlimit - Capacity Limit(GB).
- cfs_
user_ strquota_ id - file_
hard_ floatlimit - File limit.
- file
System StringId - File system ID.
- user
Id String - Info of UID/GID.
- user
Type String - Quota type. Valid value:
Uid,Gid. - capacity
Hard NumberLimit - Capacity Limit(GB).
- cfs
User StringQuota Id - file
Hard NumberLimit - File limit.
Outputs
All input properties are implicitly available as output properties. Additionally, the CfsUserQuota resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CfsUserQuota Resource
Get an existing CfsUserQuota resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CfsUserQuotaState, opts?: CustomResourceOptions): CfsUserQuota@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
capacity_hard_limit: Optional[float] = None,
cfs_user_quota_id: Optional[str] = None,
file_hard_limit: Optional[float] = None,
file_system_id: Optional[str] = None,
user_id: Optional[str] = None,
user_type: Optional[str] = None) -> CfsUserQuotafunc GetCfsUserQuota(ctx *Context, name string, id IDInput, state *CfsUserQuotaState, opts ...ResourceOption) (*CfsUserQuota, error)public static CfsUserQuota Get(string name, Input<string> id, CfsUserQuotaState? state, CustomResourceOptions? opts = null)public static CfsUserQuota get(String name, Output<String> id, CfsUserQuotaState state, CustomResourceOptions options)resources: _: type: tencentcloud:CfsUserQuota get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Capacity
Hard doubleLimit - Capacity Limit(GB).
- Cfs
User stringQuota Id - File
Hard doubleLimit - File limit.
- File
System stringId - File system ID.
- User
Id string - Info of UID/GID.
- User
Type string - Quota type. Valid value:
Uid,Gid.
- Capacity
Hard float64Limit - Capacity Limit(GB).
- Cfs
User stringQuota Id - File
Hard float64Limit - File limit.
- File
System stringId - File system ID.
- User
Id string - Info of UID/GID.
- User
Type string - Quota type. Valid value:
Uid,Gid.
- capacity
Hard DoubleLimit - Capacity Limit(GB).
- cfs
User StringQuota Id - file
Hard DoubleLimit - File limit.
- file
System StringId - File system ID.
- user
Id String - Info of UID/GID.
- user
Type String - Quota type. Valid value:
Uid,Gid.
- capacity
Hard numberLimit - Capacity Limit(GB).
- cfs
User stringQuota Id - file
Hard numberLimit - File limit.
- file
System stringId - File system ID.
- user
Id string - Info of UID/GID.
- user
Type string - Quota type. Valid value:
Uid,Gid.
- capacity_
hard_ floatlimit - Capacity Limit(GB).
- cfs_
user_ strquota_ id - file_
hard_ floatlimit - File limit.
- file_
system_ strid - File system ID.
- user_
id str - Info of UID/GID.
- user_
type str - Quota type. Valid value:
Uid,Gid.
- capacity
Hard NumberLimit - Capacity Limit(GB).
- cfs
User StringQuota Id - file
Hard NumberLimit - File limit.
- file
System StringId - File system ID.
- user
Id String - Info of UID/GID.
- user
Type String - Quota type. Valid value:
Uid,Gid.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
Viewing docs for tencentcloud 1.82.80
published on Tuesday, Mar 31, 2026 by tencentcloudstack
published on Tuesday, Mar 31, 2026 by tencentcloudstack
