import * as pulumi from "@pulumi/pulumi"; /** * Manages a Network Manager Routing Configuration. * * ## 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 current = azure.core.getSubscription({}); * const exampleNetworkManager = new azure.network.NetworkManager("example", { * name: "example-network-manager", * location: example.location, * resourceGroupName: example.name, * scope: { * subscriptionIds: [current.then(current => current.id)], * }, * scopeAccesses: ["Routing"], * }); * const exampleNetworkManagerRoutingConfiguration = new azure.network.NetworkManagerRoutingConfiguration("example", { * name: "example-routing-configuration", * networkManagerId: exampleNetworkManager.id, * description: "example routing configuration", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 * * ## Import * * Network Manager Routing Configurations can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:network/networkManagerRoutingConfiguration:NetworkManagerRoutingConfiguration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/manager1/routingConfigurations/conf1 * ``` */ export declare class NetworkManagerRoutingConfiguration extends pulumi.CustomResource { /** * Get an existing NetworkManagerRoutingConfiguration 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?: NetworkManagerRoutingConfigurationState, opts?: pulumi.CustomResourceOptions): NetworkManagerRoutingConfiguration; /** * Returns true if the given object is an instance of NetworkManagerRoutingConfiguration. 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 NetworkManagerRoutingConfiguration; /** * The description of the Network Manager Routing Configuration. */ readonly description: pulumi.Output; /** * The name which should be used for this Network Manager Routing Configuration. Changing this forces a new Network Manager Routing Configuration to be created. */ readonly name: pulumi.Output; /** * The ID of the Network Manager. Changing this forces a new Network Manager Routing Configuration to be created. */ readonly networkManagerId: pulumi.Output; /** * The route table usage mode for the Network Manager Routing Configuration. Possible values are `ManagedOnly` and `UseExisting`. Defaults to `ManagedOnly`. */ readonly routeTableUsageMode: pulumi.Output; /** * Create a NetworkManagerRoutingConfiguration 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: NetworkManagerRoutingConfigurationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkManagerRoutingConfiguration resources. */ export interface NetworkManagerRoutingConfigurationState { /** * The description of the Network Manager Routing Configuration. */ description?: pulumi.Input; /** * The name which should be used for this Network Manager Routing Configuration. Changing this forces a new Network Manager Routing Configuration to be created. */ name?: pulumi.Input; /** * The ID of the Network Manager. Changing this forces a new Network Manager Routing Configuration to be created. */ networkManagerId?: pulumi.Input; /** * The route table usage mode for the Network Manager Routing Configuration. Possible values are `ManagedOnly` and `UseExisting`. Defaults to `ManagedOnly`. */ routeTableUsageMode?: pulumi.Input; } /** * The set of arguments for constructing a NetworkManagerRoutingConfiguration resource. */ export interface NetworkManagerRoutingConfigurationArgs { /** * The description of the Network Manager Routing Configuration. */ description?: pulumi.Input; /** * The name which should be used for this Network Manager Routing Configuration. Changing this forces a new Network Manager Routing Configuration to be created. */ name?: pulumi.Input; /** * The ID of the Network Manager. Changing this forces a new Network Manager Routing Configuration to be created. */ networkManagerId: pulumi.Input; /** * The route table usage mode for the Network Manager Routing Configuration. Possible values are `ManagedOnly` and `UseExisting`. Defaults to `ManagedOnly`. */ routeTableUsageMode?: pulumi.Input; }