import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides Nutanix resource to create Static Routes within VPCs. * * ## create one static route for vpc uuid with external subnet * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const scn = new nutanix.StaticRoutes("scn", { * vpcUuid: "{{vpc_uuid}}", * staticRoutesLists: [{ * destination: "10.x.x.x/x", * externalSubnetReferenceUuid: "{{ext_subnet_uuid}}", * }], * }); * ``` * * * ## create one static route with default route for vpc name with external subnet * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const scn = new nutanix.StaticRoutes("scn", { * vpcName: "{{vpc_name}}", * staticRoutesLists: [{ * destination: "10.x.x.x/x", * externalSubnetReferenceUuid: "{{ext_subnet_uuid}}", * }], * defaultRouteNexthops: [{ * externalSubnetReferenceUuid: "{{ext_subnet_uuid}}", * }], * }); * ``` * * * #### Note: destination with 0.0.0.0/0 will be default route. */ export declare class StaticRoutes extends pulumi.CustomResource { /** * Get an existing StaticRoutes 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, state?: StaticRoutesState, opts?: pulumi.CustomResourceOptions): StaticRoutes; /** * Returns true if the given object is an instance of StaticRoutes. 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 StaticRoutes; /** * The version of the API. */ readonly apiVersion: pulumi.Output; /** * Default Route */ readonly defaultRouteNexthops: pulumi.Output; /** * The vpcRouteTable kind metadata. */ readonly metadata: pulumi.Output<{ [key: string]: string; }>; /** * Static Routes. */ readonly staticRoutesLists: pulumi.Output; /** * vpc Name. Should not be used with vpc_uuid. */ readonly vpcName: pulumi.Output; /** * Reference to a VPC UUID. Should not be used with vpc_name. */ readonly vpcUuid: pulumi.Output; /** * Create a StaticRoutes 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?: StaticRoutesArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering StaticRoutes resources. */ export interface StaticRoutesState { /** * The version of the API. */ apiVersion?: pulumi.Input; /** * Default Route */ defaultRouteNexthops?: pulumi.Input[] | undefined>; /** * The vpcRouteTable kind metadata. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Static Routes. */ staticRoutesLists?: pulumi.Input[] | undefined>; /** * vpc Name. Should not be used with vpc_uuid. */ vpcName?: pulumi.Input; /** * Reference to a VPC UUID. Should not be used with vpc_name. */ vpcUuid?: pulumi.Input; } /** * The set of arguments for constructing a StaticRoutes resource. */ export interface StaticRoutesArgs { /** * The version of the API. */ apiVersion?: pulumi.Input; /** * Default Route */ defaultRouteNexthops?: pulumi.Input[] | undefined>; /** * Static Routes. */ staticRoutesLists?: pulumi.Input[] | undefined>; /** * vpc Name. Should not be used with vpc_uuid. */ vpcName?: pulumi.Input; /** * Reference to a VPC UUID. Should not be used with vpc_name. */ vpcUuid?: pulumi.Input; } //# sourceMappingURL=staticRoutes.d.ts.map