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

tencentcloud.Ccn

Explore with Pulumi AI

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

    Provides a resource to create a CCN instance.

    Example Usage

    Create a prepaid CCN

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.Ccn("example", {
        bandwidthLimitType: "INTER_REGION_LIMIT",
        chargeType: "PREPAID",
        description: "desc.",
        qos: "AG",
        routeEcmpFlag: true,
        routeOverlapFlag: true,
        tags: {
            createBy: "terraform",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.Ccn("example",
        bandwidth_limit_type="INTER_REGION_LIMIT",
        charge_type="PREPAID",
        description="desc.",
        qos="AG",
        route_ecmp_flag=True,
        route_overlap_flag=True,
        tags={
            "createBy": "terraform",
        })
    
    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.NewCcn(ctx, "example", &tencentcloud.CcnArgs{
    			BandwidthLimitType: pulumi.String("INTER_REGION_LIMIT"),
    			ChargeType:         pulumi.String("PREPAID"),
    			Description:        pulumi.String("desc."),
    			Qos:                pulumi.String("AG"),
    			RouteEcmpFlag:      pulumi.Bool(true),
    			RouteOverlapFlag:   pulumi.Bool(true),
    			Tags: pulumi.StringMap{
    				"createBy": pulumi.String("terraform"),
    			},
    		})
    		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.Ccn("example", new()
        {
            BandwidthLimitType = "INTER_REGION_LIMIT",
            ChargeType = "PREPAID",
            Description = "desc.",
            Qos = "AG",
            RouteEcmpFlag = true,
            RouteOverlapFlag = true,
            Tags = 
            {
                { "createBy", "terraform" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.Ccn;
    import com.pulumi.tencentcloud.CcnArgs;
    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 Ccn("example", CcnArgs.builder()
                .bandwidthLimitType("INTER_REGION_LIMIT")
                .chargeType("PREPAID")
                .description("desc.")
                .qos("AG")
                .routeEcmpFlag(true)
                .routeOverlapFlag(true)
                .tags(Map.of("createBy", "terraform"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:Ccn
        properties:
          bandwidthLimitType: INTER_REGION_LIMIT
          chargeType: PREPAID
          description: desc.
          qos: AG
          routeEcmpFlag: true
          routeOverlapFlag: true
          tags:
            createBy: terraform
    

    Create a post-paid regional export speed limit type CCN

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.Ccn("example", {
        bandwidthLimitType: "OUTER_REGION_LIMIT",
        chargeType: "POSTPAID",
        description: "desc.",
        qos: "AG",
        routeEcmpFlag: false,
        routeOverlapFlag: false,
        tags: {
            createBy: "terraform",
        },
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.Ccn("example",
        bandwidth_limit_type="OUTER_REGION_LIMIT",
        charge_type="POSTPAID",
        description="desc.",
        qos="AG",
        route_ecmp_flag=False,
        route_overlap_flag=False,
        tags={
            "createBy": "terraform",
        })
    
    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.NewCcn(ctx, "example", &tencentcloud.CcnArgs{
    			BandwidthLimitType: pulumi.String("OUTER_REGION_LIMIT"),
    			ChargeType:         pulumi.String("POSTPAID"),
    			Description:        pulumi.String("desc."),
    			Qos:                pulumi.String("AG"),
    			RouteEcmpFlag:      pulumi.Bool(false),
    			RouteOverlapFlag:   pulumi.Bool(false),
    			Tags: pulumi.StringMap{
    				"createBy": pulumi.String("terraform"),
    			},
    		})
    		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.Ccn("example", new()
        {
            BandwidthLimitType = "OUTER_REGION_LIMIT",
            ChargeType = "POSTPAID",
            Description = "desc.",
            Qos = "AG",
            RouteEcmpFlag = false,
            RouteOverlapFlag = false,
            Tags = 
            {
                { "createBy", "terraform" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.Ccn;
    import com.pulumi.tencentcloud.CcnArgs;
    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 Ccn("example", CcnArgs.builder()
                .bandwidthLimitType("OUTER_REGION_LIMIT")
                .chargeType("POSTPAID")
                .description("desc.")
                .qos("AG")
                .routeEcmpFlag(false)
                .routeOverlapFlag(false)
                .tags(Map.of("createBy", "terraform"))
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:Ccn
        properties:
          bandwidthLimitType: OUTER_REGION_LIMIT
          chargeType: POSTPAID
          description: desc.
          qos: AG
          routeEcmpFlag: false
          routeOverlapFlag: false
          tags:
            createBy: terraform
    

    Create a post-paid inter-regional rate limit type CNN

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.Ccn("example", {
        bandwidthLimitType: "INTER_REGION_LIMIT",
        chargeType: "POSTPAID",
        description: "desc.",
        qos: "AG",
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.Ccn("example",
        bandwidth_limit_type="INTER_REGION_LIMIT",
        charge_type="POSTPAID",
        description="desc.",
        qos="AG")
    
    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.NewCcn(ctx, "example", &tencentcloud.CcnArgs{
    			BandwidthLimitType: pulumi.String("INTER_REGION_LIMIT"),
    			ChargeType:         pulumi.String("POSTPAID"),
    			Description:        pulumi.String("desc."),
    			Qos:                pulumi.String("AG"),
    		})
    		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.Ccn("example", new()
        {
            BandwidthLimitType = "INTER_REGION_LIMIT",
            ChargeType = "POSTPAID",
            Description = "desc.",
            Qos = "AG",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.Ccn;
    import com.pulumi.tencentcloud.CcnArgs;
    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 Ccn("example", CcnArgs.builder()
                .bandwidthLimitType("INTER_REGION_LIMIT")
                .chargeType("POSTPAID")
                .description("desc.")
                .qos("AG")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:Ccn
        properties:
          bandwidthLimitType: INTER_REGION_LIMIT
          chargeType: POSTPAID
          description: desc.
          qos: AG
    

    Create Ccn Resource

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

    Constructor syntax

    new Ccn(name: string, args?: CcnArgs, opts?: CustomResourceOptions);
    @overload
    def Ccn(resource_name: str,
            args: Optional[CcnArgs] = None,
            opts: Optional[ResourceOptions] = None)
    
    @overload
    def Ccn(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            bandwidth_limit_type: Optional[str] = None,
            ccn_id: Optional[str] = None,
            charge_type: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None,
            qos: Optional[str] = None,
            route_ecmp_flag: Optional[bool] = None,
            route_overlap_flag: Optional[bool] = None,
            tags: Optional[Mapping[str, str]] = None)
    func NewCcn(ctx *Context, name string, args *CcnArgs, opts ...ResourceOption) (*Ccn, error)
    public Ccn(string name, CcnArgs? args = null, CustomResourceOptions? opts = null)
    public Ccn(String name, CcnArgs args)
    public Ccn(String name, CcnArgs args, CustomResourceOptions options)
    
    type: tencentcloud:Ccn
    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 CcnArgs
    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 CcnArgs
    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 CcnArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CcnArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CcnArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    BandwidthLimitType string
    The speed limit type. Valid values: INTER_REGION_LIMIT, OUTER_REGION_LIMIT. OUTER_REGION_LIMIT represents the regional export speed limit, INTER_REGION_LIMIT is the inter-regional speed limit. The default is OUTER_REGION_LIMIT.
    CcnId string
    ID of the resource.
    ChargeType string
    Billing mode. Valid values: PREPAID, POSTPAID. PREPAID means prepaid, which means annual and monthly subscription, POSTPAID means post-payment, which means billing by volume. The default is POSTPAID. The prepaid model only supports inter-regional speed limit, and the post-paid model supports inter-regional speed limit and regional export speed limit.
    Description string
    Description of CCN, and maximum length does not exceed 100 bytes.
    Name string
    Name of the CCN to be queried, and maximum length does not exceed 60 bytes.
    Qos string
    CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
    RouteEcmpFlag bool
    Whether to enable the equivalent routing function. true: enabled, false: disabled.
    RouteOverlapFlag bool
    Whether to enable the routing overlap function. true: enabled, false: disabled.
    Tags Dictionary<string, string>
    Instance tag.
    BandwidthLimitType string
    The speed limit type. Valid values: INTER_REGION_LIMIT, OUTER_REGION_LIMIT. OUTER_REGION_LIMIT represents the regional export speed limit, INTER_REGION_LIMIT is the inter-regional speed limit. The default is OUTER_REGION_LIMIT.
    CcnId string
    ID of the resource.
    ChargeType string
    Billing mode. Valid values: PREPAID, POSTPAID. PREPAID means prepaid, which means annual and monthly subscription, POSTPAID means post-payment, which means billing by volume. The default is POSTPAID. The prepaid model only supports inter-regional speed limit, and the post-paid model supports inter-regional speed limit and regional export speed limit.
    Description string
    Description of CCN, and maximum length does not exceed 100 bytes.
    Name string
    Name of the CCN to be queried, and maximum length does not exceed 60 bytes.
    Qos string
    CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
    RouteEcmpFlag bool
    Whether to enable the equivalent routing function. true: enabled, false: disabled.
    RouteOverlapFlag bool
    Whether to enable the routing overlap function. true: enabled, false: disabled.
    Tags map[string]string
    Instance tag.
    bandwidthLimitType String
    The speed limit type. Valid values: INTER_REGION_LIMIT, OUTER_REGION_LIMIT. OUTER_REGION_LIMIT represents the regional export speed limit, INTER_REGION_LIMIT is the inter-regional speed limit. The default is OUTER_REGION_LIMIT.
    ccnId String
    ID of the resource.
    chargeType String
    Billing mode. Valid values: PREPAID, POSTPAID. PREPAID means prepaid, which means annual and monthly subscription, POSTPAID means post-payment, which means billing by volume. The default is POSTPAID. The prepaid model only supports inter-regional speed limit, and the post-paid model supports inter-regional speed limit and regional export speed limit.
    description String
    Description of CCN, and maximum length does not exceed 100 bytes.
    name String
    Name of the CCN to be queried, and maximum length does not exceed 60 bytes.
    qos String
    CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
    routeEcmpFlag Boolean
    Whether to enable the equivalent routing function. true: enabled, false: disabled.
    routeOverlapFlag Boolean
    Whether to enable the routing overlap function. true: enabled, false: disabled.
    tags Map<String,String>
    Instance tag.
    bandwidthLimitType string
    The speed limit type. Valid values: INTER_REGION_LIMIT, OUTER_REGION_LIMIT. OUTER_REGION_LIMIT represents the regional export speed limit, INTER_REGION_LIMIT is the inter-regional speed limit. The default is OUTER_REGION_LIMIT.
    ccnId string
    ID of the resource.
    chargeType string
    Billing mode. Valid values: PREPAID, POSTPAID. PREPAID means prepaid, which means annual and monthly subscription, POSTPAID means post-payment, which means billing by volume. The default is POSTPAID. The prepaid model only supports inter-regional speed limit, and the post-paid model supports inter-regional speed limit and regional export speed limit.
    description string
    Description of CCN, and maximum length does not exceed 100 bytes.
    name string
    Name of the CCN to be queried, and maximum length does not exceed 60 bytes.
    qos string
    CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
    routeEcmpFlag boolean
    Whether to enable the equivalent routing function. true: enabled, false: disabled.
    routeOverlapFlag boolean
    Whether to enable the routing overlap function. true: enabled, false: disabled.
    tags {[key: string]: string}
    Instance tag.
    bandwidth_limit_type str
    The speed limit type. Valid values: INTER_REGION_LIMIT, OUTER_REGION_LIMIT. OUTER_REGION_LIMIT represents the regional export speed limit, INTER_REGION_LIMIT is the inter-regional speed limit. The default is OUTER_REGION_LIMIT.
    ccn_id str
    ID of the resource.
    charge_type str
    Billing mode. Valid values: PREPAID, POSTPAID. PREPAID means prepaid, which means annual and monthly subscription, POSTPAID means post-payment, which means billing by volume. The default is POSTPAID. The prepaid model only supports inter-regional speed limit, and the post-paid model supports inter-regional speed limit and regional export speed limit.
    description str
    Description of CCN, and maximum length does not exceed 100 bytes.
    name str
    Name of the CCN to be queried, and maximum length does not exceed 60 bytes.
    qos str
    CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
    route_ecmp_flag bool
    Whether to enable the equivalent routing function. true: enabled, false: disabled.
    route_overlap_flag bool
    Whether to enable the routing overlap function. true: enabled, false: disabled.
    tags Mapping[str, str]
    Instance tag.
    bandwidthLimitType String
    The speed limit type. Valid values: INTER_REGION_LIMIT, OUTER_REGION_LIMIT. OUTER_REGION_LIMIT represents the regional export speed limit, INTER_REGION_LIMIT is the inter-regional speed limit. The default is OUTER_REGION_LIMIT.
    ccnId String
    ID of the resource.
    chargeType String
    Billing mode. Valid values: PREPAID, POSTPAID. PREPAID means prepaid, which means annual and monthly subscription, POSTPAID means post-payment, which means billing by volume. The default is POSTPAID. The prepaid model only supports inter-regional speed limit, and the post-paid model supports inter-regional speed limit and regional export speed limit.
    description String
    Description of CCN, and maximum length does not exceed 100 bytes.
    name String
    Name of the CCN to be queried, and maximum length does not exceed 60 bytes.
    qos String
    CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
    routeEcmpFlag Boolean
    Whether to enable the equivalent routing function. true: enabled, false: disabled.
    routeOverlapFlag Boolean
    Whether to enable the routing overlap function. true: enabled, false: disabled.
    tags Map<String>
    Instance tag.

    Outputs

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

    CreateTime string
    Creation time of resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceCount double
    Number of attached instances.
    State string
    States of instance. Valid values: ISOLATED(arrears) and AVAILABLE.
    CreateTime string
    Creation time of resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceCount float64
    Number of attached instances.
    State string
    States of instance. Valid values: ISOLATED(arrears) and AVAILABLE.
    createTime String
    Creation time of resource.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceCount Double
    Number of attached instances.
    state String
    States of instance. Valid values: ISOLATED(arrears) and AVAILABLE.
    createTime string
    Creation time of resource.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceCount number
    Number of attached instances.
    state string
    States of instance. Valid values: ISOLATED(arrears) and AVAILABLE.
    create_time str
    Creation time of resource.
    id str
    The provider-assigned unique ID for this managed resource.
    instance_count float
    Number of attached instances.
    state str
    States of instance. Valid values: ISOLATED(arrears) and AVAILABLE.
    createTime String
    Creation time of resource.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceCount Number
    Number of attached instances.
    state String
    States of instance. Valid values: ISOLATED(arrears) and AVAILABLE.

    Look up Existing Ccn Resource

    Get an existing Ccn 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?: CcnState, opts?: CustomResourceOptions): Ccn
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bandwidth_limit_type: Optional[str] = None,
            ccn_id: Optional[str] = None,
            charge_type: Optional[str] = None,
            create_time: Optional[str] = None,
            description: Optional[str] = None,
            instance_count: Optional[float] = None,
            name: Optional[str] = None,
            qos: Optional[str] = None,
            route_ecmp_flag: Optional[bool] = None,
            route_overlap_flag: Optional[bool] = None,
            state: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> Ccn
    func GetCcn(ctx *Context, name string, id IDInput, state *CcnState, opts ...ResourceOption) (*Ccn, error)
    public static Ccn Get(string name, Input<string> id, CcnState? state, CustomResourceOptions? opts = null)
    public static Ccn get(String name, Output<String> id, CcnState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:Ccn    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:
    BandwidthLimitType string
    The speed limit type. Valid values: INTER_REGION_LIMIT, OUTER_REGION_LIMIT. OUTER_REGION_LIMIT represents the regional export speed limit, INTER_REGION_LIMIT is the inter-regional speed limit. The default is OUTER_REGION_LIMIT.
    CcnId string
    ID of the resource.
    ChargeType string
    Billing mode. Valid values: PREPAID, POSTPAID. PREPAID means prepaid, which means annual and monthly subscription, POSTPAID means post-payment, which means billing by volume. The default is POSTPAID. The prepaid model only supports inter-regional speed limit, and the post-paid model supports inter-regional speed limit and regional export speed limit.
    CreateTime string
    Creation time of resource.
    Description string
    Description of CCN, and maximum length does not exceed 100 bytes.
    InstanceCount double
    Number of attached instances.
    Name string
    Name of the CCN to be queried, and maximum length does not exceed 60 bytes.
    Qos string
    CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
    RouteEcmpFlag bool
    Whether to enable the equivalent routing function. true: enabled, false: disabled.
    RouteOverlapFlag bool
    Whether to enable the routing overlap function. true: enabled, false: disabled.
    State string
    States of instance. Valid values: ISOLATED(arrears) and AVAILABLE.
    Tags Dictionary<string, string>
    Instance tag.
    BandwidthLimitType string
    The speed limit type. Valid values: INTER_REGION_LIMIT, OUTER_REGION_LIMIT. OUTER_REGION_LIMIT represents the regional export speed limit, INTER_REGION_LIMIT is the inter-regional speed limit. The default is OUTER_REGION_LIMIT.
    CcnId string
    ID of the resource.
    ChargeType string
    Billing mode. Valid values: PREPAID, POSTPAID. PREPAID means prepaid, which means annual and monthly subscription, POSTPAID means post-payment, which means billing by volume. The default is POSTPAID. The prepaid model only supports inter-regional speed limit, and the post-paid model supports inter-regional speed limit and regional export speed limit.
    CreateTime string
    Creation time of resource.
    Description string
    Description of CCN, and maximum length does not exceed 100 bytes.
    InstanceCount float64
    Number of attached instances.
    Name string
    Name of the CCN to be queried, and maximum length does not exceed 60 bytes.
    Qos string
    CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
    RouteEcmpFlag bool
    Whether to enable the equivalent routing function. true: enabled, false: disabled.
    RouteOverlapFlag bool
    Whether to enable the routing overlap function. true: enabled, false: disabled.
    State string
    States of instance. Valid values: ISOLATED(arrears) and AVAILABLE.
    Tags map[string]string
    Instance tag.
    bandwidthLimitType String
    The speed limit type. Valid values: INTER_REGION_LIMIT, OUTER_REGION_LIMIT. OUTER_REGION_LIMIT represents the regional export speed limit, INTER_REGION_LIMIT is the inter-regional speed limit. The default is OUTER_REGION_LIMIT.
    ccnId String
    ID of the resource.
    chargeType String
    Billing mode. Valid values: PREPAID, POSTPAID. PREPAID means prepaid, which means annual and monthly subscription, POSTPAID means post-payment, which means billing by volume. The default is POSTPAID. The prepaid model only supports inter-regional speed limit, and the post-paid model supports inter-regional speed limit and regional export speed limit.
    createTime String
    Creation time of resource.
    description String
    Description of CCN, and maximum length does not exceed 100 bytes.
    instanceCount Double
    Number of attached instances.
    name String
    Name of the CCN to be queried, and maximum length does not exceed 60 bytes.
    qos String
    CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
    routeEcmpFlag Boolean
    Whether to enable the equivalent routing function. true: enabled, false: disabled.
    routeOverlapFlag Boolean
    Whether to enable the routing overlap function. true: enabled, false: disabled.
    state String
    States of instance. Valid values: ISOLATED(arrears) and AVAILABLE.
    tags Map<String,String>
    Instance tag.
    bandwidthLimitType string
    The speed limit type. Valid values: INTER_REGION_LIMIT, OUTER_REGION_LIMIT. OUTER_REGION_LIMIT represents the regional export speed limit, INTER_REGION_LIMIT is the inter-regional speed limit. The default is OUTER_REGION_LIMIT.
    ccnId string
    ID of the resource.
    chargeType string
    Billing mode. Valid values: PREPAID, POSTPAID. PREPAID means prepaid, which means annual and monthly subscription, POSTPAID means post-payment, which means billing by volume. The default is POSTPAID. The prepaid model only supports inter-regional speed limit, and the post-paid model supports inter-regional speed limit and regional export speed limit.
    createTime string
    Creation time of resource.
    description string
    Description of CCN, and maximum length does not exceed 100 bytes.
    instanceCount number
    Number of attached instances.
    name string
    Name of the CCN to be queried, and maximum length does not exceed 60 bytes.
    qos string
    CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
    routeEcmpFlag boolean
    Whether to enable the equivalent routing function. true: enabled, false: disabled.
    routeOverlapFlag boolean
    Whether to enable the routing overlap function. true: enabled, false: disabled.
    state string
    States of instance. Valid values: ISOLATED(arrears) and AVAILABLE.
    tags {[key: string]: string}
    Instance tag.
    bandwidth_limit_type str
    The speed limit type. Valid values: INTER_REGION_LIMIT, OUTER_REGION_LIMIT. OUTER_REGION_LIMIT represents the regional export speed limit, INTER_REGION_LIMIT is the inter-regional speed limit. The default is OUTER_REGION_LIMIT.
    ccn_id str
    ID of the resource.
    charge_type str
    Billing mode. Valid values: PREPAID, POSTPAID. PREPAID means prepaid, which means annual and monthly subscription, POSTPAID means post-payment, which means billing by volume. The default is POSTPAID. The prepaid model only supports inter-regional speed limit, and the post-paid model supports inter-regional speed limit and regional export speed limit.
    create_time str
    Creation time of resource.
    description str
    Description of CCN, and maximum length does not exceed 100 bytes.
    instance_count float
    Number of attached instances.
    name str
    Name of the CCN to be queried, and maximum length does not exceed 60 bytes.
    qos str
    CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
    route_ecmp_flag bool
    Whether to enable the equivalent routing function. true: enabled, false: disabled.
    route_overlap_flag bool
    Whether to enable the routing overlap function. true: enabled, false: disabled.
    state str
    States of instance. Valid values: ISOLATED(arrears) and AVAILABLE.
    tags Mapping[str, str]
    Instance tag.
    bandwidthLimitType String
    The speed limit type. Valid values: INTER_REGION_LIMIT, OUTER_REGION_LIMIT. OUTER_REGION_LIMIT represents the regional export speed limit, INTER_REGION_LIMIT is the inter-regional speed limit. The default is OUTER_REGION_LIMIT.
    ccnId String
    ID of the resource.
    chargeType String
    Billing mode. Valid values: PREPAID, POSTPAID. PREPAID means prepaid, which means annual and monthly subscription, POSTPAID means post-payment, which means billing by volume. The default is POSTPAID. The prepaid model only supports inter-regional speed limit, and the post-paid model supports inter-regional speed limit and regional export speed limit.
    createTime String
    Creation time of resource.
    description String
    Description of CCN, and maximum length does not exceed 100 bytes.
    instanceCount Number
    Number of attached instances.
    name String
    Name of the CCN to be queried, and maximum length does not exceed 60 bytes.
    qos String
    CCN service quality, 'PT': Platinum, 'AU': Gold, 'AG': Silver. The default is 'AU'.
    routeEcmpFlag Boolean
    Whether to enable the equivalent routing function. true: enabled, false: disabled.
    routeOverlapFlag Boolean
    Whether to enable the routing overlap function. true: enabled, false: disabled.
    state String
    States of instance. Valid values: ISOLATED(arrears) and AVAILABLE.
    tags Map<String>
    Instance tag.

    Import

    Ccn instance can be imported, e.g.

    $ pulumi import tencentcloud:index/ccn:Ccn example ccn-al70jo89
    

    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.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack