alicloud.vpc.VbrHa
Provides a Express Connect Vbr Ha resource.
VBR switching Group.
For information about Express Connect Vbr Ha and how to use it, see What is Vbr Ha.
NOTE: Available since v1.151.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
import * as std from "@pulumi/std";
const config = new pulumi.Config();
const name = config.get("name") || "tf-example";
const _default = alicloud.getRegions({
current: true,
});
const example = alicloud.expressconnect.getPhysicalConnections({
nameRegex: "^preserved-NODELETING",
});
const vlanId = new random.index.Integer("vlan_id", {
max: 2999,
min: 1,
});
const exampleVirtualBorderRouter: alicloud.expressconnect.VirtualBorderRouter[] = [];
for (const range = {value: 0}; range.value < 2; range.value++) {
exampleVirtualBorderRouter.push(new alicloud.expressconnect.VirtualBorderRouter(`example-${range.value}`, {
localGatewayIp: "10.0.0.1",
peerGatewayIp: "10.0.0.2",
peeringSubnetMask: "255.255.255.252",
physicalConnectionId: example.then(example => example.connections[range.value].id),
virtualBorderRouterName: std.format({
input: `${name}-%d`,
args: [range.value + 1],
}).then(invoke => invoke.result),
vlanId: vlanId.id + range.value,
minRxInterval: 1000,
minTxInterval: 1000,
detectMultiplier: 10,
}));
}
const exampleInstance = new alicloud.cen.Instance("example", {
cenInstanceName: name,
description: name,
protectionLevel: "REDUCED",
});
const exampleInstanceAttachment: alicloud.cen.InstanceAttachment[] = [];
for (const range = {value: 0}; range.value < 2; range.value++) {
exampleInstanceAttachment.push(new alicloud.cen.InstanceAttachment(`example-${range.value}`, {
instanceId: exampleInstance.id,
childInstanceId: exampleVirtualBorderRouter[range.value].id,
childInstanceType: "VBR",
childInstanceRegionId: _default.then(_default => _default.regions?.[0]?.id),
}));
}
const exampleVbrHa = new alicloud.vpc.VbrHa("example", {
vbrId: exampleInstanceAttachment[0].childInstanceId,
peerVbrId: exampleInstanceAttachment[1].childInstanceId,
vbrHaName: name,
description: name,
});
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
import pulumi_std as std
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf-example"
default = alicloud.get_regions(current=True)
example = alicloud.expressconnect.get_physical_connections(name_regex="^preserved-NODELETING")
vlan_id = random.index.Integer("vlan_id",
max=2999,
min=1)
example_virtual_border_router = []
for range in [{"value": i} for i in range(0, 2)]:
example_virtual_border_router.append(alicloud.expressconnect.VirtualBorderRouter(f"example-{range['value']}",
local_gateway_ip="10.0.0.1",
peer_gateway_ip="10.0.0.2",
peering_subnet_mask="255.255.255.252",
physical_connection_id=example.connections[range["value"]].id,
virtual_border_router_name=std.format(input=f"{name}-%d",
args=[range["value"] + 1]).result,
vlan_id=vlan_id["id"] + range["value"],
min_rx_interval=1000,
min_tx_interval=1000,
detect_multiplier=10))
example_instance = alicloud.cen.Instance("example",
cen_instance_name=name,
description=name,
protection_level="REDUCED")
example_instance_attachment = []
for range in [{"value": i} for i in range(0, 2)]:
example_instance_attachment.append(alicloud.cen.InstanceAttachment(f"example-{range['value']}",
instance_id=example_instance.id,
child_instance_id=example_virtual_border_router[range["value"]].id,
child_instance_type="VBR",
child_instance_region_id=default.regions[0].id))
example_vbr_ha = alicloud.vpc.VbrHa("example",
vbr_id=example_instance_attachment[0].child_instance_id,
peer_vbr_id=example_instance_attachment[1].child_instance_id,
vbr_ha_name=name,
description=name)
package main
import (
"fmt"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/expressconnect"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi-std/sdk/go/std"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "tf-example"
if param := cfg.Get("name"); param != "" {
name = param
}
_default, err := alicloud.GetRegions(ctx, &alicloud.GetRegionsArgs{
Current: pulumi.BoolRef(true),
}, nil)
if err != nil {
return err
}
example, err := expressconnect.GetPhysicalConnections(ctx, &expressconnect.GetPhysicalConnectionsArgs{
NameRegex: pulumi.StringRef("^preserved-NODELETING"),
}, nil)
if err != nil {
return err
}
vlanId, err := random.NewInteger(ctx, "vlan_id", &random.IntegerArgs{
Max: 2999,
Min: 1,
})
if err != nil {
return err
}
invokeFormat, err := std.Format(ctx, &std.FormatArgs{
Input: fmt.Sprintf("%v%v", name, "-%d"),
Args: []float64{
val0 + 1,
},
}, nil)
if err != nil {
return err
}
var exampleVirtualBorderRouter []*expressconnect.VirtualBorderRouter
for index := 0; index < 2; index++ {
key0 := index
val0 := index
__res, err := expressconnect.NewVirtualBorderRouter(ctx, fmt.Sprintf("example-%v", key0), &expressconnect.VirtualBorderRouterArgs{
LocalGatewayIp: pulumi.String("10.0.0.1"),
PeerGatewayIp: pulumi.String("10.0.0.2"),
PeeringSubnetMask: pulumi.String("255.255.255.252"),
PhysicalConnectionId: example.Connections[val0].Id,
VirtualBorderRouterName: pulumi.String(invokeFormat.Result),
VlanId: int(vlanId.Id + val0),
MinRxInterval: pulumi.Int(1000),
MinTxInterval: pulumi.Int(1000),
DetectMultiplier: pulumi.Int(10),
})
if err != nil {
return err
}
exampleVirtualBorderRouter = append(exampleVirtualBorderRouter, __res)
}
exampleInstance, err := cen.NewInstance(ctx, "example", &cen.InstanceArgs{
CenInstanceName: pulumi.String(name),
Description: pulumi.String(name),
ProtectionLevel: pulumi.String("REDUCED"),
})
if err != nil {
return err
}
var exampleInstanceAttachment []*cen.InstanceAttachment
for index := 0; index < 2; index++ {
key0 := index
val0 := index
__res, err := cen.NewInstanceAttachment(ctx, fmt.Sprintf("example-%v", key0), &cen.InstanceAttachmentArgs{
InstanceId: exampleInstance.ID(),
ChildInstanceId: exampleVirtualBorderRouter[val0].ID(),
ChildInstanceType: pulumi.String("VBR"),
ChildInstanceRegionId: pulumi.String(_default.Regions[0].Id),
})
if err != nil {
return err
}
exampleInstanceAttachment = append(exampleInstanceAttachment, __res)
}
_, err = vpc.NewVbrHa(ctx, "example", &vpc.VbrHaArgs{
VbrId: exampleInstanceAttachment[0].ChildInstanceId,
PeerVbrId: exampleInstanceAttachment[1].ChildInstanceId,
VbrHaName: pulumi.String(name),
Description: pulumi.String(name),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf-example";
var @default = AliCloud.GetRegions.Invoke(new()
{
Current = true,
});
var example = AliCloud.ExpressConnect.GetPhysicalConnections.Invoke(new()
{
NameRegex = "^preserved-NODELETING",
});
var vlanId = new Random.Index.Integer("vlan_id", new()
{
Max = 2999,
Min = 1,
});
var exampleVirtualBorderRouter = new List<AliCloud.ExpressConnect.VirtualBorderRouter>();
for (var rangeIndex = 0; rangeIndex < 2; rangeIndex++)
{
var range = new { Value = rangeIndex };
exampleVirtualBorderRouter.Add(new AliCloud.ExpressConnect.VirtualBorderRouter($"example-{range.Value}", new()
{
LocalGatewayIp = "10.0.0.1",
PeerGatewayIp = "10.0.0.2",
PeeringSubnetMask = "255.255.255.252",
PhysicalConnectionId = example.Apply(getPhysicalConnectionsResult => getPhysicalConnectionsResult.Connections)[range.Value].Id,
VirtualBorderRouterName = Std.Format.Invoke(new()
{
Input = $"{name}-%d",
Args = new[]
{
range.Value + 1,
},
}).Apply(invoke => invoke.Result),
VlanId = vlanId.Id + range.Value,
MinRxInterval = 1000,
MinTxInterval = 1000,
DetectMultiplier = 10,
}));
}
var exampleInstance = new AliCloud.Cen.Instance("example", new()
{
CenInstanceName = name,
Description = name,
ProtectionLevel = "REDUCED",
});
var exampleInstanceAttachment = new List<AliCloud.Cen.InstanceAttachment>();
for (var rangeIndex = 0; rangeIndex < 2; rangeIndex++)
{
var range = new { Value = rangeIndex };
exampleInstanceAttachment.Add(new AliCloud.Cen.InstanceAttachment($"example-{range.Value}", new()
{
InstanceId = exampleInstance.Id,
ChildInstanceId = exampleVirtualBorderRouter[range.Value].Id,
ChildInstanceType = "VBR",
ChildInstanceRegionId = @default.Apply(@default => @default.Apply(getRegionsResult => getRegionsResult.Regions[0]?.Id)),
}));
}
var exampleVbrHa = new AliCloud.Vpc.VbrHa("example", new()
{
VbrId = exampleInstanceAttachment[0].ChildInstanceId,
PeerVbrId = exampleInstanceAttachment[1].ChildInstanceId,
VbrHaName = name,
Description = name,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.inputs.GetRegionsArgs;
import com.pulumi.alicloud.expressconnect.ExpressconnectFunctions;
import com.pulumi.alicloud.expressconnect.inputs.GetPhysicalConnectionsArgs;
import com.pulumi.random.Integer;
import com.pulumi.random.IntegerArgs;
import com.pulumi.alicloud.expressconnect.VirtualBorderRouter;
import com.pulumi.alicloud.expressconnect.VirtualBorderRouterArgs;
import com.pulumi.std.StdFunctions;
import com.pulumi.std.inputs.FormatArgs;
import com.pulumi.alicloud.cen.Instance;
import com.pulumi.alicloud.cen.InstanceArgs;
import com.pulumi.alicloud.cen.InstanceAttachment;
import com.pulumi.alicloud.cen.InstanceAttachmentArgs;
import com.pulumi.alicloud.vpc.VbrHa;
import com.pulumi.alicloud.vpc.VbrHaArgs;
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 config = ctx.config();
final var name = config.get("name").orElse("tf-example");
final var default = AlicloudFunctions.getRegions(GetRegionsArgs.builder()
.current(true)
.build());
final var example = ExpressconnectFunctions.getPhysicalConnections(GetPhysicalConnectionsArgs.builder()
.nameRegex("^preserved-NODELETING")
.build());
var vlanId = new Integer("vlanId", IntegerArgs.builder()
.max(2999)
.min(1)
.build());
for (var i = 0; i < 2; i++) {
new VirtualBorderRouter("exampleVirtualBorderRouter-" + i, VirtualBorderRouterArgs.builder()
.localGatewayIp("10.0.0.1")
.peerGatewayIp("10.0.0.2")
.peeringSubnetMask("255.255.255.252")
.physicalConnectionId(example.connections()[range.value()].id())
.virtualBorderRouterName(StdFunctions.format(FormatArgs.builder()
.input(String.format("%s-%d", name))
.args(range.value() + 1)
.build()).result())
.vlanId(vlanId.id() + range.value())
.minRxInterval(1000)
.minTxInterval(1000)
.detectMultiplier(10)
.build());
}
var exampleInstance = new Instance("exampleInstance", InstanceArgs.builder()
.cenInstanceName(name)
.description(name)
.protectionLevel("REDUCED")
.build());
for (var i = 0; i < 2; i++) {
new InstanceAttachment("exampleInstanceAttachment-" + i, InstanceAttachmentArgs.builder()
.instanceId(exampleInstance.id())
.childInstanceId(exampleVirtualBorderRouter[range.value()].id())
.childInstanceType("VBR")
.childInstanceRegionId(default_.regions()[0].id())
.build());
}
var exampleVbrHa = new VbrHa("exampleVbrHa", VbrHaArgs.builder()
.vbrId(exampleInstanceAttachment[0].childInstanceId())
.peerVbrId(exampleInstanceAttachment[1].childInstanceId())
.vbrHaName(name)
.description(name)
.build());
}
}
Example coming soon!
Create VbrHa Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VbrHa(name: string, args: VbrHaArgs, opts?: CustomResourceOptions);@overload
def VbrHa(resource_name: str,
args: VbrHaArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VbrHa(resource_name: str,
opts: Optional[ResourceOptions] = None,
peer_vbr_id: Optional[str] = None,
vbr_id: Optional[str] = None,
description: Optional[str] = None,
dry_run: Optional[bool] = None,
vbr_ha_name: Optional[str] = None)func NewVbrHa(ctx *Context, name string, args VbrHaArgs, opts ...ResourceOption) (*VbrHa, error)public VbrHa(string name, VbrHaArgs args, CustomResourceOptions? opts = null)type: alicloud:vpc:VbrHa
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 VbrHaArgs
- 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 VbrHaArgs
- 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 VbrHaArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VbrHaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VbrHaArgs
- 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 vbrHaResource = new AliCloud.Vpc.VbrHa("vbrHaResource", new()
{
PeerVbrId = "string",
VbrId = "string",
Description = "string",
DryRun = false,
VbrHaName = "string",
});
example, err := vpc.NewVbrHa(ctx, "vbrHaResource", &vpc.VbrHaArgs{
PeerVbrId: pulumi.String("string"),
VbrId: pulumi.String("string"),
Description: pulumi.String("string"),
DryRun: pulumi.Bool(false),
VbrHaName: pulumi.String("string"),
})
var vbrHaResource = new VbrHa("vbrHaResource", VbrHaArgs.builder()
.peerVbrId("string")
.vbrId("string")
.description("string")
.dryRun(false)
.vbrHaName("string")
.build());
vbr_ha_resource = alicloud.vpc.VbrHa("vbrHaResource",
peer_vbr_id="string",
vbr_id="string",
description="string",
dry_run=False,
vbr_ha_name="string")
const vbrHaResource = new alicloud.vpc.VbrHa("vbrHaResource", {
peerVbrId: "string",
vbrId: "string",
description: "string",
dryRun: false,
vbrHaName: "string",
});
type: alicloud:vpc:VbrHa
properties:
description: string
dryRun: false
peerVbrId: string
vbrHaName: string
vbrId: string
VbrHa 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 VbrHa resource accepts the following input properties:
- Peer
Vbr stringId - The instance ID of another VBR in The VBR switching group.
- Vbr
Id string - The VBR instance ID.
- Description string
- The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with 'http:// 'or 'https.
- Dry
Run bool - Whether to PreCheck only this request. Value range:
- true*: The check request is sent and the instance is not started. Check whether the required parameters, request format, and instance status are filled in. If the check does not pass, the corresponding error is returned. If the check passes, DRYRUN.SUCCESS is returned.
- false* (default): Send a normal request and start the instance directly after passing the check.
- Vbr
Ha stringName - VBR switch group name.
- Peer
Vbr stringId - The instance ID of another VBR in The VBR switching group.
- Vbr
Id string - The VBR instance ID.
- Description string
- The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with 'http:// 'or 'https.
- Dry
Run bool - Whether to PreCheck only this request. Value range:
- true*: The check request is sent and the instance is not started. Check whether the required parameters, request format, and instance status are filled in. If the check does not pass, the corresponding error is returned. If the check passes, DRYRUN.SUCCESS is returned.
- false* (default): Send a normal request and start the instance directly after passing the check.
- Vbr
Ha stringName - VBR switch group name.
- peer
Vbr StringId - The instance ID of another VBR in The VBR switching group.
- vbr
Id String - The VBR instance ID.
- description String
- The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with 'http:// 'or 'https.
- dry
Run Boolean - Whether to PreCheck only this request. Value range:
- true*: The check request is sent and the instance is not started. Check whether the required parameters, request format, and instance status are filled in. If the check does not pass, the corresponding error is returned. If the check passes, DRYRUN.SUCCESS is returned.
- false* (default): Send a normal request and start the instance directly after passing the check.
- vbr
Ha StringName - VBR switch group name.
- peer
Vbr stringId - The instance ID of another VBR in The VBR switching group.
- vbr
Id string - The VBR instance ID.
- description string
- The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with 'http:// 'or 'https.
- dry
Run boolean - Whether to PreCheck only this request. Value range:
- true*: The check request is sent and the instance is not started. Check whether the required parameters, request format, and instance status are filled in. If the check does not pass, the corresponding error is returned. If the check passes, DRYRUN.SUCCESS is returned.
- false* (default): Send a normal request and start the instance directly after passing the check.
- vbr
Ha stringName - VBR switch group name.
- peer_
vbr_ strid - The instance ID of another VBR in The VBR switching group.
- vbr_
id str - The VBR instance ID.
- description str
- The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with 'http:// 'or 'https.
- dry_
run bool - Whether to PreCheck only this request. Value range:
- true*: The check request is sent and the instance is not started. Check whether the required parameters, request format, and instance status are filled in. If the check does not pass, the corresponding error is returned. If the check passes, DRYRUN.SUCCESS is returned.
- false* (default): Send a normal request and start the instance directly after passing the check.
- vbr_
ha_ strname - VBR switch group name.
- peer
Vbr StringId - The instance ID of another VBR in The VBR switching group.
- vbr
Id String - The VBR instance ID.
- description String
- The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with 'http:// 'or 'https.
- dry
Run Boolean - Whether to PreCheck only this request. Value range:
- true*: The check request is sent and the instance is not started. Check whether the required parameters, request format, and instance status are filled in. If the check does not pass, the corresponding error is returned. If the check passes, DRYRUN.SUCCESS is returned.
- false* (default): Send a normal request and start the instance directly after passing the check.
- vbr
Ha StringName - VBR switch group name.
Outputs
All input properties are implicitly available as output properties. Additionally, the VbrHa resource produces the following output properties:
- Create
Time string - The creation time of the VBR.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Id string - The ID of the region to which the VBR belongs.
- Status string
- Status of VBR switching Group
- Create
Time string - The creation time of the VBR.
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Id string - The ID of the region to which the VBR belongs.
- Status string
- Status of VBR switching Group
- create
Time String - The creation time of the VBR.
- id String
- The provider-assigned unique ID for this managed resource.
- region
Id String - The ID of the region to which the VBR belongs.
- status String
- Status of VBR switching Group
- create
Time string - The creation time of the VBR.
- id string
- The provider-assigned unique ID for this managed resource.
- region
Id string - The ID of the region to which the VBR belongs.
- status string
- Status of VBR switching Group
- create_
time str - The creation time of the VBR.
- id str
- The provider-assigned unique ID for this managed resource.
- region_
id str - The ID of the region to which the VBR belongs.
- status str
- Status of VBR switching Group
- create
Time String - The creation time of the VBR.
- id String
- The provider-assigned unique ID for this managed resource.
- region
Id String - The ID of the region to which the VBR belongs.
- status String
- Status of VBR switching Group
Look up Existing VbrHa Resource
Get an existing VbrHa 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?: VbrHaState, opts?: CustomResourceOptions): VbrHa@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
create_time: Optional[str] = None,
description: Optional[str] = None,
dry_run: Optional[bool] = None,
peer_vbr_id: Optional[str] = None,
region_id: Optional[str] = None,
status: Optional[str] = None,
vbr_ha_name: Optional[str] = None,
vbr_id: Optional[str] = None) -> VbrHafunc GetVbrHa(ctx *Context, name string, id IDInput, state *VbrHaState, opts ...ResourceOption) (*VbrHa, error)public static VbrHa Get(string name, Input<string> id, VbrHaState? state, CustomResourceOptions? opts = null)public static VbrHa get(String name, Output<String> id, VbrHaState state, CustomResourceOptions options)resources: _: type: alicloud:vpc:VbrHa 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.
- Create
Time string - The creation time of the VBR.
- Description string
- The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with 'http:// 'or 'https.
- Dry
Run bool - Whether to PreCheck only this request. Value range:
- true*: The check request is sent and the instance is not started. Check whether the required parameters, request format, and instance status are filled in. If the check does not pass, the corresponding error is returned. If the check passes, DRYRUN.SUCCESS is returned.
- false* (default): Send a normal request and start the instance directly after passing the check.
- Peer
Vbr stringId - The instance ID of another VBR in The VBR switching group.
- Region
Id string - The ID of the region to which the VBR belongs.
- Status string
- Status of VBR switching Group
- Vbr
Ha stringName - VBR switch group name.
- Vbr
Id string - The VBR instance ID.
- Create
Time string - The creation time of the VBR.
- Description string
- The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with 'http:// 'or 'https.
- Dry
Run bool - Whether to PreCheck only this request. Value range:
- true*: The check request is sent and the instance is not started. Check whether the required parameters, request format, and instance status are filled in. If the check does not pass, the corresponding error is returned. If the check passes, DRYRUN.SUCCESS is returned.
- false* (default): Send a normal request and start the instance directly after passing the check.
- Peer
Vbr stringId - The instance ID of another VBR in The VBR switching group.
- Region
Id string - The ID of the region to which the VBR belongs.
- Status string
- Status of VBR switching Group
- Vbr
Ha stringName - VBR switch group name.
- Vbr
Id string - The VBR instance ID.
- create
Time String - The creation time of the VBR.
- description String
- The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with 'http:// 'or 'https.
- dry
Run Boolean - Whether to PreCheck only this request. Value range:
- true*: The check request is sent and the instance is not started. Check whether the required parameters, request format, and instance status are filled in. If the check does not pass, the corresponding error is returned. If the check passes, DRYRUN.SUCCESS is returned.
- false* (default): Send a normal request and start the instance directly after passing the check.
- peer
Vbr StringId - The instance ID of another VBR in The VBR switching group.
- region
Id String - The ID of the region to which the VBR belongs.
- status String
- Status of VBR switching Group
- vbr
Ha StringName - VBR switch group name.
- vbr
Id String - The VBR instance ID.
- create
Time string - The creation time of the VBR.
- description string
- The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with 'http:// 'or 'https.
- dry
Run boolean - Whether to PreCheck only this request. Value range:
- true*: The check request is sent and the instance is not started. Check whether the required parameters, request format, and instance status are filled in. If the check does not pass, the corresponding error is returned. If the check passes, DRYRUN.SUCCESS is returned.
- false* (default): Send a normal request and start the instance directly after passing the check.
- peer
Vbr stringId - The instance ID of another VBR in The VBR switching group.
- region
Id string - The ID of the region to which the VBR belongs.
- status string
- Status of VBR switching Group
- vbr
Ha stringName - VBR switch group name.
- vbr
Id string - The VBR instance ID.
- create_
time str - The creation time of the VBR.
- description str
- The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with 'http:// 'or 'https.
- dry_
run bool - Whether to PreCheck only this request. Value range:
- true*: The check request is sent and the instance is not started. Check whether the required parameters, request format, and instance status are filled in. If the check does not pass, the corresponding error is returned. If the check passes, DRYRUN.SUCCESS is returned.
- false* (default): Send a normal request and start the instance directly after passing the check.
- peer_
vbr_ strid - The instance ID of another VBR in The VBR switching group.
- region_
id str - The ID of the region to which the VBR belongs.
- status str
- Status of VBR switching Group
- vbr_
ha_ strname - VBR switch group name.
- vbr_
id str - The VBR instance ID.
- create
Time String - The creation time of the VBR.
- description String
- The description of the VBR switching group. It must be 2 to 256 characters in length and must start with a letter or Chinese, but cannot start with 'http:// 'or 'https.
- dry
Run Boolean - Whether to PreCheck only this request. Value range:
- true*: The check request is sent and the instance is not started. Check whether the required parameters, request format, and instance status are filled in. If the check does not pass, the corresponding error is returned. If the check passes, DRYRUN.SUCCESS is returned.
- false* (default): Send a normal request and start the instance directly after passing the check.
- peer
Vbr StringId - The instance ID of another VBR in The VBR switching group.
- region
Id String - The ID of the region to which the VBR belongs.
- status String
- Status of VBR switching Group
- vbr
Ha StringName - VBR switch group name.
- vbr
Id String - The VBR instance ID.
Import
Express Connect Vbr Ha can be imported using the id, e.g.
$ pulumi import alicloud:vpc/vbrHa:VbrHa 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.
