opentelekomcloud.CfwDomainNameGroupV1
Explore with Pulumi AI
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:
- Domain
Names List<CfwDomain Name Group V1Domain Name> - Specifies the domain name information list. The domain_names structure is documented below.
- Firewall
Id string - Specifies the Firewall ID.
- Object
Id 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.
- Domain
Set doubleType 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
Cfw
Domain Name Group V1Timeouts
- Domain
Names []CfwDomain Name Group V1Domain Name Args - Specifies the domain name information list. The domain_names structure is documented below.
- Firewall
Id string - Specifies the Firewall ID.
- Object
Id 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.
- Domain
Set float64Type 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
Cfw
Domain Name Group V1Timeouts Args
- domain
Names List<CfwDomain Name Group V1Domain Name> - Specifies the domain name information list. The domain_names structure is documented below.
- firewall
Id String - Specifies the Firewall ID.
- object
Id 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.
- domain
Set DoubleType 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
Cfw
Domain Name Group V1Timeouts
- domain
Names CfwDomain Name Group V1Domain Name[] - Specifies the domain name information list. The domain_names structure is documented below.
- firewall
Id string - Specifies the Firewall ID.
- object
Id 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.
- domain
Set numberType 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
Cfw
Domain Name Group V1Timeouts
- domain_
names Sequence[CfwDomain Name Group V1Domain Name Args] - 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_ floattype 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
Cfw
Domain Name Group V1Timeouts Args
- domain
Names List<Property Map> - Specifies the domain name information list. The domain_names structure is documented below.
- firewall
Id String - Specifies the Firewall ID.
- object
Id 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.
- domain
Set NumberType 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:
- Config
Status double - Indicates the configuration status:
-1
(unconfigured),0
(configuration failed),1
(configuration succeeded),2
(configuring), 3 (normal), or4
(abnormal). - Id string
- The provider-assigned unique ID for this managed resource.
- Ref
Count double - Indicates the number of times a domain name group is referenced by rules.
- Rules
List<Cfw
Domain Name Group V1Rule> - Indicates the used rule ID list. The
rules
structure is as follows:
- Config
Status float64 - Indicates the configuration status:
-1
(unconfigured),0
(configuration failed),1
(configuration succeeded),2
(configuring), 3 (normal), or4
(abnormal). - Id string
- The provider-assigned unique ID for this managed resource.
- Ref
Count float64 - Indicates the number of times a domain name group is referenced by rules.
- Rules
[]Cfw
Domain Name Group V1Rule - Indicates the used rule ID list. The
rules
structure is as follows:
- config
Status Double - Indicates the configuration status:
-1
(unconfigured),0
(configuration failed),1
(configuration succeeded),2
(configuring), 3 (normal), or4
(abnormal). - id String
- The provider-assigned unique ID for this managed resource.
- ref
Count Double - Indicates the number of times a domain name group is referenced by rules.
- rules
List<Cfw
Domain Name Group V1Rule> - Indicates the used rule ID list. The
rules
structure is as follows:
- config
Status number - Indicates the configuration status:
-1
(unconfigured),0
(configuration failed),1
(configuration succeeded),2
(configuring), 3 (normal), or4
(abnormal). - id string
- The provider-assigned unique ID for this managed resource.
- ref
Count number - Indicates the number of times a domain name group is referenced by rules.
- rules
Cfw
Domain Name Group V1Rule[] - 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), or4
(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[Cfw
Domain Name Group V1Rule] - Indicates the used rule ID list. The
rules
structure is as follows:
- config
Status Number - Indicates the configuration status:
-1
(unconfigured),0
(configuration failed),1
(configuration succeeded),2
(configuring), 3 (normal), or4
(abnormal). - id String
- The provider-assigned unique ID for this managed resource.
- ref
Count 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.
- Config
Status double - Indicates the configuration status:
-1
(unconfigured),0
(configuration failed),1
(configuration succeeded),2
(configuring), 3 (normal), or4
(abnormal). - Description string
- Specifies the domain name description.
- Domain
Names List<CfwDomain Name Group V1Domain Name> - Specifies the domain name information list. The domain_names structure is documented below.
- Domain
Set doubleType Specifies the domain name group typ:
0
(application domain name group),1
(network domain name group).The
domain_names
block supports:- Firewall
Id 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.
- Object
Id 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.
- Ref
Count double - Indicates the number of times a domain name group is referenced by rules.
- Rules
List<Cfw
Domain Name Group V1Rule> - Indicates the used rule ID list. The
rules
structure is as follows: - Timeouts
Cfw
Domain Name Group V1Timeouts
- Config
Status float64 - Indicates the configuration status:
-1
(unconfigured),0
(configuration failed),1
(configuration succeeded),2
(configuring), 3 (normal), or4
(abnormal). - Description string
- Specifies the domain name description.
- Domain
Names []CfwDomain Name Group V1Domain Name Args - Specifies the domain name information list. The domain_names structure is documented below.
- Domain
Set float64Type Specifies the domain name group typ:
0
(application domain name group),1
(network domain name group).The
domain_names
block supports:- Firewall
Id 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.
- Object
Id 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.
- Ref
Count float64 - Indicates the number of times a domain name group is referenced by rules.
- Rules
[]Cfw
Domain Name Group V1Rule Args - Indicates the used rule ID list. The
rules
structure is as follows: - Timeouts
Cfw
Domain Name Group V1Timeouts Args
- config
Status Double - Indicates the configuration status:
-1
(unconfigured),0
(configuration failed),1
(configuration succeeded),2
(configuring), 3 (normal), or4
(abnormal). - description String
- Specifies the domain name description.
- domain
Names List<CfwDomain Name Group V1Domain Name> - Specifies the domain name information list. The domain_names structure is documented below.
- domain
Set DoubleType Specifies the domain name group typ:
0
(application domain name group),1
(network domain name group).The
domain_names
block supports:- firewall
Id 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.
- object
Id 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.
- ref
Count Double - Indicates the number of times a domain name group is referenced by rules.
- rules
List<Cfw
Domain Name Group V1Rule> - Indicates the used rule ID list. The
rules
structure is as follows: - timeouts
Cfw
Domain Name Group V1Timeouts
- config
Status number - Indicates the configuration status:
-1
(unconfigured),0
(configuration failed),1
(configuration succeeded),2
(configuring), 3 (normal), or4
(abnormal). - description string
- Specifies the domain name description.
- domain
Names CfwDomain Name Group V1Domain Name[] - Specifies the domain name information list. The domain_names structure is documented below.
- domain
Set numberType Specifies the domain name group typ:
0
(application domain name group),1
(network domain name group).The
domain_names
block supports:- firewall
Id 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.
- object
Id 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.
- ref
Count number - Indicates the number of times a domain name group is referenced by rules.
- rules
Cfw
Domain Name Group V1Rule[] - Indicates the used rule ID list. The
rules
structure is as follows: - timeouts
Cfw
Domain Name Group V1Timeouts
- config_
status float - Indicates the configuration status:
-1
(unconfigured),0
(configuration failed),1
(configuration succeeded),2
(configuring), 3 (normal), or4
(abnormal). - description str
- Specifies the domain name description.
- domain_
names Sequence[CfwDomain Name Group V1Domain Name Args] - Specifies the domain name information list. The domain_names structure is documented below.
- domain_
set_ floattype 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[Cfw
Domain Name Group V1Rule Args] - Indicates the used rule ID list. The
rules
structure is as follows: - timeouts
Cfw
Domain Name Group V1Timeouts Args
- config
Status Number - Indicates the configuration status:
-1
(unconfigured),0
(configuration failed),1
(configuration succeeded),2
(configuring), 3 (normal), or4
(abnormal). - description String
- Specifies the domain name description.
- domain
Names List<Property Map> - Specifies the domain name information list. The domain_names structure is documented below.
- domain
Set NumberType Specifies the domain name group typ:
0
(application domain name group),1
(network domain name group).The
domain_names
block supports:- firewall
Id 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.
- object
Id 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.
- ref
Count 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
- Domain
Name string - Specifies the domain name, for example, www.test.com.
- Description string
- Specifies the domain name description.
- Domain
Address stringId - Indicates the domain name ID.
- Domain
Name string - Specifies the domain name, for example, www.test.com.
- Description string
- Specifies the domain name description.
- Domain
Address stringId - Indicates the domain name ID.
- domain
Name String - Specifies the domain name, for example, www.test.com.
- description String
- Specifies the domain name description.
- domain
Address StringId - Indicates the domain name ID.
- domain
Name string - Specifies the domain name, for example, www.test.com.
- description string
- Specifies the domain name description.
- domain
Address stringId - 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_ strid - Indicates the domain name ID.
- domain
Name String - Specifies the domain name, for example, www.test.com.
- description String
- Specifies the domain name description.
- domain
Address StringId - Indicates the domain name ID.
CfwDomainNameGroupV1Rule, CfwDomainNameGroupV1RuleArgs
CfwDomainNameGroupV1Timeouts, CfwDomainNameGroupV1TimeoutsArgs
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.