import * as pulumi from "@pulumi/pulumi"; /** * Manages a Network Manager Network Group. * * ## 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", * }); * const exampleNetworkManagerNetworkGroup = new azure.network.NetworkManagerNetworkGroup("example", { * name: "example-group", * networkManagerId: exampleNetworkManager.id, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 * * ## Import * * Network Manager Network Group can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:network/networkManagerNetworkGroup:NetworkManagerNetworkGroup example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/networkManagers/networkManager1/networkGroups/networkGroup1 * ``` */ export declare class NetworkManagerNetworkGroup extends pulumi.CustomResource { /** * Get an existing NetworkManagerNetworkGroup 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?: NetworkManagerNetworkGroupState, opts?: pulumi.CustomResourceOptions): NetworkManagerNetworkGroup; /** * Returns true if the given object is an instance of NetworkManagerNetworkGroup. 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 NetworkManagerNetworkGroup; /** * A description of the Network Manager Network Group. */ readonly description: pulumi.Output; /** * The member type for the network group. Possible values are `Subnet` and `VirtualNetwork`. Defaults to `VirtualNetwork`. * * > **Note:** `memberType` can be set to `Subnet` only if the parent Network Manager has `Routing` included in its `scopeAccesses`. */ readonly memberType: pulumi.Output; /** * Specifies the name which should be used for this Network Manager Network Group. Changing this forces a new Network Manager Network Group to be created. */ readonly name: pulumi.Output; /** * Specifies the ID of the Network Manager. Changing this forces a new Network Manager Network Group to be created. */ readonly networkManagerId: pulumi.Output; /** * Create a NetworkManagerNetworkGroup 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: NetworkManagerNetworkGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkManagerNetworkGroup resources. */ export interface NetworkManagerNetworkGroupState { /** * A description of the Network Manager Network Group. */ description?: pulumi.Input; /** * The member type for the network group. Possible values are `Subnet` and `VirtualNetwork`. Defaults to `VirtualNetwork`. * * > **Note:** `memberType` can be set to `Subnet` only if the parent Network Manager has `Routing` included in its `scopeAccesses`. */ memberType?: pulumi.Input; /** * Specifies the name which should be used for this Network Manager Network Group. Changing this forces a new Network Manager Network Group to be created. */ name?: pulumi.Input; /** * Specifies the ID of the Network Manager. Changing this forces a new Network Manager Network Group to be created. */ networkManagerId?: pulumi.Input; } /** * The set of arguments for constructing a NetworkManagerNetworkGroup resource. */ export interface NetworkManagerNetworkGroupArgs { /** * A description of the Network Manager Network Group. */ description?: pulumi.Input; /** * The member type for the network group. Possible values are `Subnet` and `VirtualNetwork`. Defaults to `VirtualNetwork`. * * > **Note:** `memberType` can be set to `Subnet` only if the parent Network Manager has `Routing` included in its `scopeAccesses`. */ memberType?: pulumi.Input; /** * Specifies the name which should be used for this Network Manager Network Group. Changing this forces a new Network Manager Network Group to be created. */ name?: pulumi.Input; /** * Specifies the ID of the Network Manager. Changing this forces a new Network Manager Network Group to be created. */ networkManagerId: pulumi.Input; }