tencentcloud.TsfInstancesAttachment
Explore with Pulumi AI
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:
- Cluster
Id string - Cluster ID.
- Instance
Id string - Cloud server ID.
- Feature
Id List<string>Lists - Image feature ID list.
- Image
Id string - Operating system image ID.
- Instance
Advanced TsfSettings Instances Attachment Instance Advanced Settings - Additional instance parameter information.
- Instance
Import stringMode - 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 string - Associated key for system reinstallation.
- Os
Customize stringType - Image customization type.
- Os
Name string - Operating system name.
- Password string
- Reset system password.
- Security
Group List<string>Ids - Security group.
- Sg
Id string - Security group setting.
- Tsf
Instances stringAttachment Id - ID of the resource.
- Cluster
Id string - Cluster ID.
- Instance
Id string - Cloud server ID.
- Feature
Id []stringLists - Image feature ID list.
- Image
Id string - Operating system image ID.
- Instance
Advanced TsfSettings Instances Attachment Instance Advanced Settings Args - Additional instance parameter information.
- Instance
Import stringMode - 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 string - Associated key for system reinstallation.
- Os
Customize stringType - Image customization type.
- Os
Name string - Operating system name.
- Password string
- Reset system password.
- Security
Group []stringIds - Security group.
- Sg
Id string - Security group setting.
- Tsf
Instances stringAttachment Id - ID of the resource.
- cluster
Id String - Cluster ID.
- instance
Id String - Cloud server ID.
- feature
Id List<String>Lists - Image feature ID list.
- image
Id String - Operating system image ID.
- instance
Advanced TsfSettings Instances Attachment Instance Advanced Settings - Additional instance parameter information.
- instance
Import StringMode - 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 String - Associated key for system reinstallation.
- os
Customize StringType - Image customization type.
- os
Name String - Operating system name.
- password String
- Reset system password.
- security
Group List<String>Ids - Security group.
- sg
Id String - Security group setting.
- tsf
Instances StringAttachment Id - ID of the resource.
- cluster
Id string - Cluster ID.
- instance
Id string - Cloud server ID.
- feature
Id string[]Lists - Image feature ID list.
- image
Id string - Operating system image ID.
- instance
Advanced TsfSettings Instances Attachment Instance Advanced Settings - Additional instance parameter information.
- instance
Import stringMode - 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 string - Associated key for system reinstallation.
- os
Customize stringType - Image customization type.
- os
Name string - Operating system name.
- password string
- Reset system password.
- security
Group string[]Ids - Security group.
- sg
Id string - Security group setting.
- tsf
Instances stringAttachment Id - ID of the resource.
- cluster_
id str - Cluster ID.
- instance_
id str - Cloud server ID.
- feature_
id_ Sequence[str]lists - Image feature ID list.
- image_
id str - Operating system image ID.
- instance_
advanced_ Tsfsettings Instances Attachment Instance Advanced Settings Args - Additional instance parameter information.
- instance_
import_ strmode - 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_ strtype - Image customization type.
- os_
name str - Operating system name.
- password str
- Reset system password.
- security_
group_ Sequence[str]ids - Security group.
- sg_
id str - Security group setting.
- tsf_
instances_ strattachment_ id - ID of the resource.
- cluster
Id String - Cluster ID.
- instance
Id String - Cloud server ID.
- feature
Id List<String>Lists - Image feature ID list.
- image
Id String - Operating system image ID.
- instance
Advanced Property MapSettings - Additional instance parameter information.
- instance
Import StringMode - 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 String - Associated key for system reinstallation.
- os
Customize StringType - Image customization type.
- os
Name String - Operating system name.
- password String
- Reset system password.
- security
Group List<String>Ids - Security group.
- sg
Id String - Security group setting.
- tsf
Instances StringAttachment Id - 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.
- Cluster
Id string - Cluster ID.
- Feature
Id List<string>Lists - Image feature ID list.
- Image
Id string - Operating system image ID.
- Instance
Advanced TsfSettings Instances Attachment Instance Advanced Settings - Additional instance parameter information.
- Instance
Id string - Cloud server ID.
- Instance
Import stringMode - 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 string - Associated key for system reinstallation.
- Os
Customize stringType - Image customization type.
- Os
Name string - Operating system name.
- Password string
- Reset system password.
- Security
Group List<string>Ids - Security group.
- Sg
Id string - Security group setting.
- Tsf
Instances stringAttachment Id - ID of the resource.
- Cluster
Id string - Cluster ID.
- Feature
Id []stringLists - Image feature ID list.
- Image
Id string - Operating system image ID.
- Instance
Advanced TsfSettings Instances Attachment Instance Advanced Settings Args - Additional instance parameter information.
- Instance
Id string - Cloud server ID.
- Instance
Import stringMode - 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 string - Associated key for system reinstallation.
- Os
Customize stringType - Image customization type.
- Os
Name string - Operating system name.
- Password string
- Reset system password.
- Security
Group []stringIds - Security group.
- Sg
Id string - Security group setting.
- Tsf
Instances stringAttachment Id - ID of the resource.
- cluster
Id String - Cluster ID.
- feature
Id List<String>Lists - Image feature ID list.
- image
Id String - Operating system image ID.
- instance
Advanced TsfSettings Instances Attachment Instance Advanced Settings - Additional instance parameter information.
- instance
Id String - Cloud server ID.
- instance
Import StringMode - 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 String - Associated key for system reinstallation.
- os
Customize StringType - Image customization type.
- os
Name String - Operating system name.
- password String
- Reset system password.
- security
Group List<String>Ids - Security group.
- sg
Id String - Security group setting.
- tsf
Instances StringAttachment Id - ID of the resource.
- cluster
Id string - Cluster ID.
- feature
Id string[]Lists - Image feature ID list.
- image
Id string - Operating system image ID.
- instance
Advanced TsfSettings Instances Attachment Instance Advanced Settings - Additional instance parameter information.
- instance
Id string - Cloud server ID.
- instance
Import stringMode - 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 string - Associated key for system reinstallation.
- os
Customize stringType - Image customization type.
- os
Name string - Operating system name.
- password string
- Reset system password.
- security
Group string[]Ids - Security group.
- sg
Id string - Security group setting.
- tsf
Instances stringAttachment Id - ID of the resource.
- cluster_
id str - Cluster ID.
- feature_
id_ Sequence[str]lists - Image feature ID list.
- image_
id str - Operating system image ID.
- instance_
advanced_ Tsfsettings Instances Attachment Instance Advanced Settings Args - Additional instance parameter information.
- instance_
id str - Cloud server ID.
- instance_
import_ strmode - 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_ strtype - Image customization type.
- os_
name str - Operating system name.
- password str
- Reset system password.
- security_
group_ Sequence[str]ids - Security group.
- sg_
id str - Security group setting.
- tsf_
instances_ strattachment_ id - ID of the resource.
- cluster
Id String - Cluster ID.
- feature
Id List<String>Lists - Image feature ID list.
- image
Id String - Operating system image ID.
- instance
Advanced Property MapSettings - Additional instance parameter information.
- instance
Id String - Cloud server ID.
- instance
Import StringMode - 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 String - Associated key for system reinstallation.
- os
Customize StringType - Image customization type.
- os
Name String - Operating system name.
- password String
- Reset system password.
- security
Group List<String>Ids - Security group.
- sg
Id String - Security group setting.
- tsf
Instances StringAttachment Id - ID of the resource.
Supporting Types
TsfInstancesAttachmentInstanceAdvancedSettings, TsfInstancesAttachmentInstanceAdvancedSettingsArgs
- Docker
Graph stringPath - 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 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 stringPath - 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 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 StringPath - 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 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 stringPath - 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 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_ strpath - 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.
- docker
Graph StringPath - 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 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.