1. Packages
  2. Packages
  3. Tencentcloud Provider
  4. API Docs
  5. TsfRepository
Viewing docs for tencentcloud 1.82.91
published on Friday, May 1, 2026 by tencentcloudstack
Viewing docs for tencentcloud 1.82.91
published on Friday, May 1, 2026 by tencentcloudstack

    Create TsfRepository Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TsfRepository(name: string, args: TsfRepositoryArgs, opts?: CustomResourceOptions);
    @overload
    def TsfRepository(resource_name: str,
                      args: TsfRepositoryArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def TsfRepository(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      bucket_name: Optional[str] = None,
                      bucket_region: Optional[str] = None,
                      repository_name: Optional[str] = None,
                      repository_type: Optional[str] = None,
                      directory: Optional[str] = None,
                      repository_desc: Optional[str] = None,
                      tsf_repository_id: Optional[str] = None)
    func NewTsfRepository(ctx *Context, name string, args TsfRepositoryArgs, opts ...ResourceOption) (*TsfRepository, error)
    public TsfRepository(string name, TsfRepositoryArgs args, CustomResourceOptions? opts = null)
    public TsfRepository(String name, TsfRepositoryArgs args)
    public TsfRepository(String name, TsfRepositoryArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TsfRepository
    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 TsfRepositoryArgs
    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 TsfRepositoryArgs
    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 TsfRepositoryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TsfRepositoryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TsfRepositoryArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    TsfRepository 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 TsfRepository resource accepts the following input properties:

    BucketName string
    the name of the bucket where the warehouse is located.
    BucketRegion string
    Bucket region where the warehouse is located.
    RepositoryName string
    warehouse name.
    RepositoryType string
    warehouse type (default warehouse: default, private warehouse: private).
    Directory string
    directory.
    RepositoryDesc string
    warehouse description.
    TsfRepositoryId string
    BucketName string
    the name of the bucket where the warehouse is located.
    BucketRegion string
    Bucket region where the warehouse is located.
    RepositoryName string
    warehouse name.
    RepositoryType string
    warehouse type (default warehouse: default, private warehouse: private).
    Directory string
    directory.
    RepositoryDesc string
    warehouse description.
    TsfRepositoryId string
    bucketName String
    the name of the bucket where the warehouse is located.
    bucketRegion String
    Bucket region where the warehouse is located.
    repositoryName String
    warehouse name.
    repositoryType String
    warehouse type (default warehouse: default, private warehouse: private).
    directory String
    directory.
    repositoryDesc String
    warehouse description.
    tsfRepositoryId String
    bucketName string
    the name of the bucket where the warehouse is located.
    bucketRegion string
    Bucket region where the warehouse is located.
    repositoryName string
    warehouse name.
    repositoryType string
    warehouse type (default warehouse: default, private warehouse: private).
    directory string
    directory.
    repositoryDesc string
    warehouse description.
    tsfRepositoryId string
    bucket_name str
    the name of the bucket where the warehouse is located.
    bucket_region str
    Bucket region where the warehouse is located.
    repository_name str
    warehouse name.
    repository_type str
    warehouse type (default warehouse: default, private warehouse: private).
    directory str
    directory.
    repository_desc str
    warehouse description.
    tsf_repository_id str
    bucketName String
    the name of the bucket where the warehouse is located.
    bucketRegion String
    Bucket region where the warehouse is located.
    repositoryName String
    warehouse name.
    repositoryType String
    warehouse type (default warehouse: default, private warehouse: private).
    directory String
    directory.
    repositoryDesc String
    warehouse description.
    tsfRepositoryId String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TsfRepository resource produces the following output properties:

    CreateTime string
    warehouse creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsUsed bool
    whether the repository is in use.
    RepositoryId string
    Warehouse ID.
    CreateTime string
    warehouse creation time.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsUsed bool
    whether the repository is in use.
    RepositoryId string
    Warehouse ID.
    createTime String
    warehouse creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    isUsed Boolean
    whether the repository is in use.
    repositoryId String
    Warehouse ID.
    createTime string
    warehouse creation time.
    id string
    The provider-assigned unique ID for this managed resource.
    isUsed boolean
    whether the repository is in use.
    repositoryId string
    Warehouse ID.
    create_time str
    warehouse creation time.
    id str
    The provider-assigned unique ID for this managed resource.
    is_used bool
    whether the repository is in use.
    repository_id str
    Warehouse ID.
    createTime String
    warehouse creation time.
    id String
    The provider-assigned unique ID for this managed resource.
    isUsed Boolean
    whether the repository is in use.
    repositoryId String
    Warehouse ID.

    Look up Existing TsfRepository Resource

    Get an existing TsfRepository 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?: TsfRepositoryState, opts?: CustomResourceOptions): TsfRepository
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bucket_name: Optional[str] = None,
            bucket_region: Optional[str] = None,
            create_time: Optional[str] = None,
            directory: Optional[str] = None,
            is_used: Optional[bool] = None,
            repository_desc: Optional[str] = None,
            repository_id: Optional[str] = None,
            repository_name: Optional[str] = None,
            repository_type: Optional[str] = None,
            tsf_repository_id: Optional[str] = None) -> TsfRepository
    func GetTsfRepository(ctx *Context, name string, id IDInput, state *TsfRepositoryState, opts ...ResourceOption) (*TsfRepository, error)
    public static TsfRepository Get(string name, Input<string> id, TsfRepositoryState? state, CustomResourceOptions? opts = null)
    public static TsfRepository get(String name, Output<String> id, TsfRepositoryState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TsfRepository    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:
    BucketName string
    the name of the bucket where the warehouse is located.
    BucketRegion string
    Bucket region where the warehouse is located.
    CreateTime string
    warehouse creation time.
    Directory string
    directory.
    IsUsed bool
    whether the repository is in use.
    RepositoryDesc string
    warehouse description.
    RepositoryId string
    Warehouse ID.
    RepositoryName string
    warehouse name.
    RepositoryType string
    warehouse type (default warehouse: default, private warehouse: private).
    TsfRepositoryId string
    BucketName string
    the name of the bucket where the warehouse is located.
    BucketRegion string
    Bucket region where the warehouse is located.
    CreateTime string
    warehouse creation time.
    Directory string
    directory.
    IsUsed bool
    whether the repository is in use.
    RepositoryDesc string
    warehouse description.
    RepositoryId string
    Warehouse ID.
    RepositoryName string
    warehouse name.
    RepositoryType string
    warehouse type (default warehouse: default, private warehouse: private).
    TsfRepositoryId string
    bucketName String
    the name of the bucket where the warehouse is located.
    bucketRegion String
    Bucket region where the warehouse is located.
    createTime String
    warehouse creation time.
    directory String
    directory.
    isUsed Boolean
    whether the repository is in use.
    repositoryDesc String
    warehouse description.
    repositoryId String
    Warehouse ID.
    repositoryName String
    warehouse name.
    repositoryType String
    warehouse type (default warehouse: default, private warehouse: private).
    tsfRepositoryId String
    bucketName string
    the name of the bucket where the warehouse is located.
    bucketRegion string
    Bucket region where the warehouse is located.
    createTime string
    warehouse creation time.
    directory string
    directory.
    isUsed boolean
    whether the repository is in use.
    repositoryDesc string
    warehouse description.
    repositoryId string
    Warehouse ID.
    repositoryName string
    warehouse name.
    repositoryType string
    warehouse type (default warehouse: default, private warehouse: private).
    tsfRepositoryId string
    bucket_name str
    the name of the bucket where the warehouse is located.
    bucket_region str
    Bucket region where the warehouse is located.
    create_time str
    warehouse creation time.
    directory str
    directory.
    is_used bool
    whether the repository is in use.
    repository_desc str
    warehouse description.
    repository_id str
    Warehouse ID.
    repository_name str
    warehouse name.
    repository_type str
    warehouse type (default warehouse: default, private warehouse: private).
    tsf_repository_id str
    bucketName String
    the name of the bucket where the warehouse is located.
    bucketRegion String
    Bucket region where the warehouse is located.
    createTime String
    warehouse creation time.
    directory String
    directory.
    isUsed Boolean
    whether the repository is in use.
    repositoryDesc String
    warehouse description.
    repositoryId String
    Warehouse ID.
    repositoryName String
    warehouse name.
    repositoryType String
    warehouse type (default warehouse: default, private warehouse: private).
    tsfRepositoryId String

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    Viewing docs for tencentcloud 1.82.91
    published on Friday, May 1, 2026 by tencentcloudstack
      Try Pulumi Cloud free. Your team will thank you.