import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides Nutanix resource to Create Route. * * ## Example * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // create a route * const route = new nutanix.RoutesV2("route", { * name: "terraform_example_route", * description: "terraform example route to example create route", * vpcReference: "8a938cc5-282b-48c4-81be-de22de145d07", * routeTableExtId: "c2c249b0-98a0-43fa-9ff6-dcde578d3936", * destination: { * ipv4: { * ip: { * value: "10.0.0.2", * }, * prefixLength: 32, * }, * }, * nextHop: { * nextHopType: "EXTERNAL_SUBNET", * nextHopReference: "ba250e3e-1db1-4950-917f-a9e2ea35b8e3", * }, * metadata: { * ownerReferenceId: "a8fe48c4-f0d3-49c7-a017-efc30dd8fb2b", * projectReferenceId: "ab520e1d-4950-1db1-917f-a9e2ea35b8e3", * }, * routeType: "STATIC", * }); * ``` * */ export declare class RoutesV2 extends pulumi.CustomResource { /** * Get an existing RoutesV2 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?: RoutesV2State, opts?: pulumi.CustomResourceOptions): RoutesV2; /** * Returns true if the given object is an instance of RoutesV2. 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 RoutesV2; /** * BGP session description. */ readonly description: pulumi.Output; /** * Destination IP Subnet Configuration. */ readonly destination: pulumi.Output; /** * Route UUID */ readonly extId: pulumi.Output; /** * External routing domain associated with this route table. */ readonly externalRoutingDomainReference: pulumi.Output; /** * Indicates whether the route is active in the forwarding plane. */ readonly isActive: pulumi.Output; /** * A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource. */ readonly links: pulumi.Output; /** * Metadata associated with this resource. */ readonly metadata: pulumi.Output; /** * Route name. */ readonly name: pulumi.Output; /** * Route nexthop. */ readonly nextHop: pulumi.Output; /** * Route priority. A higher value implies greater preference is assigned to the route. */ readonly priority: pulumi.Output; /** * Route table UUID */ readonly routeTableExtId: pulumi.Output; /** * Route table reference. */ readonly routeTableReference: pulumi.Output; /** * Route type. Acceptable values are "STATIC", "LOCAL", "DYNAMIC" */ readonly routeType: pulumi.Output; /** * A globally unique identifier that represents the tenant that owns this entity */ readonly tenantId: pulumi.Output; /** * VPC reference. */ readonly vpcReference: pulumi.Output; /** * Create a RoutesV2 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: RoutesV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering RoutesV2 resources. */ export interface RoutesV2State { /** * BGP session description. */ description?: pulumi.Input; /** * Destination IP Subnet Configuration. */ destination?: pulumi.Input; /** * Route UUID */ extId?: pulumi.Input; /** * External routing domain associated with this route table. */ externalRoutingDomainReference?: pulumi.Input; /** * Indicates whether the route is active in the forwarding plane. */ isActive?: pulumi.Input; /** * A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource. */ links?: pulumi.Input[] | undefined>; /** * Metadata associated with this resource. */ metadata?: pulumi.Input; /** * Route name. */ name?: pulumi.Input; /** * Route nexthop. */ nextHop?: pulumi.Input; /** * Route priority. A higher value implies greater preference is assigned to the route. */ priority?: pulumi.Input; /** * Route table UUID */ routeTableExtId?: pulumi.Input; /** * Route table reference. */ routeTableReference?: pulumi.Input; /** * Route type. Acceptable values are "STATIC", "LOCAL", "DYNAMIC" */ routeType?: pulumi.Input; /** * A globally unique identifier that represents the tenant that owns this entity */ tenantId?: pulumi.Input; /** * VPC reference. */ vpcReference?: pulumi.Input; } /** * The set of arguments for constructing a RoutesV2 resource. */ export interface RoutesV2Args { /** * BGP session description. */ description?: pulumi.Input; /** * Destination IP Subnet Configuration. */ destination?: pulumi.Input; /** * External routing domain associated with this route table. */ externalRoutingDomainReference?: pulumi.Input; /** * Metadata associated with this resource. */ metadata?: pulumi.Input; /** * Route name. */ name?: pulumi.Input; /** * Route nexthop. */ nextHop?: pulumi.Input; /** * Route table UUID */ routeTableExtId: pulumi.Input; /** * Route table reference. */ routeTableReference?: pulumi.Input; /** * Route type. Acceptable values are "STATIC", "LOCAL", "DYNAMIC" */ routeType: pulumi.Input; /** * VPC reference. */ vpcReference?: pulumi.Input; } //# sourceMappingURL=routesV2.d.ts.map