1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. TsfInstancesAttachment
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

tencentcloud.TsfInstancesAttachment

Explore with Pulumi AI

tencentcloud logo
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack

    Provides a resource to create a tsf instances_attachment

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    resources:
      instancesAttachment:
        type: tencentcloud:TsfInstancesAttachment
        properties:
          clusterId: cluster-123456
          featureIdLists:
            - ""
          imageId: img-123456
          instanceAdvancedSettings:
            dockerGraphPath: /var/lib/docker
            mountTarget: /mnt/data
          instanceIdList:
            - ""
          instanceImportMode: R
          keyId: key-123456
          osCustomizeType: my_customize
          osName: Ubuntu 20.04
          password: MyP@ssw0rd
          securityGroupIds:
            - ""
          sgId: sg-123456
    

    Create TsfInstancesAttachment Resource

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

    Constructor syntax

    new TsfInstancesAttachment(name: string, args: TsfInstancesAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def TsfInstancesAttachment(resource_name: str,
                               args: TsfInstancesAttachmentArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def TsfInstancesAttachment(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               instance_id: Optional[str] = None,
                               cluster_id: Optional[str] = None,
                               key_id: Optional[str] = None,
                               instance_advanced_settings: Optional[TsfInstancesAttachmentInstanceAdvancedSettingsArgs] = None,
                               image_id: Optional[str] = None,
                               instance_import_mode: Optional[str] = None,
                               feature_id_lists: Optional[Sequence[str]] = None,
                               os_customize_type: Optional[str] = None,
                               os_name: Optional[str] = None,
                               password: Optional[str] = None,
                               security_group_ids: Optional[Sequence[str]] = None,
                               sg_id: Optional[str] = None,
                               tsf_instances_attachment_id: Optional[str] = None)
    func NewTsfInstancesAttachment(ctx *Context, name string, args TsfInstancesAttachmentArgs, opts ...ResourceOption) (*TsfInstancesAttachment, error)
    public TsfInstancesAttachment(string name, TsfInstancesAttachmentArgs args, CustomResourceOptions? opts = null)
    public TsfInstancesAttachment(String name, TsfInstancesAttachmentArgs args)
    public TsfInstancesAttachment(String name, TsfInstancesAttachmentArgs args, CustomResourceOptions options)
    
    type: tencentcloud:TsfInstancesAttachment
    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 TsfInstancesAttachmentArgs
    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 TsfInstancesAttachmentArgs
    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 TsfInstancesAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TsfInstancesAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TsfInstancesAttachmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    ClusterId string
    Cluster ID.
    InstanceId string
    Cloud server ID.
    FeatureIdLists List<string>
    Image feature ID list.
    ImageId string
    Operating system image ID.
    InstanceAdvancedSettings TsfInstancesAttachmentInstanceAdvancedSettings
    Additional instance parameter information.
    InstanceImportMode string
    Cloud server import mode, required for virtual machine clusters, not required for container clusters. R: Reinstall TSF system image, M: Manual installation of agent.
    KeyId string
    Associated key for system reinstallation.
    OsCustomizeType string
    Image customization type.
    OsName string
    Operating system name.
    Password string
    Reset system password.
    SecurityGroupIds List<string>
    Security group.
    SgId string
    Security group setting.
    TsfInstancesAttachmentId string
    ID of the resource.
    ClusterId string
    Cluster ID.
    InstanceId string
    Cloud server ID.
    FeatureIdLists []string
    Image feature ID list.
    ImageId string
    Operating system image ID.
    InstanceAdvancedSettings TsfInstancesAttachmentInstanceAdvancedSettingsArgs
    Additional instance parameter information.
    InstanceImportMode string
    Cloud server import mode, required for virtual machine clusters, not required for container clusters. R: Reinstall TSF system image, M: Manual installation of agent.
    KeyId string
    Associated key for system reinstallation.
    OsCustomizeType string
    Image customization type.
    OsName string
    Operating system name.
    Password string
    Reset system password.
    SecurityGroupIds []string
    Security group.
    SgId string
    Security group setting.
    TsfInstancesAttachmentId string
    ID of the resource.
    clusterId String
    Cluster ID.
    instanceId String
    Cloud server ID.
    featureIdLists List<String>
    Image feature ID list.
    imageId String
    Operating system image ID.
    instanceAdvancedSettings TsfInstancesAttachmentInstanceAdvancedSettings
    Additional instance parameter information.
    instanceImportMode String
    Cloud server import mode, required for virtual machine clusters, not required for container clusters. R: Reinstall TSF system image, M: Manual installation of agent.
    keyId String
    Associated key for system reinstallation.
    osCustomizeType String
    Image customization type.
    osName String
    Operating system name.
    password String
    Reset system password.
    securityGroupIds List<String>
    Security group.
    sgId String
    Security group setting.
    tsfInstancesAttachmentId String
    ID of the resource.
    clusterId string
    Cluster ID.
    instanceId string
    Cloud server ID.
    featureIdLists string[]
    Image feature ID list.
    imageId string
    Operating system image ID.
    instanceAdvancedSettings TsfInstancesAttachmentInstanceAdvancedSettings
    Additional instance parameter information.
    instanceImportMode string
    Cloud server import mode, required for virtual machine clusters, not required for container clusters. R: Reinstall TSF system image, M: Manual installation of agent.
    keyId string
    Associated key for system reinstallation.
    osCustomizeType string
    Image customization type.
    osName string
    Operating system name.
    password string
    Reset system password.
    securityGroupIds string[]
    Security group.
    sgId string
    Security group setting.
    tsfInstancesAttachmentId string
    ID of the resource.
    cluster_id str
    Cluster ID.
    instance_id str
    Cloud server ID.
    feature_id_lists Sequence[str]
    Image feature ID list.
    image_id str
    Operating system image ID.
    instance_advanced_settings TsfInstancesAttachmentInstanceAdvancedSettingsArgs
    Additional instance parameter information.
    instance_import_mode str
    Cloud server import mode, required for virtual machine clusters, not required for container clusters. R: Reinstall TSF system image, M: Manual installation of agent.
    key_id str
    Associated key for system reinstallation.
    os_customize_type str
    Image customization type.
    os_name str
    Operating system name.
    password str
    Reset system password.
    security_group_ids Sequence[str]
    Security group.
    sg_id str
    Security group setting.
    tsf_instances_attachment_id str
    ID of the resource.
    clusterId String
    Cluster ID.
    instanceId String
    Cloud server ID.
    featureIdLists List<String>
    Image feature ID list.
    imageId String
    Operating system image ID.
    instanceAdvancedSettings Property Map
    Additional instance parameter information.
    instanceImportMode String
    Cloud server import mode, required for virtual machine clusters, not required for container clusters. R: Reinstall TSF system image, M: Manual installation of agent.
    keyId String
    Associated key for system reinstallation.
    osCustomizeType String
    Image customization type.
    osName String
    Operating system name.
    password String
    Reset system password.
    securityGroupIds List<String>
    Security group.
    sgId String
    Security group setting.
    tsfInstancesAttachmentId String
    ID of the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TsfInstancesAttachment 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 TsfInstancesAttachment Resource

    Get an existing TsfInstancesAttachment 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?: TsfInstancesAttachmentState, opts?: CustomResourceOptions): TsfInstancesAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cluster_id: Optional[str] = None,
            feature_id_lists: Optional[Sequence[str]] = None,
            image_id: Optional[str] = None,
            instance_advanced_settings: Optional[TsfInstancesAttachmentInstanceAdvancedSettingsArgs] = None,
            instance_id: Optional[str] = None,
            instance_import_mode: Optional[str] = None,
            key_id: Optional[str] = None,
            os_customize_type: Optional[str] = None,
            os_name: Optional[str] = None,
            password: Optional[str] = None,
            security_group_ids: Optional[Sequence[str]] = None,
            sg_id: Optional[str] = None,
            tsf_instances_attachment_id: Optional[str] = None) -> TsfInstancesAttachment
    func GetTsfInstancesAttachment(ctx *Context, name string, id IDInput, state *TsfInstancesAttachmentState, opts ...ResourceOption) (*TsfInstancesAttachment, error)
    public static TsfInstancesAttachment Get(string name, Input<string> id, TsfInstancesAttachmentState? state, CustomResourceOptions? opts = null)
    public static TsfInstancesAttachment get(String name, Output<String> id, TsfInstancesAttachmentState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:TsfInstancesAttachment    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:
    ClusterId string
    Cluster ID.
    FeatureIdLists List<string>
    Image feature ID list.
    ImageId string
    Operating system image ID.
    InstanceAdvancedSettings TsfInstancesAttachmentInstanceAdvancedSettings
    Additional instance parameter information.
    InstanceId string
    Cloud server ID.
    InstanceImportMode string
    Cloud server import mode, required for virtual machine clusters, not required for container clusters. R: Reinstall TSF system image, M: Manual installation of agent.
    KeyId string
    Associated key for system reinstallation.
    OsCustomizeType string
    Image customization type.
    OsName string
    Operating system name.
    Password string
    Reset system password.
    SecurityGroupIds List<string>
    Security group.
    SgId string
    Security group setting.
    TsfInstancesAttachmentId string
    ID of the resource.
    ClusterId string
    Cluster ID.
    FeatureIdLists []string
    Image feature ID list.
    ImageId string
    Operating system image ID.
    InstanceAdvancedSettings TsfInstancesAttachmentInstanceAdvancedSettingsArgs
    Additional instance parameter information.
    InstanceId string
    Cloud server ID.
    InstanceImportMode string
    Cloud server import mode, required for virtual machine clusters, not required for container clusters. R: Reinstall TSF system image, M: Manual installation of agent.
    KeyId string
    Associated key for system reinstallation.
    OsCustomizeType string
    Image customization type.
    OsName string
    Operating system name.
    Password string
    Reset system password.
    SecurityGroupIds []string
    Security group.
    SgId string
    Security group setting.
    TsfInstancesAttachmentId string
    ID of the resource.
    clusterId String
    Cluster ID.
    featureIdLists List<String>
    Image feature ID list.
    imageId String
    Operating system image ID.
    instanceAdvancedSettings TsfInstancesAttachmentInstanceAdvancedSettings
    Additional instance parameter information.
    instanceId String
    Cloud server ID.
    instanceImportMode String
    Cloud server import mode, required for virtual machine clusters, not required for container clusters. R: Reinstall TSF system image, M: Manual installation of agent.
    keyId String
    Associated key for system reinstallation.
    osCustomizeType String
    Image customization type.
    osName String
    Operating system name.
    password String
    Reset system password.
    securityGroupIds List<String>
    Security group.
    sgId String
    Security group setting.
    tsfInstancesAttachmentId String
    ID of the resource.
    clusterId string
    Cluster ID.
    featureIdLists string[]
    Image feature ID list.
    imageId string
    Operating system image ID.
    instanceAdvancedSettings TsfInstancesAttachmentInstanceAdvancedSettings
    Additional instance parameter information.
    instanceId string
    Cloud server ID.
    instanceImportMode string
    Cloud server import mode, required for virtual machine clusters, not required for container clusters. R: Reinstall TSF system image, M: Manual installation of agent.
    keyId string
    Associated key for system reinstallation.
    osCustomizeType string
    Image customization type.
    osName string
    Operating system name.
    password string
    Reset system password.
    securityGroupIds string[]
    Security group.
    sgId string
    Security group setting.
    tsfInstancesAttachmentId string
    ID of the resource.
    cluster_id str
    Cluster ID.
    feature_id_lists Sequence[str]
    Image feature ID list.
    image_id str
    Operating system image ID.
    instance_advanced_settings TsfInstancesAttachmentInstanceAdvancedSettingsArgs
    Additional instance parameter information.
    instance_id str
    Cloud server ID.
    instance_import_mode str
    Cloud server import mode, required for virtual machine clusters, not required for container clusters. R: Reinstall TSF system image, M: Manual installation of agent.
    key_id str
    Associated key for system reinstallation.
    os_customize_type str
    Image customization type.
    os_name str
    Operating system name.
    password str
    Reset system password.
    security_group_ids Sequence[str]
    Security group.
    sg_id str
    Security group setting.
    tsf_instances_attachment_id str
    ID of the resource.
    clusterId String
    Cluster ID.
    featureIdLists List<String>
    Image feature ID list.
    imageId String
    Operating system image ID.
    instanceAdvancedSettings Property Map
    Additional instance parameter information.
    instanceId String
    Cloud server ID.
    instanceImportMode String
    Cloud server import mode, required for virtual machine clusters, not required for container clusters. R: Reinstall TSF system image, M: Manual installation of agent.
    keyId String
    Associated key for system reinstallation.
    osCustomizeType String
    Image customization type.
    osName String
    Operating system name.
    password String
    Reset system password.
    securityGroupIds List<String>
    Security group.
    sgId String
    Security group setting.
    tsfInstancesAttachmentId String
    ID of the resource.

    Supporting Types

    TsfInstancesAttachmentInstanceAdvancedSettings, TsfInstancesAttachmentInstanceAdvancedSettingsArgs

    DockerGraphPath string
    Dockerd --graph specifies the value, default is /var/lib/docker Note: This field may return null, indicating that no valid values can be obtained.
    MountTarget string
    Data disk mount point, data disks are not mounted by default. Data disks with formatted ext3, ext4, xfs file systems will be mounted directly, other file systems or unformatted data disks will be automatically formatted as ext4 and mounted. Please back up your data! This setting does not take effect for cloud servers with no data disks or multiple data disks. Note: This field may return null, indicating that no valid values can be obtained.
    DockerGraphPath string
    Dockerd --graph specifies the value, default is /var/lib/docker Note: This field may return null, indicating that no valid values can be obtained.
    MountTarget string
    Data disk mount point, data disks are not mounted by default. Data disks with formatted ext3, ext4, xfs file systems will be mounted directly, other file systems or unformatted data disks will be automatically formatted as ext4 and mounted. Please back up your data! This setting does not take effect for cloud servers with no data disks or multiple data disks. Note: This field may return null, indicating that no valid values can be obtained.
    dockerGraphPath String
    Dockerd --graph specifies the value, default is /var/lib/docker Note: This field may return null, indicating that no valid values can be obtained.
    mountTarget String
    Data disk mount point, data disks are not mounted by default. Data disks with formatted ext3, ext4, xfs file systems will be mounted directly, other file systems or unformatted data disks will be automatically formatted as ext4 and mounted. Please back up your data! This setting does not take effect for cloud servers with no data disks or multiple data disks. Note: This field may return null, indicating that no valid values can be obtained.
    dockerGraphPath string
    Dockerd --graph specifies the value, default is /var/lib/docker Note: This field may return null, indicating that no valid values can be obtained.
    mountTarget string
    Data disk mount point, data disks are not mounted by default. Data disks with formatted ext3, ext4, xfs file systems will be mounted directly, other file systems or unformatted data disks will be automatically formatted as ext4 and mounted. Please back up your data! This setting does not take effect for cloud servers with no data disks or multiple data disks. Note: This field may return null, indicating that no valid values can be obtained.
    docker_graph_path str
    Dockerd --graph specifies the value, default is /var/lib/docker Note: This field may return null, indicating that no valid values can be obtained.
    mount_target str
    Data disk mount point, data disks are not mounted by default. Data disks with formatted ext3, ext4, xfs file systems will be mounted directly, other file systems or unformatted data disks will be automatically formatted as ext4 and mounted. Please back up your data! This setting does not take effect for cloud servers with no data disks or multiple data disks. Note: This field may return null, indicating that no valid values can be obtained.
    dockerGraphPath String
    Dockerd --graph specifies the value, default is /var/lib/docker Note: This field may return null, indicating that no valid values can be obtained.
    mountTarget String
    Data disk mount point, data disks are not mounted by default. Data disks with formatted ext3, ext4, xfs file systems will be mounted directly, other file systems or unformatted data disks will be automatically formatted as ext4 and mounted. Please back up your data! This setting does not take effect for cloud servers with no data disks or multiple data disks. Note: This field may return null, indicating that no valid values can be obtained.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack