import * as pulumi from "@pulumi/pulumi";
/**
 * Manages a Route in a Virtual Hub Route Table.
 *
 * > **Note:** Route table routes can managed with this resource, or in-line with the virtualHubRouteTable resource. Using both is not supported.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
 *     name: "example-vnet",
 *     addressSpaces: ["10.5.0.0/16"],
 *     location: example.location,
 *     resourceGroupName: example.name,
 * });
 * const exampleNetworkSecurityGroup = new azure.network.NetworkSecurityGroup("example", {
 *     name: "example-nsg",
 *     location: example.location,
 *     resourceGroupName: example.name,
 * });
 * const exampleSubnet = new azure.network.Subnet("example", {
 *     name: "examplesubnet",
 *     resourceGroupName: example.name,
 *     virtualNetworkName: exampleVirtualNetwork.name,
 *     addressPrefixes: ["10.5.1.0/24"],
 * });
 * const exampleSubnetNetworkSecurityGroupAssociation = new azure.network.SubnetNetworkSecurityGroupAssociation("example", {
 *     subnetId: exampleSubnet.id,
 *     networkSecurityGroupId: exampleNetworkSecurityGroup.id,
 * });
 * const exampleVirtualWan = new azure.network.VirtualWan("example", {
 *     name: "example-vwan",
 *     resourceGroupName: example.name,
 *     location: example.location,
 * });
 * const exampleVirtualHub = new azure.network.VirtualHub("example", {
 *     name: "example-vhub",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     virtualWanId: exampleVirtualWan.id,
 *     addressPrefix: "10.0.2.0/24",
 * });
 * const exampleVirtualHubRouteTable = new azure.network.VirtualHubRouteTable("example", {
 *     name: "example-vhubroutetable",
 *     virtualHubId: exampleVirtualHub.id,
 *     labels: ["label1"],
 * });
 * const exampleVirtualHubConnection = new azure.network.VirtualHubConnection("example", {
 *     name: "example-vhubconn",
 *     virtualHubId: exampleVirtualHub.id,
 *     remoteVirtualNetworkId: exampleVirtualNetwork.id,
 *     routing: {
 *         associatedRouteTableId: exampleVirtualHubRouteTable.id,
 *     },
 * });
 * const exampleVirtualHubRouteTableRoute = new azure.network.VirtualHubRouteTableRoute("example", {
 *     routeTableId: exampleVirtualHubRouteTable.id,
 *     name: "example-route",
 *     destinationsType: "CIDR",
 *     destinations: ["10.0.0.0/16"],
 *     nextHopType: "ResourceId",
 *     nextHop: exampleVirtualHubConnection.id,
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.Network` - 2025-01-01
 *
 * ## Import
 *
 * Virtual Hub Route Table Routes can be imported using `<Route Table Resource Id>/routes/<Route Name>`, e.g.
 *
 * ```sh
 * $ pulumi import azure:network/virtualHubRouteTableRoute:VirtualHubRouteTableRoute example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/routeTable1/routes/routeName
 * ```
 */
export declare class VirtualHubRouteTableRoute extends pulumi.CustomResource {
    /**
     * Get an existing VirtualHubRouteTableRoute 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?: VirtualHubRouteTableRouteState, opts?: pulumi.CustomResourceOptions): VirtualHubRouteTableRoute;
    /**
     * Returns true if the given object is an instance of VirtualHubRouteTableRoute.  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 VirtualHubRouteTableRoute;
    /**
     * A list of destination addresses for this route.
     */
    readonly destinations: pulumi.Output<string[]>;
    /**
     * The type of destinations. Possible values are `CIDR`, `ResourceId` and `Service`.
     */
    readonly destinationsType: pulumi.Output<string>;
    /**
     * The name which should be used for this route. Changing this forces a new resource to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The next hop's resource ID.
     */
    readonly nextHop: pulumi.Output<string>;
    /**
     * The type of next hop. Currently the only possible value is `ResourceId`. Defaults to `ResourceId`.
     */
    readonly nextHopType: pulumi.Output<string | undefined>;
    /**
     * The ID of the Virtual Hub Route Table to link this route to. Changing this forces a new resource to be created.
     */
    readonly routeTableId: pulumi.Output<string>;
    /**
     * Create a VirtualHubRouteTableRoute 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: VirtualHubRouteTableRouteArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering VirtualHubRouteTableRoute resources.
 */
export interface VirtualHubRouteTableRouteState {
    /**
     * A list of destination addresses for this route.
     */
    destinations?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The type of destinations. Possible values are `CIDR`, `ResourceId` and `Service`.
     */
    destinationsType?: pulumi.Input<string | undefined>;
    /**
     * The name which should be used for this route. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The next hop's resource ID.
     */
    nextHop?: pulumi.Input<string | undefined>;
    /**
     * The type of next hop. Currently the only possible value is `ResourceId`. Defaults to `ResourceId`.
     */
    nextHopType?: pulumi.Input<string | undefined>;
    /**
     * The ID of the Virtual Hub Route Table to link this route to. Changing this forces a new resource to be created.
     */
    routeTableId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a VirtualHubRouteTableRoute resource.
 */
export interface VirtualHubRouteTableRouteArgs {
    /**
     * A list of destination addresses for this route.
     */
    destinations: pulumi.Input<pulumi.Input<string>[]>;
    /**
     * The type of destinations. Possible values are `CIDR`, `ResourceId` and `Service`.
     */
    destinationsType: pulumi.Input<string>;
    /**
     * The name which should be used for this route. Changing this forces a new resource to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The next hop's resource ID.
     */
    nextHop: pulumi.Input<string>;
    /**
     * The type of next hop. Currently the only possible value is `ResourceId`. Defaults to `ResourceId`.
     */
    nextHopType?: pulumi.Input<string | undefined>;
    /**
     * The ID of the Virtual Hub Route Table to link this route to. Changing this forces a new resource to be created.
     */
    routeTableId: pulumi.Input<string>;
}
//# sourceMappingURL=virtualHubRouteTableRoute.d.ts.map