tencentcloud.Ccn
Explore with Pulumi AI
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)
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:
- Bandwidth
Limit stringType - 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 isOUTER_REGION_LIMIT
. - Ccn
Id string - ID of the resource.
- Charge
Type 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 isPOSTPAID
. 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'.
- Route
Ecmp boolFlag - Whether to enable the equivalent routing function.
true
: enabled,false
: disabled. - Route
Overlap boolFlag - Whether to enable the routing overlap function.
true
: enabled,false
: disabled. - Dictionary<string, string>
- Instance tag.
- Bandwidth
Limit stringType - 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 isOUTER_REGION_LIMIT
. - Ccn
Id string - ID of the resource.
- Charge
Type 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 isPOSTPAID
. 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'.
- Route
Ecmp boolFlag - Whether to enable the equivalent routing function.
true
: enabled,false
: disabled. - Route
Overlap boolFlag - Whether to enable the routing overlap function.
true
: enabled,false
: disabled. - map[string]string
- Instance tag.
- bandwidth
Limit StringType - 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 isOUTER_REGION_LIMIT
. - ccn
Id String - ID of the resource.
- charge
Type 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 isPOSTPAID
. 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'.
- route
Ecmp BooleanFlag - Whether to enable the equivalent routing function.
true
: enabled,false
: disabled. - route
Overlap BooleanFlag - Whether to enable the routing overlap function.
true
: enabled,false
: disabled. - Map<String,String>
- Instance tag.
- bandwidth
Limit stringType - 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 isOUTER_REGION_LIMIT
. - ccn
Id string - ID of the resource.
- charge
Type 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 isPOSTPAID
. 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'.
- route
Ecmp booleanFlag - Whether to enable the equivalent routing function.
true
: enabled,false
: disabled. - route
Overlap booleanFlag - Whether to enable the routing overlap function.
true
: enabled,false
: disabled. - {[key: string]: string}
- Instance tag.
- bandwidth_
limit_ strtype - 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 isOUTER_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 isPOSTPAID
. 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_ boolflag - Whether to enable the equivalent routing function.
true
: enabled,false
: disabled. - route_
overlap_ boolflag - Whether to enable the routing overlap function.
true
: enabled,false
: disabled. - Mapping[str, str]
- Instance tag.
- bandwidth
Limit StringType - 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 isOUTER_REGION_LIMIT
. - ccn
Id String - ID of the resource.
- charge
Type 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 isPOSTPAID
. 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'.
- route
Ecmp BooleanFlag - Whether to enable the equivalent routing function.
true
: enabled,false
: disabled. - route
Overlap BooleanFlag - Whether to enable the routing overlap function.
true
: enabled,false
: disabled. - Map<String>
- Instance tag.
Outputs
All input properties are implicitly available as output properties. Additionally, the Ccn resource produces the following output properties:
- Create
Time string - Creation time of resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Count double - Number of attached instances.
- State string
- States of instance. Valid values:
ISOLATED
(arrears) andAVAILABLE
.
- Create
Time string - Creation time of resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Count float64 - Number of attached instances.
- State string
- States of instance. Valid values:
ISOLATED
(arrears) andAVAILABLE
.
- create
Time String - Creation time of resource.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Count Double - Number of attached instances.
- state String
- States of instance. Valid values:
ISOLATED
(arrears) andAVAILABLE
.
- create
Time string - Creation time of resource.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Count number - Number of attached instances.
- state string
- States of instance. Valid values:
ISOLATED
(arrears) andAVAILABLE
.
- 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) andAVAILABLE
.
- create
Time String - Creation time of resource.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Count Number - Number of attached instances.
- state String
- States of instance. Valid values:
ISOLATED
(arrears) andAVAILABLE
.
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.
- Bandwidth
Limit stringType - 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 isOUTER_REGION_LIMIT
. - Ccn
Id string - ID of the resource.
- Charge
Type 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 isPOSTPAID
. 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 string - Creation time of resource.
- Description string
- Description of CCN, and maximum length does not exceed 100 bytes.
- Instance
Count 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'.
- Route
Ecmp boolFlag - Whether to enable the equivalent routing function.
true
: enabled,false
: disabled. - Route
Overlap boolFlag - Whether to enable the routing overlap function.
true
: enabled,false
: disabled. - State string
- States of instance. Valid values:
ISOLATED
(arrears) andAVAILABLE
. - Dictionary<string, string>
- Instance tag.
- Bandwidth
Limit stringType - 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 isOUTER_REGION_LIMIT
. - Ccn
Id string - ID of the resource.
- Charge
Type 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 isPOSTPAID
. 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 string - Creation time of resource.
- Description string
- Description of CCN, and maximum length does not exceed 100 bytes.
- Instance
Count 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'.
- Route
Ecmp boolFlag - Whether to enable the equivalent routing function.
true
: enabled,false
: disabled. - Route
Overlap boolFlag - Whether to enable the routing overlap function.
true
: enabled,false
: disabled. - State string
- States of instance. Valid values:
ISOLATED
(arrears) andAVAILABLE
. - map[string]string
- Instance tag.
- bandwidth
Limit StringType - 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 isOUTER_REGION_LIMIT
. - ccn
Id String - ID of the resource.
- charge
Type 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 isPOSTPAID
. 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 String - Creation time of resource.
- description String
- Description of CCN, and maximum length does not exceed 100 bytes.
- instance
Count 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'.
- route
Ecmp BooleanFlag - Whether to enable the equivalent routing function.
true
: enabled,false
: disabled. - route
Overlap BooleanFlag - Whether to enable the routing overlap function.
true
: enabled,false
: disabled. - state String
- States of instance. Valid values:
ISOLATED
(arrears) andAVAILABLE
. - Map<String,String>
- Instance tag.
- bandwidth
Limit stringType - 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 isOUTER_REGION_LIMIT
. - ccn
Id string - ID of the resource.
- charge
Type 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 isPOSTPAID
. 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 string - Creation time of resource.
- description string
- Description of CCN, and maximum length does not exceed 100 bytes.
- instance
Count 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'.
- route
Ecmp booleanFlag - Whether to enable the equivalent routing function.
true
: enabled,false
: disabled. - route
Overlap booleanFlag - Whether to enable the routing overlap function.
true
: enabled,false
: disabled. - state string
- States of instance. Valid values:
ISOLATED
(arrears) andAVAILABLE
. - {[key: string]: string}
- Instance tag.
- bandwidth_
limit_ strtype - 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 isOUTER_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 isPOSTPAID
. 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_ boolflag - Whether to enable the equivalent routing function.
true
: enabled,false
: disabled. - route_
overlap_ boolflag - Whether to enable the routing overlap function.
true
: enabled,false
: disabled. - state str
- States of instance. Valid values:
ISOLATED
(arrears) andAVAILABLE
. - Mapping[str, str]
- Instance tag.
- bandwidth
Limit StringType - 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 isOUTER_REGION_LIMIT
. - ccn
Id String - ID of the resource.
- charge
Type 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 isPOSTPAID
. 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 String - Creation time of resource.
- description String
- Description of CCN, and maximum length does not exceed 100 bytes.
- instance
Count 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'.
- route
Ecmp BooleanFlag - Whether to enable the equivalent routing function.
true
: enabled,false
: disabled. - route
Overlap BooleanFlag - Whether to enable the routing overlap function.
true
: enabled,false
: disabled. - state String
- States of instance. Valid values:
ISOLATED
(arrears) andAVAILABLE
. - 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.