1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. WafDedicatedInstanceV1
opentelekomcloud 1.36.35 published on Monday, Apr 14, 2025 by opentelekomcloud

opentelekomcloud.WafDedicatedInstanceV1

Explore with Pulumi AI

Up-to-date reference of API arguments for WAF dedicated instance you can get at documentation portal.

Manages a WAF dedicated instance resource within OpenTelekomCloud.

Note: For this resource region must be set in environment variable OS_REGION_NAME or in clouds.yaml

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as opentelekomcloud from "@pulumi/opentelekomcloud";

const sharedSubnet = opentelekomcloud.getVpcSubnetV1({
    name: "my_subnet",
});
const defaultSecgroup = opentelekomcloud.getNetworkingSecgroupV2({
    name: "default",
});
const wafd1 = new opentelekomcloud.WafDedicatedInstanceV1("wafd1", {
    availabilityZone: "eu-de-01",
    specification: "waf.instance.professional",
    flavor: "s2.large.2",
    architecture: "x86",
    vpcId: sharedSubnet.then(sharedSubnet => sharedSubnet.vpcId),
    subnetId: sharedSubnet.then(sharedSubnet => sharedSubnet.networkId),
    securityGroups: [defaultSecgroup.then(defaultSecgroup => defaultSecgroup.id)],
});
Copy
import pulumi
import pulumi_opentelekomcloud as opentelekomcloud

shared_subnet = opentelekomcloud.get_vpc_subnet_v1(name="my_subnet")
default_secgroup = opentelekomcloud.get_networking_secgroup_v2(name="default")
wafd1 = opentelekomcloud.WafDedicatedInstanceV1("wafd1",
    availability_zone="eu-de-01",
    specification="waf.instance.professional",
    flavor="s2.large.2",
    architecture="x86",
    vpc_id=shared_subnet.vpc_id,
    subnet_id=shared_subnet.network_id,
    security_groups=[default_secgroup.id])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		sharedSubnet, err := opentelekomcloud.LookupVpcSubnetV1(ctx, &opentelekomcloud.LookupVpcSubnetV1Args{
			Name: pulumi.StringRef("my_subnet"),
		}, nil)
		if err != nil {
			return err
		}
		defaultSecgroup, err := opentelekomcloud.LookupNetworkingSecgroupV2(ctx, &opentelekomcloud.LookupNetworkingSecgroupV2Args{
			Name: pulumi.StringRef("default"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = opentelekomcloud.NewWafDedicatedInstanceV1(ctx, "wafd1", &opentelekomcloud.WafDedicatedInstanceV1Args{
			AvailabilityZone: pulumi.String("eu-de-01"),
			Specification:    pulumi.String("waf.instance.professional"),
			Flavor:           pulumi.String("s2.large.2"),
			Architecture:     pulumi.String("x86"),
			VpcId:            pulumi.String(sharedSubnet.VpcId),
			SubnetId:         pulumi.String(sharedSubnet.NetworkId),
			SecurityGroups: pulumi.StringArray{
				pulumi.String(defaultSecgroup.Id),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Opentelekomcloud = Pulumi.Opentelekomcloud;

return await Deployment.RunAsync(() => 
{
    var sharedSubnet = Opentelekomcloud.GetVpcSubnetV1.Invoke(new()
    {
        Name = "my_subnet",
    });

    var defaultSecgroup = Opentelekomcloud.GetNetworkingSecgroupV2.Invoke(new()
    {
        Name = "default",
    });

    var wafd1 = new Opentelekomcloud.WafDedicatedInstanceV1("wafd1", new()
    {
        AvailabilityZone = "eu-de-01",
        Specification = "waf.instance.professional",
        Flavor = "s2.large.2",
        Architecture = "x86",
        VpcId = sharedSubnet.Apply(getVpcSubnetV1Result => getVpcSubnetV1Result.VpcId),
        SubnetId = sharedSubnet.Apply(getVpcSubnetV1Result => getVpcSubnetV1Result.NetworkId),
        SecurityGroups = new[]
        {
            defaultSecgroup.Apply(getNetworkingSecgroupV2Result => getNetworkingSecgroupV2Result.Id),
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
import com.pulumi.opentelekomcloud.inputs.GetVpcSubnetV1Args;
import com.pulumi.opentelekomcloud.inputs.GetNetworkingSecgroupV2Args;
import com.pulumi.opentelekomcloud.WafDedicatedInstanceV1;
import com.pulumi.opentelekomcloud.WafDedicatedInstanceV1Args;
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 sharedSubnet = OpentelekomcloudFunctions.getVpcSubnetV1(GetVpcSubnetV1Args.builder()
            .name("my_subnet")
            .build());

        final var defaultSecgroup = OpentelekomcloudFunctions.getNetworkingSecgroupV2(GetNetworkingSecgroupV2Args.builder()
            .name("default")
            .build());

        var wafd1 = new WafDedicatedInstanceV1("wafd1", WafDedicatedInstanceV1Args.builder()
            .availabilityZone("eu-de-01")
            .specification("waf.instance.professional")
            .flavor("s2.large.2")
            .architecture("x86")
            .vpcId(sharedSubnet.applyValue(getVpcSubnetV1Result -> getVpcSubnetV1Result.vpcId()))
            .subnetId(sharedSubnet.applyValue(getVpcSubnetV1Result -> getVpcSubnetV1Result.networkId()))
            .securityGroups(defaultSecgroup.applyValue(getNetworkingSecgroupV2Result -> getNetworkingSecgroupV2Result.id()))
            .build());

    }
}
Copy
resources:
  wafd1:
    type: opentelekomcloud:WafDedicatedInstanceV1
    properties:
      availabilityZone: eu-de-01
      specification: waf.instance.professional
      flavor: s2.large.2
      architecture: x86
      vpcId: ${sharedSubnet.vpcId}
      subnetId: ${sharedSubnet.networkId}
      securityGroups:
        - ${defaultSecgroup.id}
variables:
  sharedSubnet:
    fn::invoke:
      function: opentelekomcloud:getVpcSubnetV1
      arguments:
        name: my_subnet
  defaultSecgroup:
    fn::invoke:
      function: opentelekomcloud:getNetworkingSecgroupV2
      arguments:
        name: default
Copy

Create WafDedicatedInstanceV1 Resource

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

Constructor syntax

new WafDedicatedInstanceV1(name: string, args: WafDedicatedInstanceV1Args, opts?: CustomResourceOptions);
@overload
def WafDedicatedInstanceV1(resource_name: str,
                           args: WafDedicatedInstanceV1Args,
                           opts: Optional[ResourceOptions] = None)

@overload
def WafDedicatedInstanceV1(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           availability_zone: Optional[str] = None,
                           flavor: Optional[str] = None,
                           security_groups: Optional[Sequence[str]] = None,
                           specification: Optional[str] = None,
                           subnet_id: Optional[str] = None,
                           vpc_id: Optional[str] = None,
                           architecture: Optional[str] = None,
                           name: Optional[str] = None,
                           region: Optional[str] = None,
                           res_tenant: Optional[bool] = None,
                           timeouts: Optional[WafDedicatedInstanceV1TimeoutsArgs] = None,
                           waf_dedicated_instance_v1_id: Optional[str] = None)
func NewWafDedicatedInstanceV1(ctx *Context, name string, args WafDedicatedInstanceV1Args, opts ...ResourceOption) (*WafDedicatedInstanceV1, error)
public WafDedicatedInstanceV1(string name, WafDedicatedInstanceV1Args args, CustomResourceOptions? opts = null)
public WafDedicatedInstanceV1(String name, WafDedicatedInstanceV1Args args)
public WafDedicatedInstanceV1(String name, WafDedicatedInstanceV1Args args, CustomResourceOptions options)
type: opentelekomcloud:WafDedicatedInstanceV1
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. WafDedicatedInstanceV1Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. WafDedicatedInstanceV1Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. WafDedicatedInstanceV1Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. WafDedicatedInstanceV1Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. WafDedicatedInstanceV1Args
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 wafDedicatedInstanceV1Resource = new Opentelekomcloud.WafDedicatedInstanceV1("wafDedicatedInstanceV1Resource", new()
{
    AvailabilityZone = "string",
    Flavor = "string",
    SecurityGroups = new[]
    {
        "string",
    },
    Specification = "string",
    SubnetId = "string",
    VpcId = "string",
    Architecture = "string",
    Name = "string",
    Region = "string",
    ResTenant = false,
    Timeouts = new Opentelekomcloud.Inputs.WafDedicatedInstanceV1TimeoutsArgs
    {
        Create = "string",
        Delete = "string",
    },
    WafDedicatedInstanceV1Id = "string",
});
Copy
example, err := opentelekomcloud.NewWafDedicatedInstanceV1(ctx, "wafDedicatedInstanceV1Resource", &opentelekomcloud.WafDedicatedInstanceV1Args{
AvailabilityZone: pulumi.String("string"),
Flavor: pulumi.String("string"),
SecurityGroups: pulumi.StringArray{
pulumi.String("string"),
},
Specification: pulumi.String("string"),
SubnetId: pulumi.String("string"),
VpcId: pulumi.String("string"),
Architecture: pulumi.String("string"),
Name: pulumi.String("string"),
Region: pulumi.String("string"),
ResTenant: pulumi.Bool(false),
Timeouts: &.WafDedicatedInstanceV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
WafDedicatedInstanceV1Id: pulumi.String("string"),
})
Copy
var wafDedicatedInstanceV1Resource = new WafDedicatedInstanceV1("wafDedicatedInstanceV1Resource", WafDedicatedInstanceV1Args.builder()
    .availabilityZone("string")
    .flavor("string")
    .securityGroups("string")
    .specification("string")
    .subnetId("string")
    .vpcId("string")
    .architecture("string")
    .name("string")
    .region("string")
    .resTenant(false)
    .timeouts(WafDedicatedInstanceV1TimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .build())
    .wafDedicatedInstanceV1Id("string")
    .build());
Copy
waf_dedicated_instance_v1_resource = opentelekomcloud.WafDedicatedInstanceV1("wafDedicatedInstanceV1Resource",
    availability_zone="string",
    flavor="string",
    security_groups=["string"],
    specification="string",
    subnet_id="string",
    vpc_id="string",
    architecture="string",
    name="string",
    region="string",
    res_tenant=False,
    timeouts={
        "create": "string",
        "delete": "string",
    },
    waf_dedicated_instance_v1_id="string")
Copy
const wafDedicatedInstanceV1Resource = new opentelekomcloud.WafDedicatedInstanceV1("wafDedicatedInstanceV1Resource", {
    availabilityZone: "string",
    flavor: "string",
    securityGroups: ["string"],
    specification: "string",
    subnetId: "string",
    vpcId: "string",
    architecture: "string",
    name: "string",
    region: "string",
    resTenant: false,
    timeouts: {
        create: "string",
        "delete": "string",
    },
    wafDedicatedInstanceV1Id: "string",
});
Copy
type: opentelekomcloud:WafDedicatedInstanceV1
properties:
    architecture: string
    availabilityZone: string
    flavor: string
    name: string
    region: string
    resTenant: false
    securityGroups:
        - string
    specification: string
    subnetId: string
    timeouts:
        create: string
        delete: string
    vpcId: string
    wafDedicatedInstanceV1Id: string
Copy

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

AvailabilityZone This property is required. string
AZ where the dedicated engine is to be created. Changing this will create a new instance.
Flavor This property is required. string
ID of the specifications of the ECS hosting the dedicated engine. You can go to the management console and confirm supported specifications. Changing this will create a new instance.
SecurityGroups This property is required. List<string>
ID of the security group where the dedicated engine is located. Changing this will create a new instance.
Specification This property is required. string
Specifications of the dedicated engine version. Values are:

  • waf.instance.professional - The professional edition, throughput: 100 Mbit/s; QPS: 2,000 (Reference only).
  • waf.instance.enterprise - The enterprise edition, throughput: 500 Mbit/s; QPS: 10,000 (Reference only).
SubnetId This property is required. string
ID of the VPC subnet where the dedicated engine is located. Subnet_id has the same value as network_id obtained by calling the OpenStack APIs. Changing this will create a new instance.
VpcId This property is required. string
ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
Architecture string
Dedicated engine CPU architecture. Default value is x86. Changing this will create a new instance.
Name string
The name of WAF dedicated instance. Duplicate names are allowed, we suggest to keeping the name unique.
Region string
Region where a dedicated engine is to be created. If omitted, the provider-level region will be used. Changing this setting will create a new instance.
ResTenant bool

Whether the dedicated WAF instance is network interface type. Default value is true. Changing this will create a new instance.

Note: This type of instance is not available in eu-ch2 region, must set res_tenant value to false there.

Timeouts WafDedicatedInstanceV1Timeouts
WafDedicatedInstanceV1Id string
The id of the instance.
AvailabilityZone This property is required. string
AZ where the dedicated engine is to be created. Changing this will create a new instance.
Flavor This property is required. string
ID of the specifications of the ECS hosting the dedicated engine. You can go to the management console and confirm supported specifications. Changing this will create a new instance.
SecurityGroups This property is required. []string
ID of the security group where the dedicated engine is located. Changing this will create a new instance.
Specification This property is required. string
Specifications of the dedicated engine version. Values are:

  • waf.instance.professional - The professional edition, throughput: 100 Mbit/s; QPS: 2,000 (Reference only).
  • waf.instance.enterprise - The enterprise edition, throughput: 500 Mbit/s; QPS: 10,000 (Reference only).
SubnetId This property is required. string
ID of the VPC subnet where the dedicated engine is located. Subnet_id has the same value as network_id obtained by calling the OpenStack APIs. Changing this will create a new instance.
VpcId This property is required. string
ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
Architecture string
Dedicated engine CPU architecture. Default value is x86. Changing this will create a new instance.
Name string
The name of WAF dedicated instance. Duplicate names are allowed, we suggest to keeping the name unique.
Region string
Region where a dedicated engine is to be created. If omitted, the provider-level region will be used. Changing this setting will create a new instance.
ResTenant bool

Whether the dedicated WAF instance is network interface type. Default value is true. Changing this will create a new instance.

Note: This type of instance is not available in eu-ch2 region, must set res_tenant value to false there.

Timeouts WafDedicatedInstanceV1TimeoutsArgs
WafDedicatedInstanceV1Id string
The id of the instance.
availabilityZone This property is required. String
AZ where the dedicated engine is to be created. Changing this will create a new instance.
flavor This property is required. String
ID of the specifications of the ECS hosting the dedicated engine. You can go to the management console and confirm supported specifications. Changing this will create a new instance.
securityGroups This property is required. List<String>
ID of the security group where the dedicated engine is located. Changing this will create a new instance.
specification This property is required. String
Specifications of the dedicated engine version. Values are:

  • waf.instance.professional - The professional edition, throughput: 100 Mbit/s; QPS: 2,000 (Reference only).
  • waf.instance.enterprise - The enterprise edition, throughput: 500 Mbit/s; QPS: 10,000 (Reference only).
subnetId This property is required. String
ID of the VPC subnet where the dedicated engine is located. Subnet_id has the same value as network_id obtained by calling the OpenStack APIs. Changing this will create a new instance.
vpcId This property is required. String
ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
architecture String
Dedicated engine CPU architecture. Default value is x86. Changing this will create a new instance.
name String
The name of WAF dedicated instance. Duplicate names are allowed, we suggest to keeping the name unique.
region String
Region where a dedicated engine is to be created. If omitted, the provider-level region will be used. Changing this setting will create a new instance.
resTenant Boolean

Whether the dedicated WAF instance is network interface type. Default value is true. Changing this will create a new instance.

Note: This type of instance is not available in eu-ch2 region, must set res_tenant value to false there.

timeouts WafDedicatedInstanceV1Timeouts
wafDedicatedInstanceV1Id String
The id of the instance.
availabilityZone This property is required. string
AZ where the dedicated engine is to be created. Changing this will create a new instance.
flavor This property is required. string
ID of the specifications of the ECS hosting the dedicated engine. You can go to the management console and confirm supported specifications. Changing this will create a new instance.
securityGroups This property is required. string[]
ID of the security group where the dedicated engine is located. Changing this will create a new instance.
specification This property is required. string
Specifications of the dedicated engine version. Values are:

  • waf.instance.professional - The professional edition, throughput: 100 Mbit/s; QPS: 2,000 (Reference only).
  • waf.instance.enterprise - The enterprise edition, throughput: 500 Mbit/s; QPS: 10,000 (Reference only).
subnetId This property is required. string
ID of the VPC subnet where the dedicated engine is located. Subnet_id has the same value as network_id obtained by calling the OpenStack APIs. Changing this will create a new instance.
vpcId This property is required. string
ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
architecture string
Dedicated engine CPU architecture. Default value is x86. Changing this will create a new instance.
name string
The name of WAF dedicated instance. Duplicate names are allowed, we suggest to keeping the name unique.
region string
Region where a dedicated engine is to be created. If omitted, the provider-level region will be used. Changing this setting will create a new instance.
resTenant boolean

Whether the dedicated WAF instance is network interface type. Default value is true. Changing this will create a new instance.

Note: This type of instance is not available in eu-ch2 region, must set res_tenant value to false there.

timeouts WafDedicatedInstanceV1Timeouts
wafDedicatedInstanceV1Id string
The id of the instance.
availability_zone This property is required. str
AZ where the dedicated engine is to be created. Changing this will create a new instance.
flavor This property is required. str
ID of the specifications of the ECS hosting the dedicated engine. You can go to the management console and confirm supported specifications. Changing this will create a new instance.
security_groups This property is required. Sequence[str]
ID of the security group where the dedicated engine is located. Changing this will create a new instance.
specification This property is required. str
Specifications of the dedicated engine version. Values are:

  • waf.instance.professional - The professional edition, throughput: 100 Mbit/s; QPS: 2,000 (Reference only).
  • waf.instance.enterprise - The enterprise edition, throughput: 500 Mbit/s; QPS: 10,000 (Reference only).
subnet_id This property is required. str
ID of the VPC subnet where the dedicated engine is located. Subnet_id has the same value as network_id obtained by calling the OpenStack APIs. Changing this will create a new instance.
vpc_id This property is required. str
ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
architecture str
Dedicated engine CPU architecture. Default value is x86. Changing this will create a new instance.
name str
The name of WAF dedicated instance. Duplicate names are allowed, we suggest to keeping the name unique.
region str
Region where a dedicated engine is to be created. If omitted, the provider-level region will be used. Changing this setting will create a new instance.
res_tenant bool

Whether the dedicated WAF instance is network interface type. Default value is true. Changing this will create a new instance.

Note: This type of instance is not available in eu-ch2 region, must set res_tenant value to false there.

timeouts WafDedicatedInstanceV1TimeoutsArgs
waf_dedicated_instance_v1_id str
The id of the instance.
availabilityZone This property is required. String
AZ where the dedicated engine is to be created. Changing this will create a new instance.
flavor This property is required. String
ID of the specifications of the ECS hosting the dedicated engine. You can go to the management console and confirm supported specifications. Changing this will create a new instance.
securityGroups This property is required. List<String>
ID of the security group where the dedicated engine is located. Changing this will create a new instance.
specification This property is required. String
Specifications of the dedicated engine version. Values are:

  • waf.instance.professional - The professional edition, throughput: 100 Mbit/s; QPS: 2,000 (Reference only).
  • waf.instance.enterprise - The enterprise edition, throughput: 500 Mbit/s; QPS: 10,000 (Reference only).
subnetId This property is required. String
ID of the VPC subnet where the dedicated engine is located. Subnet_id has the same value as network_id obtained by calling the OpenStack APIs. Changing this will create a new instance.
vpcId This property is required. String
ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
architecture String
Dedicated engine CPU architecture. Default value is x86. Changing this will create a new instance.
name String
The name of WAF dedicated instance. Duplicate names are allowed, we suggest to keeping the name unique.
region String
Region where a dedicated engine is to be created. If omitted, the provider-level region will be used. Changing this setting will create a new instance.
resTenant Boolean

Whether the dedicated WAF instance is network interface type. Default value is true. Changing this will create a new instance.

Note: This type of instance is not available in eu-ch2 region, must set res_tenant value to false there.

timeouts Property Map
wafDedicatedInstanceV1Id String
The id of the instance.

Outputs

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

AccessStatus double
The access status of the instance.
BillingStatus double
Billing status of dedicated WAF engine. The value can be 0, 1, or 2.
CreatedAt double
Timestamp when the dedicated WAF engine was created.
Id string
The provider-assigned unique ID for this managed resource.
ServerId string
The id of the instance server.
ServiceIp string
The ip of the instance service.
Status double
Running status of the dedicated engine. The value can be:
Upgradable bool
The instance is to support upgrades. false: Cannot be upgraded, true: Can be upgraded.
AccessStatus float64
The access status of the instance.
BillingStatus float64
Billing status of dedicated WAF engine. The value can be 0, 1, or 2.
CreatedAt float64
Timestamp when the dedicated WAF engine was created.
Id string
The provider-assigned unique ID for this managed resource.
ServerId string
The id of the instance server.
ServiceIp string
The ip of the instance service.
Status float64
Running status of the dedicated engine. The value can be:
Upgradable bool
The instance is to support upgrades. false: Cannot be upgraded, true: Can be upgraded.
accessStatus Double
The access status of the instance.
billingStatus Double
Billing status of dedicated WAF engine. The value can be 0, 1, or 2.
createdAt Double
Timestamp when the dedicated WAF engine was created.
id String
The provider-assigned unique ID for this managed resource.
serverId String
The id of the instance server.
serviceIp String
The ip of the instance service.
status Double
Running status of the dedicated engine. The value can be:
upgradable Boolean
The instance is to support upgrades. false: Cannot be upgraded, true: Can be upgraded.
accessStatus number
The access status of the instance.
billingStatus number
Billing status of dedicated WAF engine. The value can be 0, 1, or 2.
createdAt number
Timestamp when the dedicated WAF engine was created.
id string
The provider-assigned unique ID for this managed resource.
serverId string
The id of the instance server.
serviceIp string
The ip of the instance service.
status number
Running status of the dedicated engine. The value can be:
upgradable boolean
The instance is to support upgrades. false: Cannot be upgraded, true: Can be upgraded.
access_status float
The access status of the instance.
billing_status float
Billing status of dedicated WAF engine. The value can be 0, 1, or 2.
created_at float
Timestamp when the dedicated WAF engine was created.
id str
The provider-assigned unique ID for this managed resource.
server_id str
The id of the instance server.
service_ip str
The ip of the instance service.
status float
Running status of the dedicated engine. The value can be:
upgradable bool
The instance is to support upgrades. false: Cannot be upgraded, true: Can be upgraded.
accessStatus Number
The access status of the instance.
billingStatus Number
Billing status of dedicated WAF engine. The value can be 0, 1, or 2.
createdAt Number
Timestamp when the dedicated WAF engine was created.
id String
The provider-assigned unique ID for this managed resource.
serverId String
The id of the instance server.
serviceIp String
The ip of the instance service.
status Number
Running status of the dedicated engine. The value can be:
upgradable Boolean
The instance is to support upgrades. false: Cannot be upgraded, true: Can be upgraded.

Look up Existing WafDedicatedInstanceV1 Resource

Get an existing WafDedicatedInstanceV1 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?: WafDedicatedInstanceV1State, opts?: CustomResourceOptions): WafDedicatedInstanceV1
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        access_status: Optional[float] = None,
        architecture: Optional[str] = None,
        availability_zone: Optional[str] = None,
        billing_status: Optional[float] = None,
        created_at: Optional[float] = None,
        flavor: Optional[str] = None,
        name: Optional[str] = None,
        region: Optional[str] = None,
        res_tenant: Optional[bool] = None,
        security_groups: Optional[Sequence[str]] = None,
        server_id: Optional[str] = None,
        service_ip: Optional[str] = None,
        specification: Optional[str] = None,
        status: Optional[float] = None,
        subnet_id: Optional[str] = None,
        timeouts: Optional[WafDedicatedInstanceV1TimeoutsArgs] = None,
        upgradable: Optional[bool] = None,
        vpc_id: Optional[str] = None,
        waf_dedicated_instance_v1_id: Optional[str] = None) -> WafDedicatedInstanceV1
func GetWafDedicatedInstanceV1(ctx *Context, name string, id IDInput, state *WafDedicatedInstanceV1State, opts ...ResourceOption) (*WafDedicatedInstanceV1, error)
public static WafDedicatedInstanceV1 Get(string name, Input<string> id, WafDedicatedInstanceV1State? state, CustomResourceOptions? opts = null)
public static WafDedicatedInstanceV1 get(String name, Output<String> id, WafDedicatedInstanceV1State state, CustomResourceOptions options)
resources:  _:    type: opentelekomcloud:WafDedicatedInstanceV1    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AccessStatus double
The access status of the instance.
Architecture string
Dedicated engine CPU architecture. Default value is x86. Changing this will create a new instance.
AvailabilityZone string
AZ where the dedicated engine is to be created. Changing this will create a new instance.
BillingStatus double
Billing status of dedicated WAF engine. The value can be 0, 1, or 2.
CreatedAt double
Timestamp when the dedicated WAF engine was created.
Flavor string
ID of the specifications of the ECS hosting the dedicated engine. You can go to the management console and confirm supported specifications. Changing this will create a new instance.
Name string
The name of WAF dedicated instance. Duplicate names are allowed, we suggest to keeping the name unique.
Region string
Region where a dedicated engine is to be created. If omitted, the provider-level region will be used. Changing this setting will create a new instance.
ResTenant bool

Whether the dedicated WAF instance is network interface type. Default value is true. Changing this will create a new instance.

Note: This type of instance is not available in eu-ch2 region, must set res_tenant value to false there.

SecurityGroups List<string>
ID of the security group where the dedicated engine is located. Changing this will create a new instance.
ServerId string
The id of the instance server.
ServiceIp string
The ip of the instance service.
Specification string
Specifications of the dedicated engine version. Values are:

  • waf.instance.professional - The professional edition, throughput: 100 Mbit/s; QPS: 2,000 (Reference only).
  • waf.instance.enterprise - The enterprise edition, throughput: 500 Mbit/s; QPS: 10,000 (Reference only).
Status double
Running status of the dedicated engine. The value can be:
SubnetId string
ID of the VPC subnet where the dedicated engine is located. Subnet_id has the same value as network_id obtained by calling the OpenStack APIs. Changing this will create a new instance.
Timeouts WafDedicatedInstanceV1Timeouts
Upgradable bool
The instance is to support upgrades. false: Cannot be upgraded, true: Can be upgraded.
VpcId string
ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
WafDedicatedInstanceV1Id string
The id of the instance.
AccessStatus float64
The access status of the instance.
Architecture string
Dedicated engine CPU architecture. Default value is x86. Changing this will create a new instance.
AvailabilityZone string
AZ where the dedicated engine is to be created. Changing this will create a new instance.
BillingStatus float64
Billing status of dedicated WAF engine. The value can be 0, 1, or 2.
CreatedAt float64
Timestamp when the dedicated WAF engine was created.
Flavor string
ID of the specifications of the ECS hosting the dedicated engine. You can go to the management console and confirm supported specifications. Changing this will create a new instance.
Name string
The name of WAF dedicated instance. Duplicate names are allowed, we suggest to keeping the name unique.
Region string
Region where a dedicated engine is to be created. If omitted, the provider-level region will be used. Changing this setting will create a new instance.
ResTenant bool

Whether the dedicated WAF instance is network interface type. Default value is true. Changing this will create a new instance.

Note: This type of instance is not available in eu-ch2 region, must set res_tenant value to false there.

SecurityGroups []string
ID of the security group where the dedicated engine is located. Changing this will create a new instance.
ServerId string
The id of the instance server.
ServiceIp string
The ip of the instance service.
Specification string
Specifications of the dedicated engine version. Values are:

  • waf.instance.professional - The professional edition, throughput: 100 Mbit/s; QPS: 2,000 (Reference only).
  • waf.instance.enterprise - The enterprise edition, throughput: 500 Mbit/s; QPS: 10,000 (Reference only).
Status float64
Running status of the dedicated engine. The value can be:
SubnetId string
ID of the VPC subnet where the dedicated engine is located. Subnet_id has the same value as network_id obtained by calling the OpenStack APIs. Changing this will create a new instance.
Timeouts WafDedicatedInstanceV1TimeoutsArgs
Upgradable bool
The instance is to support upgrades. false: Cannot be upgraded, true: Can be upgraded.
VpcId string
ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
WafDedicatedInstanceV1Id string
The id of the instance.
accessStatus Double
The access status of the instance.
architecture String
Dedicated engine CPU architecture. Default value is x86. Changing this will create a new instance.
availabilityZone String
AZ where the dedicated engine is to be created. Changing this will create a new instance.
billingStatus Double
Billing status of dedicated WAF engine. The value can be 0, 1, or 2.
createdAt Double
Timestamp when the dedicated WAF engine was created.
flavor String
ID of the specifications of the ECS hosting the dedicated engine. You can go to the management console and confirm supported specifications. Changing this will create a new instance.
name String
The name of WAF dedicated instance. Duplicate names are allowed, we suggest to keeping the name unique.
region String
Region where a dedicated engine is to be created. If omitted, the provider-level region will be used. Changing this setting will create a new instance.
resTenant Boolean

Whether the dedicated WAF instance is network interface type. Default value is true. Changing this will create a new instance.

Note: This type of instance is not available in eu-ch2 region, must set res_tenant value to false there.

securityGroups List<String>
ID of the security group where the dedicated engine is located. Changing this will create a new instance.
serverId String
The id of the instance server.
serviceIp String
The ip of the instance service.
specification String
Specifications of the dedicated engine version. Values are:

  • waf.instance.professional - The professional edition, throughput: 100 Mbit/s; QPS: 2,000 (Reference only).
  • waf.instance.enterprise - The enterprise edition, throughput: 500 Mbit/s; QPS: 10,000 (Reference only).
status Double
Running status of the dedicated engine. The value can be:
subnetId String
ID of the VPC subnet where the dedicated engine is located. Subnet_id has the same value as network_id obtained by calling the OpenStack APIs. Changing this will create a new instance.
timeouts WafDedicatedInstanceV1Timeouts
upgradable Boolean
The instance is to support upgrades. false: Cannot be upgraded, true: Can be upgraded.
vpcId String
ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
wafDedicatedInstanceV1Id String
The id of the instance.
accessStatus number
The access status of the instance.
architecture string
Dedicated engine CPU architecture. Default value is x86. Changing this will create a new instance.
availabilityZone string
AZ where the dedicated engine is to be created. Changing this will create a new instance.
billingStatus number
Billing status of dedicated WAF engine. The value can be 0, 1, or 2.
createdAt number
Timestamp when the dedicated WAF engine was created.
flavor string
ID of the specifications of the ECS hosting the dedicated engine. You can go to the management console and confirm supported specifications. Changing this will create a new instance.
name string
The name of WAF dedicated instance. Duplicate names are allowed, we suggest to keeping the name unique.
region string
Region where a dedicated engine is to be created. If omitted, the provider-level region will be used. Changing this setting will create a new instance.
resTenant boolean

Whether the dedicated WAF instance is network interface type. Default value is true. Changing this will create a new instance.

Note: This type of instance is not available in eu-ch2 region, must set res_tenant value to false there.

securityGroups string[]
ID of the security group where the dedicated engine is located. Changing this will create a new instance.
serverId string
The id of the instance server.
serviceIp string
The ip of the instance service.
specification string
Specifications of the dedicated engine version. Values are:

  • waf.instance.professional - The professional edition, throughput: 100 Mbit/s; QPS: 2,000 (Reference only).
  • waf.instance.enterprise - The enterprise edition, throughput: 500 Mbit/s; QPS: 10,000 (Reference only).
status number
Running status of the dedicated engine. The value can be:
subnetId string
ID of the VPC subnet where the dedicated engine is located. Subnet_id has the same value as network_id obtained by calling the OpenStack APIs. Changing this will create a new instance.
timeouts WafDedicatedInstanceV1Timeouts
upgradable boolean
The instance is to support upgrades. false: Cannot be upgraded, true: Can be upgraded.
vpcId string
ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
wafDedicatedInstanceV1Id string
The id of the instance.
access_status float
The access status of the instance.
architecture str
Dedicated engine CPU architecture. Default value is x86. Changing this will create a new instance.
availability_zone str
AZ where the dedicated engine is to be created. Changing this will create a new instance.
billing_status float
Billing status of dedicated WAF engine. The value can be 0, 1, or 2.
created_at float
Timestamp when the dedicated WAF engine was created.
flavor str
ID of the specifications of the ECS hosting the dedicated engine. You can go to the management console and confirm supported specifications. Changing this will create a new instance.
name str
The name of WAF dedicated instance. Duplicate names are allowed, we suggest to keeping the name unique.
region str
Region where a dedicated engine is to be created. If omitted, the provider-level region will be used. Changing this setting will create a new instance.
res_tenant bool

Whether the dedicated WAF instance is network interface type. Default value is true. Changing this will create a new instance.

Note: This type of instance is not available in eu-ch2 region, must set res_tenant value to false there.

security_groups Sequence[str]
ID of the security group where the dedicated engine is located. Changing this will create a new instance.
server_id str
The id of the instance server.
service_ip str
The ip of the instance service.
specification str
Specifications of the dedicated engine version. Values are:

  • waf.instance.professional - The professional edition, throughput: 100 Mbit/s; QPS: 2,000 (Reference only).
  • waf.instance.enterprise - The enterprise edition, throughput: 500 Mbit/s; QPS: 10,000 (Reference only).
status float
Running status of the dedicated engine. The value can be:
subnet_id str
ID of the VPC subnet where the dedicated engine is located. Subnet_id has the same value as network_id obtained by calling the OpenStack APIs. Changing this will create a new instance.
timeouts WafDedicatedInstanceV1TimeoutsArgs
upgradable bool
The instance is to support upgrades. false: Cannot be upgraded, true: Can be upgraded.
vpc_id str
ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
waf_dedicated_instance_v1_id str
The id of the instance.
accessStatus Number
The access status of the instance.
architecture String
Dedicated engine CPU architecture. Default value is x86. Changing this will create a new instance.
availabilityZone String
AZ where the dedicated engine is to be created. Changing this will create a new instance.
billingStatus Number
Billing status of dedicated WAF engine. The value can be 0, 1, or 2.
createdAt Number
Timestamp when the dedicated WAF engine was created.
flavor String
ID of the specifications of the ECS hosting the dedicated engine. You can go to the management console and confirm supported specifications. Changing this will create a new instance.
name String
The name of WAF dedicated instance. Duplicate names are allowed, we suggest to keeping the name unique.
region String
Region where a dedicated engine is to be created. If omitted, the provider-level region will be used. Changing this setting will create a new instance.
resTenant Boolean

Whether the dedicated WAF instance is network interface type. Default value is true. Changing this will create a new instance.

Note: This type of instance is not available in eu-ch2 region, must set res_tenant value to false there.

securityGroups List<String>
ID of the security group where the dedicated engine is located. Changing this will create a new instance.
serverId String
The id of the instance server.
serviceIp String
The ip of the instance service.
specification String
Specifications of the dedicated engine version. Values are:

  • waf.instance.professional - The professional edition, throughput: 100 Mbit/s; QPS: 2,000 (Reference only).
  • waf.instance.enterprise - The enterprise edition, throughput: 500 Mbit/s; QPS: 10,000 (Reference only).
status Number
Running status of the dedicated engine. The value can be:
subnetId String
ID of the VPC subnet where the dedicated engine is located. Subnet_id has the same value as network_id obtained by calling the OpenStack APIs. Changing this will create a new instance.
timeouts Property Map
upgradable Boolean
The instance is to support upgrades. false: Cannot be upgraded, true: Can be upgraded.
vpcId String
ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
wafDedicatedInstanceV1Id String
The id of the instance.

Supporting Types

WafDedicatedInstanceV1Timeouts
, WafDedicatedInstanceV1TimeoutsArgs

Create string
Delete string
Create string
Delete string
create String
delete String
create string
delete string
create str
delete str
create String
delete String

Import

WAF dedicated instance can be imported using the id, e.g.

bash

$ pulumi import opentelekomcloud:index/wafDedicatedInstanceV1:WafDedicatedInstanceV1 wafd <id>
Copy

lifecycle {

ignore_changes = [

  res_tenant,

  specification,

]

}

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.