@pulumi/meraki
Version:
A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0
108 lines (107 loc) • 5.7 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* ## Example Usage
*
* ## Import
*
* ```sh
* $ pulumi import meraki:networks/applianceVpnBgp:ApplianceVpnBgp example "network_id"
* ```
*/
export declare class ApplianceVpnBgp extends pulumi.CustomResource {
/**
* Get an existing ApplianceVpnBgp resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ApplianceVpnBgpState, opts?: pulumi.CustomResourceOptions): ApplianceVpnBgp;
/**
* Returns true if the given object is an instance of ApplianceVpnBgp. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is ApplianceVpnBgp;
/**
* An Autonomous System Number (ASN) is required if you are to run BGP and peer with another BGP Speaker outside of the Auto VPN domain. This ASN will be applied to the entire Auto VPN domain. The entire 4-byte ASN range is supported. So, the ASN must be an integer between 1 and 4294967295. When absent, this field is not updated. If no value exists then it defaults to 64512.
*/
readonly asNumber: pulumi.Output<number>;
/**
* Boolean value to enable or disable the BGP configuration. When BGP is enabled, the asNumber (ASN) will be autopopulated with the preconfigured ASN at other Hubs or a default value if there is no ASN configured.
*/
readonly enabled: pulumi.Output<boolean>;
/**
* The iBGP holdtimer in seconds. The iBGP holdtimer must be an integer between 12 and 240. When absent, this field is not updated. If no value exists then it defaults to 240.
*/
readonly ibgpHoldTimer: pulumi.Output<number>;
/**
* List of BGP neighbors. This list replaces the existing set of neighbors. When absent, this field is not updated.
*/
readonly neighbors: pulumi.Output<outputs.networks.ApplianceVpnBgpNeighbor[]>;
/**
* networkId path parameter. Network ID
*/
readonly networkId: pulumi.Output<string>;
/**
* Create a ApplianceVpnBgp resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: ApplianceVpnBgpArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering ApplianceVpnBgp resources.
*/
export interface ApplianceVpnBgpState {
/**
* An Autonomous System Number (ASN) is required if you are to run BGP and peer with another BGP Speaker outside of the Auto VPN domain. This ASN will be applied to the entire Auto VPN domain. The entire 4-byte ASN range is supported. So, the ASN must be an integer between 1 and 4294967295. When absent, this field is not updated. If no value exists then it defaults to 64512.
*/
asNumber?: pulumi.Input<number>;
/**
* Boolean value to enable or disable the BGP configuration. When BGP is enabled, the asNumber (ASN) will be autopopulated with the preconfigured ASN at other Hubs or a default value if there is no ASN configured.
*/
enabled?: pulumi.Input<boolean>;
/**
* The iBGP holdtimer in seconds. The iBGP holdtimer must be an integer between 12 and 240. When absent, this field is not updated. If no value exists then it defaults to 240.
*/
ibgpHoldTimer?: pulumi.Input<number>;
/**
* List of BGP neighbors. This list replaces the existing set of neighbors. When absent, this field is not updated.
*/
neighbors?: pulumi.Input<pulumi.Input<inputs.networks.ApplianceVpnBgpNeighbor>[]>;
/**
* networkId path parameter. Network ID
*/
networkId?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a ApplianceVpnBgp resource.
*/
export interface ApplianceVpnBgpArgs {
/**
* An Autonomous System Number (ASN) is required if you are to run BGP and peer with another BGP Speaker outside of the Auto VPN domain. This ASN will be applied to the entire Auto VPN domain. The entire 4-byte ASN range is supported. So, the ASN must be an integer between 1 and 4294967295. When absent, this field is not updated. If no value exists then it defaults to 64512.
*/
asNumber?: pulumi.Input<number>;
/**
* Boolean value to enable or disable the BGP configuration. When BGP is enabled, the asNumber (ASN) will be autopopulated with the preconfigured ASN at other Hubs or a default value if there is no ASN configured.
*/
enabled?: pulumi.Input<boolean>;
/**
* The iBGP holdtimer in seconds. The iBGP holdtimer must be an integer between 12 and 240. When absent, this field is not updated. If no value exists then it defaults to 240.
*/
ibgpHoldTimer?: pulumi.Input<number>;
/**
* List of BGP neighbors. This list replaces the existing set of neighbors. When absent, this field is not updated.
*/
neighbors?: pulumi.Input<pulumi.Input<inputs.networks.ApplianceVpnBgpNeighbor>[]>;
/**
* networkId path parameter. Network ID
*/
networkId: pulumi.Input<string>;
}