1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. CfwDomainNameGroupV1
opentelekomcloud 1.36.38 published on Friday, May 9, 2025 by opentelekomcloud

opentelekomcloud.CfwDomainNameGroupV1

Explore with Pulumi AI

opentelekomcloud logo
opentelekomcloud 1.36.38 published on Friday, May 9, 2025 by opentelekomcloud

    Up-to-date reference of API arguments for CFW domain name group you can get at documentation portal

    Manages a CFW domain name Group resource within OpenTelekomCloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const config = new pulumi.Config();
    const firewallId = config.requireObject("firewallId");
    const objectId = config.requireObject("objectId");
    const group1 = new opentelekomcloud.CfwDomainNameGroupV1("group1", {
        firewallId: firewallId,
        objectId: objectId,
        domainNames: [{
            domainName: "www.testacctf.com",
        }],
    });
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    config = pulumi.Config()
    firewall_id = config.require_object("firewallId")
    object_id = config.require_object("objectId")
    group1 = opentelekomcloud.CfwDomainNameGroupV1("group1",
        firewall_id=firewall_id,
        object_id=object_id,
        domain_names=[{
            "domain_name": "www.testacctf.com",
        }])
    
    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, "")
    		firewallId := cfg.RequireObject("firewallId")
    		objectId := cfg.RequireObject("objectId")
    		_, err := opentelekomcloud.NewCfwDomainNameGroupV1(ctx, "group1", &opentelekomcloud.CfwDomainNameGroupV1Args{
    			FirewallId: pulumi.Any(firewallId),
    			ObjectId:   pulumi.Any(objectId),
    			DomainNames: opentelekomcloud.CfwDomainNameGroupV1DomainNameArray{
    				&opentelekomcloud.CfwDomainNameGroupV1DomainNameArgs{
    					DomainName: pulumi.String("www.testacctf.com"),
    				},
    			},
    		})
    		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 firewallId = config.RequireObject<dynamic>("firewallId");
        var objectId = config.RequireObject<dynamic>("objectId");
        var group1 = new Opentelekomcloud.CfwDomainNameGroupV1("group1", new()
        {
            FirewallId = firewallId,
            ObjectId = objectId,
            DomainNames = new[]
            {
                new Opentelekomcloud.Inputs.CfwDomainNameGroupV1DomainNameArgs
                {
                    DomainName = "www.testacctf.com",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.CfwDomainNameGroupV1;
    import com.pulumi.opentelekomcloud.CfwDomainNameGroupV1Args;
    import com.pulumi.opentelekomcloud.inputs.CfwDomainNameGroupV1DomainNameArgs;
    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 firewallId = config.get("firewallId");
            final var objectId = config.get("objectId");
            var group1 = new CfwDomainNameGroupV1("group1", CfwDomainNameGroupV1Args.builder()
                .firewallId(firewallId)
                .objectId(objectId)
                .domainNames(CfwDomainNameGroupV1DomainNameArgs.builder()
                    .domainName("www.testacctf.com")
                    .build())
                .build());
    
        }
    }
    
    configuration:
      firewallId:
        type: dynamic
      objectId:
        type: dynamic
    resources:
      group1:
        type: opentelekomcloud:CfwDomainNameGroupV1
        properties:
          firewallId: ${firewallId}
          objectId: ${objectId}
          domainNames:
            - domainName: www.testacctf.com
    

    Create CfwDomainNameGroupV1 Resource

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

    Constructor syntax

    new CfwDomainNameGroupV1(name: string, args: CfwDomainNameGroupV1Args, opts?: CustomResourceOptions);
    @overload
    def CfwDomainNameGroupV1(resource_name: str,
                             args: CfwDomainNameGroupV1Args,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def CfwDomainNameGroupV1(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             domain_names: Optional[Sequence[CfwDomainNameGroupV1DomainNameArgs]] = None,
                             firewall_id: Optional[str] = None,
                             object_id: Optional[str] = None,
                             description: Optional[str] = None,
                             domain_set_type: Optional[float] = None,
                             name: Optional[str] = None,
                             timeouts: Optional[CfwDomainNameGroupV1TimeoutsArgs] = None)
    func NewCfwDomainNameGroupV1(ctx *Context, name string, args CfwDomainNameGroupV1Args, opts ...ResourceOption) (*CfwDomainNameGroupV1, error)
    public CfwDomainNameGroupV1(string name, CfwDomainNameGroupV1Args args, CustomResourceOptions? opts = null)
    public CfwDomainNameGroupV1(String name, CfwDomainNameGroupV1Args args)
    public CfwDomainNameGroupV1(String name, CfwDomainNameGroupV1Args args, CustomResourceOptions options)
    
    type: opentelekomcloud:CfwDomainNameGroupV1
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CfwDomainNameGroupV1Args
    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 CfwDomainNameGroupV1Args
    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 CfwDomainNameGroupV1Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CfwDomainNameGroupV1Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CfwDomainNameGroupV1Args
    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 cfwDomainNameGroupV1Resource = new Opentelekomcloud.CfwDomainNameGroupV1("cfwDomainNameGroupV1Resource", new()
    {
        DomainNames = new[]
        {
            new Opentelekomcloud.Inputs.CfwDomainNameGroupV1DomainNameArgs
            {
                DomainName = "string",
                Description = "string",
                DomainAddressId = "string",
            },
        },
        FirewallId = "string",
        ObjectId = "string",
        Description = "string",
        DomainSetType = 0,
        Name = "string",
        Timeouts = new Opentelekomcloud.Inputs.CfwDomainNameGroupV1TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := opentelekomcloud.NewCfwDomainNameGroupV1(ctx, "cfwDomainNameGroupV1Resource", &opentelekomcloud.CfwDomainNameGroupV1Args{
    	DomainNames: opentelekomcloud.CfwDomainNameGroupV1DomainNameArray{
    		&opentelekomcloud.CfwDomainNameGroupV1DomainNameArgs{
    			DomainName:      pulumi.String("string"),
    			Description:     pulumi.String("string"),
    			DomainAddressId: pulumi.String("string"),
    		},
    	},
    	FirewallId:    pulumi.String("string"),
    	ObjectId:      pulumi.String("string"),
    	Description:   pulumi.String("string"),
    	DomainSetType: pulumi.Float64(0),
    	Name:          pulumi.String("string"),
    	Timeouts: &opentelekomcloud.CfwDomainNameGroupV1TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var cfwDomainNameGroupV1Resource = new CfwDomainNameGroupV1("cfwDomainNameGroupV1Resource", CfwDomainNameGroupV1Args.builder()
        .domainNames(CfwDomainNameGroupV1DomainNameArgs.builder()
            .domainName("string")
            .description("string")
            .domainAddressId("string")
            .build())
        .firewallId("string")
        .objectId("string")
        .description("string")
        .domainSetType(0.0)
        .name("string")
        .timeouts(CfwDomainNameGroupV1TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    cfw_domain_name_group_v1_resource = opentelekomcloud.CfwDomainNameGroupV1("cfwDomainNameGroupV1Resource",
        domain_names=[{
            "domain_name": "string",
            "description": "string",
            "domain_address_id": "string",
        }],
        firewall_id="string",
        object_id="string",
        description="string",
        domain_set_type=0,
        name="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const cfwDomainNameGroupV1Resource = new opentelekomcloud.CfwDomainNameGroupV1("cfwDomainNameGroupV1Resource", {
        domainNames: [{
            domainName: "string",
            description: "string",
            domainAddressId: "string",
        }],
        firewallId: "string",
        objectId: "string",
        description: "string",
        domainSetType: 0,
        name: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: opentelekomcloud:CfwDomainNameGroupV1
    properties:
        description: string
        domainNames:
            - description: string
              domainAddressId: string
              domainName: string
        domainSetType: 0
        firewallId: string
        name: string
        objectId: string
        timeouts:
            create: string
            delete: string
            update: string
    

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

    DomainNames List<CfwDomainNameGroupV1DomainName>
    Specifies the domain name information list. The domain_names structure is documented below.
    FirewallId string
    Specifies the Firewall ID.
    ObjectId string
    Specifies the protected object ID, which is used to distinguish between Internet border protection and VPC border protection after a cloud firewall is created. If the value of type is 0, the protected object ID belongs to the Internet border. If the value of type is 1, the protected object ID belongs to the VPC border.
    Description string
    Specifies the domain name description.
    DomainSetType double

    Specifies the domain name group typ: 0 (application domain name group), 1 (network domain name group).

    The domain_names block supports:

    Name string
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    Timeouts CfwDomainNameGroupV1Timeouts
    DomainNames []CfwDomainNameGroupV1DomainNameArgs
    Specifies the domain name information list. The domain_names structure is documented below.
    FirewallId string
    Specifies the Firewall ID.
    ObjectId string
    Specifies the protected object ID, which is used to distinguish between Internet border protection and VPC border protection after a cloud firewall is created. If the value of type is 0, the protected object ID belongs to the Internet border. If the value of type is 1, the protected object ID belongs to the VPC border.
    Description string
    Specifies the domain name description.
    DomainSetType float64

    Specifies the domain name group typ: 0 (application domain name group), 1 (network domain name group).

    The domain_names block supports:

    Name string
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    Timeouts CfwDomainNameGroupV1TimeoutsArgs
    domainNames List<CfwDomainNameGroupV1DomainName>
    Specifies the domain name information list. The domain_names structure is documented below.
    firewallId String
    Specifies the Firewall ID.
    objectId String
    Specifies the protected object ID, which is used to distinguish between Internet border protection and VPC border protection after a cloud firewall is created. If the value of type is 0, the protected object ID belongs to the Internet border. If the value of type is 1, the protected object ID belongs to the VPC border.
    description String
    Specifies the domain name description.
    domainSetType Double

    Specifies the domain name group typ: 0 (application domain name group), 1 (network domain name group).

    The domain_names block supports:

    name String
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    timeouts CfwDomainNameGroupV1Timeouts
    domainNames CfwDomainNameGroupV1DomainName[]
    Specifies the domain name information list. The domain_names structure is documented below.
    firewallId string
    Specifies the Firewall ID.
    objectId string
    Specifies the protected object ID, which is used to distinguish between Internet border protection and VPC border protection after a cloud firewall is created. If the value of type is 0, the protected object ID belongs to the Internet border. If the value of type is 1, the protected object ID belongs to the VPC border.
    description string
    Specifies the domain name description.
    domainSetType number

    Specifies the domain name group typ: 0 (application domain name group), 1 (network domain name group).

    The domain_names block supports:

    name string
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    timeouts CfwDomainNameGroupV1Timeouts
    domain_names Sequence[CfwDomainNameGroupV1DomainNameArgs]
    Specifies the domain name information list. The domain_names structure is documented below.
    firewall_id str
    Specifies the Firewall ID.
    object_id str
    Specifies the protected object ID, which is used to distinguish between Internet border protection and VPC border protection after a cloud firewall is created. If the value of type is 0, the protected object ID belongs to the Internet border. If the value of type is 1, the protected object ID belongs to the VPC border.
    description str
    Specifies the domain name description.
    domain_set_type float

    Specifies the domain name group typ: 0 (application domain name group), 1 (network domain name group).

    The domain_names block supports:

    name str
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    timeouts CfwDomainNameGroupV1TimeoutsArgs
    domainNames List<Property Map>
    Specifies the domain name information list. The domain_names structure is documented below.
    firewallId String
    Specifies the Firewall ID.
    objectId String
    Specifies the protected object ID, which is used to distinguish between Internet border protection and VPC border protection after a cloud firewall is created. If the value of type is 0, the protected object ID belongs to the Internet border. If the value of type is 1, the protected object ID belongs to the VPC border.
    description String
    Specifies the domain name description.
    domainSetType Number

    Specifies the domain name group typ: 0 (application domain name group), 1 (network domain name group).

    The domain_names block supports:

    name String
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    timeouts Property Map

    Outputs

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

    ConfigStatus double
    Indicates the configuration status: -1 (unconfigured), 0 (configuration failed), 1 (configuration succeeded), 2 (configuring), 3 (normal), or 4 (abnormal).
    Id string
    The provider-assigned unique ID for this managed resource.
    RefCount double
    Indicates the number of times a domain name group is referenced by rules.
    Rules List<CfwDomainNameGroupV1Rule>
    Indicates the used rule ID list. The rules structure is as follows:
    ConfigStatus float64
    Indicates the configuration status: -1 (unconfigured), 0 (configuration failed), 1 (configuration succeeded), 2 (configuring), 3 (normal), or 4 (abnormal).
    Id string
    The provider-assigned unique ID for this managed resource.
    RefCount float64
    Indicates the number of times a domain name group is referenced by rules.
    Rules []CfwDomainNameGroupV1Rule
    Indicates the used rule ID list. The rules structure is as follows:
    configStatus Double
    Indicates the configuration status: -1 (unconfigured), 0 (configuration failed), 1 (configuration succeeded), 2 (configuring), 3 (normal), or 4 (abnormal).
    id String
    The provider-assigned unique ID for this managed resource.
    refCount Double
    Indicates the number of times a domain name group is referenced by rules.
    rules List<CfwDomainNameGroupV1Rule>
    Indicates the used rule ID list. The rules structure is as follows:
    configStatus number
    Indicates the configuration status: -1 (unconfigured), 0 (configuration failed), 1 (configuration succeeded), 2 (configuring), 3 (normal), or 4 (abnormal).
    id string
    The provider-assigned unique ID for this managed resource.
    refCount number
    Indicates the number of times a domain name group is referenced by rules.
    rules CfwDomainNameGroupV1Rule[]
    Indicates the used rule ID list. The rules structure is as follows:
    config_status float
    Indicates the configuration status: -1 (unconfigured), 0 (configuration failed), 1 (configuration succeeded), 2 (configuring), 3 (normal), or 4 (abnormal).
    id str
    The provider-assigned unique ID for this managed resource.
    ref_count float
    Indicates the number of times a domain name group is referenced by rules.
    rules Sequence[CfwDomainNameGroupV1Rule]
    Indicates the used rule ID list. The rules structure is as follows:
    configStatus Number
    Indicates the configuration status: -1 (unconfigured), 0 (configuration failed), 1 (configuration succeeded), 2 (configuring), 3 (normal), or 4 (abnormal).
    id String
    The provider-assigned unique ID for this managed resource.
    refCount Number
    Indicates the number of times a domain name group is referenced by rules.
    rules List<Property Map>
    Indicates the used rule ID list. The rules structure is as follows:

    Look up Existing CfwDomainNameGroupV1 Resource

    Get an existing CfwDomainNameGroupV1 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?: CfwDomainNameGroupV1State, opts?: CustomResourceOptions): CfwDomainNameGroupV1
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config_status: Optional[float] = None,
            description: Optional[str] = None,
            domain_names: Optional[Sequence[CfwDomainNameGroupV1DomainNameArgs]] = None,
            domain_set_type: Optional[float] = None,
            firewall_id: Optional[str] = None,
            name: Optional[str] = None,
            object_id: Optional[str] = None,
            ref_count: Optional[float] = None,
            rules: Optional[Sequence[CfwDomainNameGroupV1RuleArgs]] = None,
            timeouts: Optional[CfwDomainNameGroupV1TimeoutsArgs] = None) -> CfwDomainNameGroupV1
    func GetCfwDomainNameGroupV1(ctx *Context, name string, id IDInput, state *CfwDomainNameGroupV1State, opts ...ResourceOption) (*CfwDomainNameGroupV1, error)
    public static CfwDomainNameGroupV1 Get(string name, Input<string> id, CfwDomainNameGroupV1State? state, CustomResourceOptions? opts = null)
    public static CfwDomainNameGroupV1 get(String name, Output<String> id, CfwDomainNameGroupV1State state, CustomResourceOptions options)
    resources:  _:    type: opentelekomcloud:CfwDomainNameGroupV1    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ConfigStatus double
    Indicates the configuration status: -1 (unconfigured), 0 (configuration failed), 1 (configuration succeeded), 2 (configuring), 3 (normal), or 4 (abnormal).
    Description string
    Specifies the domain name description.
    DomainNames List<CfwDomainNameGroupV1DomainName>
    Specifies the domain name information list. The domain_names structure is documented below.
    DomainSetType double

    Specifies the domain name group typ: 0 (application domain name group), 1 (network domain name group).

    The domain_names block supports:

    FirewallId string
    Specifies the Firewall ID.
    Name string
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    ObjectId string
    Specifies the protected object ID, which is used to distinguish between Internet border protection and VPC border protection after a cloud firewall is created. If the value of type is 0, the protected object ID belongs to the Internet border. If the value of type is 1, the protected object ID belongs to the VPC border.
    RefCount double
    Indicates the number of times a domain name group is referenced by rules.
    Rules List<CfwDomainNameGroupV1Rule>
    Indicates the used rule ID list. The rules structure is as follows:
    Timeouts CfwDomainNameGroupV1Timeouts
    ConfigStatus float64
    Indicates the configuration status: -1 (unconfigured), 0 (configuration failed), 1 (configuration succeeded), 2 (configuring), 3 (normal), or 4 (abnormal).
    Description string
    Specifies the domain name description.
    DomainNames []CfwDomainNameGroupV1DomainNameArgs
    Specifies the domain name information list. The domain_names structure is documented below.
    DomainSetType float64

    Specifies the domain name group typ: 0 (application domain name group), 1 (network domain name group).

    The domain_names block supports:

    FirewallId string
    Specifies the Firewall ID.
    Name string
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    ObjectId string
    Specifies the protected object ID, which is used to distinguish between Internet border protection and VPC border protection after a cloud firewall is created. If the value of type is 0, the protected object ID belongs to the Internet border. If the value of type is 1, the protected object ID belongs to the VPC border.
    RefCount float64
    Indicates the number of times a domain name group is referenced by rules.
    Rules []CfwDomainNameGroupV1RuleArgs
    Indicates the used rule ID list. The rules structure is as follows:
    Timeouts CfwDomainNameGroupV1TimeoutsArgs
    configStatus Double
    Indicates the configuration status: -1 (unconfigured), 0 (configuration failed), 1 (configuration succeeded), 2 (configuring), 3 (normal), or 4 (abnormal).
    description String
    Specifies the domain name description.
    domainNames List<CfwDomainNameGroupV1DomainName>
    Specifies the domain name information list. The domain_names structure is documented below.
    domainSetType Double

    Specifies the domain name group typ: 0 (application domain name group), 1 (network domain name group).

    The domain_names block supports:

    firewallId String
    Specifies the Firewall ID.
    name String
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    objectId String
    Specifies the protected object ID, which is used to distinguish between Internet border protection and VPC border protection after a cloud firewall is created. If the value of type is 0, the protected object ID belongs to the Internet border. If the value of type is 1, the protected object ID belongs to the VPC border.
    refCount Double
    Indicates the number of times a domain name group is referenced by rules.
    rules List<CfwDomainNameGroupV1Rule>
    Indicates the used rule ID list. The rules structure is as follows:
    timeouts CfwDomainNameGroupV1Timeouts
    configStatus number
    Indicates the configuration status: -1 (unconfigured), 0 (configuration failed), 1 (configuration succeeded), 2 (configuring), 3 (normal), or 4 (abnormal).
    description string
    Specifies the domain name description.
    domainNames CfwDomainNameGroupV1DomainName[]
    Specifies the domain name information list. The domain_names structure is documented below.
    domainSetType number

    Specifies the domain name group typ: 0 (application domain name group), 1 (network domain name group).

    The domain_names block supports:

    firewallId string
    Specifies the Firewall ID.
    name string
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    objectId string
    Specifies the protected object ID, which is used to distinguish between Internet border protection and VPC border protection after a cloud firewall is created. If the value of type is 0, the protected object ID belongs to the Internet border. If the value of type is 1, the protected object ID belongs to the VPC border.
    refCount number
    Indicates the number of times a domain name group is referenced by rules.
    rules CfwDomainNameGroupV1Rule[]
    Indicates the used rule ID list. The rules structure is as follows:
    timeouts CfwDomainNameGroupV1Timeouts
    config_status float
    Indicates the configuration status: -1 (unconfigured), 0 (configuration failed), 1 (configuration succeeded), 2 (configuring), 3 (normal), or 4 (abnormal).
    description str
    Specifies the domain name description.
    domain_names Sequence[CfwDomainNameGroupV1DomainNameArgs]
    Specifies the domain name information list. The domain_names structure is documented below.
    domain_set_type float

    Specifies the domain name group typ: 0 (application domain name group), 1 (network domain name group).

    The domain_names block supports:

    firewall_id str
    Specifies the Firewall ID.
    name str
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    object_id str
    Specifies the protected object ID, which is used to distinguish between Internet border protection and VPC border protection after a cloud firewall is created. If the value of type is 0, the protected object ID belongs to the Internet border. If the value of type is 1, the protected object ID belongs to the VPC border.
    ref_count float
    Indicates the number of times a domain name group is referenced by rules.
    rules Sequence[CfwDomainNameGroupV1RuleArgs]
    Indicates the used rule ID list. The rules structure is as follows:
    timeouts CfwDomainNameGroupV1TimeoutsArgs
    configStatus Number
    Indicates the configuration status: -1 (unconfigured), 0 (configuration failed), 1 (configuration succeeded), 2 (configuring), 3 (normal), or 4 (abnormal).
    description String
    Specifies the domain name description.
    domainNames List<Property Map>
    Specifies the domain name information list. The domain_names structure is documented below.
    domainSetType Number

    Specifies the domain name group typ: 0 (application domain name group), 1 (network domain name group).

    The domain_names block supports:

    firewallId String
    Specifies the Firewall ID.
    name String
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    objectId String
    Specifies the protected object ID, which is used to distinguish between Internet border protection and VPC border protection after a cloud firewall is created. If the value of type is 0, the protected object ID belongs to the Internet border. If the value of type is 1, the protected object ID belongs to the VPC border.
    refCount Number
    Indicates the number of times a domain name group is referenced by rules.
    rules List<Property Map>
    Indicates the used rule ID list. The rules structure is as follows:
    timeouts Property Map

    Supporting Types

    CfwDomainNameGroupV1DomainName, CfwDomainNameGroupV1DomainNameArgs

    DomainName string
    Specifies the domain name, for example, www.test.com.
    Description string
    Specifies the domain name description.
    DomainAddressId string
    Indicates the domain name ID.
    DomainName string
    Specifies the domain name, for example, www.test.com.
    Description string
    Specifies the domain name description.
    DomainAddressId string
    Indicates the domain name ID.
    domainName String
    Specifies the domain name, for example, www.test.com.
    description String
    Specifies the domain name description.
    domainAddressId String
    Indicates the domain name ID.
    domainName string
    Specifies the domain name, for example, www.test.com.
    description string
    Specifies the domain name description.
    domainAddressId string
    Indicates the domain name ID.
    domain_name str
    Specifies the domain name, for example, www.test.com.
    description str
    Specifies the domain name description.
    domain_address_id str
    Indicates the domain name ID.
    domainName String
    Specifies the domain name, for example, www.test.com.
    description String
    Specifies the domain name description.
    domainAddressId String
    Indicates the domain name ID.

    CfwDomainNameGroupV1Rule, CfwDomainNameGroupV1RuleArgs

    Id string
    Indicates the rule ID.
    Name string
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    Id string
    Indicates the rule ID.
    Name string
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    id String
    Indicates the rule ID.
    name String
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    id string
    Indicates the rule ID.
    name string
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    id str
    Indicates the rule ID.
    name str
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.
    id String
    Indicates the rule ID.
    name String
    Specifies the CFW domain name group name. The CFW domain name group name of the same type is unique in the same firewall.

    CfwDomainNameGroupV1Timeouts, CfwDomainNameGroupV1TimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    CFW Domain name Group V1 resource can be imported using the firewall ID, firewall_id, the object ID, object_id, and the name of the group, name, e.g.

    $ pulumi import opentelekomcloud:index/cfwDomainNameGroupV1:CfwDomainNameGroupV1 group_1 <firewall_id>/<object_id>/<name>
    

    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.
    opentelekomcloud logo
    opentelekomcloud 1.36.38 published on Friday, May 9, 2025 by opentelekomcloud