alicloud.waf.Instance
Explore with Pulumi AI
DEPRECATED: This resource has been deprecated and using alicloud.wafv3.Instance instead.
Provides a WAF Instance resource to create instance in the Web Application Firewall.
For information about WAF and how to use it, see What is Alibaba Cloud WAF.
NOTE: Available in 1.83.0+ .
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
export = async () => {
const default = await alicloud.waf.getInstances({});
const defaultInstance: alicloud.waf.Instance[] = [];
for (const range = {value: 0}; range.value < (_default.instances.length > 0 ? 0 : 1); range.value++) {
defaultInstance.push(new alicloud.waf.Instance(`default-${range.value}`, {
bigScreen: "0",
exclusiveIpPackage: "1",
extBandwidth: "50",
extDomainPackage: "1",
packageCode: "version_3",
prefessionalService: "false",
subscriptionType: "Subscription",
period: 1,
wafLog: "false",
logStorage: "3",
logTime: "180",
resourceGroupId: "rs-abc12345",
}));
}
}
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.waf.get_instances()
default_instance = []
for range in [{"value": i} for i in range(0, 0 if len(default.instances) > 0 else 1)]:
default_instance.append(alicloud.waf.Instance(f"default-{range['value']}",
big_screen="0",
exclusive_ip_package="1",
ext_bandwidth="50",
ext_domain_package="1",
package_code="version_3",
prefessional_service="false",
subscription_type="Subscription",
period=1,
waf_log="false",
log_storage="3",
log_time="180",
resource_group_id="rs-abc12345"))
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/waf"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := waf.GetInstances(ctx, nil, nil);
if err != nil {
return err
}
var defaultInstance []*waf.Instance
for index := 0; index < %!v(PANIC=Format method: fatal: A failure has occurred: unlowered conditional expression @ example.pp:4,13-50); index++ {
key0 := index
_ := index
__res, err := waf.NewInstance(ctx, fmt.Sprintf("default-%v", key0), &waf.InstanceArgs{
BigScreen: pulumi.String("0"),
ExclusiveIpPackage: pulumi.String("1"),
ExtBandwidth: pulumi.String("50"),
ExtDomainPackage: pulumi.String("1"),
PackageCode: pulumi.String("version_3"),
PrefessionalService: pulumi.String("false"),
SubscriptionType: pulumi.String("Subscription"),
Period: pulumi.Int(1),
WafLog: pulumi.String("false"),
LogStorage: pulumi.String("3"),
LogTime: pulumi.String("180"),
ResourceGroupId: pulumi.String("rs-abc12345"),
})
if err != nil {
return err
}
defaultInstance = append(defaultInstance, __res)
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(async() =>
{
var @default = await AliCloud.Waf.GetInstances.InvokeAsync();
var defaultInstance = new List<AliCloud.Waf.Instance>();
for (var rangeIndex = 0; rangeIndex < @default.Instances.Length > 0 ? 0 : 1; rangeIndex++)
{
var range = new { Value = rangeIndex };
defaultInstance.Add(new AliCloud.Waf.Instance($"default-{range.Value}", new()
{
BigScreen = "0",
ExclusiveIpPackage = "1",
ExtBandwidth = "50",
ExtDomainPackage = "1",
PackageCode = "version_3",
PrefessionalService = "false",
SubscriptionType = "Subscription",
Period = 1,
WafLog = "false",
LogStorage = "3",
LogTime = "180",
ResourceGroupId = "rs-abc12345",
}));
}
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.waf.WafFunctions;
import com.pulumi.alicloud.waf.inputs.GetInstancesArgs;
import com.pulumi.alicloud.waf.Instance;
import com.pulumi.alicloud.waf.InstanceArgs;
import com.pulumi.codegen.internal.KeyedValue;
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 default = WafFunctions.getInstances();
for (var i = 0; i < default_.instances().length() > 0 ? 0 : 1; i++) {
new Instance("defaultInstance-" + i, InstanceArgs.builder()
.bigScreen("0")
.exclusiveIpPackage("1")
.extBandwidth("50")
.extDomainPackage("1")
.packageCode("version_3")
.prefessionalService("false")
.subscriptionType("Subscription")
.period(1)
.wafLog("false")
.logStorage("3")
.logTime("180")
.resourceGroupId("rs-abc12345")
.build());
}
}
}
resources:
defaultInstance:
type: alicloud:waf:Instance
name: default
properties:
bigScreen: '0'
exclusiveIpPackage: '1'
extBandwidth: '50'
extDomainPackage: '1'
packageCode: version_3
prefessionalService: 'false'
subscriptionType: Subscription
period: 1
wafLog: 'false'
logStorage: '3'
logTime: '180'
resourceGroupId: rs-abc12345
options: {}
variables:
default:
fn::invoke:
Function: alicloud:waf:getInstances
Arguments: {}
Create Instance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
@overload
def Instance(resource_name: str,
args: InstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Instance(resource_name: str,
opts: Optional[ResourceOptions] = None,
subscription_type: Optional[str] = None,
exclusive_ip_package: Optional[str] = None,
ext_bandwidth: Optional[str] = None,
ext_domain_package: Optional[str] = None,
log_storage: Optional[str] = None,
log_time: Optional[str] = None,
waf_log: Optional[str] = None,
package_code: Optional[str] = None,
big_screen: Optional[str] = None,
prefessional_service: Optional[str] = None,
period: Optional[int] = None,
renew_period: Optional[int] = None,
renewal_status: Optional[str] = None,
resource_group_id: Optional[str] = None,
region: Optional[str] = None,
modify_type: Optional[str] = None)
func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: alicloud:waf:Instance
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 InstanceArgs
- 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 InstanceArgs
- 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 InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceArgs
- 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 exampleinstanceResourceResourceFromWafinstance = new AliCloud.Waf.Instance("exampleinstanceResourceResourceFromWafinstance", new()
{
SubscriptionType = "string",
ExclusiveIpPackage = "string",
ExtBandwidth = "string",
ExtDomainPackage = "string",
LogStorage = "string",
LogTime = "string",
WafLog = "string",
PackageCode = "string",
BigScreen = "string",
PrefessionalService = "string",
Period = 0,
RenewPeriod = 0,
RenewalStatus = "string",
ResourceGroupId = "string",
Region = "string",
ModifyType = "string",
});
example, err := waf.NewInstance(ctx, "exampleinstanceResourceResourceFromWafinstance", &waf.InstanceArgs{
SubscriptionType: pulumi.String("string"),
ExclusiveIpPackage: pulumi.String("string"),
ExtBandwidth: pulumi.String("string"),
ExtDomainPackage: pulumi.String("string"),
LogStorage: pulumi.String("string"),
LogTime: pulumi.String("string"),
WafLog: pulumi.String("string"),
PackageCode: pulumi.String("string"),
BigScreen: pulumi.String("string"),
PrefessionalService: pulumi.String("string"),
Period: pulumi.Int(0),
RenewPeriod: pulumi.Int(0),
RenewalStatus: pulumi.String("string"),
ResourceGroupId: pulumi.String("string"),
Region: pulumi.String("string"),
ModifyType: pulumi.String("string"),
})
var exampleinstanceResourceResourceFromWafinstance = new Instance("exampleinstanceResourceResourceFromWafinstance", InstanceArgs.builder()
.subscriptionType("string")
.exclusiveIpPackage("string")
.extBandwidth("string")
.extDomainPackage("string")
.logStorage("string")
.logTime("string")
.wafLog("string")
.packageCode("string")
.bigScreen("string")
.prefessionalService("string")
.period(0)
.renewPeriod(0)
.renewalStatus("string")
.resourceGroupId("string")
.region("string")
.modifyType("string")
.build());
exampleinstance_resource_resource_from_wafinstance = alicloud.waf.Instance("exampleinstanceResourceResourceFromWafinstance",
subscription_type="string",
exclusive_ip_package="string",
ext_bandwidth="string",
ext_domain_package="string",
log_storage="string",
log_time="string",
waf_log="string",
package_code="string",
big_screen="string",
prefessional_service="string",
period=0,
renew_period=0,
renewal_status="string",
resource_group_id="string",
region="string",
modify_type="string")
const exampleinstanceResourceResourceFromWafinstance = new alicloud.waf.Instance("exampleinstanceResourceResourceFromWafinstance", {
subscriptionType: "string",
exclusiveIpPackage: "string",
extBandwidth: "string",
extDomainPackage: "string",
logStorage: "string",
logTime: "string",
wafLog: "string",
packageCode: "string",
bigScreen: "string",
prefessionalService: "string",
period: 0,
renewPeriod: 0,
renewalStatus: "string",
resourceGroupId: "string",
region: "string",
modifyType: "string",
});
type: alicloud:waf:Instance
properties:
bigScreen: string
exclusiveIpPackage: string
extBandwidth: string
extDomainPackage: string
logStorage: string
logTime: string
modifyType: string
packageCode: string
period: 0
prefessionalService: string
region: string
renewPeriod: 0
renewalStatus: string
resourceGroupId: string
subscriptionType: string
wafLog: string
Instance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Instance resource accepts the following input properties:
- Big
Screen string - Specify whether big screen is supported. Valid values: ["0", "1"]. "0" for false and "1" for true.
- Exclusive
Ip stringPackage - Specify the number of exclusive WAF IP addresses.
- Ext
Bandwidth string - The extra bandwidth. Unit: Mbit/s.
- Ext
Domain stringPackage - The number of extra domains.
- Log
Storage string - Log storage size. Unit: T. Valid values: [3, 5, 10, 20, 50].
- Log
Time string - Log storage period. Unit: day. Valid values: [180, 360].
- Package
Code string - Subscription plan:
- China site customers can purchase the following versions of China Mainland region, valid values: ["version_3", "version_4", "version_5"].
- China site customers can purchase the following versions of International region, valid values: ["version_pro_asia", "version_business_asia", "version_enterprise_asia"]
- International site customers can purchase the following versions of China Mainland region: ["version_pro_china", "version_business_china", "version_enterprise_china"]
- International site customers can purchase the following versions of International region: ["version_pro", "version_business", "version_enterprise"].
- Prefessional
Service string - Specify whether professional service is supported. Valid values: ["true", "false"]
- Subscription
Type string - Subscription of WAF service. Valid values: ["Subscription", "PayAsYouGo"].
- Waf
Log string - Specify whether Log service is supported. Valid values: ["true", "false"]
- Modify
Type string - Type of configuration change. Valid value: Upgrade.
- Period int
- Service time of Web Application Firewall.
- Region string
- The instance region ID.
- Renew
Period int - Renewal period of WAF service. Unit: month
- Renewal
Status string - Renewal status of WAF service. Valid values:
- AutoRenewal: The service time of WAF is renewed automatically.
- ManualRenewal (default): The service time of WAF is renewed manually.Specifies whether to configure a Layer-7 proxy, such as Anti-DDoS Pro or CDN, to filter the inbound traffic before it is forwarded to WAF. Valid values: "On" and "Off". Default to "Off".
- Resource
Group stringId - The resource group ID.
- Big
Screen string - Specify whether big screen is supported. Valid values: ["0", "1"]. "0" for false and "1" for true.
- Exclusive
Ip stringPackage - Specify the number of exclusive WAF IP addresses.
- Ext
Bandwidth string - The extra bandwidth. Unit: Mbit/s.
- Ext
Domain stringPackage - The number of extra domains.
- Log
Storage string - Log storage size. Unit: T. Valid values: [3, 5, 10, 20, 50].
- Log
Time string - Log storage period. Unit: day. Valid values: [180, 360].
- Package
Code string - Subscription plan:
- China site customers can purchase the following versions of China Mainland region, valid values: ["version_3", "version_4", "version_5"].
- China site customers can purchase the following versions of International region, valid values: ["version_pro_asia", "version_business_asia", "version_enterprise_asia"]
- International site customers can purchase the following versions of China Mainland region: ["version_pro_china", "version_business_china", "version_enterprise_china"]
- International site customers can purchase the following versions of International region: ["version_pro", "version_business", "version_enterprise"].
- Prefessional
Service string - Specify whether professional service is supported. Valid values: ["true", "false"]
- Subscription
Type string - Subscription of WAF service. Valid values: ["Subscription", "PayAsYouGo"].
- Waf
Log string - Specify whether Log service is supported. Valid values: ["true", "false"]
- Modify
Type string - Type of configuration change. Valid value: Upgrade.
- Period int
- Service time of Web Application Firewall.
- Region string
- The instance region ID.
- Renew
Period int - Renewal period of WAF service. Unit: month
- Renewal
Status string - Renewal status of WAF service. Valid values:
- AutoRenewal: The service time of WAF is renewed automatically.
- ManualRenewal (default): The service time of WAF is renewed manually.Specifies whether to configure a Layer-7 proxy, such as Anti-DDoS Pro or CDN, to filter the inbound traffic before it is forwarded to WAF. Valid values: "On" and "Off". Default to "Off".
- Resource
Group stringId - The resource group ID.
- big
Screen String - Specify whether big screen is supported. Valid values: ["0", "1"]. "0" for false and "1" for true.
- exclusive
Ip StringPackage - Specify the number of exclusive WAF IP addresses.
- ext
Bandwidth String - The extra bandwidth. Unit: Mbit/s.
- ext
Domain StringPackage - The number of extra domains.
- log
Storage String - Log storage size. Unit: T. Valid values: [3, 5, 10, 20, 50].
- log
Time String - Log storage period. Unit: day. Valid values: [180, 360].
- package
Code String - Subscription plan:
- China site customers can purchase the following versions of China Mainland region, valid values: ["version_3", "version_4", "version_5"].
- China site customers can purchase the following versions of International region, valid values: ["version_pro_asia", "version_business_asia", "version_enterprise_asia"]
- International site customers can purchase the following versions of China Mainland region: ["version_pro_china", "version_business_china", "version_enterprise_china"]
- International site customers can purchase the following versions of International region: ["version_pro", "version_business", "version_enterprise"].
- prefessional
Service String - Specify whether professional service is supported. Valid values: ["true", "false"]
- subscription
Type String - Subscription of WAF service. Valid values: ["Subscription", "PayAsYouGo"].
- waf
Log String - Specify whether Log service is supported. Valid values: ["true", "false"]
- modify
Type String - Type of configuration change. Valid value: Upgrade.
- period Integer
- Service time of Web Application Firewall.
- region String
- The instance region ID.
- renew
Period Integer - Renewal period of WAF service. Unit: month
- renewal
Status String - Renewal status of WAF service. Valid values:
- AutoRenewal: The service time of WAF is renewed automatically.
- ManualRenewal (default): The service time of WAF is renewed manually.Specifies whether to configure a Layer-7 proxy, such as Anti-DDoS Pro or CDN, to filter the inbound traffic before it is forwarded to WAF. Valid values: "On" and "Off". Default to "Off".
- resource
Group StringId - The resource group ID.
- big
Screen string - Specify whether big screen is supported. Valid values: ["0", "1"]. "0" for false and "1" for true.
- exclusive
Ip stringPackage - Specify the number of exclusive WAF IP addresses.
- ext
Bandwidth string - The extra bandwidth. Unit: Mbit/s.
- ext
Domain stringPackage - The number of extra domains.
- log
Storage string - Log storage size. Unit: T. Valid values: [3, 5, 10, 20, 50].
- log
Time string - Log storage period. Unit: day. Valid values: [180, 360].
- package
Code string - Subscription plan:
- China site customers can purchase the following versions of China Mainland region, valid values: ["version_3", "version_4", "version_5"].
- China site customers can purchase the following versions of International region, valid values: ["version_pro_asia", "version_business_asia", "version_enterprise_asia"]
- International site customers can purchase the following versions of China Mainland region: ["version_pro_china", "version_business_china", "version_enterprise_china"]
- International site customers can purchase the following versions of International region: ["version_pro", "version_business", "version_enterprise"].
- prefessional
Service string - Specify whether professional service is supported. Valid values: ["true", "false"]
- subscription
Type string - Subscription of WAF service. Valid values: ["Subscription", "PayAsYouGo"].
- waf
Log string - Specify whether Log service is supported. Valid values: ["true", "false"]
- modify
Type string - Type of configuration change. Valid value: Upgrade.
- period number
- Service time of Web Application Firewall.
- region string
- The instance region ID.
- renew
Period number - Renewal period of WAF service. Unit: month
- renewal
Status string - Renewal status of WAF service. Valid values:
- AutoRenewal: The service time of WAF is renewed automatically.
- ManualRenewal (default): The service time of WAF is renewed manually.Specifies whether to configure a Layer-7 proxy, such as Anti-DDoS Pro or CDN, to filter the inbound traffic before it is forwarded to WAF. Valid values: "On" and "Off". Default to "Off".
- resource
Group stringId - The resource group ID.
- big_
screen str - Specify whether big screen is supported. Valid values: ["0", "1"]. "0" for false and "1" for true.
- exclusive_
ip_ strpackage - Specify the number of exclusive WAF IP addresses.
- ext_
bandwidth str - The extra bandwidth. Unit: Mbit/s.
- ext_
domain_ strpackage - The number of extra domains.
- log_
storage str - Log storage size. Unit: T. Valid values: [3, 5, 10, 20, 50].
- log_
time str - Log storage period. Unit: day. Valid values: [180, 360].
- package_
code str - Subscription plan:
- China site customers can purchase the following versions of China Mainland region, valid values: ["version_3", "version_4", "version_5"].
- China site customers can purchase the following versions of International region, valid values: ["version_pro_asia", "version_business_asia", "version_enterprise_asia"]
- International site customers can purchase the following versions of China Mainland region: ["version_pro_china", "version_business_china", "version_enterprise_china"]
- International site customers can purchase the following versions of International region: ["version_pro", "version_business", "version_enterprise"].
- prefessional_
service str - Specify whether professional service is supported. Valid values: ["true", "false"]
- subscription_
type str - Subscription of WAF service. Valid values: ["Subscription", "PayAsYouGo"].
- waf_
log str - Specify whether Log service is supported. Valid values: ["true", "false"]
- modify_
type str - Type of configuration change. Valid value: Upgrade.
- period int
- Service time of Web Application Firewall.
- region str
- The instance region ID.
- renew_
period int - Renewal period of WAF service. Unit: month
- renewal_
status str - Renewal status of WAF service. Valid values:
- AutoRenewal: The service time of WAF is renewed automatically.
- ManualRenewal (default): The service time of WAF is renewed manually.Specifies whether to configure a Layer-7 proxy, such as Anti-DDoS Pro or CDN, to filter the inbound traffic before it is forwarded to WAF. Valid values: "On" and "Off". Default to "Off".
- resource_
group_ strid - The resource group ID.
- big
Screen String - Specify whether big screen is supported. Valid values: ["0", "1"]. "0" for false and "1" for true.
- exclusive
Ip StringPackage - Specify the number of exclusive WAF IP addresses.
- ext
Bandwidth String - The extra bandwidth. Unit: Mbit/s.
- ext
Domain StringPackage - The number of extra domains.
- log
Storage String - Log storage size. Unit: T. Valid values: [3, 5, 10, 20, 50].
- log
Time String - Log storage period. Unit: day. Valid values: [180, 360].
- package
Code String - Subscription plan:
- China site customers can purchase the following versions of China Mainland region, valid values: ["version_3", "version_4", "version_5"].
- China site customers can purchase the following versions of International region, valid values: ["version_pro_asia", "version_business_asia", "version_enterprise_asia"]
- International site customers can purchase the following versions of China Mainland region: ["version_pro_china", "version_business_china", "version_enterprise_china"]
- International site customers can purchase the following versions of International region: ["version_pro", "version_business", "version_enterprise"].
- prefessional
Service String - Specify whether professional service is supported. Valid values: ["true", "false"]
- subscription
Type String - Subscription of WAF service. Valid values: ["Subscription", "PayAsYouGo"].
- waf
Log String - Specify whether Log service is supported. Valid values: ["true", "false"]
- modify
Type String - Type of configuration change. Valid value: Upgrade.
- period Number
- Service time of Web Application Firewall.
- region String
- The instance region ID.
- renew
Period Number - Renewal period of WAF service. Unit: month
- renewal
Status String - Renewal status of WAF service. Valid values:
- AutoRenewal: The service time of WAF is renewed automatically.
- ManualRenewal (default): The service time of WAF is renewed manually.Specifies whether to configure a Layer-7 proxy, such as Anti-DDoS Pro or CDN, to filter the inbound traffic before it is forwarded to WAF. Valid values: "On" and "Off". Default to "Off".
- resource
Group StringId - The resource group ID.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
Look up Existing Instance Resource
Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
big_screen: Optional[str] = None,
exclusive_ip_package: Optional[str] = None,
ext_bandwidth: Optional[str] = None,
ext_domain_package: Optional[str] = None,
log_storage: Optional[str] = None,
log_time: Optional[str] = None,
modify_type: Optional[str] = None,
package_code: Optional[str] = None,
period: Optional[int] = None,
prefessional_service: Optional[str] = None,
region: Optional[str] = None,
renew_period: Optional[int] = None,
renewal_status: Optional[str] = None,
resource_group_id: Optional[str] = None,
status: Optional[int] = None,
subscription_type: Optional[str] = None,
waf_log: Optional[str] = None) -> Instance
func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Big
Screen string - Specify whether big screen is supported. Valid values: ["0", "1"]. "0" for false and "1" for true.
- Exclusive
Ip stringPackage - Specify the number of exclusive WAF IP addresses.
- Ext
Bandwidth string - The extra bandwidth. Unit: Mbit/s.
- Ext
Domain stringPackage - The number of extra domains.
- Log
Storage string - Log storage size. Unit: T. Valid values: [3, 5, 10, 20, 50].
- Log
Time string - Log storage period. Unit: day. Valid values: [180, 360].
- Modify
Type string - Type of configuration change. Valid value: Upgrade.
- Package
Code string - Subscription plan:
- China site customers can purchase the following versions of China Mainland region, valid values: ["version_3", "version_4", "version_5"].
- China site customers can purchase the following versions of International region, valid values: ["version_pro_asia", "version_business_asia", "version_enterprise_asia"]
- International site customers can purchase the following versions of China Mainland region: ["version_pro_china", "version_business_china", "version_enterprise_china"]
- International site customers can purchase the following versions of International region: ["version_pro", "version_business", "version_enterprise"].
- Period int
- Service time of Web Application Firewall.
- Prefessional
Service string - Specify whether professional service is supported. Valid values: ["true", "false"]
- Region string
- The instance region ID.
- Renew
Period int - Renewal period of WAF service. Unit: month
- Renewal
Status string - Renewal status of WAF service. Valid values:
- AutoRenewal: The service time of WAF is renewed automatically.
- ManualRenewal (default): The service time of WAF is renewed manually.Specifies whether to configure a Layer-7 proxy, such as Anti-DDoS Pro or CDN, to filter the inbound traffic before it is forwarded to WAF. Valid values: "On" and "Off". Default to "Off".
- Resource
Group stringId - The resource group ID.
- Status int
- The status of the instance.
- Subscription
Type string - Subscription of WAF service. Valid values: ["Subscription", "PayAsYouGo"].
- Waf
Log string - Specify whether Log service is supported. Valid values: ["true", "false"]
- Big
Screen string - Specify whether big screen is supported. Valid values: ["0", "1"]. "0" for false and "1" for true.
- Exclusive
Ip stringPackage - Specify the number of exclusive WAF IP addresses.
- Ext
Bandwidth string - The extra bandwidth. Unit: Mbit/s.
- Ext
Domain stringPackage - The number of extra domains.
- Log
Storage string - Log storage size. Unit: T. Valid values: [3, 5, 10, 20, 50].
- Log
Time string - Log storage period. Unit: day. Valid values: [180, 360].
- Modify
Type string - Type of configuration change. Valid value: Upgrade.
- Package
Code string - Subscription plan:
- China site customers can purchase the following versions of China Mainland region, valid values: ["version_3", "version_4", "version_5"].
- China site customers can purchase the following versions of International region, valid values: ["version_pro_asia", "version_business_asia", "version_enterprise_asia"]
- International site customers can purchase the following versions of China Mainland region: ["version_pro_china", "version_business_china", "version_enterprise_china"]
- International site customers can purchase the following versions of International region: ["version_pro", "version_business", "version_enterprise"].
- Period int
- Service time of Web Application Firewall.
- Prefessional
Service string - Specify whether professional service is supported. Valid values: ["true", "false"]
- Region string
- The instance region ID.
- Renew
Period int - Renewal period of WAF service. Unit: month
- Renewal
Status string - Renewal status of WAF service. Valid values:
- AutoRenewal: The service time of WAF is renewed automatically.
- ManualRenewal (default): The service time of WAF is renewed manually.Specifies whether to configure a Layer-7 proxy, such as Anti-DDoS Pro or CDN, to filter the inbound traffic before it is forwarded to WAF. Valid values: "On" and "Off". Default to "Off".
- Resource
Group stringId - The resource group ID.
- Status int
- The status of the instance.
- Subscription
Type string - Subscription of WAF service. Valid values: ["Subscription", "PayAsYouGo"].
- Waf
Log string - Specify whether Log service is supported. Valid values: ["true", "false"]
- big
Screen String - Specify whether big screen is supported. Valid values: ["0", "1"]. "0" for false and "1" for true.
- exclusive
Ip StringPackage - Specify the number of exclusive WAF IP addresses.
- ext
Bandwidth String - The extra bandwidth. Unit: Mbit/s.
- ext
Domain StringPackage - The number of extra domains.
- log
Storage String - Log storage size. Unit: T. Valid values: [3, 5, 10, 20, 50].
- log
Time String - Log storage period. Unit: day. Valid values: [180, 360].
- modify
Type String - Type of configuration change. Valid value: Upgrade.
- package
Code String - Subscription plan:
- China site customers can purchase the following versions of China Mainland region, valid values: ["version_3", "version_4", "version_5"].
- China site customers can purchase the following versions of International region, valid values: ["version_pro_asia", "version_business_asia", "version_enterprise_asia"]
- International site customers can purchase the following versions of China Mainland region: ["version_pro_china", "version_business_china", "version_enterprise_china"]
- International site customers can purchase the following versions of International region: ["version_pro", "version_business", "version_enterprise"].
- period Integer
- Service time of Web Application Firewall.
- prefessional
Service String - Specify whether professional service is supported. Valid values: ["true", "false"]
- region String
- The instance region ID.
- renew
Period Integer - Renewal period of WAF service. Unit: month
- renewal
Status String - Renewal status of WAF service. Valid values:
- AutoRenewal: The service time of WAF is renewed automatically.
- ManualRenewal (default): The service time of WAF is renewed manually.Specifies whether to configure a Layer-7 proxy, such as Anti-DDoS Pro or CDN, to filter the inbound traffic before it is forwarded to WAF. Valid values: "On" and "Off". Default to "Off".
- resource
Group StringId - The resource group ID.
- status Integer
- The status of the instance.
- subscription
Type String - Subscription of WAF service. Valid values: ["Subscription", "PayAsYouGo"].
- waf
Log String - Specify whether Log service is supported. Valid values: ["true", "false"]
- big
Screen string - Specify whether big screen is supported. Valid values: ["0", "1"]. "0" for false and "1" for true.
- exclusive
Ip stringPackage - Specify the number of exclusive WAF IP addresses.
- ext
Bandwidth string - The extra bandwidth. Unit: Mbit/s.
- ext
Domain stringPackage - The number of extra domains.
- log
Storage string - Log storage size. Unit: T. Valid values: [3, 5, 10, 20, 50].
- log
Time string - Log storage period. Unit: day. Valid values: [180, 360].
- modify
Type string - Type of configuration change. Valid value: Upgrade.
- package
Code string - Subscription plan:
- China site customers can purchase the following versions of China Mainland region, valid values: ["version_3", "version_4", "version_5"].
- China site customers can purchase the following versions of International region, valid values: ["version_pro_asia", "version_business_asia", "version_enterprise_asia"]
- International site customers can purchase the following versions of China Mainland region: ["version_pro_china", "version_business_china", "version_enterprise_china"]
- International site customers can purchase the following versions of International region: ["version_pro", "version_business", "version_enterprise"].
- period number
- Service time of Web Application Firewall.
- prefessional
Service string - Specify whether professional service is supported. Valid values: ["true", "false"]
- region string
- The instance region ID.
- renew
Period number - Renewal period of WAF service. Unit: month
- renewal
Status string - Renewal status of WAF service. Valid values:
- AutoRenewal: The service time of WAF is renewed automatically.
- ManualRenewal (default): The service time of WAF is renewed manually.Specifies whether to configure a Layer-7 proxy, such as Anti-DDoS Pro or CDN, to filter the inbound traffic before it is forwarded to WAF. Valid values: "On" and "Off". Default to "Off".
- resource
Group stringId - The resource group ID.
- status number
- The status of the instance.
- subscription
Type string - Subscription of WAF service. Valid values: ["Subscription", "PayAsYouGo"].
- waf
Log string - Specify whether Log service is supported. Valid values: ["true", "false"]
- big_
screen str - Specify whether big screen is supported. Valid values: ["0", "1"]. "0" for false and "1" for true.
- exclusive_
ip_ strpackage - Specify the number of exclusive WAF IP addresses.
- ext_
bandwidth str - The extra bandwidth. Unit: Mbit/s.
- ext_
domain_ strpackage - The number of extra domains.
- log_
storage str - Log storage size. Unit: T. Valid values: [3, 5, 10, 20, 50].
- log_
time str - Log storage period. Unit: day. Valid values: [180, 360].
- modify_
type str - Type of configuration change. Valid value: Upgrade.
- package_
code str - Subscription plan:
- China site customers can purchase the following versions of China Mainland region, valid values: ["version_3", "version_4", "version_5"].
- China site customers can purchase the following versions of International region, valid values: ["version_pro_asia", "version_business_asia", "version_enterprise_asia"]
- International site customers can purchase the following versions of China Mainland region: ["version_pro_china", "version_business_china", "version_enterprise_china"]
- International site customers can purchase the following versions of International region: ["version_pro", "version_business", "version_enterprise"].
- period int
- Service time of Web Application Firewall.
- prefessional_
service str - Specify whether professional service is supported. Valid values: ["true", "false"]
- region str
- The instance region ID.
- renew_
period int - Renewal period of WAF service. Unit: month
- renewal_
status str - Renewal status of WAF service. Valid values:
- AutoRenewal: The service time of WAF is renewed automatically.
- ManualRenewal (default): The service time of WAF is renewed manually.Specifies whether to configure a Layer-7 proxy, such as Anti-DDoS Pro or CDN, to filter the inbound traffic before it is forwarded to WAF. Valid values: "On" and "Off". Default to "Off".
- resource_
group_ strid - The resource group ID.
- status int
- The status of the instance.
- subscription_
type str - Subscription of WAF service. Valid values: ["Subscription", "PayAsYouGo"].
- waf_
log str - Specify whether Log service is supported. Valid values: ["true", "false"]
- big
Screen String - Specify whether big screen is supported. Valid values: ["0", "1"]. "0" for false and "1" for true.
- exclusive
Ip StringPackage - Specify the number of exclusive WAF IP addresses.
- ext
Bandwidth String - The extra bandwidth. Unit: Mbit/s.
- ext
Domain StringPackage - The number of extra domains.
- log
Storage String - Log storage size. Unit: T. Valid values: [3, 5, 10, 20, 50].
- log
Time String - Log storage period. Unit: day. Valid values: [180, 360].
- modify
Type String - Type of configuration change. Valid value: Upgrade.
- package
Code String - Subscription plan:
- China site customers can purchase the following versions of China Mainland region, valid values: ["version_3", "version_4", "version_5"].
- China site customers can purchase the following versions of International region, valid values: ["version_pro_asia", "version_business_asia", "version_enterprise_asia"]
- International site customers can purchase the following versions of China Mainland region: ["version_pro_china", "version_business_china", "version_enterprise_china"]
- International site customers can purchase the following versions of International region: ["version_pro", "version_business", "version_enterprise"].
- period Number
- Service time of Web Application Firewall.
- prefessional
Service String - Specify whether professional service is supported. Valid values: ["true", "false"]
- region String
- The instance region ID.
- renew
Period Number - Renewal period of WAF service. Unit: month
- renewal
Status String - Renewal status of WAF service. Valid values:
- AutoRenewal: The service time of WAF is renewed automatically.
- ManualRenewal (default): The service time of WAF is renewed manually.Specifies whether to configure a Layer-7 proxy, such as Anti-DDoS Pro or CDN, to filter the inbound traffic before it is forwarded to WAF. Valid values: "On" and "Off". Default to "Off".
- resource
Group StringId - The resource group ID.
- status Number
- The status of the instance.
- subscription
Type String - Subscription of WAF service. Valid values: ["Subscription", "PayAsYouGo"].
- waf
Log String - Specify whether Log service is supported. Valid values: ["true", "false"]
Import
WAF instance can be imported using the id, e.g.
$ pulumi import alicloud:waf/instance:Instance default waf-cn-132435
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.