tencentcloud.VpcClassicLinkAttachment
Explore with Pulumi AI
Create VpcClassicLinkAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcClassicLinkAttachment(name: string, args: VpcClassicLinkAttachmentArgs, opts?: CustomResourceOptions);
@overload
def VpcClassicLinkAttachment(resource_name: str,
args: VpcClassicLinkAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcClassicLinkAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_ids: Optional[Sequence[str]] = None,
vpc_id: Optional[str] = None,
vpc_classic_link_attachment_id: Optional[str] = None)
func NewVpcClassicLinkAttachment(ctx *Context, name string, args VpcClassicLinkAttachmentArgs, opts ...ResourceOption) (*VpcClassicLinkAttachment, error)
public VpcClassicLinkAttachment(string name, VpcClassicLinkAttachmentArgs args, CustomResourceOptions? opts = null)
public VpcClassicLinkAttachment(String name, VpcClassicLinkAttachmentArgs args)
public VpcClassicLinkAttachment(String name, VpcClassicLinkAttachmentArgs args, CustomResourceOptions options)
type: tencentcloud:VpcClassicLinkAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VpcClassicLinkAttachmentArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. VpcClassicLinkAttachmentArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VpcClassicLinkAttachmentArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. VpcClassicLinkAttachmentArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. VpcClassicLinkAttachmentArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
VpcClassicLinkAttachment 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 VpcClassicLinkAttachment resource accepts the following input properties:
- Instance
Ids This property is required. List<string> - CVM instance ID. It only support set one instance now.
- Vpc
Id This property is required. string - VPC instance ID.
- Vpc
Classic stringLink Attachment Id
- Instance
Ids This property is required. []string - CVM instance ID. It only support set one instance now.
- Vpc
Id This property is required. string - VPC instance ID.
- Vpc
Classic stringLink Attachment Id
- instance
Ids This property is required. List<String> - CVM instance ID. It only support set one instance now.
- vpc
Id This property is required. String - VPC instance ID.
- vpc
Classic StringLink Attachment Id
- instance
Ids This property is required. string[] - CVM instance ID. It only support set one instance now.
- vpc
Id This property is required. string - VPC instance ID.
- vpc
Classic stringLink Attachment Id
- instance_
ids This property is required. Sequence[str] - CVM instance ID. It only support set one instance now.
- vpc_
id This property is required. str - VPC instance ID.
- vpc_
classic_ strlink_ attachment_ id
- instance
Ids This property is required. List<String> - CVM instance ID. It only support set one instance now.
- vpc
Id This property is required. String - VPC instance ID.
- vpc
Classic StringLink Attachment Id
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcClassicLinkAttachment 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 VpcClassicLinkAttachment Resource
Get an existing VpcClassicLinkAttachment 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?: VpcClassicLinkAttachmentState, opts?: CustomResourceOptions): VpcClassicLinkAttachment
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
instance_ids: Optional[Sequence[str]] = None,
vpc_classic_link_attachment_id: Optional[str] = None,
vpc_id: Optional[str] = None) -> VpcClassicLinkAttachment
func GetVpcClassicLinkAttachment(ctx *Context, name string, id IDInput, state *VpcClassicLinkAttachmentState, opts ...ResourceOption) (*VpcClassicLinkAttachment, error)
public static VpcClassicLinkAttachment Get(string name, Input<string> id, VpcClassicLinkAttachmentState? state, CustomResourceOptions? opts = null)
public static VpcClassicLinkAttachment get(String name, Output<String> id, VpcClassicLinkAttachmentState state, CustomResourceOptions options)
resources: _: type: tencentcloud:VpcClassicLinkAttachment get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Instance
Ids List<string> - CVM instance ID. It only support set one instance now.
- Vpc
Classic stringLink Attachment Id - Vpc
Id string - VPC instance ID.
- Instance
Ids []string - CVM instance ID. It only support set one instance now.
- Vpc
Classic stringLink Attachment Id - Vpc
Id string - VPC instance ID.
- instance
Ids List<String> - CVM instance ID. It only support set one instance now.
- vpc
Classic StringLink Attachment Id - vpc
Id String - VPC instance ID.
- instance
Ids string[] - CVM instance ID. It only support set one instance now.
- vpc
Classic stringLink Attachment Id - vpc
Id string - VPC instance ID.
- instance_
ids Sequence[str] - CVM instance ID. It only support set one instance now.
- vpc_
classic_ strlink_ attachment_ id - vpc_
id str - VPC instance ID.
- instance
Ids List<String> - CVM instance ID. It only support set one instance now.
- vpc
Classic StringLink Attachment Id - vpc
Id String - VPC instance ID.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.