azurermVirtualWan
Manages a Virtual WAN.
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
const azurermResourceGroupExample = new azurerm.resourceGroup.ResourceGroup(
this,
"example",
{
location: "West Europe",
name: "example-resources",
}
);
const azurermVirtualWanExample = new azurerm.virtualWan.VirtualWan(
this,
"example_1",
{
location: azurermResourceGroupExample.location,
name: "example-vwan",
resource_group_name: azurermResourceGroupExample.name,
}
);
/*This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.*/
azurermVirtualWanExample.overrideLogicalId("example");
Argument Reference
The following arguments are supported:
-
name
- (Required) Specifies the name of the Virtual WAN. Changing this forces a new resource to be created. -
resourceGroupName
- (Required) The name of the resource group in which to create the Virtual WAN. Changing this forces a new resource to be created. -
location
- (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. -
disableVpnEncryption
- (Optional) Boolean flag to specify whether VPN encryption is disabled. Defaults tofalse
. -
allowBranchToBranchTraffic
- (Optional) Boolean flag to specify whether branch to branch traffic is allowed. Defaults totrue
. -
office365LocalBreakoutCategory
- (Optional) Specifies the Office365 local breakout category. Possible values include:optimize
,optimizeAndAllow
,all
,none
. Defaults tonone
. -
type
- (Optional) Specifies the Virtual WAN type. Possible Values include:basic
andstandard
. Defaults tostandard
. -
tags
- (Optional) A mapping of tags to assign to the Virtual WAN.
Attributes Reference
The following attributes are exported:
id
- The ID of the Virtual WAN.
Timeouts
The timeouts
block allows you to specify timeouts for certain actions:
create
- (Defaults to 30 minutes) Used when creating the Virtual WAN.update
- (Defaults to 30 minutes) Used when updating the Virtual WAN.read
- (Defaults to 5 minutes) Used when retrieving the Virtual WAN.delete
- (Defaults to 30 minutes) Used when deleting the Virtual WAN.
Import
Virtual WAN can be imported using the resourceId
, e.g.