import * as pulumi from "@pulumi/pulumi"; /** * Manages a Network Manager Routing Rule Collection. * * !> **Note:** Terraform has enabled force deletion. This setting deletes the resource even if it's part of a deployed configuration. If the configuration is deployed, the service will perform a cleanup deployment in the background before the deletion. * * ## 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 exampleNetworkManagerNetworkGroup = new azure.network.NetworkManagerNetworkGroup("example", { * name: "example-network-group", * networkManagerId: exampleNetworkManager.id, * }); * const exampleNetworkManagerRoutingConfiguration = new azure.network.NetworkManagerRoutingConfiguration("example", { * name: "example-routing-configuration", * networkManagerId: exampleNetworkManager.id, * }); * const exampleNetworkManagerRoutingRuleCollection = new azure.network.NetworkManagerRoutingRuleCollection("example", { * name: "example-routing-rule-collection", * routingConfigurationId: exampleNetworkManagerRoutingConfiguration.id, * networkGroupIds: ["azurerm_network_manager_network_group.example.id"], * description: "example routing rule collection", * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 * * ## Import * * Network Manager Routing Rule Collections can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:network/networkManagerRoutingRuleCollection:NetworkManagerRoutingRuleCollection example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/manager1/routingConfigurations/conf1/ruleCollections/collection1 * ``` */ export declare class NetworkManagerRoutingRuleCollection extends pulumi.CustomResource { /** * Get an existing NetworkManagerRoutingRuleCollection 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?: NetworkManagerRoutingRuleCollectionState, opts?: pulumi.CustomResourceOptions): NetworkManagerRoutingRuleCollection; /** * Returns true if the given object is an instance of NetworkManagerRoutingRuleCollection. 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 NetworkManagerRoutingRuleCollection; /** * Whether to enable the BGP route propagation. Defaults to `false`. */ readonly bgpRoutePropagationEnabled: pulumi.Output; /** * The description of the Network Manager Routing Rule Collection. */ readonly description: pulumi.Output; /** * The name which should be used for this Network Manager Routing Rule Collection. Changing this forces a new Network Manager Routing Rule Collection to be created. */ readonly name: pulumi.Output; /** * A list of Network Group IDs which this Network Manager Routing Rule Collection applies to. */ readonly networkGroupIds: pulumi.Output; /** * The ID of the Network Manager Routing Configuration. Changing this forces a new Network Manager Routing Rule Collection to be created. */ readonly routingConfigurationId: pulumi.Output; /** * Create a NetworkManagerRoutingRuleCollection 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: NetworkManagerRoutingRuleCollectionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkManagerRoutingRuleCollection resources. */ export interface NetworkManagerRoutingRuleCollectionState { /** * Whether to enable the BGP route propagation. Defaults to `false`. */ bgpRoutePropagationEnabled?: pulumi.Input; /** * The description of the Network Manager Routing Rule Collection. */ description?: pulumi.Input; /** * The name which should be used for this Network Manager Routing Rule Collection. Changing this forces a new Network Manager Routing Rule Collection to be created. */ name?: pulumi.Input; /** * A list of Network Group IDs which this Network Manager Routing Rule Collection applies to. */ networkGroupIds?: pulumi.Input[]>; /** * The ID of the Network Manager Routing Configuration. Changing this forces a new Network Manager Routing Rule Collection to be created. */ routingConfigurationId?: pulumi.Input; } /** * The set of arguments for constructing a NetworkManagerRoutingRuleCollection resource. */ export interface NetworkManagerRoutingRuleCollectionArgs { /** * Whether to enable the BGP route propagation. Defaults to `false`. */ bgpRoutePropagationEnabled?: pulumi.Input; /** * The description of the Network Manager Routing Rule Collection. */ description?: pulumi.Input; /** * The name which should be used for this Network Manager Routing Rule Collection. Changing this forces a new Network Manager Routing Rule Collection to be created. */ name?: pulumi.Input; /** * A list of Network Group IDs which this Network Manager Routing Rule Collection applies to. */ networkGroupIds: pulumi.Input[]>; /** * The ID of the Network Manager Routing Configuration. Changing this forces a new Network Manager Routing Rule Collection to be created. */ routingConfigurationId: pulumi.Input; }