import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Manages a Network Manager. * * ## 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: [ * "Connectivity", * "SecurityAdmin", * ], * description: "example network manager", * tags: { * foo: "bar", * }, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 * * ## Import * * Network Manager can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:network/networkManager:NetworkManager example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/networkManagers/networkManager1 * ``` */ export declare class NetworkManager extends pulumi.CustomResource { /** * Get an existing NetworkManager 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?: NetworkManagerState, opts?: pulumi.CustomResourceOptions): NetworkManager; /** * Returns true if the given object is an instance of NetworkManager. 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 NetworkManager; /** * One or more `crossTenantScopes` blocks as defined below. */ readonly crossTenantScopes: pulumi.Output; /** * A description of the Network Manager. */ readonly description: pulumi.Output; /** * Specifies the Azure Region where the Network Manager should exist. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * Specifies the name which should be used for this Network Manager. Changing this forces a new Network Manager to be created. */ readonly name: pulumi.Output; /** * Specifies the name of the Resource Group where the Network Manager should exist. Changing this forces a new Network Manager to be created. */ readonly resourceGroupName: pulumi.Output; /** * A `scope` block as defined below. */ readonly scope: pulumi.Output; /** * A list of configuration deployment types. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, which specify whether Connectivity Configuration, Security Admin Configuration or Routing Configuration are allowed for the Network Manager. */ readonly scopeAccesses: pulumi.Output; /** * A mapping of tags which should be assigned to the Network Manager. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a NetworkManager 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: NetworkManagerArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkManager resources. */ export interface NetworkManagerState { /** * One or more `crossTenantScopes` blocks as defined below. */ crossTenantScopes?: pulumi.Input[]>; /** * A description of the Network Manager. */ description?: pulumi.Input; /** * Specifies the Azure Region where the Network Manager should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name which should be used for this Network Manager. Changing this forces a new Network Manager to be created. */ name?: pulumi.Input; /** * Specifies the name of the Resource Group where the Network Manager should exist. Changing this forces a new Network Manager to be created. */ resourceGroupName?: pulumi.Input; /** * A `scope` block as defined below. */ scope?: pulumi.Input; /** * A list of configuration deployment types. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, which specify whether Connectivity Configuration, Security Admin Configuration or Routing Configuration are allowed for the Network Manager. */ scopeAccesses?: pulumi.Input[]>; /** * A mapping of tags which should be assigned to the Network Manager. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a NetworkManager resource. */ export interface NetworkManagerArgs { /** * A description of the Network Manager. */ description?: pulumi.Input; /** * Specifies the Azure Region where the Network Manager should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * Specifies the name which should be used for this Network Manager. Changing this forces a new Network Manager to be created. */ name?: pulumi.Input; /** * Specifies the name of the Resource Group where the Network Manager should exist. Changing this forces a new Network Manager to be created. */ resourceGroupName: pulumi.Input; /** * A `scope` block as defined below. */ scope: pulumi.Input; /** * A list of configuration deployment types. Possible values are `Connectivity`, `SecurityAdmin` and `Routing`, which specify whether Connectivity Configuration, Security Admin Configuration or Routing Configuration are allowed for the Network Manager. */ scopeAccesses?: pulumi.Input[]>; /** * A mapping of tags which should be assigned to the Network Manager. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }