1. Packages
  2. Packages
  3. Opentelekomcloud Provider
  4. API Docs
  5. CcCentralNetworkPolicyV3
Viewing docs for opentelekomcloud 1.37.2
published on Thursday, Jul 23, 2026 by opentelekomcloud
Viewing docs for opentelekomcloud 1.37.2
published on Thursday, Jul 23, 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:

    CentralNetworkId string
    The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
    CcCentralNetworkPolicyV3Id string
    The resource ID in UUID format. Equal to the central network policy ID.
    ErInstances List<CcCentralNetworkPolicyV3ErInstance>
    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 CcCentralNetworkPolicyV3Planes

    The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.

    The er_instances block supports:

    CentralNetworkId string
    The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
    CcCentralNetworkPolicyV3Id string
    The resource ID in UUID format. Equal to the central network policy ID.
    ErInstances []CcCentralNetworkPolicyV3ErInstanceArgs
    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 CcCentralNetworkPolicyV3PlanesArgs

    The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.

    The er_instances block supports:

    central_network_id string
    The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
    cc_central_network_policy_v3_id string
    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_instances block supports:

    centralNetworkId String
    The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
    ccCentralNetworkPolicyV3Id String
    The resource ID in UUID format. Equal to the central network policy ID.
    erInstances List<CcCentralNetworkPolicyV3ErInstance>
    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 CcCentralNetworkPolicyV3Planes

    The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.

    The er_instances block supports:

    centralNetworkId string
    The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
    ccCentralNetworkPolicyV3Id string
    The resource ID in UUID format. Equal to the central network policy ID.
    erInstances CcCentralNetworkPolicyV3ErInstance[]
    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 CcCentralNetworkPolicyV3Planes

    The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.

    The er_instances block supports:

    central_network_id str
    The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
    cc_central_network_policy_v3_id str
    The resource ID in UUID format. Equal to the central network policy ID.
    er_instances Sequence[CcCentralNetworkPolicyV3ErInstanceArgs]
    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 CcCentralNetworkPolicyV3PlanesArgs

    The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.

    The er_instances block supports:

    centralNetworkId String
    The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
    ccCentralNetworkPolicyV3Id String
    The resource ID in UUID format. Equal to the central network policy ID.
    erInstances 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_instances block supports:

    Outputs

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

    DocumentTemplateVersion string
    The version of the central network policy document template.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsApplied 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.
    DocumentTemplateVersion string
    The version of the central network policy document template.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsApplied 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_version string
    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.
    documentTemplateVersion String
    The version of the central network policy document template.
    id String
    The provider-assigned unique ID for this managed resource.
    isApplied 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.
    documentTemplateVersion string
    The version of the central network policy document template.
    id string
    The provider-assigned unique ID for this managed resource.
    isApplied 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_version str
    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.
    documentTemplateVersion String
    The version of the central network policy document template.
    id String
    The provider-assigned unique ID for this managed resource.
    isApplied 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) -> CcCentralNetworkPolicyV3
    func 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.
    The following state arguments are supported:
    CcCentralNetworkPolicyV3Id string
    The resource ID in UUID format. Equal to the central network policy ID.
    CentralNetworkId string
    The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
    DocumentTemplateVersion string
    The version of the central network policy document template.
    ErInstances List<CcCentralNetworkPolicyV3ErInstance>
    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.
    IsApplied bool
    Whether the central network policy is applied.
    Planes CcCentralNetworkPolicyV3Planes

    The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.

    The er_instances block 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.
    CcCentralNetworkPolicyV3Id string
    The resource ID in UUID format. Equal to the central network policy ID.
    CentralNetworkId string
    The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
    DocumentTemplateVersion string
    The version of the central network policy document template.
    ErInstances []CcCentralNetworkPolicyV3ErInstanceArgs
    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.
    IsApplied bool
    Whether the central network policy is applied.
    Planes CcCentralNetworkPolicyV3PlanesArgs

    The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.

    The er_instances block 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_network_policy_v3_id string
    The resource ID in UUID format. Equal to the central network policy ID.
    central_network_id string
    The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
    document_template_version string
    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_instances block 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.
    ccCentralNetworkPolicyV3Id String
    The resource ID in UUID format. Equal to the central network policy ID.
    centralNetworkId String
    The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
    documentTemplateVersion String
    The version of the central network policy document template.
    erInstances List<CcCentralNetworkPolicyV3ErInstance>
    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.
    isApplied Boolean
    Whether the central network policy is applied.
    planes CcCentralNetworkPolicyV3Planes

    The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.

    The er_instances block 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.
    ccCentralNetworkPolicyV3Id string
    The resource ID in UUID format. Equal to the central network policy ID.
    centralNetworkId string
    The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
    documentTemplateVersion string
    The version of the central network policy document template.
    erInstances CcCentralNetworkPolicyV3ErInstance[]
    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.
    isApplied boolean
    Whether the central network policy is applied.
    planes CcCentralNetworkPolicyV3Planes

    The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.

    The er_instances block 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_network_policy_v3_id str
    The resource ID in UUID format. Equal to the central network policy ID.
    central_network_id str
    The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
    document_template_version str
    The version of the central network policy document template.
    er_instances Sequence[CcCentralNetworkPolicyV3ErInstanceArgs]
    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 CcCentralNetworkPolicyV3PlanesArgs

    The list of the central network policy planes. Changing this parameter will create a new resource. The planes structure is documented below.

    The er_instances block 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.
    ccCentralNetworkPolicyV3Id String
    The resource ID in UUID format. Equal to the central network policy ID.
    centralNetworkId String
    The ID of the central network the policy belongs to. Changing this parameter will create a new resource.
    documentTemplateVersion String
    The version of the central network policy document template.
    erInstances 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.
    isApplied 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_instances block 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

    EnterpriseRouterId string
    The ID of the enterprise router.
    ProjectId string
    The project ID of the enterprise router.
    RegionId string
    The region ID of the enterprise router.
    EnterpriseRouterId string
    The ID of the enterprise router.
    ProjectId string
    The project ID of the enterprise router.
    RegionId string
    The region ID of the enterprise router.
    enterprise_router_id string
    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.
    enterpriseRouterId String
    The ID of the enterprise router.
    projectId String
    The project ID of the enterprise router.
    regionId String
    The region ID of the enterprise router.
    enterpriseRouterId string
    The ID of the enterprise router.
    projectId string
    The project ID of the enterprise router.
    regionId string
    The region ID of the enterprise router.
    enterprise_router_id str
    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.
    enterpriseRouterId String
    The ID of the enterprise router.
    projectId String
    The project ID of the enterprise router.
    regionId String
    The region ID of the enterprise router.

    CcCentralNetworkPolicyV3Planes, CcCentralNetworkPolicyV3PlanesArgs

    AssociateErTables List<CcCentralNetworkPolicyV3PlanesAssociateErTable>
    The list of route tables associated with the central network policy. The associate_er_tables structure is documented below.
    ExcludeErConnections List<CcCentralNetworkPolicyV3PlanesExcludeErConnection>

    The list of the enterprise router connections excluded from the central network policy. The exclude_er_connections structure is documented below.

    The associate_er_tables block supports:

    AssociateErTables []CcCentralNetworkPolicyV3PlanesAssociateErTable
    The list of route tables associated with the central network policy. The associate_er_tables structure is documented below.
    ExcludeErConnections []CcCentralNetworkPolicyV3PlanesExcludeErConnection

    The list of the enterprise router connections excluded from the central network policy. The exclude_er_connections structure is documented below.

    The associate_er_tables block supports:

    associate_er_tables list(object)
    The list of route tables associated with the central network policy. The associate_er_tables structure is documented below.
    exclude_er_connections list(object)

    The list of the enterprise router connections excluded from the central network policy. The exclude_er_connections structure is documented below.

    The associate_er_tables block supports:

    associateErTables List<CcCentralNetworkPolicyV3PlanesAssociateErTable>
    The list of route tables associated with the central network policy. The associate_er_tables structure is documented below.
    excludeErConnections List<CcCentralNetworkPolicyV3PlanesExcludeErConnection>

    The list of the enterprise router connections excluded from the central network policy. The exclude_er_connections structure is documented below.

    The associate_er_tables block supports:

    associateErTables CcCentralNetworkPolicyV3PlanesAssociateErTable[]
    The list of route tables associated with the central network policy. The associate_er_tables structure is documented below.
    excludeErConnections CcCentralNetworkPolicyV3PlanesExcludeErConnection[]

    The list of the enterprise router connections excluded from the central network policy. The exclude_er_connections structure is documented below.

    The associate_er_tables block supports:

    associate_er_tables Sequence[CcCentralNetworkPolicyV3PlanesAssociateErTable]
    The list of route tables associated with the central network policy. The associate_er_tables structure is documented below.
    exclude_er_connections Sequence[CcCentralNetworkPolicyV3PlanesExcludeErConnection]

    The list of the enterprise router connections excluded from the central network policy. The exclude_er_connections structure is documented below.

    The associate_er_tables block supports:

    associateErTables List<Property Map>
    The list of route tables associated with the central network policy. The associate_er_tables structure is documented below.
    excludeErConnections List<Property Map>

    The list of the enterprise router connections excluded from the central network policy. The exclude_er_connections structure is documented below.

    The associate_er_tables block supports:

    CcCentralNetworkPolicyV3PlanesAssociateErTable, CcCentralNetworkPolicyV3PlanesAssociateErTableArgs

    EnterpriseRouterId string
    The ID of the enterprise router.
    EnterpriseRouterTableId string

    The ID of the enterprise router route table.

    The exclude_er_connections block supports:

    ProjectId string
    The project ID of the enterprise router.
    RegionId string
    The region ID of the enterprise router.
    EnterpriseRouterId string
    The ID of the enterprise router.
    EnterpriseRouterTableId string

    The ID of the enterprise router route table.

    The exclude_er_connections block supports:

    ProjectId string
    The project ID of the enterprise router.
    RegionId string
    The region ID of the enterprise router.
    enterprise_router_id string
    The ID of the enterprise router.
    enterprise_router_table_id string

    The ID of the enterprise router route table.

    The exclude_er_connections block supports:

    project_id string
    The project ID of the enterprise router.
    region_id string
    The region ID of the enterprise router.
    enterpriseRouterId String
    The ID of the enterprise router.
    enterpriseRouterTableId String

    The ID of the enterprise router route table.

    The exclude_er_connections block supports:

    projectId String
    The project ID of the enterprise router.
    regionId String
    The region ID of the enterprise router.
    enterpriseRouterId string
    The ID of the enterprise router.
    enterpriseRouterTableId string

    The ID of the enterprise router route table.

    The exclude_er_connections block supports:

    projectId string
    The project ID of the enterprise router.
    regionId string
    The region ID of the enterprise router.
    enterprise_router_id str
    The ID of the enterprise router.
    enterprise_router_table_id str

    The ID of the enterprise router route table.

    The exclude_er_connections block supports:

    project_id str
    The project ID of the enterprise router.
    region_id str
    The region ID of the enterprise router.
    enterpriseRouterId String
    The ID of the enterprise router.
    enterpriseRouterTableId String

    The ID of the enterprise router route table.

    The exclude_er_connections block supports:

    projectId String
    The project ID of the enterprise router.
    regionId String
    The region ID of the enterprise router.

    CcCentralNetworkPolicyV3PlanesExcludeErConnection, CcCentralNetworkPolicyV3PlanesExcludeErConnectionArgs

    ExcludeErInstances List<CcCentralNetworkPolicyV3PlanesExcludeErConnectionExcludeErInstance>
    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_instances structure documented above.
    ExcludeErInstances []CcCentralNetworkPolicyV3PlanesExcludeErConnectionExcludeErInstance
    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_instances structure documented above.
    exclude_er_instances list(object)
    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_instances structure documented above.
    excludeErInstances List<CcCentralNetworkPolicyV3PlanesExcludeErConnectionExcludeErInstance>
    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_instances structure documented above.
    excludeErInstances CcCentralNetworkPolicyV3PlanesExcludeErConnectionExcludeErInstance[]
    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_instances structure documented above.
    exclude_er_instances Sequence[CcCentralNetworkPolicyV3PlanesExcludeErConnectionExcludeErInstance]
    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_instances structure documented above.
    excludeErInstances List<Property Map>
    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_instances structure documented above.

    CcCentralNetworkPolicyV3PlanesExcludeErConnectionExcludeErInstance, CcCentralNetworkPolicyV3PlanesExcludeErConnectionExcludeErInstanceArgs

    EnterpriseRouterId string
    The ID of the enterprise router.
    ProjectId string
    The project ID of the enterprise router.
    RegionId string
    The region ID of the enterprise router.
    EnterpriseRouterId string
    The ID of the enterprise router.
    ProjectId string
    The project ID of the enterprise router.
    RegionId string
    The region ID of the enterprise router.
    enterprise_router_id string
    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.
    enterpriseRouterId String
    The ID of the enterprise router.
    projectId String
    The project ID of the enterprise router.
    regionId String
    The region ID of the enterprise router.
    enterpriseRouterId string
    The ID of the enterprise router.
    projectId string
    The project ID of the enterprise router.
    regionId string
    The region ID of the enterprise router.
    enterprise_router_id str
    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.
    enterpriseRouterId String
    The ID of the enterprise router.
    projectId String
    The project ID of the enterprise router.
    regionId 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 opentelekomcloud Terraform Provider.
    Viewing docs for opentelekomcloud 1.37.2
    published on Thursday, Jul 23, 2026 by opentelekomcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial