import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface StaticRouteConfig extends cdktf.TerraformMetaArguments { /** * A device name from the provider configuration. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#device StaticRoute#device} */ readonly device?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#mask StaticRoute#mask} */ readonly mask: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#next_hops StaticRoute#next_hops} */ readonly nextHops?: StaticRouteNextHops[] | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#next_hops_with_track StaticRoute#next_hops_with_track} */ readonly nextHopsWithTrack?: StaticRouteNextHopsWithTrack[] | cdktf.IResolvable; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#prefix StaticRoute#prefix} */ readonly prefix: string; } export interface StaticRouteNextHops { /** * * - Range: `1`-`255` * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#distance StaticRoute#distance} */ readonly distance?: number; /** * Next hop address is global * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#global StaticRoute#global} */ readonly global?: boolean | cdktf.IResolvable; /** * Specify name of the next hop * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#name StaticRoute#name} */ readonly name?: string; /** * Specify the next hop as an ip-address or interface name * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#next_hop StaticRoute#next_hop} */ readonly nextHop: string; /** * permanent route * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#permanent StaticRoute#permanent} */ readonly permanent?: boolean | cdktf.IResolvable; /** * Set tag for this route * - Range: `1`-`4294967295` * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#tag StaticRoute#tag} */ readonly tag?: number; } export declare function staticRouteNextHopsToTerraform(struct?: StaticRouteNextHops | cdktf.IResolvable): any; export declare function staticRouteNextHopsToHclTerraform(struct?: StaticRouteNextHops | cdktf.IResolvable): any; export declare class StaticRouteNextHopsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): StaticRouteNextHops | cdktf.IResolvable | undefined; set internalValue(value: StaticRouteNextHops | cdktf.IResolvable | undefined); private _distance?; get distance(): number; set distance(value: number); resetDistance(): void; get distanceInput(): number; private _global?; get global(): boolean | cdktf.IResolvable; set global(value: boolean | cdktf.IResolvable); resetGlobal(): void; get globalInput(): any; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; private _nextHop?; get nextHop(): string; set nextHop(value: string); get nextHopInput(): string; private _permanent?; get permanent(): boolean | cdktf.IResolvable; set permanent(value: boolean | cdktf.IResolvable); resetPermanent(): void; get permanentInput(): any; private _tag?; get tag(): number; set tag(value: number); resetTag(): void; get tagInput(): number; } export declare class StaticRouteNextHopsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: StaticRouteNextHops[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): StaticRouteNextHopsOutputReference; } export interface StaticRouteNextHopsWithTrack { /** * * - Range: `1`-`255` * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#distance StaticRoute#distance} */ readonly distance?: number; /** * Specify name of the next hop * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#name StaticRoute#name} */ readonly name?: string; /** * Specify the next hop as an ip-address or interface name * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#next_hop StaticRoute#next_hop} */ readonly nextHop: string; /** * permanent route * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#permanent StaticRoute#permanent} */ readonly permanent?: boolean | cdktf.IResolvable; /** * Set tag for this route * - Range: `1`-`4294967295` * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#tag StaticRoute#tag} */ readonly tag?: number; /** * Track number * - Range: `1`-`1000` * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#track_id_name StaticRoute#track_id_name} */ readonly trackIdName?: number; } export declare function staticRouteNextHopsWithTrackToTerraform(struct?: StaticRouteNextHopsWithTrack | cdktf.IResolvable): any; export declare function staticRouteNextHopsWithTrackToHclTerraform(struct?: StaticRouteNextHopsWithTrack | cdktf.IResolvable): any; export declare class StaticRouteNextHopsWithTrackOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): StaticRouteNextHopsWithTrack | cdktf.IResolvable | undefined; set internalValue(value: StaticRouteNextHopsWithTrack | cdktf.IResolvable | undefined); private _distance?; get distance(): number; set distance(value: number); resetDistance(): void; get distanceInput(): number; private _name?; get name(): string; set name(value: string); resetName(): void; get nameInput(): string; private _nextHop?; get nextHop(): string; set nextHop(value: string); get nextHopInput(): string; private _permanent?; get permanent(): boolean | cdktf.IResolvable; set permanent(value: boolean | cdktf.IResolvable); resetPermanent(): void; get permanentInput(): any; private _tag?; get tag(): number; set tag(value: number); resetTag(): void; get tagInput(): number; private _trackIdName?; get trackIdName(): number; set trackIdName(value: number); resetTrackIdName(): void; get trackIdNameInput(): number; } export declare class StaticRouteNextHopsWithTrackList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: StaticRouteNextHopsWithTrack[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): StaticRouteNextHopsWithTrackOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route iosxe_static_route} */ export declare class StaticRoute extends cdktf.TerraformResource { static readonly tfResourceType = "iosxe_static_route"; /** * Generates CDKTF code for importing a StaticRoute resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the StaticRoute to import * @param importFromId The id of the existing StaticRoute that should be imported. Refer to the {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the StaticRoute to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/ciscodevnet/iosxe/0.15.0/docs/resources/static_route iosxe_static_route} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options StaticRouteConfig */ constructor(scope: Construct, id: string, config: StaticRouteConfig); private _device?; get device(): string; set device(value: string); resetDevice(): void; get deviceInput(): string; get id(): any; private _mask?; get mask(): string; set mask(value: string); get maskInput(): string; private _nextHops; get nextHops(): StaticRouteNextHopsList; putNextHops(value: StaticRouteNextHops[] | cdktf.IResolvable): void; resetNextHops(): void; get nextHopsInput(): any; private _nextHopsWithTrack; get nextHopsWithTrack(): StaticRouteNextHopsWithTrackList; putNextHopsWithTrack(value: StaticRouteNextHopsWithTrack[] | cdktf.IResolvable): void; resetNextHopsWithTrack(): void; get nextHopsWithTrackInput(): any; private _prefix?; get prefix(): string; set prefix(value: string); get prefixInput(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }