import * as pulumi from "@pulumi/pulumi"; /** * Manages a Network Manager Static Member. * * ## 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, * description: "example network group", * }); * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", { * name: "example-vnet", * resourceGroupName: example.name, * addressSpaces: ["192.168.1.0/24"], * location: example.location, * }); * const exampleNetworkManagerStaticMember = new azure.network.NetworkManagerStaticMember("example", { * name: "example-nmsm", * networkGroupId: exampleNetworkManagerNetworkGroup.id, * targetVirtualNetworkId: exampleVirtualNetwork.id, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Network` - 2025-01-01 * * ## Import * * Network Manager Static Member can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:network/networkManagerStaticMember:NetworkManagerStaticMember example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/networkManagers/networkManager1/networkGroups/networkGroup1/staticMembers/staticMember1 * ``` */ export declare class NetworkManagerStaticMember extends pulumi.CustomResource { /** * Get an existing NetworkManagerStaticMember 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?: NetworkManagerStaticMemberState, opts?: pulumi.CustomResourceOptions): NetworkManagerStaticMember; /** * Returns true if the given object is an instance of NetworkManagerStaticMember. 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 NetworkManagerStaticMember; /** * Specifies the name which should be used for this Network Manager Static Member. Changing this forces a new Network Manager Static Member to be created. */ readonly name: pulumi.Output; /** * Specifies the ID of the Network Manager Group. Changing this forces a new Network Manager Static Member to be created. */ readonly networkGroupId: pulumi.Output; /** * The region of the Network Manager Static Member. */ readonly region: pulumi.Output; /** * Specifies the Resource ID of the Virtual Network or Subnet used as the Static Member. Changing this forces a new Network Manager Static Member to be created. * * > **Note:** Subnet is supported only if the Network Manager has added `Routing` to `scopeAccesses` and the Network Group has set `Subnet` as the `memberType` value. */ readonly targetVirtualNetworkId: pulumi.Output; /** * Create a NetworkManagerStaticMember 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: NetworkManagerStaticMemberArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering NetworkManagerStaticMember resources. */ export interface NetworkManagerStaticMemberState { /** * Specifies the name which should be used for this Network Manager Static Member. Changing this forces a new Network Manager Static Member to be created. */ name?: pulumi.Input; /** * Specifies the ID of the Network Manager Group. Changing this forces a new Network Manager Static Member to be created. */ networkGroupId?: pulumi.Input; /** * The region of the Network Manager Static Member. */ region?: pulumi.Input; /** * Specifies the Resource ID of the Virtual Network or Subnet used as the Static Member. Changing this forces a new Network Manager Static Member to be created. * * > **Note:** Subnet is supported only if the Network Manager has added `Routing` to `scopeAccesses` and the Network Group has set `Subnet` as the `memberType` value. */ targetVirtualNetworkId?: pulumi.Input; } /** * The set of arguments for constructing a NetworkManagerStaticMember resource. */ export interface NetworkManagerStaticMemberArgs { /** * Specifies the name which should be used for this Network Manager Static Member. Changing this forces a new Network Manager Static Member to be created. */ name?: pulumi.Input; /** * Specifies the ID of the Network Manager Group. Changing this forces a new Network Manager Static Member to be created. */ networkGroupId: pulumi.Input; /** * Specifies the Resource ID of the Virtual Network or Subnet used as the Static Member. Changing this forces a new Network Manager Static Member to be created. * * > **Note:** Subnet is supported only if the Network Manager has added `Routing` to `scopeAccesses` and the Network Group has set `Subnet` as the `memberType` value. */ targetVirtualNetworkId: pulumi.Input; }