Provides a Cloud Firewall Instance V2 resource.
Cloud Firewall instance.
For information about Cloud Firewall Instance V2 and how to use it, see What is Instance V2.
NOTE: Available since v1.269.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const _default = new alicloud.cloudfirewall.InstanceV2("default", {
paymentType: "PayAsYouGo",
productCode: "cfw",
productType: "cfw_elasticity_public_cn",
spec: "payg_version",
});
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.cloudfirewall.InstanceV2("default",
payment_type="PayAsYouGo",
product_code="cfw",
product_type="cfw_elasticity_public_cn",
spec="payg_version")
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cloudfirewall"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudfirewall.NewInstanceV2(ctx, "default", &cloudfirewall.InstanceV2Args{
PaymentType: pulumi.String("PayAsYouGo"),
ProductCode: pulumi.String("cfw"),
ProductType: pulumi.String("cfw_elasticity_public_cn"),
Spec: pulumi.String("payg_version"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = new AliCloud.CloudFirewall.InstanceV2("default", new()
{
PaymentType = "PayAsYouGo",
ProductCode = "cfw",
ProductType = "cfw_elasticity_public_cn",
Spec = "payg_version",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cloudfirewall.InstanceV2;
import com.pulumi.alicloud.cloudfirewall.InstanceV2Args;
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) {
var default_ = new InstanceV2("default", InstanceV2Args.builder()
.paymentType("PayAsYouGo")
.productCode("cfw")
.productType("cfw_elasticity_public_cn")
.spec("payg_version")
.build());
}
}
resources:
default:
type: alicloud:cloudfirewall:InstanceV2
properties:
paymentType: PayAsYouGo
productCode: cfw
productType: cfw_elasticity_public_cn
spec: payg_version
📚 Need more examples? VIEW MORE EXAMPLES
Create InstanceV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InstanceV2(name: string, args: InstanceV2Args, opts?: CustomResourceOptions);@overload
def InstanceV2(resource_name: str,
args: InstanceV2Args,
opts: Optional[ResourceOptions] = None)
@overload
def InstanceV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
payment_type: Optional[str] = None,
product_code: Optional[str] = None,
product_type: Optional[str] = None,
spec: Optional[str] = None,
cfw_log: Optional[bool] = None,
modify_type: Optional[str] = None,
period: Optional[int] = None,
renewal_duration: Optional[int] = None,
renewal_duration_unit: Optional[str] = None,
renewal_status: Optional[str] = None,
sdl: Optional[bool] = None)func NewInstanceV2(ctx *Context, name string, args InstanceV2Args, opts ...ResourceOption) (*InstanceV2, error)public InstanceV2(string name, InstanceV2Args args, CustomResourceOptions? opts = null)
public InstanceV2(String name, InstanceV2Args args)
public InstanceV2(String name, InstanceV2Args args, CustomResourceOptions options)
type: alicloud:cloudfirewall:InstanceV2
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 InstanceV2Args
- 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 InstanceV2Args
- 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 InstanceV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceV2Args
- 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 instanceV2Resource = new AliCloud.CloudFirewall.InstanceV2("instanceV2Resource", new()
{
PaymentType = "string",
ProductCode = "string",
ProductType = "string",
Spec = "string",
CfwLog = false,
ModifyType = "string",
Period = 0,
RenewalDuration = 0,
RenewalDurationUnit = "string",
RenewalStatus = "string",
Sdl = false,
});
example, err := cloudfirewall.NewInstanceV2(ctx, "instanceV2Resource", &cloudfirewall.InstanceV2Args{
PaymentType: pulumi.String("string"),
ProductCode: pulumi.String("string"),
ProductType: pulumi.String("string"),
Spec: pulumi.String("string"),
CfwLog: pulumi.Bool(false),
ModifyType: pulumi.String("string"),
Period: pulumi.Int(0),
RenewalDuration: pulumi.Int(0),
RenewalDurationUnit: pulumi.String("string"),
RenewalStatus: pulumi.String("string"),
Sdl: pulumi.Bool(false),
})
var instanceV2Resource = new com.pulumi.alicloud.cloudfirewall.InstanceV2("instanceV2Resource", com.pulumi.alicloud.cloudfirewall.InstanceV2Args.builder()
.paymentType("string")
.productCode("string")
.productType("string")
.spec("string")
.cfwLog(false)
.modifyType("string")
.period(0)
.renewalDuration(0)
.renewalDurationUnit("string")
.renewalStatus("string")
.sdl(false)
.build());
instance_v2_resource = alicloud.cloudfirewall.InstanceV2("instanceV2Resource",
payment_type="string",
product_code="string",
product_type="string",
spec="string",
cfw_log=False,
modify_type="string",
period=0,
renewal_duration=0,
renewal_duration_unit="string",
renewal_status="string",
sdl=False)
const instanceV2Resource = new alicloud.cloudfirewall.InstanceV2("instanceV2Resource", {
paymentType: "string",
productCode: "string",
productType: "string",
spec: "string",
cfwLog: false,
modifyType: "string",
period: 0,
renewalDuration: 0,
renewalDurationUnit: "string",
renewalStatus: "string",
sdl: false,
});
type: alicloud:cloudfirewall:InstanceV2
properties:
cfwLog: false
modifyType: string
paymentType: string
period: 0
productCode: string
productType: string
renewalDuration: 0
renewalDurationUnit: string
renewalStatus: string
sdl: false
spec: string
InstanceV2 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 InstanceV2 resource accepts the following input properties:
- Payment
Type string - The payment type of the resource. Valid values:
PayAsYouGo,Subscription. - Product
Code string - The product code. Valid values:
cfw. - Product
Type string - The product type. Valid values:
cfw_elasticity_public_cn,cfw_elasticity_public_intl,cfw_sub_public_cn,cfw_sub_public_intl. - Spec string
- The edition of the Cloud Firewall instance. Valid values:
payg_version,premium_version,enterprise_version,ultimate_version. - Cfw
Log bool - Whether to use log audit. Valid values:
- Modify
Type string - The type of modification. Valid values:
Upgrade,Downgrade. NOTE: Themodify_typeis required when you execute an update operation. - Period int
- The prepaid period. NOTE: If
payment_typeis set toSubscription,periodis required. - Renewal
Duration int - The auto-renewal duration. NOTE:
renewal_durationtakes effect only ifpayment_typeis set toSubscription, andrenewal_statusis set toAutoRenewal. - Renewal
Duration stringUnit - The unit of the auto-renewal period. Valid values:
M: Month.Y: Year.
- Renewal
Status string - Whether to renew an instance automatically or not.
AutoRenewal: Auto renewal.ManualRenewal: Manual renewal.NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
- Sdl bool
- Data leakage protection status. Valid values:
true,false.
- Payment
Type string - The payment type of the resource. Valid values:
PayAsYouGo,Subscription. - Product
Code string - The product code. Valid values:
cfw. - Product
Type string - The product type. Valid values:
cfw_elasticity_public_cn,cfw_elasticity_public_intl,cfw_sub_public_cn,cfw_sub_public_intl. - Spec string
- The edition of the Cloud Firewall instance. Valid values:
payg_version,premium_version,enterprise_version,ultimate_version. - Cfw
Log bool - Whether to use log audit. Valid values:
- Modify
Type string - The type of modification. Valid values:
Upgrade,Downgrade. NOTE: Themodify_typeis required when you execute an update operation. - Period int
- The prepaid period. NOTE: If
payment_typeis set toSubscription,periodis required. - Renewal
Duration int - The auto-renewal duration. NOTE:
renewal_durationtakes effect only ifpayment_typeis set toSubscription, andrenewal_statusis set toAutoRenewal. - Renewal
Duration stringUnit - The unit of the auto-renewal period. Valid values:
M: Month.Y: Year.
- Renewal
Status string - Whether to renew an instance automatically or not.
AutoRenewal: Auto renewal.ManualRenewal: Manual renewal.NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
- Sdl bool
- Data leakage protection status. Valid values:
true,false.
- payment
Type String - The payment type of the resource. Valid values:
PayAsYouGo,Subscription. - product
Code String - The product code. Valid values:
cfw. - product
Type String - The product type. Valid values:
cfw_elasticity_public_cn,cfw_elasticity_public_intl,cfw_sub_public_cn,cfw_sub_public_intl. - spec String
- The edition of the Cloud Firewall instance. Valid values:
payg_version,premium_version,enterprise_version,ultimate_version. - cfw
Log Boolean - Whether to use log audit. Valid values:
- modify
Type String - The type of modification. Valid values:
Upgrade,Downgrade. NOTE: Themodify_typeis required when you execute an update operation. - period Integer
- The prepaid period. NOTE: If
payment_typeis set toSubscription,periodis required. - renewal
Duration Integer - The auto-renewal duration. NOTE:
renewal_durationtakes effect only ifpayment_typeis set toSubscription, andrenewal_statusis set toAutoRenewal. - renewal
Duration StringUnit - The unit of the auto-renewal period. Valid values:
M: Month.Y: Year.
- renewal
Status String - Whether to renew an instance automatically or not.
AutoRenewal: Auto renewal.ManualRenewal: Manual renewal.NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
- sdl Boolean
- Data leakage protection status. Valid values:
true,false.
- payment
Type string - The payment type of the resource. Valid values:
PayAsYouGo,Subscription. - product
Code string - The product code. Valid values:
cfw. - product
Type string - The product type. Valid values:
cfw_elasticity_public_cn,cfw_elasticity_public_intl,cfw_sub_public_cn,cfw_sub_public_intl. - spec string
- The edition of the Cloud Firewall instance. Valid values:
payg_version,premium_version,enterprise_version,ultimate_version. - cfw
Log boolean - Whether to use log audit. Valid values:
- modify
Type string - The type of modification. Valid values:
Upgrade,Downgrade. NOTE: Themodify_typeis required when you execute an update operation. - period number
- The prepaid period. NOTE: If
payment_typeis set toSubscription,periodis required. - renewal
Duration number - The auto-renewal duration. NOTE:
renewal_durationtakes effect only ifpayment_typeis set toSubscription, andrenewal_statusis set toAutoRenewal. - renewal
Duration stringUnit - The unit of the auto-renewal period. Valid values:
M: Month.Y: Year.
- renewal
Status string - Whether to renew an instance automatically or not.
AutoRenewal: Auto renewal.ManualRenewal: Manual renewal.NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
- sdl boolean
- Data leakage protection status. Valid values:
true,false.
- payment_
type str - The payment type of the resource. Valid values:
PayAsYouGo,Subscription. - product_
code str - The product code. Valid values:
cfw. - product_
type str - The product type. Valid values:
cfw_elasticity_public_cn,cfw_elasticity_public_intl,cfw_sub_public_cn,cfw_sub_public_intl. - spec str
- The edition of the Cloud Firewall instance. Valid values:
payg_version,premium_version,enterprise_version,ultimate_version. - cfw_
log bool - Whether to use log audit. Valid values:
- modify_
type str - The type of modification. Valid values:
Upgrade,Downgrade. NOTE: Themodify_typeis required when you execute an update operation. - period int
- The prepaid period. NOTE: If
payment_typeis set toSubscription,periodis required. - renewal_
duration int - The auto-renewal duration. NOTE:
renewal_durationtakes effect only ifpayment_typeis set toSubscription, andrenewal_statusis set toAutoRenewal. - renewal_
duration_ strunit - The unit of the auto-renewal period. Valid values:
M: Month.Y: Year.
- renewal_
status str - Whether to renew an instance automatically or not.
AutoRenewal: Auto renewal.ManualRenewal: Manual renewal.NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
- sdl bool
- Data leakage protection status. Valid values:
true,false.
- payment
Type String - The payment type of the resource. Valid values:
PayAsYouGo,Subscription. - product
Code String - The product code. Valid values:
cfw. - product
Type String - The product type. Valid values:
cfw_elasticity_public_cn,cfw_elasticity_public_intl,cfw_sub_public_cn,cfw_sub_public_intl. - spec String
- The edition of the Cloud Firewall instance. Valid values:
payg_version,premium_version,enterprise_version,ultimate_version. - cfw
Log Boolean - Whether to use log audit. Valid values:
- modify
Type String - The type of modification. Valid values:
Upgrade,Downgrade. NOTE: Themodify_typeis required when you execute an update operation. - period Number
- The prepaid period. NOTE: If
payment_typeis set toSubscription,periodis required. - renewal
Duration Number - The auto-renewal duration. NOTE:
renewal_durationtakes effect only ifpayment_typeis set toSubscription, andrenewal_statusis set toAutoRenewal. - renewal
Duration StringUnit - The unit of the auto-renewal period. Valid values:
M: Month.Y: Year.
- renewal
Status String - Whether to renew an instance automatically or not.
AutoRenewal: Auto renewal.ManualRenewal: Manual renewal.NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
- sdl Boolean
- Data leakage protection status. Valid values:
true,false.
Outputs
All input properties are implicitly available as output properties. Additionally, the InstanceV2 resource produces the following output properties:
- Create
Time string - The creation time.
- End
Time string - The end time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Release
Time string - The release time.
- Status string
- The status of Cloud Firewall Instance.
- User
Status string - The user status of Cloud Firewall Instance.
- Create
Time string - The creation time.
- End
Time string - The end time.
- Id string
- The provider-assigned unique ID for this managed resource.
- Release
Time string - The release time.
- Status string
- The status of Cloud Firewall Instance.
- User
Status string - The user status of Cloud Firewall Instance.
- create
Time String - The creation time.
- end
Time String - The end time.
- id String
- The provider-assigned unique ID for this managed resource.
- release
Time String - The release time.
- status String
- The status of Cloud Firewall Instance.
- user
Status String - The user status of Cloud Firewall Instance.
- create
Time string - The creation time.
- end
Time string - The end time.
- id string
- The provider-assigned unique ID for this managed resource.
- release
Time string - The release time.
- status string
- The status of Cloud Firewall Instance.
- user
Status string - The user status of Cloud Firewall Instance.
- create_
time str - The creation time.
- end_
time str - The end time.
- id str
- The provider-assigned unique ID for this managed resource.
- release_
time str - The release time.
- status str
- The status of Cloud Firewall Instance.
- user_
status str - The user status of Cloud Firewall Instance.
- create
Time String - The creation time.
- end
Time String - The end time.
- id String
- The provider-assigned unique ID for this managed resource.
- release
Time String - The release time.
- status String
- The status of Cloud Firewall Instance.
- user
Status String - The user status of Cloud Firewall Instance.
Look up Existing InstanceV2 Resource
Get an existing InstanceV2 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?: InstanceV2State, opts?: CustomResourceOptions): InstanceV2@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cfw_log: Optional[bool] = None,
create_time: Optional[str] = None,
end_time: Optional[str] = None,
modify_type: Optional[str] = None,
payment_type: Optional[str] = None,
period: Optional[int] = None,
product_code: Optional[str] = None,
product_type: Optional[str] = None,
release_time: Optional[str] = None,
renewal_duration: Optional[int] = None,
renewal_duration_unit: Optional[str] = None,
renewal_status: Optional[str] = None,
sdl: Optional[bool] = None,
spec: Optional[str] = None,
status: Optional[str] = None,
user_status: Optional[str] = None) -> InstanceV2func GetInstanceV2(ctx *Context, name string, id IDInput, state *InstanceV2State, opts ...ResourceOption) (*InstanceV2, error)public static InstanceV2 Get(string name, Input<string> id, InstanceV2State? state, CustomResourceOptions? opts = null)public static InstanceV2 get(String name, Output<String> id, InstanceV2State state, CustomResourceOptions options)resources: _: type: alicloud:cloudfirewall:InstanceV2 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.
- Cfw
Log bool - Whether to use log audit. Valid values:
- Create
Time string - The creation time.
- End
Time string - The end time.
- Modify
Type string - The type of modification. Valid values:
Upgrade,Downgrade. NOTE: Themodify_typeis required when you execute an update operation. - Payment
Type string - The payment type of the resource. Valid values:
PayAsYouGo,Subscription. - Period int
- The prepaid period. NOTE: If
payment_typeis set toSubscription,periodis required. - Product
Code string - The product code. Valid values:
cfw. - Product
Type string - The product type. Valid values:
cfw_elasticity_public_cn,cfw_elasticity_public_intl,cfw_sub_public_cn,cfw_sub_public_intl. - Release
Time string - The release time.
- Renewal
Duration int - The auto-renewal duration. NOTE:
renewal_durationtakes effect only ifpayment_typeis set toSubscription, andrenewal_statusis set toAutoRenewal. - Renewal
Duration stringUnit - The unit of the auto-renewal period. Valid values:
M: Month.Y: Year.
- Renewal
Status string - Whether to renew an instance automatically or not.
AutoRenewal: Auto renewal.ManualRenewal: Manual renewal.NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
- Sdl bool
- Data leakage protection status. Valid values:
true,false. - Spec string
- The edition of the Cloud Firewall instance. Valid values:
payg_version,premium_version,enterprise_version,ultimate_version. - Status string
- The status of Cloud Firewall Instance.
- User
Status string - The user status of Cloud Firewall Instance.
- Cfw
Log bool - Whether to use log audit. Valid values:
- Create
Time string - The creation time.
- End
Time string - The end time.
- Modify
Type string - The type of modification. Valid values:
Upgrade,Downgrade. NOTE: Themodify_typeis required when you execute an update operation. - Payment
Type string - The payment type of the resource. Valid values:
PayAsYouGo,Subscription. - Period int
- The prepaid period. NOTE: If
payment_typeis set toSubscription,periodis required. - Product
Code string - The product code. Valid values:
cfw. - Product
Type string - The product type. Valid values:
cfw_elasticity_public_cn,cfw_elasticity_public_intl,cfw_sub_public_cn,cfw_sub_public_intl. - Release
Time string - The release time.
- Renewal
Duration int - The auto-renewal duration. NOTE:
renewal_durationtakes effect only ifpayment_typeis set toSubscription, andrenewal_statusis set toAutoRenewal. - Renewal
Duration stringUnit - The unit of the auto-renewal period. Valid values:
M: Month.Y: Year.
- Renewal
Status string - Whether to renew an instance automatically or not.
AutoRenewal: Auto renewal.ManualRenewal: Manual renewal.NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
- Sdl bool
- Data leakage protection status. Valid values:
true,false. - Spec string
- The edition of the Cloud Firewall instance. Valid values:
payg_version,premium_version,enterprise_version,ultimate_version. - Status string
- The status of Cloud Firewall Instance.
- User
Status string - The user status of Cloud Firewall Instance.
- cfw
Log Boolean - Whether to use log audit. Valid values:
- create
Time String - The creation time.
- end
Time String - The end time.
- modify
Type String - The type of modification. Valid values:
Upgrade,Downgrade. NOTE: Themodify_typeis required when you execute an update operation. - payment
Type String - The payment type of the resource. Valid values:
PayAsYouGo,Subscription. - period Integer
- The prepaid period. NOTE: If
payment_typeis set toSubscription,periodis required. - product
Code String - The product code. Valid values:
cfw. - product
Type String - The product type. Valid values:
cfw_elasticity_public_cn,cfw_elasticity_public_intl,cfw_sub_public_cn,cfw_sub_public_intl. - release
Time String - The release time.
- renewal
Duration Integer - The auto-renewal duration. NOTE:
renewal_durationtakes effect only ifpayment_typeis set toSubscription, andrenewal_statusis set toAutoRenewal. - renewal
Duration StringUnit - The unit of the auto-renewal period. Valid values:
M: Month.Y: Year.
- renewal
Status String - Whether to renew an instance automatically or not.
AutoRenewal: Auto renewal.ManualRenewal: Manual renewal.NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
- sdl Boolean
- Data leakage protection status. Valid values:
true,false. - spec String
- The edition of the Cloud Firewall instance. Valid values:
payg_version,premium_version,enterprise_version,ultimate_version. - status String
- The status of Cloud Firewall Instance.
- user
Status String - The user status of Cloud Firewall Instance.
- cfw
Log boolean - Whether to use log audit. Valid values:
- create
Time string - The creation time.
- end
Time string - The end time.
- modify
Type string - The type of modification. Valid values:
Upgrade,Downgrade. NOTE: Themodify_typeis required when you execute an update operation. - payment
Type string - The payment type of the resource. Valid values:
PayAsYouGo,Subscription. - period number
- The prepaid period. NOTE: If
payment_typeis set toSubscription,periodis required. - product
Code string - The product code. Valid values:
cfw. - product
Type string - The product type. Valid values:
cfw_elasticity_public_cn,cfw_elasticity_public_intl,cfw_sub_public_cn,cfw_sub_public_intl. - release
Time string - The release time.
- renewal
Duration number - The auto-renewal duration. NOTE:
renewal_durationtakes effect only ifpayment_typeis set toSubscription, andrenewal_statusis set toAutoRenewal. - renewal
Duration stringUnit - The unit of the auto-renewal period. Valid values:
M: Month.Y: Year.
- renewal
Status string - Whether to renew an instance automatically or not.
AutoRenewal: Auto renewal.ManualRenewal: Manual renewal.NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
- sdl boolean
- Data leakage protection status. Valid values:
true,false. - spec string
- The edition of the Cloud Firewall instance. Valid values:
payg_version,premium_version,enterprise_version,ultimate_version. - status string
- The status of Cloud Firewall Instance.
- user
Status string - The user status of Cloud Firewall Instance.
- cfw_
log bool - Whether to use log audit. Valid values:
- create_
time str - The creation time.
- end_
time str - The end time.
- modify_
type str - The type of modification. Valid values:
Upgrade,Downgrade. NOTE: Themodify_typeis required when you execute an update operation. - payment_
type str - The payment type of the resource. Valid values:
PayAsYouGo,Subscription. - period int
- The prepaid period. NOTE: If
payment_typeis set toSubscription,periodis required. - product_
code str - The product code. Valid values:
cfw. - product_
type str - The product type. Valid values:
cfw_elasticity_public_cn,cfw_elasticity_public_intl,cfw_sub_public_cn,cfw_sub_public_intl. - release_
time str - The release time.
- renewal_
duration int - The auto-renewal duration. NOTE:
renewal_durationtakes effect only ifpayment_typeis set toSubscription, andrenewal_statusis set toAutoRenewal. - renewal_
duration_ strunit - The unit of the auto-renewal period. Valid values:
M: Month.Y: Year.
- renewal_
status str - Whether to renew an instance automatically or not.
AutoRenewal: Auto renewal.ManualRenewal: Manual renewal.NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
- sdl bool
- Data leakage protection status. Valid values:
true,false. - spec str
- The edition of the Cloud Firewall instance. Valid values:
payg_version,premium_version,enterprise_version,ultimate_version. - status str
- The status of Cloud Firewall Instance.
- user_
status str - The user status of Cloud Firewall Instance.
- cfw
Log Boolean - Whether to use log audit. Valid values:
- create
Time String - The creation time.
- end
Time String - The end time.
- modify
Type String - The type of modification. Valid values:
Upgrade,Downgrade. NOTE: Themodify_typeis required when you execute an update operation. - payment
Type String - The payment type of the resource. Valid values:
PayAsYouGo,Subscription. - period Number
- The prepaid period. NOTE: If
payment_typeis set toSubscription,periodis required. - product
Code String - The product code. Valid values:
cfw. - product
Type String - The product type. Valid values:
cfw_elasticity_public_cn,cfw_elasticity_public_intl,cfw_sub_public_cn,cfw_sub_public_intl. - release
Time String - The release time.
- renewal
Duration Number - The auto-renewal duration. NOTE:
renewal_durationtakes effect only ifpayment_typeis set toSubscription, andrenewal_statusis set toAutoRenewal. - renewal
Duration StringUnit - The unit of the auto-renewal period. Valid values:
M: Month.Y: Year.
- renewal
Status String - Whether to renew an instance automatically or not.
AutoRenewal: Auto renewal.ManualRenewal: Manual renewal.NotRenewal: No renewal any longer. After you specify this value, Alibaba Cloud stop sending notification of instance expiry, and only gives a brief reminder on the third day before the instance expiry.
- sdl Boolean
- Data leakage protection status. Valid values:
true,false. - spec String
- The edition of the Cloud Firewall instance. Valid values:
payg_version,premium_version,enterprise_version,ultimate_version. - status String
- The status of Cloud Firewall Instance.
- user
Status String - The user status of Cloud Firewall Instance.
Import
Cloud Firewall Instance V2 can be imported using the id, e.g.
$ pulumi import alicloud:cloudfirewall/instanceV2:InstanceV2 example <id>
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
alicloudTerraform Provider.
