1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. IgtmInstance
tencentcloud 1.82.45 published on Tuesday, Dec 16, 2025 by tencentcloudstack
tencentcloud logo
tencentcloud 1.82.45 published on Tuesday, Dec 16, 2025 by tencentcloudstack

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.IgtmInstance("example", {
        domain: "domain.com",
        accessType: "CUSTOM",
        globalTtl: 60,
        packageType: "STANDARD",
        instanceName: "tf-example",
        accessDomain: "domain.com",
        accessSubDomain: "sub_domain.com",
        remark: "remark.",
        resourceId: "ins-lnpnnwvwxgs",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.IgtmInstance("example",
        domain="domain.com",
        access_type="CUSTOM",
        global_ttl=60,
        package_type="STANDARD",
        instance_name="tf-example",
        access_domain="domain.com",
        access_sub_domain="sub_domain.com",
        remark="remark.",
        resource_id="ins-lnpnnwvwxgs")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := tencentcloud.NewIgtmInstance(ctx, "example", &tencentcloud.IgtmInstanceArgs{
    			Domain:          pulumi.String("domain.com"),
    			AccessType:      pulumi.String("CUSTOM"),
    			GlobalTtl:       pulumi.Float64(60),
    			PackageType:     pulumi.String("STANDARD"),
    			InstanceName:    pulumi.String("tf-example"),
    			AccessDomain:    pulumi.String("domain.com"),
    			AccessSubDomain: pulumi.String("sub_domain.com"),
    			Remark:          pulumi.String("remark."),
    			ResourceId:      pulumi.String("ins-lnpnnwvwxgs"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.IgtmInstance("example", new()
        {
            Domain = "domain.com",
            AccessType = "CUSTOM",
            GlobalTtl = 60,
            PackageType = "STANDARD",
            InstanceName = "tf-example",
            AccessDomain = "domain.com",
            AccessSubDomain = "sub_domain.com",
            Remark = "remark.",
            ResourceId = "ins-lnpnnwvwxgs",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.IgtmInstance;
    import com.pulumi.tencentcloud.IgtmInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new IgtmInstance("example", IgtmInstanceArgs.builder()
                .domain("domain.com")
                .accessType("CUSTOM")
                .globalTtl(60.0)
                .packageType("STANDARD")
                .instanceName("tf-example")
                .accessDomain("domain.com")
                .accessSubDomain("sub_domain.com")
                .remark("remark.")
                .resourceId("ins-lnpnnwvwxgs")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:IgtmInstance
        properties:
          domain: domain.com
          accessType: CUSTOM
          globalTtl: 60
          packageType: STANDARD
          instanceName: tf-example
          accessDomain: domain.com
          accessSubDomain: sub_domain.com
          remark: remark.
          resourceId: ins-lnpnnwvwxgs
    

    Create IgtmInstance Resource

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

    Constructor syntax

    new IgtmInstance(name: string, args: IgtmInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def IgtmInstance(resource_name: str,
                     args: IgtmInstanceArgs,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def IgtmInstance(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     access_domain: Optional[str] = None,
                     access_sub_domain: Optional[str] = None,
                     access_type: Optional[str] = None,
                     domain: Optional[str] = None,
                     global_ttl: Optional[float] = None,
                     instance_name: Optional[str] = None,
                     package_type: Optional[str] = None,
                     resource_id: Optional[str] = None,
                     igtm_instance_id: Optional[str] = None,
                     remark: Optional[str] = None)
    func NewIgtmInstance(ctx *Context, name string, args IgtmInstanceArgs, opts ...ResourceOption) (*IgtmInstance, error)
    public IgtmInstance(string name, IgtmInstanceArgs args, CustomResourceOptions? opts = null)
    public IgtmInstance(String name, IgtmInstanceArgs args)
    public IgtmInstance(String name, IgtmInstanceArgs args, CustomResourceOptions options)
    
    type: tencentcloud:IgtmInstance
    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 IgtmInstanceArgs
    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 IgtmInstanceArgs
    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 IgtmInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IgtmInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IgtmInstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    AccessDomain string
    Access main domain.
    AccessSubDomain string
    Access subdomain.
    AccessType string
    CUSTOM: Custom access domain SYSTEM: System access domain.
    Domain string
    Business domain.
    GlobalTtl double
    Resolution effective time.
    InstanceName string
    Instance name.
    PackageType string
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    ResourceId string
    Package resource ID.
    IgtmInstanceId string
    ID of the resource.
    Remark string
    Remark.
    AccessDomain string
    Access main domain.
    AccessSubDomain string
    Access subdomain.
    AccessType string
    CUSTOM: Custom access domain SYSTEM: System access domain.
    Domain string
    Business domain.
    GlobalTtl float64
    Resolution effective time.
    InstanceName string
    Instance name.
    PackageType string
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    ResourceId string
    Package resource ID.
    IgtmInstanceId string
    ID of the resource.
    Remark string
    Remark.
    accessDomain String
    Access main domain.
    accessSubDomain String
    Access subdomain.
    accessType String
    CUSTOM: Custom access domain SYSTEM: System access domain.
    domain String
    Business domain.
    globalTtl Double
    Resolution effective time.
    instanceName String
    Instance name.
    packageType String
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    resourceId String
    Package resource ID.
    igtmInstanceId String
    ID of the resource.
    remark String
    Remark.
    accessDomain string
    Access main domain.
    accessSubDomain string
    Access subdomain.
    accessType string
    CUSTOM: Custom access domain SYSTEM: System access domain.
    domain string
    Business domain.
    globalTtl number
    Resolution effective time.
    instanceName string
    Instance name.
    packageType string
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    resourceId string
    Package resource ID.
    igtmInstanceId string
    ID of the resource.
    remark string
    Remark.
    access_domain str
    Access main domain.
    access_sub_domain str
    Access subdomain.
    access_type str
    CUSTOM: Custom access domain SYSTEM: System access domain.
    domain str
    Business domain.
    global_ttl float
    Resolution effective time.
    instance_name str
    Instance name.
    package_type str
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    resource_id str
    Package resource ID.
    igtm_instance_id str
    ID of the resource.
    remark str
    Remark.
    accessDomain String
    Access main domain.
    accessSubDomain String
    Access subdomain.
    accessType String
    CUSTOM: Custom access domain SYSTEM: System access domain.
    domain String
    Business domain.
    globalTtl Number
    Resolution effective time.
    instanceName String
    Instance name.
    packageType String
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    resourceId String
    Package resource ID.
    igtmInstanceId String
    ID of the resource.
    remark String
    Remark.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    Instance ID.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    Instance ID.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    Instance ID.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    Instance ID.
    id str
    The provider-assigned unique ID for this managed resource.
    instance_id str
    Instance ID.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    Instance ID.

    Look up Existing IgtmInstance Resource

    Get an existing IgtmInstance 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?: IgtmInstanceState, opts?: CustomResourceOptions): IgtmInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_domain: Optional[str] = None,
            access_sub_domain: Optional[str] = None,
            access_type: Optional[str] = None,
            domain: Optional[str] = None,
            global_ttl: Optional[float] = None,
            igtm_instance_id: Optional[str] = None,
            instance_id: Optional[str] = None,
            instance_name: Optional[str] = None,
            package_type: Optional[str] = None,
            remark: Optional[str] = None,
            resource_id: Optional[str] = None) -> IgtmInstance
    func GetIgtmInstance(ctx *Context, name string, id IDInput, state *IgtmInstanceState, opts ...ResourceOption) (*IgtmInstance, error)
    public static IgtmInstance Get(string name, Input<string> id, IgtmInstanceState? state, CustomResourceOptions? opts = null)
    public static IgtmInstance get(String name, Output<String> id, IgtmInstanceState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:IgtmInstance    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:
    AccessDomain string
    Access main domain.
    AccessSubDomain string
    Access subdomain.
    AccessType string
    CUSTOM: Custom access domain SYSTEM: System access domain.
    Domain string
    Business domain.
    GlobalTtl double
    Resolution effective time.
    IgtmInstanceId string
    ID of the resource.
    InstanceId string
    Instance ID.
    InstanceName string
    Instance name.
    PackageType string
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    Remark string
    Remark.
    ResourceId string
    Package resource ID.
    AccessDomain string
    Access main domain.
    AccessSubDomain string
    Access subdomain.
    AccessType string
    CUSTOM: Custom access domain SYSTEM: System access domain.
    Domain string
    Business domain.
    GlobalTtl float64
    Resolution effective time.
    IgtmInstanceId string
    ID of the resource.
    InstanceId string
    Instance ID.
    InstanceName string
    Instance name.
    PackageType string
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    Remark string
    Remark.
    ResourceId string
    Package resource ID.
    accessDomain String
    Access main domain.
    accessSubDomain String
    Access subdomain.
    accessType String
    CUSTOM: Custom access domain SYSTEM: System access domain.
    domain String
    Business domain.
    globalTtl Double
    Resolution effective time.
    igtmInstanceId String
    ID of the resource.
    instanceId String
    Instance ID.
    instanceName String
    Instance name.
    packageType String
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    remark String
    Remark.
    resourceId String
    Package resource ID.
    accessDomain string
    Access main domain.
    accessSubDomain string
    Access subdomain.
    accessType string
    CUSTOM: Custom access domain SYSTEM: System access domain.
    domain string
    Business domain.
    globalTtl number
    Resolution effective time.
    igtmInstanceId string
    ID of the resource.
    instanceId string
    Instance ID.
    instanceName string
    Instance name.
    packageType string
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    remark string
    Remark.
    resourceId string
    Package resource ID.
    access_domain str
    Access main domain.
    access_sub_domain str
    Access subdomain.
    access_type str
    CUSTOM: Custom access domain SYSTEM: System access domain.
    domain str
    Business domain.
    global_ttl float
    Resolution effective time.
    igtm_instance_id str
    ID of the resource.
    instance_id str
    Instance ID.
    instance_name str
    Instance name.
    package_type str
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    remark str
    Remark.
    resource_id str
    Package resource ID.
    accessDomain String
    Access main domain.
    accessSubDomain String
    Access subdomain.
    accessType String
    CUSTOM: Custom access domain SYSTEM: System access domain.
    domain String
    Business domain.
    globalTtl Number
    Resolution effective time.
    igtmInstanceId String
    ID of the resource.
    instanceId String
    Instance ID.
    instanceName String
    Instance name.
    packageType String
    Package type FREE: Free version STANDARD: Standard version ULTIMATE: Ultimate version.
    remark String
    Remark.
    resourceId String
    Package resource ID.

    Import

    IGTM instance can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/igtmInstance:IgtmInstance example gtm-uukztqtoaru
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.45 published on Tuesday, Dec 16, 2025 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate