published on Thursday, Jul 9, 2026 by opentelekomcloud
published on Thursday, Jul 9, 2026 by opentelekomcloud
Up-to-date reference of API arguments for Cloud Connect Central Network Policy you can get at documentation portal
Manages a Cloud Connect (CC) central network policy resource within OpenTelekomCloud.
A central network policy describes which enterprise routers belong to a central network and how their route
tables are associated. Creating a policy only stages it; use opentelekomcloud.CcCentralNetworkPolicyApplyV3
to make it the active policy of the central network.
Central network policies are immutable. Any change to the arguments forces a new policy to be created.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";
const config = new pulumi.Config();
const centralNetworkId = config.requireObject<any>("centralNetworkId");
const projectId = config.requireObject<any>("projectId");
const enterpriseRouterAId = config.requireObject<any>("enterpriseRouterAId");
const enterpriseRouterATableId = config.requireObject<any>("enterpriseRouterATableId");
const enterpriseRouterBId = config.requireObject<any>("enterpriseRouterBId");
const enterpriseRouterBTableId = config.requireObject<any>("enterpriseRouterBTableId");
const test = new opentelekomcloud.CcCentralNetworkPolicyV3("test", {
centralNetworkId: centralNetworkId,
erInstances: [
{
projectId: projectId,
regionId: "eu-de",
enterpriseRouterId: enterpriseRouterAId,
},
{
projectId: projectId,
regionId: "eu-nl",
enterpriseRouterId: enterpriseRouterBId,
},
],
planes: {
associateErTables: [
{
projectId: projectId,
regionId: "eu-de",
enterpriseRouterId: enterpriseRouterAId,
enterpriseRouterTableId: enterpriseRouterATableId,
},
{
projectId: projectId,
regionId: "eu-nl",
enterpriseRouterId: enterpriseRouterBId,
enterpriseRouterTableId: enterpriseRouterBTableId,
},
],
},
});
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud
config = pulumi.Config()
central_network_id = config.require_object("centralNetworkId")
project_id = config.require_object("projectId")
enterprise_router_a_id = config.require_object("enterpriseRouterAId")
enterprise_router_a_table_id = config.require_object("enterpriseRouterATableId")
enterprise_router_b_id = config.require_object("enterpriseRouterBId")
enterprise_router_b_table_id = config.require_object("enterpriseRouterBTableId")
test = opentelekomcloud.CcCentralNetworkPolicyV3("test",
central_network_id=central_network_id,
er_instances=[
{
"project_id": project_id,
"region_id": "eu-de",
"enterprise_router_id": enterprise_router_a_id,
},
{
"project_id": project_id,
"region_id": "eu-nl",
"enterprise_router_id": enterprise_router_b_id,
},
],
planes={
"associate_er_tables": [
{
"project_id": project_id,
"region_id": "eu-de",
"enterprise_router_id": enterprise_router_a_id,
"enterprise_router_table_id": enterprise_router_a_table_id,
},
{
"project_id": project_id,
"region_id": "eu-nl",
"enterprise_router_id": enterprise_router_b_id,
"enterprise_router_table_id": enterprise_router_b_table_id,
},
],
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
centralNetworkId := cfg.RequireObject("centralNetworkId")
projectId := cfg.RequireObject("projectId")
enterpriseRouterAId := cfg.RequireObject("enterpriseRouterAId")
enterpriseRouterATableId := cfg.RequireObject("enterpriseRouterATableId")
enterpriseRouterBId := cfg.RequireObject("enterpriseRouterBId")
enterpriseRouterBTableId := cfg.RequireObject("enterpriseRouterBTableId")
_, err := opentelekomcloud.NewCcCentralNetworkPolicyV3(ctx, "test", &opentelekomcloud.CcCentralNetworkPolicyV3Args{
CentralNetworkId: pulumi.Any(centralNetworkId),
ErInstances: opentelekomcloud.CcCentralNetworkPolicyV3ErInstanceArray{
&opentelekomcloud.CcCentralNetworkPolicyV3ErInstanceArgs{
ProjectId: pulumi.Any(projectId),
RegionId: pulumi.String("eu-de"),
EnterpriseRouterId: pulumi.Any(enterpriseRouterAId),
},
&opentelekomcloud.CcCentralNetworkPolicyV3ErInstanceArgs{
ProjectId: pulumi.Any(projectId),
RegionId: pulumi.String("eu-nl"),
EnterpriseRouterId: pulumi.Any(enterpriseRouterBId),
},
},
Planes: &opentelekomcloud.CcCentralNetworkPolicyV3PlanesArgs{
AssociateErTables: opentelekomcloud.CcCentralNetworkPolicyV3PlanesAssociateErTableArray{
&opentelekomcloud.CcCentralNetworkPolicyV3PlanesAssociateErTableArgs{
ProjectId: pulumi.Any(projectId),
RegionId: pulumi.String("eu-de"),
EnterpriseRouterId: pulumi.Any(enterpriseRouterAId),
EnterpriseRouterTableId: pulumi.Any(enterpriseRouterATableId),
},
&opentelekomcloud.CcCentralNetworkPolicyV3PlanesAssociateErTableArgs{
ProjectId: pulumi.Any(projectId),
RegionId: pulumi.String("eu-nl"),
EnterpriseRouterId: pulumi.Any(enterpriseRouterBId),
EnterpriseRouterTableId: pulumi.Any(enterpriseRouterBTableId),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var centralNetworkId = config.RequireObject<dynamic>("centralNetworkId");
var projectId = config.RequireObject<dynamic>("projectId");
var enterpriseRouterAId = config.RequireObject<dynamic>("enterpriseRouterAId");
var enterpriseRouterATableId = config.RequireObject<dynamic>("enterpriseRouterATableId");
var enterpriseRouterBId = config.RequireObject<dynamic>("enterpriseRouterBId");
var enterpriseRouterBTableId = config.RequireObject<dynamic>("enterpriseRouterBTableId");
var test = new Opentelekomcloud.CcCentralNetworkPolicyV3("test", new()
{
CentralNetworkId = centralNetworkId,
ErInstances = new[]
{
new Opentelekomcloud.Inputs.CcCentralNetworkPolicyV3ErInstanceArgs
{
ProjectId = projectId,
RegionId = "eu-de",
EnterpriseRouterId = enterpriseRouterAId,
},
new Opentelekomcloud.Inputs.CcCentralNetworkPolicyV3ErInstanceArgs
{
ProjectId = projectId,
RegionId = "eu-nl",
EnterpriseRouterId = enterpriseRouterBId,
},
},
Planes = new Opentelekomcloud.Inputs.CcCentralNetworkPolicyV3PlanesArgs
{
AssociateErTables = new[]
{
new Opentelekomcloud.Inputs.CcCentralNetworkPolicyV3PlanesAssociateErTableArgs
{
ProjectId = projectId,
RegionId = "eu-de",
EnterpriseRouterId = enterpriseRouterAId,
EnterpriseRouterTableId = enterpriseRouterATableId,
},
new Opentelekomcloud.Inputs.CcCentralNetworkPolicyV3PlanesAssociateErTableArgs
{
ProjectId = projectId,
RegionId = "eu-nl",
EnterpriseRouterId = enterpriseRouterBId,
EnterpriseRouterTableId = enterpriseRouterBTableId,
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.CcCentralNetworkPolicyV3;
import com.pulumi.opentelekomcloud.CcCentralNetworkPolicyV3Args;
import com.pulumi.opentelekomcloud.inputs.CcCentralNetworkPolicyV3ErInstanceArgs;
import com.pulumi.opentelekomcloud.inputs.CcCentralNetworkPolicyV3PlanesArgs;
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) {
final var config = ctx.config();
final var centralNetworkId = config.get("centralNetworkId");
final var projectId = config.get("projectId");
final var enterpriseRouterAId = config.get("enterpriseRouterAId");
final var enterpriseRouterATableId = config.get("enterpriseRouterATableId");
final var enterpriseRouterBId = config.get("enterpriseRouterBId");
final var enterpriseRouterBTableId = config.get("enterpriseRouterBTableId");
var test = new CcCentralNetworkPolicyV3("test", CcCentralNetworkPolicyV3Args.builder()
.centralNetworkId(centralNetworkId)
.erInstances(
CcCentralNetworkPolicyV3ErInstanceArgs.builder()
.projectId(projectId)
.regionId("eu-de")
.enterpriseRouterId(enterpriseRouterAId)
.build(),
CcCentralNetworkPolicyV3ErInstanceArgs.builder()
.projectId(projectId)
.regionId("eu-nl")
.enterpriseRouterId(enterpriseRouterBId)
.build())
.planes(CcCentralNetworkPolicyV3PlanesArgs.builder()
.associateErTables(
CcCentralNetworkPolicyV3PlanesAssociateErTableArgs.builder()
.projectId(projectId)
.regionId("eu-de")
.enterpriseRouterId(enterpriseRouterAId)
.enterpriseRouterTableId(enterpriseRouterATableId)
.build(),
CcCentralNetworkPolicyV3PlanesAssociateErTableArgs.builder()
.projectId(projectId)
.regionId("eu-nl")
.enterpriseRouterId(enterpriseRouterBId)
.enterpriseRouterTableId(enterpriseRouterBTableId)
.build())
.build())
.build());
}
}
configuration:
centralNetworkId:
type: dynamic
projectId:
type: dynamic
enterpriseRouterAId:
type: dynamic
enterpriseRouterATableId:
type: dynamic
enterpriseRouterBId:
type: dynamic
enterpriseRouterBTableId:
type: dynamic
resources:
test:
type: opentelekomcloud:CcCentralNetworkPolicyV3
properties:
centralNetworkId: ${centralNetworkId}
erInstances:
- projectId: ${projectId}
regionId: eu-de
enterpriseRouterId: ${enterpriseRouterAId}
- projectId: ${projectId}
regionId: eu-nl
enterpriseRouterId: ${enterpriseRouterBId}
planes:
associateErTables:
- projectId: ${projectId}
regionId: eu-de
enterpriseRouterId: ${enterpriseRouterAId}
enterpriseRouterTableId: ${enterpriseRouterATableId}
- projectId: ${projectId}
regionId: eu-nl
enterpriseRouterId: ${enterpriseRouterBId}
enterpriseRouterTableId: ${enterpriseRouterBTableId}
Example coming soon!
Create CcCentralNetworkPolicyV3 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CcCentralNetworkPolicyV3(name: string, args: CcCentralNetworkPolicyV3Args, opts?: CustomResourceOptions);@overload
def CcCentralNetworkPolicyV3(resource_name: str,
args: CcCentralNetworkPolicyV3Args,
opts: Optional[ResourceOptions] = None)
@overload
def CcCentralNetworkPolicyV3(resource_name: str,
opts: Optional[ResourceOptions] = None,
central_network_id: Optional[str] = None,
cc_central_network_policy_v3_id: Optional[str] = None,
er_instances: Optional[Sequence[CcCentralNetworkPolicyV3ErInstanceArgs]] = None,
planes: Optional[CcCentralNetworkPolicyV3PlanesArgs] = None)func NewCcCentralNetworkPolicyV3(ctx *Context, name string, args CcCentralNetworkPolicyV3Args, opts ...ResourceOption) (*CcCentralNetworkPolicyV3, error)public CcCentralNetworkPolicyV3(string name, CcCentralNetworkPolicyV3Args args, CustomResourceOptions? opts = null)
public CcCentralNetworkPolicyV3(String name, CcCentralNetworkPolicyV3Args args)
public CcCentralNetworkPolicyV3(String name, CcCentralNetworkPolicyV3Args args, CustomResourceOptions options)
type: opentelekomcloud:CcCentralNetworkPolicyV3
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "opentelekomcloud_cc_central_network_policy_v3" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CcCentralNetworkPolicyV3Args
- 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 CcCentralNetworkPolicyV3Args
- 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 CcCentralNetworkPolicyV3Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CcCentralNetworkPolicyV3Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CcCentralNetworkPolicyV3Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var ccCentralNetworkPolicyV3Resource = new Opentelekomcloud.CcCentralNetworkPolicyV3("ccCentralNetworkPolicyV3Resource", new()
{
CentralNetworkId = "string",
CcCentralNetworkPolicyV3Id = "string",
ErInstances = new[]
{
new Opentelekomcloud.Inputs.CcCentralNetworkPolicyV3ErInstanceArgs
{
EnterpriseRouterId = "string",
ProjectId = "string",
RegionId = "string",
},
},
Planes = new Opentelekomcloud.Inputs.CcCentralNetworkPolicyV3PlanesArgs
{
AssociateErTables = new[]
{
new Opentelekomcloud.Inputs.CcCentralNetworkPolicyV3PlanesAssociateErTableArgs
{
EnterpriseRouterId = "string",
EnterpriseRouterTableId = "string",
ProjectId = "string",
RegionId = "string",
},
},
ExcludeErConnections = new[]
{
new Opentelekomcloud.Inputs.CcCentralNetworkPolicyV3PlanesExcludeErConnectionArgs
{
ExcludeErInstances = new[]
{
new Opentelekomcloud.Inputs.CcCentralNetworkPolicyV3PlanesExcludeErConnectionExcludeErInstanceArgs
{
EnterpriseRouterId = "string",
ProjectId = "string",
RegionId = "string",
},
},
},
},
},
});
example, err := opentelekomcloud.NewCcCentralNetworkPolicyV3(ctx, "ccCentralNetworkPolicyV3Resource", &opentelekomcloud.CcCentralNetworkPolicyV3Args{
CentralNetworkId: pulumi.String("string"),
CcCentralNetworkPolicyV3Id: pulumi.String("string"),
ErInstances: opentelekomcloud.CcCentralNetworkPolicyV3ErInstanceArray{
&opentelekomcloud.CcCentralNetworkPolicyV3ErInstanceArgs{
EnterpriseRouterId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
RegionId: pulumi.String("string"),
},
},
Planes: &opentelekomcloud.CcCentralNetworkPolicyV3PlanesArgs{
AssociateErTables: opentelekomcloud.CcCentralNetworkPolicyV3PlanesAssociateErTableArray{
&opentelekomcloud.CcCentralNetworkPolicyV3PlanesAssociateErTableArgs{
EnterpriseRouterId: pulumi.String("string"),
EnterpriseRouterTableId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
RegionId: pulumi.String("string"),
},
},
ExcludeErConnections: opentelekomcloud.CcCentralNetworkPolicyV3PlanesExcludeErConnectionArray{
&opentelekomcloud.CcCentralNetworkPolicyV3PlanesExcludeErConnectionArgs{
ExcludeErInstances: opentelekomcloud.CcCentralNetworkPolicyV3PlanesExcludeErConnectionExcludeErInstanceArray{
&opentelekomcloud.CcCentralNetworkPolicyV3PlanesExcludeErConnectionExcludeErInstanceArgs{
EnterpriseRouterId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
RegionId: pulumi.String("string"),
},
},
},
},
},
})
resource "opentelekomcloud_cc_central_network_policy_v3" "ccCentralNetworkPolicyV3Resource" {
lifecycle {
create_before_destroy = true
}
central_network_id = "string"
cc_central_network_policy_v3_id = "string"
er_instances {
enterprise_router_id = "string"
project_id = "string"
region_id = "string"
}
planes = {
associate_er_tables = [{
enterprise_router_id = "string"
enterprise_router_table_id = "string"
project_id = "string"
region_id = "string"
}]
exclude_er_connections = [{
exclude_er_instances = [{
enterprise_router_id = "string"
project_id = "string"
region_id = "string"
}]
}]
}
}
var ccCentralNetworkPolicyV3Resource = new CcCentralNetworkPolicyV3("ccCentralNetworkPolicyV3Resource", CcCentralNetworkPolicyV3Args.builder()
.centralNetworkId("string")
.ccCentralNetworkPolicyV3Id("string")
.erInstances(CcCentralNetworkPolicyV3ErInstanceArgs.builder()
.enterpriseRouterId("string")
.projectId("string")
.regionId("string")
.build())
.planes(CcCentralNetworkPolicyV3PlanesArgs.builder()
.associateErTables(CcCentralNetworkPolicyV3PlanesAssociateErTableArgs.builder()
.enterpriseRouterId("string")
.enterpriseRouterTableId("string")
.projectId("string")
.regionId("string")
.build())
.excludeErConnections(CcCentralNetworkPolicyV3PlanesExcludeErConnectionArgs.builder()
.excludeErInstances(CcCentralNetworkPolicyV3PlanesExcludeErConnectionExcludeErInstanceArgs.builder()
.enterpriseRouterId("string")
.projectId("string")
.regionId("string")
.build())
.build())
.build())
.build());
cc_central_network_policy_v3_resource = opentelekomcloud.CcCentralNetworkPolicyV3("ccCentralNetworkPolicyV3Resource",
central_network_id="string",
cc_central_network_policy_v3_id="string",
er_instances=[{
"enterprise_router_id": "string",
"project_id": "string",
"region_id": "string",
}],
planes={
"associate_er_tables": [{
"enterprise_router_id": "string",
"enterprise_router_table_id": "string",
"project_id": "string",
"region_id": "string",
}],
"exclude_er_connections": [{
"exclude_er_instances": [{
"enterprise_router_id": "string",
"project_id": "string",
"region_id": "string",
}],
}],
})
const ccCentralNetworkPolicyV3Resource = new opentelekomcloud.CcCentralNetworkPolicyV3("ccCentralNetworkPolicyV3Resource", {
centralNetworkId: "string",
ccCentralNetworkPolicyV3Id: "string",
erInstances: [{
enterpriseRouterId: "string",
projectId: "string",
regionId: "string",
}],
planes: {
associateErTables: [{
enterpriseRouterId: "string",
enterpriseRouterTableId: "string",
projectId: "string",
regionId: "string",
}],
excludeErConnections: [{
excludeErInstances: [{
enterpriseRouterId: "string",
projectId: "string",
regionId: "string",
}],
}],
},
});
type: opentelekomcloud:CcCentralNetworkPolicyV3
properties:
ccCentralNetworkPolicyV3Id: string
centralNetworkId: string
erInstances:
- enterpriseRouterId: string
projectId: string
regionId: string
planes:
associateErTables:
- enterpriseRouterId: string
enterpriseRouterTableId: string
projectId: string
regionId: string
excludeErConnections:
- excludeErInstances:
- enterpriseRouterId: string
projectId: string
regionId: string
CcCentralNetworkPolicyV3 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 CcCentralNetworkPolicyV3 resource accepts the following input properties:
- Central
Network stringId - The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
- Cc
Central stringNetwork Policy V3Id - The resource ID in UUID format. Equal to the central network policy ID.
- Er
Instances List<CcCentral Network Policy V3Er Instance> - The list of the enterprise routers on the central network policy. Changing this parameter will create a new resource. The er_instances structure is documented below.
- Planes
Cc
Central Network Policy V3Planes The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.
The
er_instancesblock supports:
- Central
Network stringId - The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
- Cc
Central stringNetwork Policy V3Id - The resource ID in UUID format. Equal to the central network policy ID.
- Er
Instances []CcCentral Network Policy V3Er Instance Args - The list of the enterprise routers on the central network policy. Changing this parameter will create a new resource. The er_instances structure is documented below.
- Planes
Cc
Central Network Policy V3Planes Args The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.
The
er_instancesblock supports:
- central_
network_ stringid - The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
- cc_
central_ stringnetwork_ policy_ v3_ id - The resource ID in UUID format. Equal to the central network policy ID.
- er_
instances list(object) - The list of the enterprise routers on the central network policy. Changing this parameter will create a new resource. The er_instances structure is documented below.
- planes object
The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.
The
er_instancesblock supports:
- central
Network StringId - The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
- cc
Central StringNetwork Policy V3Id - The resource ID in UUID format. Equal to the central network policy ID.
- er
Instances List<CcCentral Network Policy V3Er Instance> - The list of the enterprise routers on the central network policy. Changing this parameter will create a new resource. The er_instances structure is documented below.
- planes
Cc
Central Network Policy V3Planes The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.
The
er_instancesblock supports:
- central
Network stringId - The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
- cc
Central stringNetwork Policy V3Id - The resource ID in UUID format. Equal to the central network policy ID.
- er
Instances CcCentral Network Policy V3Er Instance[] - The list of the enterprise routers on the central network policy. Changing this parameter will create a new resource. The er_instances structure is documented below.
- planes
Cc
Central Network Policy V3Planes The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.
The
er_instancesblock supports:
- central_
network_ strid - The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
- cc_
central_ strnetwork_ policy_ v3_ id - The resource ID in UUID format. Equal to the central network policy ID.
- er_
instances Sequence[CcCentral Network Policy V3Er Instance Args] - The list of the enterprise routers on the central network policy. Changing this parameter will create a new resource. The er_instances structure is documented below.
- planes
Cc
Central Network Policy V3Planes Args The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.
The
er_instancesblock supports:
- central
Network StringId - The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
- cc
Central StringNetwork Policy V3Id - The resource ID in UUID format. Equal to the central network policy ID.
- er
Instances List<Property Map> - The list of the enterprise routers on the central network policy. Changing this parameter will create a new resource. The er_instances structure is documented below.
- planes Property Map
The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.
The
er_instancesblock supports:
Outputs
All input properties are implicitly available as output properties. Additionally, the CcCentralNetworkPolicyV3 resource produces the following output properties:
- Document
Template stringVersion - The version of the central network policy document template.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Applied bool - Whether the central network policy is applied.
- Region string
- The region in which the central network policy is managed.
- State string
- The status of the central network policy. The value can be AVAILABLE, CANCELING, APPLYING, FAILED or DELETED.
- Version double
- The version of the central network policy.
- Document
Template stringVersion - The version of the central network policy document template.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Applied bool - Whether the central network policy is applied.
- Region string
- The region in which the central network policy is managed.
- State string
- The status of the central network policy. The value can be AVAILABLE, CANCELING, APPLYING, FAILED or DELETED.
- Version float64
- The version of the central network policy.
- document_
template_ stringversion - The version of the central network policy document template.
- id string
- The provider-assigned unique ID for this managed resource.
- is_
applied bool - Whether the central network policy is applied.
- region string
- The region in which the central network policy is managed.
- state string
- The status of the central network policy. The value can be AVAILABLE, CANCELING, APPLYING, FAILED or DELETED.
- version number
- The version of the central network policy.
- document
Template StringVersion - The version of the central network policy document template.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Applied Boolean - Whether the central network policy is applied.
- region String
- The region in which the central network policy is managed.
- state String
- The status of the central network policy. The value can be AVAILABLE, CANCELING, APPLYING, FAILED or DELETED.
- version Double
- The version of the central network policy.
- document
Template stringVersion - The version of the central network policy document template.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Applied boolean - Whether the central network policy is applied.
- region string
- The region in which the central network policy is managed.
- state string
- The status of the central network policy. The value can be AVAILABLE, CANCELING, APPLYING, FAILED or DELETED.
- version number
- The version of the central network policy.
- document_
template_ strversion - The version of the central network policy document template.
- id str
- The provider-assigned unique ID for this managed resource.
- is_
applied bool - Whether the central network policy is applied.
- region str
- The region in which the central network policy is managed.
- state str
- The status of the central network policy. The value can be AVAILABLE, CANCELING, APPLYING, FAILED or DELETED.
- version float
- The version of the central network policy.
- document
Template StringVersion - The version of the central network policy document template.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Applied Boolean - Whether the central network policy is applied.
- region String
- The region in which the central network policy is managed.
- state String
- The status of the central network policy. The value can be AVAILABLE, CANCELING, APPLYING, FAILED or DELETED.
- version Number
- The version of the central network policy.
Look up Existing CcCentralNetworkPolicyV3 Resource
Get an existing CcCentralNetworkPolicyV3 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?: CcCentralNetworkPolicyV3State, opts?: CustomResourceOptions): CcCentralNetworkPolicyV3@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cc_central_network_policy_v3_id: Optional[str] = None,
central_network_id: Optional[str] = None,
document_template_version: Optional[str] = None,
er_instances: Optional[Sequence[CcCentralNetworkPolicyV3ErInstanceArgs]] = None,
is_applied: Optional[bool] = None,
planes: Optional[CcCentralNetworkPolicyV3PlanesArgs] = None,
region: Optional[str] = None,
state: Optional[str] = None,
version: Optional[float] = None) -> CcCentralNetworkPolicyV3func GetCcCentralNetworkPolicyV3(ctx *Context, name string, id IDInput, state *CcCentralNetworkPolicyV3State, opts ...ResourceOption) (*CcCentralNetworkPolicyV3, error)public static CcCentralNetworkPolicyV3 Get(string name, Input<string> id, CcCentralNetworkPolicyV3State? state, CustomResourceOptions? opts = null)public static CcCentralNetworkPolicyV3 get(String name, Output<String> id, CcCentralNetworkPolicyV3State state, CustomResourceOptions options)resources: _: type: opentelekomcloud:CcCentralNetworkPolicyV3 get: id: ${id}import {
to = opentelekomcloud_cc_central_network_policy_v3.example
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.
- Cc
Central stringNetwork Policy V3Id - The resource ID in UUID format. Equal to the central network policy ID.
- Central
Network stringId - The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
- Document
Template stringVersion - The version of the central network policy document template.
- Er
Instances List<CcCentral Network Policy V3Er Instance> - The list of the enterprise routers on the central network policy. Changing this parameter will create a new resource. The er_instances structure is documented below.
- Is
Applied bool - Whether the central network policy is applied.
- Planes
Cc
Central Network Policy V3Planes The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.
The
er_instancesblock supports:- Region string
- The region in which the central network policy is managed.
- State string
- The status of the central network policy. The value can be AVAILABLE, CANCELING, APPLYING, FAILED or DELETED.
- Version double
- The version of the central network policy.
- Cc
Central stringNetwork Policy V3Id - The resource ID in UUID format. Equal to the central network policy ID.
- Central
Network stringId - The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
- Document
Template stringVersion - The version of the central network policy document template.
- Er
Instances []CcCentral Network Policy V3Er Instance Args - The list of the enterprise routers on the central network policy. Changing this parameter will create a new resource. The er_instances structure is documented below.
- Is
Applied bool - Whether the central network policy is applied.
- Planes
Cc
Central Network Policy V3Planes Args The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.
The
er_instancesblock supports:- Region string
- The region in which the central network policy is managed.
- State string
- The status of the central network policy. The value can be AVAILABLE, CANCELING, APPLYING, FAILED or DELETED.
- Version float64
- The version of the central network policy.
- cc_
central_ stringnetwork_ policy_ v3_ id - The resource ID in UUID format. Equal to the central network policy ID.
- central_
network_ stringid - The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
- document_
template_ stringversion - The version of the central network policy document template.
- er_
instances list(object) - The list of the enterprise routers on the central network policy. Changing this parameter will create a new resource. The er_instances structure is documented below.
- is_
applied bool - Whether the central network policy is applied.
- planes object
The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.
The
er_instancesblock supports:- region string
- The region in which the central network policy is managed.
- state string
- The status of the central network policy. The value can be AVAILABLE, CANCELING, APPLYING, FAILED or DELETED.
- version number
- The version of the central network policy.
- cc
Central StringNetwork Policy V3Id - The resource ID in UUID format. Equal to the central network policy ID.
- central
Network StringId - The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
- document
Template StringVersion - The version of the central network policy document template.
- er
Instances List<CcCentral Network Policy V3Er Instance> - The list of the enterprise routers on the central network policy. Changing this parameter will create a new resource. The er_instances structure is documented below.
- is
Applied Boolean - Whether the central network policy is applied.
- planes
Cc
Central Network Policy V3Planes The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.
The
er_instancesblock supports:- region String
- The region in which the central network policy is managed.
- state String
- The status of the central network policy. The value can be AVAILABLE, CANCELING, APPLYING, FAILED or DELETED.
- version Double
- The version of the central network policy.
- cc
Central stringNetwork Policy V3Id - The resource ID in UUID format. Equal to the central network policy ID.
- central
Network stringId - The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
- document
Template stringVersion - The version of the central network policy document template.
- er
Instances CcCentral Network Policy V3Er Instance[] - The list of the enterprise routers on the central network policy. Changing this parameter will create a new resource. The er_instances structure is documented below.
- is
Applied boolean - Whether the central network policy is applied.
- planes
Cc
Central Network Policy V3Planes The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.
The
er_instancesblock supports:- region string
- The region in which the central network policy is managed.
- state string
- The status of the central network policy. The value can be AVAILABLE, CANCELING, APPLYING, FAILED or DELETED.
- version number
- The version of the central network policy.
- cc_
central_ strnetwork_ policy_ v3_ id - The resource ID in UUID format. Equal to the central network policy ID.
- central_
network_ strid - The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
- document_
template_ strversion - The version of the central network policy document template.
- er_
instances Sequence[CcCentral Network Policy V3Er Instance Args] - The list of the enterprise routers on the central network policy. Changing this parameter will create a new resource. The er_instances structure is documented below.
- is_
applied bool - Whether the central network policy is applied.
- planes
Cc
Central Network Policy V3Planes Args The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.
The
er_instancesblock supports:- region str
- The region in which the central network policy is managed.
- state str
- The status of the central network policy. The value can be AVAILABLE, CANCELING, APPLYING, FAILED or DELETED.
- version float
- The version of the central network policy.
- cc
Central StringNetwork Policy V3Id - The resource ID in UUID format. Equal to the central network policy ID.
- central
Network StringId - The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
- document
Template StringVersion - The version of the central network policy document template.
- er
Instances List<Property Map> - The list of the enterprise routers on the central network policy. Changing this parameter will create a new resource. The er_instances structure is documented below.
- is
Applied Boolean - Whether the central network policy is applied.
- planes Property Map
The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.
The
er_instancesblock supports:- region String
- The region in which the central network policy is managed.
- state String
- The status of the central network policy. The value can be AVAILABLE, CANCELING, APPLYING, FAILED or DELETED.
- version Number
- The version of the central network policy.
Supporting Types
CcCentralNetworkPolicyV3ErInstance, CcCentralNetworkPolicyV3ErInstanceArgs
- Enterprise
Router stringId - The ID of the enterprise router.
- Project
Id string - The project ID of the enterprise router.
- Region
Id string - The region ID of the enterprise router.
- Enterprise
Router stringId - The ID of the enterprise router.
- Project
Id string - The project ID of the enterprise router.
- Region
Id string - The region ID of the enterprise router.
- enterprise_
router_ stringid - The ID of the enterprise router.
- project_
id string - The project ID of the enterprise router.
- region_
id string - The region ID of the enterprise router.
- enterprise
Router StringId - The ID of the enterprise router.
- project
Id String - The project ID of the enterprise router.
- region
Id String - The region ID of the enterprise router.
- enterprise
Router stringId - The ID of the enterprise router.
- project
Id string - The project ID of the enterprise router.
- region
Id string - The region ID of the enterprise router.
- enterprise_
router_ strid - The ID of the enterprise router.
- project_
id str - The project ID of the enterprise router.
- region_
id str - The region ID of the enterprise router.
- enterprise
Router StringId - The ID of the enterprise router.
- project
Id String - The project ID of the enterprise router.
- region
Id String - The region ID of the enterprise router.
CcCentralNetworkPolicyV3Planes, CcCentralNetworkPolicyV3PlanesArgs
- Associate
Er List<CcTables Central Network Policy V3Planes Associate Er Table> - The list of route tables associated with the central network policy. The associate_er_tables structure is documented below.
- Exclude
Er List<CcConnections Central Network Policy V3Planes Exclude Er Connection> The list of the enterprise router connections excluded from the central network policy. The exclude_er_connections structure is documented below.
The
associate_er_tablesblock supports:
- Associate
Er []CcTables Central Network Policy V3Planes Associate Er Table - The list of route tables associated with the central network policy. The associate_er_tables structure is documented below.
- Exclude
Er []CcConnections Central Network Policy V3Planes Exclude Er Connection The list of the enterprise router connections excluded from the central network policy. The exclude_er_connections structure is documented below.
The
associate_er_tablesblock supports:
- associate_
er_ list(object)tables - The list of route tables associated with the central network policy. The associate_er_tables structure is documented below.
- exclude_
er_ list(object)connections The list of the enterprise router connections excluded from the central network policy. The exclude_er_connections structure is documented below.
The
associate_er_tablesblock supports:
- associate
Er List<CcTables Central Network Policy V3Planes Associate Er Table> - The list of route tables associated with the central network policy. The associate_er_tables structure is documented below.
- exclude
Er List<CcConnections Central Network Policy V3Planes Exclude Er Connection> The list of the enterprise router connections excluded from the central network policy. The exclude_er_connections structure is documented below.
The
associate_er_tablesblock supports:
- associate
Er CcTables Central Network Policy V3Planes Associate Er Table[] - The list of route tables associated with the central network policy. The associate_er_tables structure is documented below.
- exclude
Er CcConnections Central Network Policy V3Planes Exclude Er Connection[] The list of the enterprise router connections excluded from the central network policy. The exclude_er_connections structure is documented below.
The
associate_er_tablesblock supports:
- associate_
er_ Sequence[Cctables Central Network Policy V3Planes Associate Er Table] - The list of route tables associated with the central network policy. The associate_er_tables structure is documented below.
- exclude_
er_ Sequence[Ccconnections Central Network Policy V3Planes Exclude Er Connection] The list of the enterprise router connections excluded from the central network policy. The exclude_er_connections structure is documented below.
The
associate_er_tablesblock supports:
- associate
Er List<Property Map>Tables - The list of route tables associated with the central network policy. The associate_er_tables structure is documented below.
- exclude
Er List<Property Map>Connections The list of the enterprise router connections excluded from the central network policy. The exclude_er_connections structure is documented below.
The
associate_er_tablesblock supports:
CcCentralNetworkPolicyV3PlanesAssociateErTable, CcCentralNetworkPolicyV3PlanesAssociateErTableArgs
- Enterprise
Router stringId - The ID of the enterprise router.
- Enterprise
Router stringTable Id The ID of the enterprise router route table.
The
exclude_er_connectionsblock supports:- Project
Id string - The project ID of the enterprise router.
- Region
Id string - The region ID of the enterprise router.
- Enterprise
Router stringId - The ID of the enterprise router.
- Enterprise
Router stringTable Id The ID of the enterprise router route table.
The
exclude_er_connectionsblock supports:- Project
Id string - The project ID of the enterprise router.
- Region
Id string - The region ID of the enterprise router.
- enterprise_
router_ stringid - The ID of the enterprise router.
- enterprise_
router_ stringtable_ id The ID of the enterprise router route table.
The
exclude_er_connectionsblock supports:- project_
id string - The project ID of the enterprise router.
- region_
id string - The region ID of the enterprise router.
- enterprise
Router StringId - The ID of the enterprise router.
- enterprise
Router StringTable Id The ID of the enterprise router route table.
The
exclude_er_connectionsblock supports:- project
Id String - The project ID of the enterprise router.
- region
Id String - The region ID of the enterprise router.
- enterprise
Router stringId - The ID of the enterprise router.
- enterprise
Router stringTable Id The ID of the enterprise router route table.
The
exclude_er_connectionsblock supports:- project
Id string - The project ID of the enterprise router.
- region
Id string - The region ID of the enterprise router.
- enterprise_
router_ strid - The ID of the enterprise router.
- enterprise_
router_ strtable_ id The ID of the enterprise router route table.
The
exclude_er_connectionsblock supports:- project_
id str - The project ID of the enterprise router.
- region_
id str - The region ID of the enterprise router.
- enterprise
Router StringId - The ID of the enterprise router.
- enterprise
Router StringTable Id The ID of the enterprise router route table.
The
exclude_er_connectionsblock supports:- project
Id String - The project ID of the enterprise router.
- region
Id String - The region ID of the enterprise router.
CcCentralNetworkPolicyV3PlanesExcludeErConnection, CcCentralNetworkPolicyV3PlanesExcludeErConnectionArgs
- Exclude
Er List<CcInstances Central Network Policy V3Planes Exclude Er Connection Exclude Er Instance> - The list of enterprise routers that will not establish a
connection with each other. The exclude_er_instances structure is the same as the
er_instancesstructure documented above.
- Exclude
Er []CcInstances Central Network Policy V3Planes Exclude Er Connection Exclude Er Instance - The list of enterprise routers that will not establish a
connection with each other. The exclude_er_instances structure is the same as the
er_instancesstructure documented above.
- exclude_
er_ list(object)instances - The list of enterprise routers that will not establish a
connection with each other. The exclude_er_instances structure is the same as the
er_instancesstructure documented above.
- exclude
Er List<CcInstances Central Network Policy V3Planes Exclude Er Connection Exclude Er Instance> - The list of enterprise routers that will not establish a
connection with each other. The exclude_er_instances structure is the same as the
er_instancesstructure documented above.
- exclude
Er CcInstances Central Network Policy V3Planes Exclude Er Connection Exclude Er Instance[] - The list of enterprise routers that will not establish a
connection with each other. The exclude_er_instances structure is the same as the
er_instancesstructure documented above.
- exclude_
er_ Sequence[Ccinstances Central Network Policy V3Planes Exclude Er Connection Exclude Er Instance] - The list of enterprise routers that will not establish a
connection with each other. The exclude_er_instances structure is the same as the
er_instancesstructure documented above.
- exclude
Er List<Property Map>Instances - The list of enterprise routers that will not establish a
connection with each other. The exclude_er_instances structure is the same as the
er_instancesstructure documented above.
CcCentralNetworkPolicyV3PlanesExcludeErConnectionExcludeErInstance, CcCentralNetworkPolicyV3PlanesExcludeErConnectionExcludeErInstanceArgs
- Enterprise
Router stringId - The ID of the enterprise router.
- Project
Id string - The project ID of the enterprise router.
- Region
Id string - The region ID of the enterprise router.
- Enterprise
Router stringId - The ID of the enterprise router.
- Project
Id string - The project ID of the enterprise router.
- Region
Id string - The region ID of the enterprise router.
- enterprise_
router_ stringid - The ID of the enterprise router.
- project_
id string - The project ID of the enterprise router.
- region_
id string - The region ID of the enterprise router.
- enterprise
Router StringId - The ID of the enterprise router.
- project
Id String - The project ID of the enterprise router.
- region
Id String - The region ID of the enterprise router.
- enterprise
Router stringId - The ID of the enterprise router.
- project
Id string - The project ID of the enterprise router.
- region
Id string - The region ID of the enterprise router.
- enterprise_
router_ strid - The ID of the enterprise router.
- project_
id str - The project ID of the enterprise router.
- region_
id str - The region ID of the enterprise router.
- enterprise
Router StringId - The ID of the enterprise router.
- project
Id String - The project ID of the enterprise router.
- region
Id String - The region ID of the enterprise router.
Import
The central network policy can be imported using the central_network_id and id (policy ID), separated by a
slash, e.g.
$ pulumi import opentelekomcloud:index/ccCentralNetworkPolicyV3:CcCentralNetworkPolicyV3 test <central_network_id>/<id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
- License
- Notes
- This Pulumi package is based on the
opentelekomcloudTerraform Provider.
published on Thursday, Jul 9, 2026 by opentelekomcloud