1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. CfsUserQuota
Viewing docs for tencentcloud 1.82.80
published on Tuesday, Mar 31, 2026 by tencentcloudstack
tencentcloud logo
Viewing docs for tencentcloud 1.82.80
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:

    FileSystemId string
    File system ID.
    UserId string
    Info of UID/GID.
    UserType string
    Quota type. Valid value: Uid, Gid.
    CapacityHardLimit double
    Capacity Limit(GB).
    CfsUserQuotaId string
    FileHardLimit double
    File limit.
    FileSystemId string
    File system ID.
    UserId string
    Info of UID/GID.
    UserType string
    Quota type. Valid value: Uid, Gid.
    CapacityHardLimit float64
    Capacity Limit(GB).
    CfsUserQuotaId string
    FileHardLimit float64
    File limit.
    fileSystemId String
    File system ID.
    userId String
    Info of UID/GID.
    userType String
    Quota type. Valid value: Uid, Gid.
    capacityHardLimit Double
    Capacity Limit(GB).
    cfsUserQuotaId String
    fileHardLimit Double
    File limit.
    fileSystemId string
    File system ID.
    userId string
    Info of UID/GID.
    userType string
    Quota type. Valid value: Uid, Gid.
    capacityHardLimit number
    Capacity Limit(GB).
    cfsUserQuotaId string
    fileHardLimit number
    File limit.
    file_system_id str
    File system ID.
    user_id str
    Info of UID/GID.
    user_type str
    Quota type. Valid value: Uid, Gid.
    capacity_hard_limit float
    Capacity Limit(GB).
    cfs_user_quota_id str
    file_hard_limit float
    File limit.
    fileSystemId String
    File system ID.
    userId String
    Info of UID/GID.
    userType String
    Quota type. Valid value: Uid, Gid.
    capacityHardLimit Number
    Capacity Limit(GB).
    cfsUserQuotaId String
    fileHardLimit Number
    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) -> CfsUserQuota
    func 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.
    The following state arguments are supported:
    CapacityHardLimit double
    Capacity Limit(GB).
    CfsUserQuotaId string
    FileHardLimit double
    File limit.
    FileSystemId string
    File system ID.
    UserId string
    Info of UID/GID.
    UserType string
    Quota type. Valid value: Uid, Gid.
    CapacityHardLimit float64
    Capacity Limit(GB).
    CfsUserQuotaId string
    FileHardLimit float64
    File limit.
    FileSystemId string
    File system ID.
    UserId string
    Info of UID/GID.
    UserType string
    Quota type. Valid value: Uid, Gid.
    capacityHardLimit Double
    Capacity Limit(GB).
    cfsUserQuotaId String
    fileHardLimit Double
    File limit.
    fileSystemId String
    File system ID.
    userId String
    Info of UID/GID.
    userType String
    Quota type. Valid value: Uid, Gid.
    capacityHardLimit number
    Capacity Limit(GB).
    cfsUserQuotaId string
    fileHardLimit number
    File limit.
    fileSystemId string
    File system ID.
    userId string
    Info of UID/GID.
    userType string
    Quota type. Valid value: Uid, Gid.
    capacity_hard_limit float
    Capacity Limit(GB).
    cfs_user_quota_id str
    file_hard_limit float
    File limit.
    file_system_id str
    File system ID.
    user_id str
    Info of UID/GID.
    user_type str
    Quota type. Valid value: Uid, Gid.
    capacityHardLimit Number
    Capacity Limit(GB).
    cfsUserQuotaId String
    fileHardLimit Number
    File limit.
    fileSystemId String
    File system ID.
    userId String
    Info of UID/GID.
    userType String
    Quota type. Valid value: Uid, Gid.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    Viewing docs for tencentcloud 1.82.80
    published on Tuesday, Mar 31, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.