aviatrix.AviatrixEdgeCaag
Explore with Pulumi AI
The aviatrix_edge_caag resource creates the Aviatrix Edge as a CaaG. This resource is available as of provider version R2.22+.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Aviatrix = Pulumi.Aviatrix;
return await Deployment.RunAsync(() =>
{
// Create a DHCP Edge as a CaaG
var test = new Aviatrix.AviatrixEdgeCaag("test", new()
{
LanInterfaceIpPrefix = "10.60.0.0/24",
LocalAsNumber = "65000",
ManagementInterfaceConfig = "DHCP",
PrependAsPaths = new[]
{
"65000",
"65000",
},
WanDefaultGatewayIp = "10.60.0.0",
WanInterfaceIpPrefix = "10.60.0.0/24",
ZtpFileDownloadPath = "/image/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.NewAviatrixEdgeCaag(ctx, "test", &aviatrix.AviatrixEdgeCaagArgs{
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"),
},
WanDefaultGatewayIp: pulumi.String("10.60.0.0"),
WanInterfaceIpPrefix: pulumi.String("10.60.0.0/24"),
ZtpFileDownloadPath: pulumi.String("/image/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.AviatrixEdgeCaag;
import com.pulumi.aviatrix.AviatrixEdgeCaagArgs;
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 AviatrixEdgeCaag("test", AviatrixEdgeCaagArgs.builder()
.lanInterfaceIpPrefix("10.60.0.0/24")
.localAsNumber("65000")
.managementInterfaceConfig("DHCP")
.prependAsPaths(
"65000",
"65000")
.wanDefaultGatewayIp("10.60.0.0")
.wanInterfaceIpPrefix("10.60.0.0/24")
.ztpFileDownloadPath("/image/download/path")
.ztpFileType("iso")
.build());
}
}
import pulumi
import pulumi_aviatrix as aviatrix
# Create a DHCP Edge as a CaaG
test = aviatrix.AviatrixEdgeCaag("test",
lan_interface_ip_prefix="10.60.0.0/24",
local_as_number="65000",
management_interface_config="DHCP",
prepend_as_paths=[
"65000",
"65000",
],
wan_default_gateway_ip="10.60.0.0",
wan_interface_ip_prefix="10.60.0.0/24",
ztp_file_download_path="/image/download/path",
ztp_file_type="iso")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";
// Create a DHCP Edge as a CaaG
const test = new aviatrix.AviatrixEdgeCaag("test", {
lanInterfaceIpPrefix: "10.60.0.0/24",
localAsNumber: "65000",
managementInterfaceConfig: "DHCP",
prependAsPaths: [
"65000",
"65000",
],
wanDefaultGatewayIp: "10.60.0.0",
wanInterfaceIpPrefix: "10.60.0.0/24",
ztpFileDownloadPath: "/image/download/path",
ztpFileType: "iso",
});
resources:
# Create a DHCP Edge as a CaaG
test:
type: aviatrix:AviatrixEdgeCaag
properties:
lanInterfaceIpPrefix: 10.60.0.0/24
localAsNumber: '65000'
managementInterfaceConfig: DHCP
prependAsPaths:
- '65000'
- '65000'
wanDefaultGatewayIp: 10.60.0.0
wanInterfaceIpPrefix: 10.60.0.0/24
ztpFileDownloadPath: /image/download/path
ztpFileType: iso
using System.Collections.Generic;
using Pulumi;
using Aviatrix = Pulumi.Aviatrix;
return await Deployment.RunAsync(() =>
{
// Create a Static Edge as a CaaG
var test = new Aviatrix.AviatrixEdgeCaag("test", new()
{
DnsServerIp = "10.60.0.0",
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",
WanDefaultGatewayIp = "10.60.0.0",
WanInterfaceIpPrefix = "10.60.0.0/24",
ZtpFileDownloadPath = "/image/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.NewAviatrixEdgeCaag(ctx, "test", &aviatrix.AviatrixEdgeCaagArgs{
DnsServerIp: pulumi.String("10.60.0.0"),
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"),
WanDefaultGatewayIp: pulumi.String("10.60.0.0"),
WanInterfaceIpPrefix: pulumi.String("10.60.0.0/24"),
ZtpFileDownloadPath: pulumi.String("/image/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.AviatrixEdgeCaag;
import com.pulumi.aviatrix.AviatrixEdgeCaagArgs;
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 AviatrixEdgeCaag("test", AviatrixEdgeCaagArgs.builder()
.dnsServerIp("10.60.0.0")
.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")
.wanDefaultGatewayIp("10.60.0.0")
.wanInterfaceIpPrefix("10.60.0.0/24")
.ztpFileDownloadPath("/image/download/path")
.ztpFileType("iso")
.build());
}
}
import pulumi
import pulumi_aviatrix as aviatrix
# Create a Static Edge as a CaaG
test = aviatrix.AviatrixEdgeCaag("test",
dns_server_ip="10.60.0.0",
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",
wan_default_gateway_ip="10.60.0.0",
wan_interface_ip_prefix="10.60.0.0/24",
ztp_file_download_path="/image/download/path",
ztp_file_type="iso")
import * as pulumi from "@pulumi/pulumi";
import * as aviatrix from "@pulumi/aviatrix";
// Create a Static Edge as a CaaG
const test = new aviatrix.AviatrixEdgeCaag("test", {
dnsServerIp: "10.60.0.0",
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",
wanDefaultGatewayIp: "10.60.0.0",
wanInterfaceIpPrefix: "10.60.0.0/24",
ztpFileDownloadPath: "/image/download/path",
ztpFileType: "iso",
});
resources:
# Create a Static Edge as a CaaG
test:
type: aviatrix:AviatrixEdgeCaag
properties:
dnsServerIp: 10.60.0.0
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
wanDefaultGatewayIp: 10.60.0.0
wanInterfaceIpPrefix: 10.60.0.0/24
ztpFileDownloadPath: /image/download/path
ztpFileType: iso
Create AviatrixEdgeCaag Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AviatrixEdgeCaag(name: string, args: AviatrixEdgeCaagArgs, opts?: CustomResourceOptions);
@overload
def AviatrixEdgeCaag(resource_name: str,
args: AviatrixEdgeCaagArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AviatrixEdgeCaag(resource_name: str,
opts: Optional[ResourceOptions] = None,
management_interface_config: Optional[str] = None,
ztp_file_type: Optional[str] = None,
lan_interface_ip_prefix: Optional[str] = None,
ztp_file_download_path: Optional[str] = None,
wan_interface_ip_prefix: Optional[str] = None,
wan_default_gateway_ip: Optional[str] = None,
local_as_number: Optional[str] = None,
management_interface_ip_prefix: Optional[str] = None,
name: Optional[str] = None,
prepend_as_paths: Optional[Sequence[str]] = None,
secondary_dns_server_ip: Optional[str] = None,
management_egress_ip_prefix: Optional[str] = None,
management_default_gateway_ip: Optional[str] = None,
dns_server_ip: Optional[str] = None,
enable_over_private_network: Optional[bool] = None)
func NewAviatrixEdgeCaag(ctx *Context, name string, args AviatrixEdgeCaagArgs, opts ...ResourceOption) (*AviatrixEdgeCaag, error)
public AviatrixEdgeCaag(string name, AviatrixEdgeCaagArgs args, CustomResourceOptions? opts = null)
public AviatrixEdgeCaag(String name, AviatrixEdgeCaagArgs args)
public AviatrixEdgeCaag(String name, AviatrixEdgeCaagArgs args, CustomResourceOptions options)
type: aviatrix:AviatrixEdgeCaag
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 AviatrixEdgeCaagArgs
- 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 AviatrixEdgeCaagArgs
- 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 AviatrixEdgeCaagArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AviatrixEdgeCaagArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AviatrixEdgeCaagArgs
- 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 aviatrixEdgeCaagResource = new Aviatrix.AviatrixEdgeCaag("aviatrixEdgeCaagResource", new()
{
ManagementInterfaceConfig = "string",
ZtpFileType = "string",
LanInterfaceIpPrefix = "string",
ZtpFileDownloadPath = "string",
WanInterfaceIpPrefix = "string",
WanDefaultGatewayIp = "string",
LocalAsNumber = "string",
ManagementInterfaceIpPrefix = "string",
Name = "string",
PrependAsPaths = new[]
{
"string",
},
SecondaryDnsServerIp = "string",
ManagementEgressIpPrefix = "string",
ManagementDefaultGatewayIp = "string",
DnsServerIp = "string",
EnableOverPrivateNetwork = false,
});
example, err := aviatrix.NewAviatrixEdgeCaag(ctx, "aviatrixEdgeCaagResource", &aviatrix.AviatrixEdgeCaagArgs{
ManagementInterfaceConfig: pulumi.String("string"),
ZtpFileType: pulumi.String("string"),
LanInterfaceIpPrefix: pulumi.String("string"),
ZtpFileDownloadPath: pulumi.String("string"),
WanInterfaceIpPrefix: pulumi.String("string"),
WanDefaultGatewayIp: pulumi.String("string"),
LocalAsNumber: pulumi.String("string"),
ManagementInterfaceIpPrefix: pulumi.String("string"),
Name: pulumi.String("string"),
PrependAsPaths: pulumi.StringArray{
pulumi.String("string"),
},
SecondaryDnsServerIp: pulumi.String("string"),
ManagementEgressIpPrefix: pulumi.String("string"),
ManagementDefaultGatewayIp: pulumi.String("string"),
DnsServerIp: pulumi.String("string"),
EnableOverPrivateNetwork: pulumi.Bool(false),
})
var aviatrixEdgeCaagResource = new AviatrixEdgeCaag("aviatrixEdgeCaagResource", AviatrixEdgeCaagArgs.builder()
.managementInterfaceConfig("string")
.ztpFileType("string")
.lanInterfaceIpPrefix("string")
.ztpFileDownloadPath("string")
.wanInterfaceIpPrefix("string")
.wanDefaultGatewayIp("string")
.localAsNumber("string")
.managementInterfaceIpPrefix("string")
.name("string")
.prependAsPaths("string")
.secondaryDnsServerIp("string")
.managementEgressIpPrefix("string")
.managementDefaultGatewayIp("string")
.dnsServerIp("string")
.enableOverPrivateNetwork(false)
.build());
aviatrix_edge_caag_resource = aviatrix.AviatrixEdgeCaag("aviatrixEdgeCaagResource",
management_interface_config="string",
ztp_file_type="string",
lan_interface_ip_prefix="string",
ztp_file_download_path="string",
wan_interface_ip_prefix="string",
wan_default_gateway_ip="string",
local_as_number="string",
management_interface_ip_prefix="string",
name="string",
prepend_as_paths=["string"],
secondary_dns_server_ip="string",
management_egress_ip_prefix="string",
management_default_gateway_ip="string",
dns_server_ip="string",
enable_over_private_network=False)
const aviatrixEdgeCaagResource = new aviatrix.AviatrixEdgeCaag("aviatrixEdgeCaagResource", {
managementInterfaceConfig: "string",
ztpFileType: "string",
lanInterfaceIpPrefix: "string",
ztpFileDownloadPath: "string",
wanInterfaceIpPrefix: "string",
wanDefaultGatewayIp: "string",
localAsNumber: "string",
managementInterfaceIpPrefix: "string",
name: "string",
prependAsPaths: ["string"],
secondaryDnsServerIp: "string",
managementEgressIpPrefix: "string",
managementDefaultGatewayIp: "string",
dnsServerIp: "string",
enableOverPrivateNetwork: false,
});
type: aviatrix:AviatrixEdgeCaag
properties:
dnsServerIp: string
enableOverPrivateNetwork: false
lanInterfaceIpPrefix: string
localAsNumber: string
managementDefaultGatewayIp: string
managementEgressIpPrefix: string
managementInterfaceConfig: string
managementInterfaceIpPrefix: string
name: string
prependAsPaths:
- string
secondaryDnsServerIp: string
wanDefaultGatewayIp: string
wanInterfaceIpPrefix: string
ztpFileDownloadPath: string
ztpFileType: string
AviatrixEdgeCaag 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 AviatrixEdgeCaag resource accepts the following input properties:
- Lan
Interface stringIp Prefix - LAN interface IP and subnet prefix.
- Management
Interface stringConfig - Management interface configuration. Valid values: "DHCP", "Static".
- 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".
- Dns
Server stringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - Enable
Over boolPrivate Network - Indicates whether it is public or private connection between controller and gateway. Valid values: true, false. Default value: false.
- Local
As stringNumber - BGP AS Number to assign to Edge as a CaaG.
- 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". - Name string
- Edge as a CaaG name.
- Prepend
As List<string>Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Requires local_as_number to be set. Type: List.
- Secondary
Dns stringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static".
- Lan
Interface stringIp Prefix - LAN interface IP and subnet prefix.
- Management
Interface stringConfig - Management interface configuration. Valid values: "DHCP", "Static".
- 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".
- Dns
Server stringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - Enable
Over boolPrivate Network - Indicates whether it is public or private connection between controller and gateway. Valid values: true, false. Default value: false.
- Local
As stringNumber - BGP AS Number to assign to Edge as a CaaG.
- 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". - Name string
- Edge as a CaaG name.
- Prepend
As []stringPaths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Requires local_as_number to be set. Type: List.
- Secondary
Dns stringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static".
- lan
Interface StringIp Prefix - LAN interface IP and subnet prefix.
- management
Interface StringConfig - Management interface configuration. Valid values: "DHCP", "Static".
- 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".
- dns
Server StringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable
Over BooleanPrivate Network - Indicates whether it is public or private connection between controller and gateway. Valid values: true, false. Default value: false.
- local
As StringNumber - BGP AS Number to assign to Edge as a CaaG.
- 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". - name String
- Edge as a CaaG name.
- prepend
As List<String>Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Requires local_as_number to be set. Type: List.
- secondary
Dns StringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static".
- lan
Interface stringIp Prefix - LAN interface IP and subnet prefix.
- management
Interface stringConfig - Management interface configuration. Valid values: "DHCP", "Static".
- 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".
- dns
Server stringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable
Over booleanPrivate Network - Indicates whether it is public or private connection between controller and gateway. Valid values: true, false. Default value: false.
- local
As stringNumber - BGP AS Number to assign to Edge as a CaaG.
- 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". - name string
- Edge as a CaaG name.
- prepend
As string[]Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Requires local_as_number to be set. Type: List.
- secondary
Dns stringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static".
- lan_
interface_ strip_ prefix - LAN interface IP and subnet prefix.
- management_
interface_ strconfig - Management interface configuration. Valid values: "DHCP", "Static".
- 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".
- dns_
server_ strip - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable_
over_ boolprivate_ network - Indicates whether it is public or private connection between controller and gateway. Valid values: true, false. Default value: false.
- local_
as_ strnumber - BGP AS Number to assign to Edge as a CaaG.
- 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". - name str
- Edge as a CaaG name.
- prepend_
as_ Sequence[str]paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Requires local_as_number to be set. Type: List.
- secondary_
dns_ strserver_ ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static".
- lan
Interface StringIp Prefix - LAN interface IP and subnet prefix.
- management
Interface StringConfig - Management interface configuration. Valid values: "DHCP", "Static".
- 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".
- dns
Server StringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable
Over BooleanPrivate Network - Indicates whether it is public or private connection between controller and gateway. Valid values: true, false. Default value: false.
- local
As StringNumber - BGP AS Number to assign to Edge as a CaaG.
- 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". - name String
- Edge as a CaaG name.
- prepend
As List<String>Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Requires local_as_number to be set. Type: List.
- secondary
Dns StringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static".
Outputs
All input properties are implicitly available as output properties. Additionally, the AviatrixEdgeCaag resource produces the following output properties:
Look up Existing AviatrixEdgeCaag Resource
Get an existing AviatrixEdgeCaag 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?: AviatrixEdgeCaagState, opts?: CustomResourceOptions): AviatrixEdgeCaag
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dns_server_ip: Optional[str] = None,
enable_over_private_network: Optional[bool] = None,
lan_interface_ip_prefix: Optional[str] = None,
local_as_number: 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,
name: Optional[str] = None,
prepend_as_paths: Optional[Sequence[str]] = None,
secondary_dns_server_ip: Optional[str] = None,
state: Optional[str] = None,
wan_default_gateway_ip: Optional[str] = None,
wan_interface_ip_prefix: Optional[str] = None,
ztp_file_download_path: Optional[str] = None,
ztp_file_type: Optional[str] = None) -> AviatrixEdgeCaag
func GetAviatrixEdgeCaag(ctx *Context, name string, id IDInput, state *AviatrixEdgeCaagState, opts ...ResourceOption) (*AviatrixEdgeCaag, error)
public static AviatrixEdgeCaag Get(string name, Input<string> id, AviatrixEdgeCaagState? state, CustomResourceOptions? opts = null)
public static AviatrixEdgeCaag get(String name, Output<String> id, AviatrixEdgeCaagState 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.
- Dns
Server stringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - Enable
Over boolPrivate Network - Indicates whether it is public or private connection between controller and gateway. Valid values: true, false. Default value: false.
- Lan
Interface stringIp Prefix - LAN interface IP and subnet prefix.
- Local
As stringNumber - BGP AS Number to assign to Edge as a CaaG.
- 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". - Name string
- Edge as a CaaG name.
- Prepend
As List<string>Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Requires local_as_number to be set. Type: List.
- Secondary
Dns stringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - State string
- State of Edge as a CaaG.
- 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".
- Dns
Server stringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - Enable
Over boolPrivate Network - Indicates whether it is public or private connection between controller and gateway. Valid values: true, false. Default value: false.
- Lan
Interface stringIp Prefix - LAN interface IP and subnet prefix.
- Local
As stringNumber - BGP AS Number to assign to Edge as a CaaG.
- 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". - Name string
- Edge as a CaaG name.
- Prepend
As []stringPaths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Requires local_as_number to be set. Type: List.
- Secondary
Dns stringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - State string
- State of Edge as a CaaG.
- 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".
- dns
Server StringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable
Over BooleanPrivate Network - Indicates whether it is public or private connection between controller and gateway. Valid values: true, false. Default value: false.
- lan
Interface StringIp Prefix - LAN interface IP and subnet prefix.
- local
As StringNumber - BGP AS Number to assign to Edge as a CaaG.
- 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". - name String
- Edge as a CaaG name.
- prepend
As List<String>Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Requires local_as_number to be set. Type: List.
- secondary
Dns StringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - state String
- State of Edge as a CaaG.
- 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".
- dns
Server stringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable
Over booleanPrivate Network - Indicates whether it is public or private connection between controller and gateway. Valid values: true, false. Default value: false.
- lan
Interface stringIp Prefix - LAN interface IP and subnet prefix.
- local
As stringNumber - BGP AS Number to assign to Edge as a CaaG.
- 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". - name string
- Edge as a CaaG name.
- prepend
As string[]Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Requires local_as_number to be set. Type: List.
- secondary
Dns stringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - state string
- State of Edge as a CaaG.
- 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".
- dns_
server_ strip - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable_
over_ boolprivate_ network - Indicates whether it is public or private connection between controller and gateway. Valid values: true, false. Default value: false.
- lan_
interface_ strip_ prefix - LAN interface IP and subnet prefix.
- local_
as_ strnumber - BGP AS Number to assign to Edge as a CaaG.
- 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". - name str
- Edge as a CaaG name.
- prepend_
as_ Sequence[str]paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Requires local_as_number to be set. Type: List.
- secondary_
dns_ strserver_ ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - state str
- State of Edge as a CaaG.
- 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".
- dns
Server StringIp - DNS server IP. Required and valid when
management_interface_config
is "Static". - enable
Over BooleanPrivate Network - Indicates whether it is public or private connection between controller and gateway. Valid values: true, false. Default value: false.
- lan
Interface StringIp Prefix - LAN interface IP and subnet prefix.
- local
As StringNumber - BGP AS Number to assign to Edge as a CaaG.
- 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". - name String
- Edge as a CaaG name.
- prepend
As List<String>Paths - Connection AS Path Prepend customized by specifying AS PATH for a BGP connection. Requires local_as_number to be set. Type: List.
- secondary
Dns StringServer Ip - Secondary DNS server IP. Required and valid when
management_interface_config
is "Static". - state String
- State of Edge as a CaaG.
- 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".
Import
edge_caag can be imported using the name
, e.g.
$ pulumi import aviatrix:index/aviatrixEdgeCaag:AviatrixEdgeCaag test 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.