aviatrix.AviatrixEdgeSpoke
Explore with Pulumi AI
The aviatrix_edge_spoke resource creates the Aviatrix Edge as a Spoke. This resource is available as of provider version R2.23+.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Aviatrix = Pulumi.Aviatrix;
return await Deployment.RunAsync(() =>
{
// Create a DHCP Edge as a Spoke
var test = new Aviatrix.AviatrixEdgeSpoke("test", new()
{
GwName = "edge-test",
LanInterfaceIpPrefix = "10.60.0.0/24",
LocalAsNumber = "65000",
ManagementInterfaceConfig = "DHCP",
PrependAsPaths = new[]
{
"65000",
"65000",
},
SiteId = "site-123",
WanDefaultGatewayIp = "10.60.0.0",
WanInterfaceIpPrefix = "10.60.0.0/24",
ZtpFileDownloadPath = "/ztp/download/path",
ZtpFileType = "iso",
});
});
package main
import (
"github.com/astipkovits/pulumi-aviatrix/sdk/go/aviatrix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aviatrix.NewAviatrixEdgeSpoke(ctx, "test", &aviatrix.AviatrixEdgeSpokeArgs{
GwName: pulumi.String("edge-test"),
LanInterfaceIpPrefix: pulumi.String("10.60.0.0/24"),
LocalAsNumber: pulumi.String("65000"),
ManagementInterfaceConfig: pulumi.String("DHCP"),
PrependAsPaths: pulumi.StringArray{
pulumi.String("65000"),
pulumi.String("65000"),
},
SiteId: pulumi.String("site-123"),
WanDefaultGatewayIp: pulumi.String("10.60.0.0"),
WanInterfaceIpPrefix: pulumi.String("10.60.0.0/24"),
ZtpFileDownloadPath: pulumi.String("/ztp/download/path"),
ZtpFileType: pulumi.String("iso"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aviatrix.AviatrixEdgeSpoke;
import com.pulumi.aviatrix.AviatrixEdgeSpokeArgs;
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 test = new AviatrixEdgeSpoke("test", AviatrixEdgeSpokeArgs.builder()
.gwName("edge-test")
.lanInterfaceIpPrefix("10.60.0.0/24")
.localAsNumber("65000")
.managementInterfaceConfig("DHCP")
.prependAsPaths(
"65000",
"65000")
.siteId("site-123")
.wanDefaultGatewayIp("10.60.0.0")
.wanInterfaceIpPrefix("10.60.0.0/24")
.ztpFileDownloadPath("/ztp/download/path")
.ztpFileType("iso")
.build());
}
}
import pulumi
import pulumi_aviatrix as aviatrix
# Create a DHCP Edge as a Spoke
test = aviatrix.AviatrixEdgeSpoke("test",
gw_name="edge-test",
lan_interface_ip_prefix="10.60.0.0/24",
local_as_number="65000",
management_interface_config="DHCP",
prepend_as_paths=[
"65000",
"65000",
],
site_id="site-123",
wan_default_gateway_ip="10.60.0.0",
wan_interface_ip_prefix="10.60.0.0/24",
ztp_file_download_path="/ztp/download/path",
ztp_file_type="iso")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";
// Create a DHCP Edge as a Spoke
const test = new aviatrix.AviatrixEdgeSpoke("test", {
gwName: "edge-test",
lanInterfaceIpPrefix: "10.60.0.0/24",
localAsNumber: "65000",
managementInterfaceConfig: "DHCP",
prependAsPaths: [
"65000",
"65000",
],
siteId: "site-123",
wanDefaultGatewayIp: "10.60.0.0",
wanInterfaceIpPrefix: "10.60.0.0/24",
ztpFileDownloadPath: "/ztp/download/path",
ztpFileType: "iso",
});
resources:
# Create a DHCP Edge as a Spoke
test:
type: aviatrix:AviatrixEdgeSpoke
properties:
gwName: edge-test
lanInterfaceIpPrefix: 10.60.0.0/24
localAsNumber: '65000'
managementInterfaceConfig: DHCP
prependAsPaths:
- '65000'
- '65000'
siteId: site-123
wanDefaultGatewayIp: 10.60.0.0
wanInterfaceIpPrefix: 10.60.0.0/24
ztpFileDownloadPath: /ztp/download/path
ztpFileType: iso
using System.Collections.Generic;
using Pulumi;
using Aviatrix = Pulumi.Aviatrix;
return await Deployment.RunAsync(() =>
{
// Create a Static Edge as a Spoke
var test = new Aviatrix.AviatrixEdgeSpoke("test", new()
{
DnsServerIp = "10.60.0.0",
GwName = "edge-test",
LanInterfaceIpPrefix = "10.60.0.0/24",
LocalAsNumber = "65000",
ManagementDefaultGatewayIp = "10.60.0.0",
ManagementInterfaceConfig = "Static",
ManagementInterfaceIpPrefix = "10.60.0.0/24",
PrependAsPaths = new[]
{
"65000",
"65000",
},
SecondaryDnsServerIp = "10.60.0.0",
SiteId = "site-123",
WanDefaultGatewayIp = "10.60.0.0",
WanInterfaceIpPrefix = "10.60.0.0/24",
ZtpFileDownloadPath = "/ztp/download/path",
ZtpFileType = "iso",
});
});
package main
import (
"github.com/astipkovits/pulumi-aviatrix/sdk/go/aviatrix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aviatrix.NewAviatrixEdgeSpoke(ctx, "test", &aviatrix.AviatrixEdgeSpokeArgs{
DnsServerIp: pulumi.String("10.60.0.0"),
GwName: pulumi.String("edge-test"),
LanInterfaceIpPrefix: pulumi.String("10.60.0.0/24"),
LocalAsNumber: pulumi.String("65000"),
ManagementDefaultGatewayIp: pulumi.String("10.60.0.0"),
ManagementInterfaceConfig: pulumi.String("Static"),
ManagementInterfaceIpPrefix: pulumi.String("10.60.0.0/24"),
PrependAsPaths: pulumi.StringArray{
pulumi.String("65000"),
pulumi.String("65000"),
},
SecondaryDnsServerIp: pulumi.String("10.60.0.0"),
SiteId: pulumi.String("site-123"),
WanDefaultGatewayIp: pulumi.String("10.60.0.0"),
WanInterfaceIpPrefix: pulumi.String("10.60.0.0/24"),
ZtpFileDownloadPath: pulumi.String("/ztp/download/path"),
ZtpFileType: pulumi.String("iso"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aviatrix.AviatrixEdgeSpoke;
import com.pulumi.aviatrix.AviatrixEdgeSpokeArgs;
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 test = new AviatrixEdgeSpoke("test", AviatrixEdgeSpokeArgs.builder()
.dnsServerIp("10.60.0.0")
.gwName("edge-test")
.lanInterfaceIpPrefix("10.60.0.0/24")
.localAsNumber("65000")
.managementDefaultGatewayIp("10.60.0.0")
.managementInterfaceConfig("Static")
.managementInterfaceIpPrefix("10.60.0.0/24")
.prependAsPaths(
"65000",
"65000")
.secondaryDnsServerIp("10.60.0.0")
.siteId("site-123")
.wanDefaultGatewayIp("10.60.0.0")
.wanInterfaceIpPrefix("10.60.0.0/24")
.ztpFileDownloadPath("/ztp/download/path")
.ztpFileType("iso")
.build());
}
}
import pulumi
import pulumi_aviatrix as aviatrix
# Create a Static Edge as a Spoke
test = aviatrix.AviatrixEdgeSpoke("test",
dns_server_ip="10.60.0.0",
gw_name="edge-test",
lan_interface_ip_prefix="10.60.0.0/24",
local_as_number="65000",
management_default_gateway_ip="10.60.0.0",
management_interface_config="Static",
management_interface_ip_prefix="10.60.0.0/24",
prepend_as_paths=[
"65000",
"65000",
],
secondary_dns_server_ip="10.60.0.0",
site_id="site-123",
wan_default_gateway_ip="10.60.0.0",
wan_interface_ip_prefix="10.60.0.0/24",
ztp_file_download_path="/ztp/download/path",
ztp_file_type="iso")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";
// Create a Static Edge as a Spoke
const test = new aviatrix.AviatrixEdgeSpoke("test", {
dnsServerIp: "10.60.0.0",
gwName: "edge-test",
lanInterfaceIpPrefix: "10.60.0.0/24",
localAsNumber: "65000",
managementDefaultGatewayIp: "10.60.0.0",
managementInterfaceConfig: "Static",
managementInterfaceIpPrefix: "10.60.0.0/24",
prependAsPaths: [
"65000",
"65000",
],
secondaryDnsServerIp: "10.60.0.0",
siteId: "site-123",
wanDefaultGatewayIp: "10.60.0.0",
wanInterfaceIpPrefix: "10.60.0.0/24",
ztpFileDownloadPath: "/ztp/download/path",
ztpFileType: "iso",
});
resources:
# Create a Static Edge as a Spoke
test:
type: aviatrix:AviatrixEdgeSpoke
properties:
dnsServerIp: 10.60.0.0
gwName: edge-test
lanInterfaceIpPrefix: 10.60.0.0/24
localAsNumber: '65000'
managementDefaultGatewayIp: 10.60.0.0
managementInterfaceConfig: Static
managementInterfaceIpPrefix: 10.60.0.0/24
prependAsPaths:
- '65000'
- '65000'
secondaryDnsServerIp: 10.60.0.0
siteId: site-123
wanDefaultGatewayIp: 10.60.0.0
wanInterfaceIpPrefix: 10.60.0.0/24
ztpFileDownloadPath: /ztp/download/path
ztpFileType: iso
Create AviatrixEdgeSpoke Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AviatrixEdgeSpoke(name: string, args: AviatrixEdgeSpokeArgs, opts?: CustomResourceOptions);
@overload
def AviatrixEdgeSpoke(resource_name: str,
args: AviatrixEdgeSpokeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AviatrixEdgeSpoke(resource_name: str,
opts: Optional[ResourceOptions] = None,
gw_name: Optional[str] = None,
ztp_file_type: Optional[str] = None,
ztp_file_download_path: Optional[str] = None,
wan_interface_ip_prefix: Optional[str] = None,
wan_default_gateway_ip: Optional[str] = None,
site_id: Optional[str] = None,
management_interface_config: Optional[str] = None,
lan_interface_ip_prefix: Optional[str] = None,
local_as_number: Optional[str] = None,
management_interface_ip_prefix: Optional[str] = None,
enable_preserve_as_path: Optional[bool] = None,
enable_learned_cidrs_approval: Optional[bool] = None,
enable_jumbo_frame: Optional[bool] = None,
latitude: Optional[str] = None,
approved_learned_cidrs: Optional[Sequence[str]] = None,
longitude: Optional[str] = None,
management_default_gateway_ip: Optional[str] = None,
management_egress_ip_prefix: Optional[str] = None,
enable_edge_transitive_routing: Optional[bool] = None,
enable_management_over_private_network: Optional[bool] = None,
prepend_as_paths: Optional[Sequence[str]] = None,
rx_queue_size: Optional[str] = None,
secondary_dns_server_ip: Optional[str] = None,
enable_edge_active_standby_preemptive: Optional[bool] = None,
spoke_bgp_manual_advertise_cidrs: Optional[Sequence[str]] = None,
enable_edge_active_standby: Optional[bool] = None,
dns_server_ip: Optional[str] = None,
wan_public_ip: Optional[str] = None,
bgp_polling_time: Optional[int] = None,
bgp_hold_time: Optional[int] = None)
func NewAviatrixEdgeSpoke(ctx *Context, name string, args AviatrixEdgeSpokeArgs, opts ...ResourceOption) (*AviatrixEdgeSpoke, error)
public AviatrixEdgeSpoke(string name, AviatrixEdgeSpokeArgs args, CustomResourceOptions? opts = null)
public AviatrixEdgeSpoke(String name, AviatrixEdgeSpokeArgs args)
public AviatrixEdgeSpoke(String name, AviatrixEdgeSpokeArgs args, CustomResourceOptions options)
type: aviatrix:AviatrixEdgeSpoke
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 AviatrixEdgeSpokeArgs
- 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 AviatrixEdgeSpokeArgs
- 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 AviatrixEdgeSpokeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AviatrixEdgeSpokeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AviatrixEdgeSpokeArgs
- 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 aviatrixEdgeSpokeResource = new Aviatrix.AviatrixEdgeSpoke("aviatrixEdgeSpokeResource", new()
{
GwName = "string",
ZtpFileType = "string",
ZtpFileDownloadPath = "string",
WanInterfaceIpPrefix = "string",
WanDefaultGatewayIp = "string",
SiteId = "string",
ManagementInterfaceConfig = "string",
LanInterfaceIpPrefix = "string",
LocalAsNumber = "string",
ManagementInterfaceIpPrefix = "string",
EnablePreserveAsPath = false,
EnableLearnedCidrsApproval = false,
EnableJumboFrame = false,
Latitude = "string",
ApprovedLearnedCidrs = new[]
{
"string",
},
Longitude = "string",
ManagementDefaultGatewayIp = "string",
ManagementEgressIpPrefix = "string",
EnableEdgeTransitiveRouting = false,
EnableManagementOverPrivateNetwork = false,
PrependAsPaths = new[]
{
"string",
},
RxQueueSize = "string",
SecondaryDnsServerIp = "string",
EnableEdgeActiveStandbyPreemptive = false,
SpokeBgpManualAdvertiseCidrs = new[]
{
"string",
},
EnableEdgeActiveStandby = false,
DnsServerIp = "string",
WanPublicIp = "string",
BgpPollingTime = 0,
BgpHoldTime = 0,
});
example, err := aviatrix.NewAviatrixEdgeSpoke(ctx, "aviatrixEdgeSpokeResource", &aviatrix.AviatrixEdgeSpokeArgs{
GwName: pulumi.String("string"),
ZtpFileType: pulumi.String("string"),
ZtpFileDownloadPath: pulumi.String("string"),
WanInterfaceIpPrefix: pulumi.String("string"),
WanDefaultGatewayIp: pulumi.String("string"),
SiteId: pulumi.String("string"),
ManagementInterfaceConfig: pulumi.String("string"),
LanInterfaceIpPrefix: pulumi.String("string"),
LocalAsNumber: pulumi.String("string"),
ManagementInterfaceIpPrefix: pulumi.String("string"),
EnablePreserveAsPath: pulumi.Bool(false),
EnableLearnedCidrsApproval: pulumi.Bool(false),
EnableJumboFrame: pulumi.Bool(false),
Latitude: pulumi.String("string"),
ApprovedLearnedCidrs: pulumi.StringArray{
pulumi.String("string"),
},
Longitude: pulumi.String("string"),
ManagementDefaultGatewayIp: pulumi.String("string"),
ManagementEgressIpPrefix: pulumi.String("string"),
EnableEdgeTransitiveRouting: pulumi.Bool(false),
EnableManagementOverPrivateNetwork: pulumi.Bool(false),
PrependAsPaths: pulumi.StringArray{
pulumi.String("string"),
},
RxQueueSize: pulumi.String("string"),
SecondaryDnsServerIp: pulumi.String("string"),
EnableEdgeActiveStandbyPreemptive: pulumi.Bool(false),
SpokeBgpManualAdvertiseCidrs: pulumi.StringArray{
pulumi.String("string"),
},
EnableEdgeActiveStandby: pulumi.Bool(false),
DnsServerIp: pulumi.String("string"),
WanPublicIp: pulumi.String("string"),
BgpPollingTime: pulumi.Int(0),
BgpHoldTime: pulumi.Int(0),
})
var aviatrixEdgeSpokeResource = new AviatrixEdgeSpoke("aviatrixEdgeSpokeResource", AviatrixEdgeSpokeArgs.builder()
.gwName("string")
.ztpFileType("string")
.ztpFileDownloadPath("string")
.wanInterfaceIpPrefix("string")
.wanDefaultGatewayIp("string")
.siteId("string")
.managementInterfaceConfig("string")
.lanInterfaceIpPrefix("string")
.localAsNumber("string")
.managementInterfaceIpPrefix("string")
.enablePreserveAsPath(false)
.enableLearnedCidrsApproval(false)
.enableJumboFrame(false)
.latitude("string")
.approvedLearnedCidrs("string")
.longitude("string")
.managementDefaultGatewayIp("string")
.managementEgressIpPrefix("string")
.enableEdgeTransitiveRouting(false)
.enableManagementOverPrivateNetwork(false)
.prependAsPaths("string")
.rxQueueSize("string")
.secondaryDnsServerIp("string")
.enableEdgeActiveStandbyPreemptive(false)
.spokeBgpManualAdvertiseCidrs("string")
.enableEdgeActiveStandby(false)
.dnsServerIp("string")
.wanPublicIp("string")
.bgpPollingTime(0)
.bgpHoldTime(0)
.build());
aviatrix_edge_spoke_resource = aviatrix.AviatrixEdgeSpoke("aviatrixEdgeSpokeResource",
gw_name="string",
ztp_file_type="string",
ztp_file_download_path="string",
wan_interface_ip_prefix="string",
wan_default_gateway_ip="string",
site_id="string",
management_interface_config="string",
lan_interface_ip_prefix="string",
local_as_number="string",
management_interface_ip_prefix="string",
enable_preserve_as_path=False,
enable_learned_cidrs_approval=False,
enable_jumbo_frame=False,
latitude="string",
approved_learned_cidrs=["string"],
longitude="string",
management_default_gateway_ip="string",
management_egress_ip_prefix="string",
enable_edge_transitive_routing=False,
enable_management_over_private_network=False,
prepend_as_paths=["string"],
rx_queue_size="string",
secondary_dns_server_ip="string",
enable_edge_active_standby_preemptive=False,
spoke_bgp_manual_advertise_cidrs=["string"],
enable_edge_active_standby=False,
dns_server_ip="string",
wan_public_ip="string",
bgp_polling_time=0,
bgp_hold_time=0)
const aviatrixEdgeSpokeResource = new aviatrix.AviatrixEdgeSpoke("aviatrixEdgeSpokeResource", {
gwName: "string",
ztpFileType: "string",
ztpFileDownloadPath: "string",
wanInterfaceIpPrefix: "string",
wanDefaultGatewayIp: "string",
siteId: "string",
managementInterfaceConfig: "string",
lanInterfaceIpPrefix: "string",
localAsNumber: "string",
managementInterfaceIpPrefix: "string",
enablePreserveAsPath: false,
enableLearnedCidrsApproval: false,
enableJumboFrame: false,
latitude: "string",
approvedLearnedCidrs: ["string"],
longitude: "string",
managementDefaultGatewayIp: "string",
managementEgressIpPrefix: "string",
enableEdgeTransitiveRouting: false,
enableManagementOverPrivateNetwork: false,
prependAsPaths: ["string"],
rxQueueSize: "string",
secondaryDnsServerIp: "string",
enableEdgeActiveStandbyPreemptive: false,
spokeBgpManualAdvertiseCidrs: ["string"],
enableEdgeActiveStandby: false,
dnsServerIp: "string",
wanPublicIp: "string",
bgpPollingTime: 0,
bgpHoldTime: 0,
});
type: aviatrix:AviatrixEdgeSpoke
properties:
approvedLearnedCidrs:
- string
bgpHoldTime: 0
bgpPollingTime: 0
dnsServerIp: string
enableEdgeActiveStandby: false
enableEdgeActiveStandbyPreemptive: false
enableEdgeTransitiveRouting: false
enableJumboFrame: false
enableLearnedCidrsApproval: false
enableManagementOverPrivateNetwork: false
enablePreserveAsPath: false
gwName: string
lanInterfaceIpPrefix: string
latitude: string
localAsNumber: string
longitude: string
managementDefaultGatewayIp: string
managementEgressIpPrefix: string
managementInterfaceConfig: string
managementInterfaceIpPrefix: string
prependAsPaths:
- string
rxQueueSize: string
secondaryDnsServerIp: string
siteId: string
spokeBgpManualAdvertiseCidrs:
- string
wanDefaultGatewayIp: string
wanInterfaceIpPrefix: string
wanPublicIp: string
ztpFileDownloadPath: string
ztpFileType: string
AviatrixEdgeSpoke 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 AviatrixEdgeSpoke resource accepts the following input properties:
- Gw
Name string - Edge as a Spoke name.
- Lan
Interface stringIp Prefix - LAN interface IP and subnet prefix.
- Management
Interface stringConfig - Management interface configuration. Valid values: "DHCP", "Static".
- Site
Id string - Site ID.
- Wan
Default stringGateway Ip - WAN default gateway IP.
- Wan
Interface stringIp Prefix - WAN interface IP and subnet prefix.
- Ztp
File stringDownload Path - The folder path where the ZTP file will be downloaded.
- Ztp
File stringType - ZTP file type. Valid values: "iso", "cloud-init".
- Approved
Learned List<string>Cidrs - Set of approved learned CIDRs. Valid only when
enable_learned_cidrs_approval
is set to true. Example: ["10.1.0.0/116", "10.2.0.0/16"]. - Bgp
Hold intTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- Bgp
Polling intTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: 50.
- Dns
Server stringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - Enable
Edge boolActive Standby - Switch to enable Edge Active-Standby mode. Valid values: true, false. Default value: false.
- Enable
Edge boolActive Standby Preemptive - Switch to enable Preemptive Mode for Edge Active-Standby. Valid values: true, false. Default value: false.
- Enable
Edge boolTransitive Routing - Switch to enable Edge transitive routing. Valid values: true, false. Default value: false.
- Enable
Jumbo boolFrame - Switch to enable jumbo frame. Valid values: true, false. Default value: false.
- Enable
Learned boolCidrs Approval - Switch to enable learned CIDR approval. Valid values: true, false. Default value: false.
- Enable
Management boolOver Private Network - Switch to enable management over the private network. Valid values: true, false. Default value: false.
- Enable
Preserve boolAs Path - Switch to enable preserve as_path when advertising manual summary CIDRs. Valid values: true, false. Default value: false.
- Latitude string
- Latitude of Edge as a Spoke. Valid values are between -90 and 90. Example: "47.7511".
- Local
As stringNumber - BGP AS Number to assign to Edge as a Spoke.
- Longitude string
- Longitude of Edge as a Spoke. Valid values are between -180 and 180. Example: "120.7401".
- Management
Default stringGateway Ip - Management default gateway IP. Required and valid when
management_interface_config
is "Static". - Management
Egress stringIp Prefix - Management egress gateway IP and subnet prefix.
- Management
Interface stringIp Prefix - Management interface IP and subnet prefix. Required and valid when
management_interface_config
is "Static". - Prepend
As List<string>Paths - List of AS numbers to prepend gateway BGP AS_Path field. Valid only when
local_as_number
is set. Example: ["65023", "65023"]. - Rx
Queue stringSize - Ethernet interface RX queue size. Once set, can't be deleted or disabled. Valid values: "1K", "2K", "4K".
- Secondary
Dns stringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - Spoke
Bgp List<string>Manual Advertise Cidrs - Set of intended CIDRs to be advertised to external BGP router. Example: ["10.1.0.0/116", "10.2.0.0/16"].
- Wan
Public stringIp - WAN public IP. Required for attaching connections over the Internet.
- Gw
Name string - Edge as a Spoke name.
- Lan
Interface stringIp Prefix - LAN interface IP and subnet prefix.
- Management
Interface stringConfig - Management interface configuration. Valid values: "DHCP", "Static".
- Site
Id string - Site ID.
- Wan
Default stringGateway Ip - WAN default gateway IP.
- Wan
Interface stringIp Prefix - WAN interface IP and subnet prefix.
- Ztp
File stringDownload Path - The folder path where the ZTP file will be downloaded.
- Ztp
File stringType - ZTP file type. Valid values: "iso", "cloud-init".
- Approved
Learned []stringCidrs - Set of approved learned CIDRs. Valid only when
enable_learned_cidrs_approval
is set to true. Example: ["10.1.0.0/116", "10.2.0.0/16"]. - Bgp
Hold intTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- Bgp
Polling intTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: 50.
- Dns
Server stringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - Enable
Edge boolActive Standby - Switch to enable Edge Active-Standby mode. Valid values: true, false. Default value: false.
- Enable
Edge boolActive Standby Preemptive - Switch to enable Preemptive Mode for Edge Active-Standby. Valid values: true, false. Default value: false.
- Enable
Edge boolTransitive Routing - Switch to enable Edge transitive routing. Valid values: true, false. Default value: false.
- Enable
Jumbo boolFrame - Switch to enable jumbo frame. Valid values: true, false. Default value: false.
- Enable
Learned boolCidrs Approval - Switch to enable learned CIDR approval. Valid values: true, false. Default value: false.
- Enable
Management boolOver Private Network - Switch to enable management over the private network. Valid values: true, false. Default value: false.
- Enable
Preserve boolAs Path - Switch to enable preserve as_path when advertising manual summary CIDRs. Valid values: true, false. Default value: false.
- Latitude string
- Latitude of Edge as a Spoke. Valid values are between -90 and 90. Example: "47.7511".
- Local
As stringNumber - BGP AS Number to assign to Edge as a Spoke.
- Longitude string
- Longitude of Edge as a Spoke. Valid values are between -180 and 180. Example: "120.7401".
- Management
Default stringGateway Ip - Management default gateway IP. Required and valid when
management_interface_config
is "Static". - Management
Egress stringIp Prefix - Management egress gateway IP and subnet prefix.
- Management
Interface stringIp Prefix - Management interface IP and subnet prefix. Required and valid when
management_interface_config
is "Static". - Prepend
As []stringPaths - List of AS numbers to prepend gateway BGP AS_Path field. Valid only when
local_as_number
is set. Example: ["65023", "65023"]. - Rx
Queue stringSize - Ethernet interface RX queue size. Once set, can't be deleted or disabled. Valid values: "1K", "2K", "4K".
- Secondary
Dns stringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - Spoke
Bgp []stringManual Advertise Cidrs - Set of intended CIDRs to be advertised to external BGP router. Example: ["10.1.0.0/116", "10.2.0.0/16"].
- Wan
Public stringIp - WAN public IP. Required for attaching connections over the Internet.
- gw
Name String - Edge as a Spoke name.
- lan
Interface StringIp Prefix - LAN interface IP and subnet prefix.
- management
Interface StringConfig - Management interface configuration. Valid values: "DHCP", "Static".
- site
Id String - Site ID.
- wan
Default StringGateway Ip - WAN default gateway IP.
- wan
Interface StringIp Prefix - WAN interface IP and subnet prefix.
- ztp
File StringDownload Path - The folder path where the ZTP file will be downloaded.
- ztp
File StringType - ZTP file type. Valid values: "iso", "cloud-init".
- approved
Learned List<String>Cidrs - Set of approved learned CIDRs. Valid only when
enable_learned_cidrs_approval
is set to true. Example: ["10.1.0.0/116", "10.2.0.0/16"]. - bgp
Hold IntegerTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp
Polling IntegerTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: 50.
- dns
Server StringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable
Edge BooleanActive Standby - Switch to enable Edge Active-Standby mode. Valid values: true, false. Default value: false.
- enable
Edge BooleanActive Standby Preemptive - Switch to enable Preemptive Mode for Edge Active-Standby. Valid values: true, false. Default value: false.
- enable
Edge BooleanTransitive Routing - Switch to enable Edge transitive routing. Valid values: true, false. Default value: false.
- enable
Jumbo BooleanFrame - Switch to enable jumbo frame. Valid values: true, false. Default value: false.
- enable
Learned BooleanCidrs Approval - Switch to enable learned CIDR approval. Valid values: true, false. Default value: false.
- enable
Management BooleanOver Private Network - Switch to enable management over the private network. Valid values: true, false. Default value: false.
- enable
Preserve BooleanAs Path - Switch to enable preserve as_path when advertising manual summary CIDRs. Valid values: true, false. Default value: false.
- latitude String
- Latitude of Edge as a Spoke. Valid values are between -90 and 90. Example: "47.7511".
- local
As StringNumber - BGP AS Number to assign to Edge as a Spoke.
- longitude String
- Longitude of Edge as a Spoke. Valid values are between -180 and 180. Example: "120.7401".
- management
Default StringGateway Ip - Management default gateway IP. Required and valid when
management_interface_config
is "Static". - management
Egress StringIp Prefix - Management egress gateway IP and subnet prefix.
- management
Interface StringIp Prefix - Management interface IP and subnet prefix. Required and valid when
management_interface_config
is "Static". - prepend
As List<String>Paths - List of AS numbers to prepend gateway BGP AS_Path field. Valid only when
local_as_number
is set. Example: ["65023", "65023"]. - rx
Queue StringSize - Ethernet interface RX queue size. Once set, can't be deleted or disabled. Valid values: "1K", "2K", "4K".
- secondary
Dns StringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - spoke
Bgp List<String>Manual Advertise Cidrs - Set of intended CIDRs to be advertised to external BGP router. Example: ["10.1.0.0/116", "10.2.0.0/16"].
- wan
Public StringIp - WAN public IP. Required for attaching connections over the Internet.
- gw
Name string - Edge as a Spoke name.
- lan
Interface stringIp Prefix - LAN interface IP and subnet prefix.
- management
Interface stringConfig - Management interface configuration. Valid values: "DHCP", "Static".
- site
Id string - Site ID.
- wan
Default stringGateway Ip - WAN default gateway IP.
- wan
Interface stringIp Prefix - WAN interface IP and subnet prefix.
- ztp
File stringDownload Path - The folder path where the ZTP file will be downloaded.
- ztp
File stringType - ZTP file type. Valid values: "iso", "cloud-init".
- approved
Learned string[]Cidrs - Set of approved learned CIDRs. Valid only when
enable_learned_cidrs_approval
is set to true. Example: ["10.1.0.0/116", "10.2.0.0/16"]. - bgp
Hold numberTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp
Polling numberTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: 50.
- dns
Server stringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable
Edge booleanActive Standby - Switch to enable Edge Active-Standby mode. Valid values: true, false. Default value: false.
- enable
Edge booleanActive Standby Preemptive - Switch to enable Preemptive Mode for Edge Active-Standby. Valid values: true, false. Default value: false.
- enable
Edge booleanTransitive Routing - Switch to enable Edge transitive routing. Valid values: true, false. Default value: false.
- enable
Jumbo booleanFrame - Switch to enable jumbo frame. Valid values: true, false. Default value: false.
- enable
Learned booleanCidrs Approval - Switch to enable learned CIDR approval. Valid values: true, false. Default value: false.
- enable
Management booleanOver Private Network - Switch to enable management over the private network. Valid values: true, false. Default value: false.
- enable
Preserve booleanAs Path - Switch to enable preserve as_path when advertising manual summary CIDRs. Valid values: true, false. Default value: false.
- latitude string
- Latitude of Edge as a Spoke. Valid values are between -90 and 90. Example: "47.7511".
- local
As stringNumber - BGP AS Number to assign to Edge as a Spoke.
- longitude string
- Longitude of Edge as a Spoke. Valid values are between -180 and 180. Example: "120.7401".
- management
Default stringGateway Ip - Management default gateway IP. Required and valid when
management_interface_config
is "Static". - management
Egress stringIp Prefix - Management egress gateway IP and subnet prefix.
- management
Interface stringIp Prefix - Management interface IP and subnet prefix. Required and valid when
management_interface_config
is "Static". - prepend
As string[]Paths - List of AS numbers to prepend gateway BGP AS_Path field. Valid only when
local_as_number
is set. Example: ["65023", "65023"]. - rx
Queue stringSize - Ethernet interface RX queue size. Once set, can't be deleted or disabled. Valid values: "1K", "2K", "4K".
- secondary
Dns stringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - spoke
Bgp string[]Manual Advertise Cidrs - Set of intended CIDRs to be advertised to external BGP router. Example: ["10.1.0.0/116", "10.2.0.0/16"].
- wan
Public stringIp - WAN public IP. Required for attaching connections over the Internet.
- gw_
name str - Edge as a Spoke name.
- lan_
interface_ strip_ prefix - LAN interface IP and subnet prefix.
- management_
interface_ strconfig - Management interface configuration. Valid values: "DHCP", "Static".
- site_
id str - Site ID.
- wan_
default_ strgateway_ ip - WAN default gateway IP.
- wan_
interface_ strip_ prefix - WAN interface IP and subnet prefix.
- ztp_
file_ strdownload_ path - The folder path where the ZTP file will be downloaded.
- ztp_
file_ strtype - ZTP file type. Valid values: "iso", "cloud-init".
- approved_
learned_ Sequence[str]cidrs - Set of approved learned CIDRs. Valid only when
enable_learned_cidrs_approval
is set to true. Example: ["10.1.0.0/116", "10.2.0.0/16"]. - bgp_
hold_ inttime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp_
polling_ inttime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: 50.
- dns_
server_ strip - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable_
edge_ boolactive_ standby - Switch to enable Edge Active-Standby mode. Valid values: true, false. Default value: false.
- enable_
edge_ boolactive_ standby_ preemptive - Switch to enable Preemptive Mode for Edge Active-Standby. Valid values: true, false. Default value: false.
- enable_
edge_ booltransitive_ routing - Switch to enable Edge transitive routing. Valid values: true, false. Default value: false.
- enable_
jumbo_ boolframe - Switch to enable jumbo frame. Valid values: true, false. Default value: false.
- enable_
learned_ boolcidrs_ approval - Switch to enable learned CIDR approval. Valid values: true, false. Default value: false.
- enable_
management_ boolover_ private_ network - Switch to enable management over the private network. Valid values: true, false. Default value: false.
- enable_
preserve_ boolas_ path - Switch to enable preserve as_path when advertising manual summary CIDRs. Valid values: true, false. Default value: false.
- latitude str
- Latitude of Edge as a Spoke. Valid values are between -90 and 90. Example: "47.7511".
- local_
as_ strnumber - BGP AS Number to assign to Edge as a Spoke.
- longitude str
- Longitude of Edge as a Spoke. Valid values are between -180 and 180. Example: "120.7401".
- management_
default_ strgateway_ ip - Management default gateway IP. Required and valid when
management_interface_config
is "Static". - management_
egress_ strip_ prefix - Management egress gateway IP and subnet prefix.
- management_
interface_ strip_ prefix - Management interface IP and subnet prefix. Required and valid when
management_interface_config
is "Static". - prepend_
as_ Sequence[str]paths - List of AS numbers to prepend gateway BGP AS_Path field. Valid only when
local_as_number
is set. Example: ["65023", "65023"]. - rx_
queue_ strsize - Ethernet interface RX queue size. Once set, can't be deleted or disabled. Valid values: "1K", "2K", "4K".
- secondary_
dns_ strserver_ ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - spoke_
bgp_ Sequence[str]manual_ advertise_ cidrs - Set of intended CIDRs to be advertised to external BGP router. Example: ["10.1.0.0/116", "10.2.0.0/16"].
- wan_
public_ strip - WAN public IP. Required for attaching connections over the Internet.
- gw
Name String - Edge as a Spoke name.
- lan
Interface StringIp Prefix - LAN interface IP and subnet prefix.
- management
Interface StringConfig - Management interface configuration. Valid values: "DHCP", "Static".
- site
Id String - Site ID.
- wan
Default StringGateway Ip - WAN default gateway IP.
- wan
Interface StringIp Prefix - WAN interface IP and subnet prefix.
- ztp
File StringDownload Path - The folder path where the ZTP file will be downloaded.
- ztp
File StringType - ZTP file type. Valid values: "iso", "cloud-init".
- approved
Learned List<String>Cidrs - Set of approved learned CIDRs. Valid only when
enable_learned_cidrs_approval
is set to true. Example: ["10.1.0.0/116", "10.2.0.0/16"]. - bgp
Hold NumberTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp
Polling NumberTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: 50.
- dns
Server StringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable
Edge BooleanActive Standby - Switch to enable Edge Active-Standby mode. Valid values: true, false. Default value: false.
- enable
Edge BooleanActive Standby Preemptive - Switch to enable Preemptive Mode for Edge Active-Standby. Valid values: true, false. Default value: false.
- enable
Edge BooleanTransitive Routing - Switch to enable Edge transitive routing. Valid values: true, false. Default value: false.
- enable
Jumbo BooleanFrame - Switch to enable jumbo frame. Valid values: true, false. Default value: false.
- enable
Learned BooleanCidrs Approval - Switch to enable learned CIDR approval. Valid values: true, false. Default value: false.
- enable
Management BooleanOver Private Network - Switch to enable management over the private network. Valid values: true, false. Default value: false.
- enable
Preserve BooleanAs Path - Switch to enable preserve as_path when advertising manual summary CIDRs. Valid values: true, false. Default value: false.
- latitude String
- Latitude of Edge as a Spoke. Valid values are between -90 and 90. Example: "47.7511".
- local
As StringNumber - BGP AS Number to assign to Edge as a Spoke.
- longitude String
- Longitude of Edge as a Spoke. Valid values are between -180 and 180. Example: "120.7401".
- management
Default StringGateway Ip - Management default gateway IP. Required and valid when
management_interface_config
is "Static". - management
Egress StringIp Prefix - Management egress gateway IP and subnet prefix.
- management
Interface StringIp Prefix - Management interface IP and subnet prefix. Required and valid when
management_interface_config
is "Static". - prepend
As List<String>Paths - List of AS numbers to prepend gateway BGP AS_Path field. Valid only when
local_as_number
is set. Example: ["65023", "65023"]. - rx
Queue StringSize - Ethernet interface RX queue size. Once set, can't be deleted or disabled. Valid values: "1K", "2K", "4K".
- secondary
Dns StringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - spoke
Bgp List<String>Manual Advertise Cidrs - Set of intended CIDRs to be advertised to external BGP router. Example: ["10.1.0.0/116", "10.2.0.0/16"].
- wan
Public StringIp - WAN public IP. Required for attaching connections over the Internet.
Outputs
All input properties are implicitly available as output properties. Additionally, the AviatrixEdgeSpoke resource produces the following output properties:
Look up Existing AviatrixEdgeSpoke Resource
Get an existing AviatrixEdgeSpoke 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?: AviatrixEdgeSpokeState, opts?: CustomResourceOptions): AviatrixEdgeSpoke
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
approved_learned_cidrs: Optional[Sequence[str]] = None,
bgp_hold_time: Optional[int] = None,
bgp_polling_time: Optional[int] = None,
dns_server_ip: Optional[str] = None,
enable_edge_active_standby: Optional[bool] = None,
enable_edge_active_standby_preemptive: Optional[bool] = None,
enable_edge_transitive_routing: Optional[bool] = None,
enable_jumbo_frame: Optional[bool] = None,
enable_learned_cidrs_approval: Optional[bool] = None,
enable_management_over_private_network: Optional[bool] = None,
enable_preserve_as_path: Optional[bool] = None,
gw_name: Optional[str] = None,
lan_interface_ip_prefix: Optional[str] = None,
latitude: Optional[str] = None,
local_as_number: Optional[str] = None,
longitude: Optional[str] = None,
management_default_gateway_ip: Optional[str] = None,
management_egress_ip_prefix: Optional[str] = None,
management_interface_config: Optional[str] = None,
management_interface_ip_prefix: Optional[str] = None,
prepend_as_paths: Optional[Sequence[str]] = None,
rx_queue_size: Optional[str] = None,
secondary_dns_server_ip: Optional[str] = None,
site_id: Optional[str] = None,
spoke_bgp_manual_advertise_cidrs: Optional[Sequence[str]] = None,
state: Optional[str] = None,
wan_default_gateway_ip: Optional[str] = None,
wan_interface_ip_prefix: Optional[str] = None,
wan_public_ip: Optional[str] = None,
ztp_file_download_path: Optional[str] = None,
ztp_file_type: Optional[str] = None) -> AviatrixEdgeSpoke
func GetAviatrixEdgeSpoke(ctx *Context, name string, id IDInput, state *AviatrixEdgeSpokeState, opts ...ResourceOption) (*AviatrixEdgeSpoke, error)
public static AviatrixEdgeSpoke Get(string name, Input<string> id, AviatrixEdgeSpokeState? state, CustomResourceOptions? opts = null)
public static AviatrixEdgeSpoke get(String name, Output<String> id, AviatrixEdgeSpokeState 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.
- Approved
Learned List<string>Cidrs - Set of approved learned CIDRs. Valid only when
enable_learned_cidrs_approval
is set to true. Example: ["10.1.0.0/116", "10.2.0.0/16"]. - Bgp
Hold intTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- Bgp
Polling intTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: 50.
- Dns
Server stringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - Enable
Edge boolActive Standby - Switch to enable Edge Active-Standby mode. Valid values: true, false. Default value: false.
- Enable
Edge boolActive Standby Preemptive - Switch to enable Preemptive Mode for Edge Active-Standby. Valid values: true, false. Default value: false.
- Enable
Edge boolTransitive Routing - Switch to enable Edge transitive routing. Valid values: true, false. Default value: false.
- Enable
Jumbo boolFrame - Switch to enable jumbo frame. Valid values: true, false. Default value: false.
- Enable
Learned boolCidrs Approval - Switch to enable learned CIDR approval. Valid values: true, false. Default value: false.
- Enable
Management boolOver Private Network - Switch to enable management over the private network. Valid values: true, false. Default value: false.
- Enable
Preserve boolAs Path - Switch to enable preserve as_path when advertising manual summary CIDRs. Valid values: true, false. Default value: false.
- Gw
Name string - Edge as a Spoke name.
- Lan
Interface stringIp Prefix - LAN interface IP and subnet prefix.
- Latitude string
- Latitude of Edge as a Spoke. Valid values are between -90 and 90. Example: "47.7511".
- Local
As stringNumber - BGP AS Number to assign to Edge as a Spoke.
- Longitude string
- Longitude of Edge as a Spoke. Valid values are between -180 and 180. Example: "120.7401".
- Management
Default stringGateway Ip - Management default gateway IP. Required and valid when
management_interface_config
is "Static". - Management
Egress stringIp Prefix - Management egress gateway IP and subnet prefix.
- Management
Interface stringConfig - Management interface configuration. Valid values: "DHCP", "Static".
- Management
Interface stringIp Prefix - Management interface IP and subnet prefix. Required and valid when
management_interface_config
is "Static". - Prepend
As List<string>Paths - List of AS numbers to prepend gateway BGP AS_Path field. Valid only when
local_as_number
is set. Example: ["65023", "65023"]. - Rx
Queue stringSize - Ethernet interface RX queue size. Once set, can't be deleted or disabled. Valid values: "1K", "2K", "4K".
- Secondary
Dns stringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - Site
Id string - Site ID.
- Spoke
Bgp List<string>Manual Advertise Cidrs - Set of intended CIDRs to be advertised to external BGP router. Example: ["10.1.0.0/116", "10.2.0.0/16"].
- State string
- State of Edge as a Spoke.
- Wan
Default stringGateway Ip - WAN default gateway IP.
- Wan
Interface stringIp Prefix - WAN interface IP and subnet prefix.
- Wan
Public stringIp - WAN public IP. Required for attaching connections over the Internet.
- Ztp
File stringDownload Path - The folder path where the ZTP file will be downloaded.
- Ztp
File stringType - ZTP file type. Valid values: "iso", "cloud-init".
- Approved
Learned []stringCidrs - Set of approved learned CIDRs. Valid only when
enable_learned_cidrs_approval
is set to true. Example: ["10.1.0.0/116", "10.2.0.0/16"]. - Bgp
Hold intTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- Bgp
Polling intTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: 50.
- Dns
Server stringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - Enable
Edge boolActive Standby - Switch to enable Edge Active-Standby mode. Valid values: true, false. Default value: false.
- Enable
Edge boolActive Standby Preemptive - Switch to enable Preemptive Mode for Edge Active-Standby. Valid values: true, false. Default value: false.
- Enable
Edge boolTransitive Routing - Switch to enable Edge transitive routing. Valid values: true, false. Default value: false.
- Enable
Jumbo boolFrame - Switch to enable jumbo frame. Valid values: true, false. Default value: false.
- Enable
Learned boolCidrs Approval - Switch to enable learned CIDR approval. Valid values: true, false. Default value: false.
- Enable
Management boolOver Private Network - Switch to enable management over the private network. Valid values: true, false. Default value: false.
- Enable
Preserve boolAs Path - Switch to enable preserve as_path when advertising manual summary CIDRs. Valid values: true, false. Default value: false.
- Gw
Name string - Edge as a Spoke name.
- Lan
Interface stringIp Prefix - LAN interface IP and subnet prefix.
- Latitude string
- Latitude of Edge as a Spoke. Valid values are between -90 and 90. Example: "47.7511".
- Local
As stringNumber - BGP AS Number to assign to Edge as a Spoke.
- Longitude string
- Longitude of Edge as a Spoke. Valid values are between -180 and 180. Example: "120.7401".
- Management
Default stringGateway Ip - Management default gateway IP. Required and valid when
management_interface_config
is "Static". - Management
Egress stringIp Prefix - Management egress gateway IP and subnet prefix.
- Management
Interface stringConfig - Management interface configuration. Valid values: "DHCP", "Static".
- Management
Interface stringIp Prefix - Management interface IP and subnet prefix. Required and valid when
management_interface_config
is "Static". - Prepend
As []stringPaths - List of AS numbers to prepend gateway BGP AS_Path field. Valid only when
local_as_number
is set. Example: ["65023", "65023"]. - Rx
Queue stringSize - Ethernet interface RX queue size. Once set, can't be deleted or disabled. Valid values: "1K", "2K", "4K".
- Secondary
Dns stringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - Site
Id string - Site ID.
- Spoke
Bgp []stringManual Advertise Cidrs - Set of intended CIDRs to be advertised to external BGP router. Example: ["10.1.0.0/116", "10.2.0.0/16"].
- State string
- State of Edge as a Spoke.
- Wan
Default stringGateway Ip - WAN default gateway IP.
- Wan
Interface stringIp Prefix - WAN interface IP and subnet prefix.
- Wan
Public stringIp - WAN public IP. Required for attaching connections over the Internet.
- Ztp
File stringDownload Path - The folder path where the ZTP file will be downloaded.
- Ztp
File stringType - ZTP file type. Valid values: "iso", "cloud-init".
- approved
Learned List<String>Cidrs - Set of approved learned CIDRs. Valid only when
enable_learned_cidrs_approval
is set to true. Example: ["10.1.0.0/116", "10.2.0.0/16"]. - bgp
Hold IntegerTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp
Polling IntegerTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: 50.
- dns
Server StringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable
Edge BooleanActive Standby - Switch to enable Edge Active-Standby mode. Valid values: true, false. Default value: false.
- enable
Edge BooleanActive Standby Preemptive - Switch to enable Preemptive Mode for Edge Active-Standby. Valid values: true, false. Default value: false.
- enable
Edge BooleanTransitive Routing - Switch to enable Edge transitive routing. Valid values: true, false. Default value: false.
- enable
Jumbo BooleanFrame - Switch to enable jumbo frame. Valid values: true, false. Default value: false.
- enable
Learned BooleanCidrs Approval - Switch to enable learned CIDR approval. Valid values: true, false. Default value: false.
- enable
Management BooleanOver Private Network - Switch to enable management over the private network. Valid values: true, false. Default value: false.
- enable
Preserve BooleanAs Path - Switch to enable preserve as_path when advertising manual summary CIDRs. Valid values: true, false. Default value: false.
- gw
Name String - Edge as a Spoke name.
- lan
Interface StringIp Prefix - LAN interface IP and subnet prefix.
- latitude String
- Latitude of Edge as a Spoke. Valid values are between -90 and 90. Example: "47.7511".
- local
As StringNumber - BGP AS Number to assign to Edge as a Spoke.
- longitude String
- Longitude of Edge as a Spoke. Valid values are between -180 and 180. Example: "120.7401".
- management
Default StringGateway Ip - Management default gateway IP. Required and valid when
management_interface_config
is "Static". - management
Egress StringIp Prefix - Management egress gateway IP and subnet prefix.
- management
Interface StringConfig - Management interface configuration. Valid values: "DHCP", "Static".
- management
Interface StringIp Prefix - Management interface IP and subnet prefix. Required and valid when
management_interface_config
is "Static". - prepend
As List<String>Paths - List of AS numbers to prepend gateway BGP AS_Path field. Valid only when
local_as_number
is set. Example: ["65023", "65023"]. - rx
Queue StringSize - Ethernet interface RX queue size. Once set, can't be deleted or disabled. Valid values: "1K", "2K", "4K".
- secondary
Dns StringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - site
Id String - Site ID.
- spoke
Bgp List<String>Manual Advertise Cidrs - Set of intended CIDRs to be advertised to external BGP router. Example: ["10.1.0.0/116", "10.2.0.0/16"].
- state String
- State of Edge as a Spoke.
- wan
Default StringGateway Ip - WAN default gateway IP.
- wan
Interface StringIp Prefix - WAN interface IP and subnet prefix.
- wan
Public StringIp - WAN public IP. Required for attaching connections over the Internet.
- ztp
File StringDownload Path - The folder path where the ZTP file will be downloaded.
- ztp
File StringType - ZTP file type. Valid values: "iso", "cloud-init".
- approved
Learned string[]Cidrs - Set of approved learned CIDRs. Valid only when
enable_learned_cidrs_approval
is set to true. Example: ["10.1.0.0/116", "10.2.0.0/16"]. - bgp
Hold numberTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp
Polling numberTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: 50.
- dns
Server stringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable
Edge booleanActive Standby - Switch to enable Edge Active-Standby mode. Valid values: true, false. Default value: false.
- enable
Edge booleanActive Standby Preemptive - Switch to enable Preemptive Mode for Edge Active-Standby. Valid values: true, false. Default value: false.
- enable
Edge booleanTransitive Routing - Switch to enable Edge transitive routing. Valid values: true, false. Default value: false.
- enable
Jumbo booleanFrame - Switch to enable jumbo frame. Valid values: true, false. Default value: false.
- enable
Learned booleanCidrs Approval - Switch to enable learned CIDR approval. Valid values: true, false. Default value: false.
- enable
Management booleanOver Private Network - Switch to enable management over the private network. Valid values: true, false. Default value: false.
- enable
Preserve booleanAs Path - Switch to enable preserve as_path when advertising manual summary CIDRs. Valid values: true, false. Default value: false.
- gw
Name string - Edge as a Spoke name.
- lan
Interface stringIp Prefix - LAN interface IP and subnet prefix.
- latitude string
- Latitude of Edge as a Spoke. Valid values are between -90 and 90. Example: "47.7511".
- local
As stringNumber - BGP AS Number to assign to Edge as a Spoke.
- longitude string
- Longitude of Edge as a Spoke. Valid values are between -180 and 180. Example: "120.7401".
- management
Default stringGateway Ip - Management default gateway IP. Required and valid when
management_interface_config
is "Static". - management
Egress stringIp Prefix - Management egress gateway IP and subnet prefix.
- management
Interface stringConfig - Management interface configuration. Valid values: "DHCP", "Static".
- management
Interface stringIp Prefix - Management interface IP and subnet prefix. Required and valid when
management_interface_config
is "Static". - prepend
As string[]Paths - List of AS numbers to prepend gateway BGP AS_Path field. Valid only when
local_as_number
is set. Example: ["65023", "65023"]. - rx
Queue stringSize - Ethernet interface RX queue size. Once set, can't be deleted or disabled. Valid values: "1K", "2K", "4K".
- secondary
Dns stringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - site
Id string - Site ID.
- spoke
Bgp string[]Manual Advertise Cidrs - Set of intended CIDRs to be advertised to external BGP router. Example: ["10.1.0.0/116", "10.2.0.0/16"].
- state string
- State of Edge as a Spoke.
- wan
Default stringGateway Ip - WAN default gateway IP.
- wan
Interface stringIp Prefix - WAN interface IP and subnet prefix.
- wan
Public stringIp - WAN public IP. Required for attaching connections over the Internet.
- ztp
File stringDownload Path - The folder path where the ZTP file will be downloaded.
- ztp
File stringType - ZTP file type. Valid values: "iso", "cloud-init".
- approved_
learned_ Sequence[str]cidrs - Set of approved learned CIDRs. Valid only when
enable_learned_cidrs_approval
is set to true. Example: ["10.1.0.0/116", "10.2.0.0/16"]. - bgp_
hold_ inttime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp_
polling_ inttime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: 50.
- dns_
server_ strip - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable_
edge_ boolactive_ standby - Switch to enable Edge Active-Standby mode. Valid values: true, false. Default value: false.
- enable_
edge_ boolactive_ standby_ preemptive - Switch to enable Preemptive Mode for Edge Active-Standby. Valid values: true, false. Default value: false.
- enable_
edge_ booltransitive_ routing - Switch to enable Edge transitive routing. Valid values: true, false. Default value: false.
- enable_
jumbo_ boolframe - Switch to enable jumbo frame. Valid values: true, false. Default value: false.
- enable_
learned_ boolcidrs_ approval - Switch to enable learned CIDR approval. Valid values: true, false. Default value: false.
- enable_
management_ boolover_ private_ network - Switch to enable management over the private network. Valid values: true, false. Default value: false.
- enable_
preserve_ boolas_ path - Switch to enable preserve as_path when advertising manual summary CIDRs. Valid values: true, false. Default value: false.
- gw_
name str - Edge as a Spoke name.
- lan_
interface_ strip_ prefix - LAN interface IP and subnet prefix.
- latitude str
- Latitude of Edge as a Spoke. Valid values are between -90 and 90. Example: "47.7511".
- local_
as_ strnumber - BGP AS Number to assign to Edge as a Spoke.
- longitude str
- Longitude of Edge as a Spoke. Valid values are between -180 and 180. Example: "120.7401".
- management_
default_ strgateway_ ip - Management default gateway IP. Required and valid when
management_interface_config
is "Static". - management_
egress_ strip_ prefix - Management egress gateway IP and subnet prefix.
- management_
interface_ strconfig - Management interface configuration. Valid values: "DHCP", "Static".
- management_
interface_ strip_ prefix - Management interface IP and subnet prefix. Required and valid when
management_interface_config
is "Static". - prepend_
as_ Sequence[str]paths - List of AS numbers to prepend gateway BGP AS_Path field. Valid only when
local_as_number
is set. Example: ["65023", "65023"]. - rx_
queue_ strsize - Ethernet interface RX queue size. Once set, can't be deleted or disabled. Valid values: "1K", "2K", "4K".
- secondary_
dns_ strserver_ ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - site_
id str - Site ID.
- spoke_
bgp_ Sequence[str]manual_ advertise_ cidrs - Set of intended CIDRs to be advertised to external BGP router. Example: ["10.1.0.0/116", "10.2.0.0/16"].
- state str
- State of Edge as a Spoke.
- wan_
default_ strgateway_ ip - WAN default gateway IP.
- wan_
interface_ strip_ prefix - WAN interface IP and subnet prefix.
- wan_
public_ strip - WAN public IP. Required for attaching connections over the Internet.
- ztp_
file_ strdownload_ path - The folder path where the ZTP file will be downloaded.
- ztp_
file_ strtype - ZTP file type. Valid values: "iso", "cloud-init".
- approved
Learned List<String>Cidrs - Set of approved learned CIDRs. Valid only when
enable_learned_cidrs_approval
is set to true. Example: ["10.1.0.0/116", "10.2.0.0/16"]. - bgp
Hold NumberTime - BGP hold time. Unit is in seconds. Valid values are between 12 and 360. Default value: 180.
- bgp
Polling NumberTime - BGP route polling time. Unit is in seconds. Valid values are between 10 and 50. Default value: 50.
- dns
Server StringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable
Edge BooleanActive Standby - Switch to enable Edge Active-Standby mode. Valid values: true, false. Default value: false.
- enable
Edge BooleanActive Standby Preemptive - Switch to enable Preemptive Mode for Edge Active-Standby. Valid values: true, false. Default value: false.
- enable
Edge BooleanTransitive Routing - Switch to enable Edge transitive routing. Valid values: true, false. Default value: false.
- enable
Jumbo BooleanFrame - Switch to enable jumbo frame. Valid values: true, false. Default value: false.
- enable
Learned BooleanCidrs Approval - Switch to enable learned CIDR approval. Valid values: true, false. Default value: false.
- enable
Management BooleanOver Private Network - Switch to enable management over the private network. Valid values: true, false. Default value: false.
- enable
Preserve BooleanAs Path - Switch to enable preserve as_path when advertising manual summary CIDRs. Valid values: true, false. Default value: false.
- gw
Name String - Edge as a Spoke name.
- lan
Interface StringIp Prefix - LAN interface IP and subnet prefix.
- latitude String
- Latitude of Edge as a Spoke. Valid values are between -90 and 90. Example: "47.7511".
- local
As StringNumber - BGP AS Number to assign to Edge as a Spoke.
- longitude String
- Longitude of Edge as a Spoke. Valid values are between -180 and 180. Example: "120.7401".
- management
Default StringGateway Ip - Management default gateway IP. Required and valid when
management_interface_config
is "Static". - management
Egress StringIp Prefix - Management egress gateway IP and subnet prefix.
- management
Interface StringConfig - Management interface configuration. Valid values: "DHCP", "Static".
- management
Interface StringIp Prefix - Management interface IP and subnet prefix. Required and valid when
management_interface_config
is "Static". - prepend
As List<String>Paths - List of AS numbers to prepend gateway BGP AS_Path field. Valid only when
local_as_number
is set. Example: ["65023", "65023"]. - rx
Queue StringSize - Ethernet interface RX queue size. Once set, can't be deleted or disabled. Valid values: "1K", "2K", "4K".
- secondary
Dns StringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - site
Id String - Site ID.
- spoke
Bgp List<String>Manual Advertise Cidrs - Set of intended CIDRs to be advertised to external BGP router. Example: ["10.1.0.0/116", "10.2.0.0/16"].
- state String
- State of Edge as a Spoke.
- wan
Default StringGateway Ip - WAN default gateway IP.
- wan
Interface StringIp Prefix - WAN interface IP and subnet prefix.
- wan
Public StringIp - WAN public IP. Required for attaching connections over the Internet.
- ztp
File StringDownload Path - The folder path where the ZTP file will be downloaded.
- ztp
File StringType - ZTP file type. Valid values: "iso", "cloud-init".
Import
edge_spoke can be imported using the gw_name
, e.g.
$ pulumi import aviatrix:index/aviatrixEdgeSpoke:AviatrixEdgeSpoke test gw_name
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- aviatrix astipkovits/pulumi-aviatrix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aviatrix
Terraform Provider.