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 inclouds.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)],
});
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])
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
})
}
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),
},
});
});
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());
}
}
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
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 string
- The unique name of the resource.
- args WafDedicatedInstanceV1Args
- 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 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 string
- The unique name of the resource.
- args WafDedicatedInstanceV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WafDedicatedInstanceV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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: &opentelekomcloud.WafDedicatedInstanceV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
WafDedicatedInstanceV1Id: pulumi.String("string"),
})
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());
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")
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",
});
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
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:
- Availability
Zone string - AZ where the dedicated engine is to be created. Changing this will create a new instance.
- 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.
- Security
Groups List<string> - ID of the security group where the dedicated engine is located. Changing this will create a new instance.
- 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).
- Subnet
Id 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.
- Vpc
Id 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.
- 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 setres_tenant
value tofalse
there.- Timeouts
Waf
Dedicated Instance V1Timeouts - Waf
Dedicated stringInstance V1Id - The id of the instance.
- Availability
Zone string - AZ where the dedicated engine is to be created. Changing this will create a new instance.
- 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.
- Security
Groups []string - ID of the security group where the dedicated engine is located. Changing this will create a new instance.
- 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).
- Subnet
Id 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.
- Vpc
Id 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.
- 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 setres_tenant
value tofalse
there.- Timeouts
Waf
Dedicated Instance V1Timeouts Args - Waf
Dedicated stringInstance V1Id - The id of the instance.
- availability
Zone String - AZ where the dedicated engine is to be created. Changing this will create a new instance.
- 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.
- security
Groups List<String> - ID of the security group where the dedicated engine is located. Changing this will create a new instance.
- 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).
- subnet
Id 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.
- vpc
Id 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.
- res
Tenant 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 setres_tenant
value tofalse
there.- timeouts
Waf
Dedicated Instance V1Timeouts - waf
Dedicated StringInstance V1Id - The id of the instance.
- availability
Zone string - AZ where the dedicated engine is to be created. Changing this will create a new instance.
- 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.
- security
Groups string[] - ID of the security group where the dedicated engine is located. Changing this will create a new instance.
- 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).
- subnet
Id 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.
- vpc
Id 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.
- res
Tenant 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 setres_tenant
value tofalse
there.- timeouts
Waf
Dedicated Instance V1Timeouts - waf
Dedicated stringInstance V1Id - The id of the instance.
- availability_
zone str - AZ where the dedicated engine is to be created. Changing this will create a new instance.
- 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.
- security_
groups Sequence[str] - ID of the security group where the dedicated engine is located. Changing this will create a new instance.
- 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).
- 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.
- vpc_
id 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 setres_tenant
value tofalse
there.- timeouts
Waf
Dedicated Instance V1Timeouts Args - waf_
dedicated_ strinstance_ v1_ id - The id of the instance.
- availability
Zone String - AZ where the dedicated engine is to be created. Changing this will create a new instance.
- 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.
- security
Groups List<String> - ID of the security group where the dedicated engine is located. Changing this will create a new instance.
- 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).
- subnet
Id 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.
- vpc
Id 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.
- res
Tenant 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 setres_tenant
value tofalse
there.- timeouts Property Map
- waf
Dedicated StringInstance V1Id - The id of the instance.
Outputs
All input properties are implicitly available as output properties. Additionally, the WafDedicatedInstanceV1 resource produces the following output properties:
- Access
Status double - The access status of the instance.
- Billing
Status double - Billing status of dedicated WAF engine. The value can be
0
,1
, or2
. - Created
At double - Timestamp when the dedicated WAF engine was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Server
Id string - The id of the instance server.
- Service
Ip 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.
- Access
Status float64 - The access status of the instance.
- Billing
Status float64 - Billing status of dedicated WAF engine. The value can be
0
,1
, or2
. - Created
At float64 - Timestamp when the dedicated WAF engine was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Server
Id string - The id of the instance server.
- Service
Ip 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.
- access
Status Double - The access status of the instance.
- billing
Status Double - Billing status of dedicated WAF engine. The value can be
0
,1
, or2
. - created
At Double - Timestamp when the dedicated WAF engine was created.
- id String
- The provider-assigned unique ID for this managed resource.
- server
Id String - The id of the instance server.
- service
Ip 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.
- access
Status number - The access status of the instance.
- billing
Status number - Billing status of dedicated WAF engine. The value can be
0
,1
, or2
. - created
At number - Timestamp when the dedicated WAF engine was created.
- id string
- The provider-assigned unique ID for this managed resource.
- server
Id string - The id of the instance server.
- service
Ip 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
, or2
. - 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.
- access
Status Number - The access status of the instance.
- billing
Status Number - Billing status of dedicated WAF engine. The value can be
0
,1
, or2
. - created
At Number - Timestamp when the dedicated WAF engine was created.
- id String
- The provider-assigned unique ID for this managed resource.
- server
Id String - The id of the instance server.
- service
Ip 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
- 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.
- Access
Status double - The access status of the instance.
- Architecture string
- Dedicated engine CPU architecture. Default value is
x86
. Changing this will create a new instance. - Availability
Zone string - AZ where the dedicated engine is to be created. Changing this will create a new instance.
- Billing
Status double - Billing status of dedicated WAF engine. The value can be
0
,1
, or2
. - Created
At 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.
- 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 setres_tenant
value tofalse
there.- Security
Groups List<string> - ID of the security group where the dedicated engine is located. Changing this will create a new instance.
- Server
Id string - The id of the instance server.
- Service
Ip 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:
- Subnet
Id 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
Waf
Dedicated Instance V1Timeouts - Upgradable bool
- The instance is to support upgrades.
false
: Cannot be upgraded,true
: Can be upgraded. - Vpc
Id string - ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
- Waf
Dedicated stringInstance V1Id - The id of the instance.
- Access
Status float64 - The access status of the instance.
- Architecture string
- Dedicated engine CPU architecture. Default value is
x86
. Changing this will create a new instance. - Availability
Zone string - AZ where the dedicated engine is to be created. Changing this will create a new instance.
- Billing
Status float64 - Billing status of dedicated WAF engine. The value can be
0
,1
, or2
. - Created
At 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.
- 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 setres_tenant
value tofalse
there.- Security
Groups []string - ID of the security group where the dedicated engine is located. Changing this will create a new instance.
- Server
Id string - The id of the instance server.
- Service
Ip 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:
- Subnet
Id 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
Waf
Dedicated Instance V1Timeouts Args - Upgradable bool
- The instance is to support upgrades.
false
: Cannot be upgraded,true
: Can be upgraded. - Vpc
Id string - ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
- Waf
Dedicated stringInstance V1Id - The id of the instance.
- access
Status Double - The access status of the instance.
- architecture String
- Dedicated engine CPU architecture. Default value is
x86
. Changing this will create a new instance. - availability
Zone String - AZ where the dedicated engine is to be created. Changing this will create a new instance.
- billing
Status Double - Billing status of dedicated WAF engine. The value can be
0
,1
, or2
. - created
At 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.
- res
Tenant 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 setres_tenant
value tofalse
there.- security
Groups List<String> - ID of the security group where the dedicated engine is located. Changing this will create a new instance.
- server
Id String - The id of the instance server.
- service
Ip 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:
- subnet
Id 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
Waf
Dedicated Instance V1Timeouts - upgradable Boolean
- The instance is to support upgrades.
false
: Cannot be upgraded,true
: Can be upgraded. - vpc
Id String - ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
- waf
Dedicated StringInstance V1Id - The id of the instance.
- access
Status number - The access status of the instance.
- architecture string
- Dedicated engine CPU architecture. Default value is
x86
. Changing this will create a new instance. - availability
Zone string - AZ where the dedicated engine is to be created. Changing this will create a new instance.
- billing
Status number - Billing status of dedicated WAF engine. The value can be
0
,1
, or2
. - created
At 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.
- res
Tenant 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 setres_tenant
value tofalse
there.- security
Groups string[] - ID of the security group where the dedicated engine is located. Changing this will create a new instance.
- server
Id string - The id of the instance server.
- service
Ip 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:
- subnet
Id 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
Waf
Dedicated Instance V1Timeouts - upgradable boolean
- The instance is to support upgrades.
false
: Cannot be upgraded,true
: Can be upgraded. - vpc
Id string - ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
- waf
Dedicated stringInstance V1Id - 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
, or2
. - 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 setres_tenant
value tofalse
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
Waf
Dedicated Instance V1Timeouts Args - 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_ strinstance_ v1_ id - The id of the instance.
- access
Status Number - The access status of the instance.
- architecture String
- Dedicated engine CPU architecture. Default value is
x86
. Changing this will create a new instance. - availability
Zone String - AZ where the dedicated engine is to be created. Changing this will create a new instance.
- billing
Status Number - Billing status of dedicated WAF engine. The value can be
0
,1
, or2
. - created
At 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.
- res
Tenant 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 setres_tenant
value tofalse
there.- security
Groups List<String> - ID of the security group where the dedicated engine is located. Changing this will create a new instance.
- server
Id String - The id of the instance server.
- service
Ip 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:
- subnet
Id 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. - vpc
Id String - ID of the VPC where the dedicated engine is located. Changing this will create a new instance.
- waf
Dedicated StringInstance V1Id - The id of the instance.
Supporting Types
WafDedicatedInstanceV1Timeouts, WafDedicatedInstanceV1TimeoutsArgs
Import
WAF dedicated instance can be imported using the id
, e.g.
bash
$ pulumi import opentelekomcloud:index/wafDedicatedInstanceV1:WafDedicatedInstanceV1 wafd <id>
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.