ucloud.AntiDdosInstance
Explore with Pulumi AI
Provides an Anti-DDoS instance resource in Mainland China.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ucloud from "@pulumi/ucloud";
const foo = new ucloud.AntiDdosInstance("foo", {
area: "EastChina",
bandwidth: 50,
baseDefenceValue: 30,
dataCenter: "Zaozhuang",
maxDefenceValue: 30,
});
import pulumi
import pulumi_ucloud as ucloud
foo = ucloud.AntiDdosInstance("foo",
area="EastChina",
bandwidth=50,
base_defence_value=30,
data_center="Zaozhuang",
max_defence_value=30)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ucloud/ucloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ucloud.NewAntiDdosInstance(ctx, "foo", &ucloud.AntiDdosInstanceArgs{
Area: pulumi.String("EastChina"),
Bandwidth: pulumi.Float64(50),
BaseDefenceValue: pulumi.Float64(30),
DataCenter: pulumi.String("Zaozhuang"),
MaxDefenceValue: pulumi.Float64(30),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ucloud = Pulumi.Ucloud;
return await Deployment.RunAsync(() =>
{
var foo = new Ucloud.AntiDdosInstance("foo", new()
{
Area = "EastChina",
Bandwidth = 50,
BaseDefenceValue = 30,
DataCenter = "Zaozhuang",
MaxDefenceValue = 30,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ucloud.AntiDdosInstance;
import com.pulumi.ucloud.AntiDdosInstanceArgs;
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 foo = new AntiDdosInstance("foo", AntiDdosInstanceArgs.builder()
.area("EastChina")
.bandwidth(50)
.baseDefenceValue(30)
.dataCenter("Zaozhuang")
.maxDefenceValue(30)
.build());
}
}
resources:
foo:
type: ucloud:AntiDdosInstance
properties:
area: EastChina
bandwidth: 50
baseDefenceValue: 30
dataCenter: Zaozhuang
maxDefenceValue: 30
Create AntiDdosInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AntiDdosInstance(name: string, args: AntiDdosInstanceArgs, opts?: CustomResourceOptions);
@overload
def AntiDdosInstance(resource_name: str,
args: AntiDdosInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AntiDdosInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
area: Optional[str] = None,
bandwidth: Optional[float] = None,
base_defence_value: Optional[float] = None,
data_center: Optional[str] = None,
max_defence_value: Optional[float] = None,
anti_ddos_instance_id: Optional[str] = None,
charge_type: Optional[str] = None,
duration: Optional[float] = None,
name: Optional[str] = None)
func NewAntiDdosInstance(ctx *Context, name string, args AntiDdosInstanceArgs, opts ...ResourceOption) (*AntiDdosInstance, error)
public AntiDdosInstance(string name, AntiDdosInstanceArgs args, CustomResourceOptions? opts = null)
public AntiDdosInstance(String name, AntiDdosInstanceArgs args)
public AntiDdosInstance(String name, AntiDdosInstanceArgs args, CustomResourceOptions options)
type: ucloud:AntiDdosInstance
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 AntiDdosInstanceArgs
- 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 AntiDdosInstanceArgs
- 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 AntiDdosInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AntiDdosInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AntiDdosInstanceArgs
- 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 antiDdosInstanceResource = new Ucloud.AntiDdosInstance("antiDdosInstanceResource", new()
{
Area = "string",
Bandwidth = 0,
BaseDefenceValue = 0,
DataCenter = "string",
MaxDefenceValue = 0,
AntiDdosInstanceId = "string",
ChargeType = "string",
Duration = 0,
Name = "string",
});
example, err := ucloud.NewAntiDdosInstance(ctx, "antiDdosInstanceResource", &ucloud.AntiDdosInstanceArgs{
Area: pulumi.String("string"),
Bandwidth: pulumi.Float64(0),
BaseDefenceValue: pulumi.Float64(0),
DataCenter: pulumi.String("string"),
MaxDefenceValue: pulumi.Float64(0),
AntiDdosInstanceId: pulumi.String("string"),
ChargeType: pulumi.String("string"),
Duration: pulumi.Float64(0),
Name: pulumi.String("string"),
})
var antiDdosInstanceResource = new AntiDdosInstance("antiDdosInstanceResource", AntiDdosInstanceArgs.builder()
.area("string")
.bandwidth(0)
.baseDefenceValue(0)
.dataCenter("string")
.maxDefenceValue(0)
.antiDdosInstanceId("string")
.chargeType("string")
.duration(0)
.name("string")
.build());
anti_ddos_instance_resource = ucloud.AntiDdosInstance("antiDdosInstanceResource",
area="string",
bandwidth=0,
base_defence_value=0,
data_center="string",
max_defence_value=0,
anti_ddos_instance_id="string",
charge_type="string",
duration=0,
name="string")
const antiDdosInstanceResource = new ucloud.AntiDdosInstance("antiDdosInstanceResource", {
area: "string",
bandwidth: 0,
baseDefenceValue: 0,
dataCenter: "string",
maxDefenceValue: 0,
antiDdosInstanceId: "string",
chargeType: "string",
duration: 0,
name: "string",
});
type: ucloud:AntiDdosInstance
properties:
antiDdosInstanceId: string
area: string
bandwidth: 0
baseDefenceValue: 0
chargeType: string
dataCenter: string
duration: 0
maxDefenceValue: 0
name: string
AntiDdosInstance 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 AntiDdosInstance resource accepts the following input properties:
- Area string
- The area where the instance is deployed. The value can be
EastChina
orNorthChina
. - Bandwidth double
- Size of the service bandwidth, whose unit is Mbps.
- Base
Defence doubleValue - Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
- Data
Center string - The data center where the instance is deployed. The value can be
Zaozhuang
,Yangzhou
orTaizhou
forEastChina
area, andShijiazhuang
forNorthChina
area. - Max
Defence doubleValue - Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
- Anti
Ddos stringInstance Id - The ID of the resource ucloud_anti_ddos_instance.
- Charge
Type string - The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
- Duration double
- The duration that you will buy the instance (Default: 1).
- Name string
- The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
- Area string
- The area where the instance is deployed. The value can be
EastChina
orNorthChina
. - Bandwidth float64
- Size of the service bandwidth, whose unit is Mbps.
- Base
Defence float64Value - Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
- Data
Center string - The data center where the instance is deployed. The value can be
Zaozhuang
,Yangzhou
orTaizhou
forEastChina
area, andShijiazhuang
forNorthChina
area. - Max
Defence float64Value - Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
- Anti
Ddos stringInstance Id - The ID of the resource ucloud_anti_ddos_instance.
- Charge
Type string - The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
- Duration float64
- The duration that you will buy the instance (Default: 1).
- Name string
- The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
- area String
- The area where the instance is deployed. The value can be
EastChina
orNorthChina
. - bandwidth Double
- Size of the service bandwidth, whose unit is Mbps.
- base
Defence DoubleValue - Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
- data
Center String - The data center where the instance is deployed. The value can be
Zaozhuang
,Yangzhou
orTaizhou
forEastChina
area, andShijiazhuang
forNorthChina
area. - max
Defence DoubleValue - Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
- anti
Ddos StringInstance Id - The ID of the resource ucloud_anti_ddos_instance.
- charge
Type String - The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
- duration Double
- The duration that you will buy the instance (Default: 1).
- name String
- The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
- area string
- The area where the instance is deployed. The value can be
EastChina
orNorthChina
. - bandwidth number
- Size of the service bandwidth, whose unit is Mbps.
- base
Defence numberValue - Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
- data
Center string - The data center where the instance is deployed. The value can be
Zaozhuang
,Yangzhou
orTaizhou
forEastChina
area, andShijiazhuang
forNorthChina
area. - max
Defence numberValue - Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
- anti
Ddos stringInstance Id - The ID of the resource ucloud_anti_ddos_instance.
- charge
Type string - The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
- duration number
- The duration that you will buy the instance (Default: 1).
- name string
- The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
- area str
- The area where the instance is deployed. The value can be
EastChina
orNorthChina
. - bandwidth float
- Size of the service bandwidth, whose unit is Mbps.
- base_
defence_ floatvalue - Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
- data_
center str - The data center where the instance is deployed. The value can be
Zaozhuang
,Yangzhou
orTaizhou
forEastChina
area, andShijiazhuang
forNorthChina
area. - max_
defence_ floatvalue - Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
- anti_
ddos_ strinstance_ id - The ID of the resource ucloud_anti_ddos_instance.
- charge_
type str - The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
- duration float
- The duration that you will buy the instance (Default: 1).
- name str
- The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
- area String
- The area where the instance is deployed. The value can be
EastChina
orNorthChina
. - bandwidth Number
- Size of the service bandwidth, whose unit is Mbps.
- base
Defence NumberValue - Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
- data
Center String - The data center where the instance is deployed. The value can be
Zaozhuang
,Yangzhou
orTaizhou
forEastChina
area, andShijiazhuang
forNorthChina
area. - max
Defence NumberValue - Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
- anti
Ddos StringInstance Id - The ID of the resource ucloud_anti_ddos_instance.
- charge
Type String - The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
- duration Number
- The duration that you will buy the instance (Default: 1).
- name String
- The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
Outputs
All input properties are implicitly available as output properties. Additionally, the AntiDdosInstance resource produces the following output properties:
- Create
Time string - The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- Expire
Time string - The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of ucloud_anti_ddos_instance. Possible values are
Started
,Stopped
andExpired
.
- Create
Time string - The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- Expire
Time string - The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- The status of ucloud_anti_ddos_instance. Possible values are
Started
,Stopped
andExpired
.
- create
Time String - The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- expire
Time String - The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of ucloud_anti_ddos_instance. Possible values are
Started
,Stopped
andExpired
.
- create
Time string - The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- expire
Time string - The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- The status of ucloud_anti_ddos_instance. Possible values are
Started
,Stopped
andExpired
.
- create_
time str - The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- expire_
time str - The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- The status of ucloud_anti_ddos_instance. Possible values are
Started
,Stopped
andExpired
.
- create
Time String - The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- expire
Time String - The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- The status of ucloud_anti_ddos_instance. Possible values are
Started
,Stopped
andExpired
.
Look up Existing AntiDdosInstance Resource
Get an existing AntiDdosInstance 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?: AntiDdosInstanceState, opts?: CustomResourceOptions): AntiDdosInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
anti_ddos_instance_id: Optional[str] = None,
area: Optional[str] = None,
bandwidth: Optional[float] = None,
base_defence_value: Optional[float] = None,
charge_type: Optional[str] = None,
create_time: Optional[str] = None,
data_center: Optional[str] = None,
duration: Optional[float] = None,
expire_time: Optional[str] = None,
max_defence_value: Optional[float] = None,
name: Optional[str] = None,
status: Optional[str] = None) -> AntiDdosInstance
func GetAntiDdosInstance(ctx *Context, name string, id IDInput, state *AntiDdosInstanceState, opts ...ResourceOption) (*AntiDdosInstance, error)
public static AntiDdosInstance Get(string name, Input<string> id, AntiDdosInstanceState? state, CustomResourceOptions? opts = null)
public static AntiDdosInstance get(String name, Output<String> id, AntiDdosInstanceState state, CustomResourceOptions options)
resources: _: type: ucloud:AntiDdosInstance 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.
- Anti
Ddos stringInstance Id - The ID of the resource ucloud_anti_ddos_instance.
- Area string
- The area where the instance is deployed. The value can be
EastChina
orNorthChina
. - Bandwidth double
- Size of the service bandwidth, whose unit is Mbps.
- Base
Defence doubleValue - Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
- Charge
Type string - The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
- Create
Time string - The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- Data
Center string - The data center where the instance is deployed. The value can be
Zaozhuang
,Yangzhou
orTaizhou
forEastChina
area, andShijiazhuang
forNorthChina
area. - Duration double
- The duration that you will buy the instance (Default: 1).
- Expire
Time string - The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- Max
Defence doubleValue - Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
- Name string
- The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
- Status string
- The status of ucloud_anti_ddos_instance. Possible values are
Started
,Stopped
andExpired
.
- Anti
Ddos stringInstance Id - The ID of the resource ucloud_anti_ddos_instance.
- Area string
- The area where the instance is deployed. The value can be
EastChina
orNorthChina
. - Bandwidth float64
- Size of the service bandwidth, whose unit is Mbps.
- Base
Defence float64Value - Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
- Charge
Type string - The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
- Create
Time string - The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- Data
Center string - The data center where the instance is deployed. The value can be
Zaozhuang
,Yangzhou
orTaizhou
forEastChina
area, andShijiazhuang
forNorthChina
area. - Duration float64
- The duration that you will buy the instance (Default: 1).
- Expire
Time string - The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- Max
Defence float64Value - Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
- Name string
- The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
- Status string
- The status of ucloud_anti_ddos_instance. Possible values are
Started
,Stopped
andExpired
.
- anti
Ddos StringInstance Id - The ID of the resource ucloud_anti_ddos_instance.
- area String
- The area where the instance is deployed. The value can be
EastChina
orNorthChina
. - bandwidth Double
- Size of the service bandwidth, whose unit is Mbps.
- base
Defence DoubleValue - Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
- charge
Type String - The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
- create
Time String - The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- data
Center String - The data center where the instance is deployed. The value can be
Zaozhuang
,Yangzhou
orTaizhou
forEastChina
area, andShijiazhuang
forNorthChina
area. - duration Double
- The duration that you will buy the instance (Default: 1).
- expire
Time String - The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- max
Defence DoubleValue - Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
- name String
- The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
- status String
- The status of ucloud_anti_ddos_instance. Possible values are
Started
,Stopped
andExpired
.
- anti
Ddos stringInstance Id - The ID of the resource ucloud_anti_ddos_instance.
- area string
- The area where the instance is deployed. The value can be
EastChina
orNorthChina
. - bandwidth number
- Size of the service bandwidth, whose unit is Mbps.
- base
Defence numberValue - Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
- charge
Type string - The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
- create
Time string - The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- data
Center string - The data center where the instance is deployed. The value can be
Zaozhuang
,Yangzhou
orTaizhou
forEastChina
area, andShijiazhuang
forNorthChina
area. - duration number
- The duration that you will buy the instance (Default: 1).
- expire
Time string - The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- max
Defence numberValue - Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
- name string
- The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
- status string
- The status of ucloud_anti_ddos_instance. Possible values are
Started
,Stopped
andExpired
.
- anti_
ddos_ strinstance_ id - The ID of the resource ucloud_anti_ddos_instance.
- area str
- The area where the instance is deployed. The value can be
EastChina
orNorthChina
. - bandwidth float
- Size of the service bandwidth, whose unit is Mbps.
- base_
defence_ floatvalue - Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
- charge_
type str - The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
- create_
time str - The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- data_
center str - The data center where the instance is deployed. The value can be
Zaozhuang
,Yangzhou
orTaizhou
forEastChina
area, andShijiazhuang
forNorthChina
area. - duration float
- The duration that you will buy the instance (Default: 1).
- expire_
time str - The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- max_
defence_ floatvalue - Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
- name str
- The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
- status str
- The status of ucloud_anti_ddos_instance. Possible values are
Started
,Stopped
andExpired
.
- anti
Ddos StringInstance Id - The ID of the resource ucloud_anti_ddos_instance.
- area String
- The area where the instance is deployed. The value can be
EastChina
orNorthChina
. - bandwidth Number
- Size of the service bandwidth, whose unit is Mbps.
- base
Defence NumberValue - Size of the base defence bandwidth, whose unit is Gbps and minimum value is 30.
- charge
Type String - The charge type of Anti-DDoS instance, possible values are year and month (Default: month).
- create
Time String - The creation time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- data
Center String - The data center where the instance is deployed. The value can be
Zaozhuang
,Yangzhou
orTaizhou
forEastChina
area, andShijiazhuang
forNorthChina
area. - duration Number
- The duration that you will buy the instance (Default: 1).
- expire
Time String - The expiration time of ucloud_anti_ddos_instance, formatted in RFC3339 time string.
- max
Defence NumberValue - Size of the maximum defence bandwidth, whose unit is Gbps and value cannot be less than base_defence_value.
- name String
- The name of ucloud.AntiDdosInstance resource, should have 1-63 characters and only support Chinese, English, numbers, '-', '_'.
- status String
- The status of ucloud_anti_ddos_instance. Possible values are
Started
,Stopped
andExpired
.
Import
Anti-DDoS instance can be imported using the id
, e.g.
$ pulumi import ucloud:index/antiDdosInstance:AntiDdosInstance example usecure_ghp-xxx
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ucloud ucloud/terraform-provider-ucloud
- License
- Notes
- This Pulumi package is based on the
ucloud
Terraform Provider.