1. Packages
  2. Azure Classic
  3. API Docs
  4. network
  5. NetworkManager

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.network.NetworkManager

Explore with Pulumi AI

Manages a Network Manager.

Example Usage

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",
    },
});
Copy
import pulumi
import pulumi_azure as azure

example = azure.core.ResourceGroup("example",
    name="example-resources",
    location="West Europe")
current = azure.core.get_subscription()
example_network_manager = azure.network.NetworkManager("example",
    name="example-network-manager",
    location=example.location,
    resource_group_name=example.name,
    scope={
        "subscription_ids": [current.id],
    },
    scope_accesses=[
        "Connectivity",
        "SecurityAdmin",
    ],
    description="example network manager",
    tags={
        "foo": "bar",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/network"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		current, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{}, nil)
		if err != nil {
			return err
		}
		_, err = network.NewNetworkManager(ctx, "example", &network.NetworkManagerArgs{
			Name:              pulumi.String("example-network-manager"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			Scope: &network.NetworkManagerScopeArgs{
				SubscriptionIds: pulumi.StringArray{
					pulumi.String(current.Id),
				},
			},
			ScopeAccesses: pulumi.StringArray{
				pulumi.String("Connectivity"),
				pulumi.String("SecurityAdmin"),
			},
			Description: pulumi.String("example network manager"),
			Tags: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var example = new Azure.Core.ResourceGroup("example", new()
    {
        Name = "example-resources",
        Location = "West Europe",
    });

    var current = Azure.Core.GetSubscription.Invoke();

    var exampleNetworkManager = new Azure.Network.NetworkManager("example", new()
    {
        Name = "example-network-manager",
        Location = example.Location,
        ResourceGroupName = example.Name,
        Scope = new Azure.Network.Inputs.NetworkManagerScopeArgs
        {
            SubscriptionIds = new[]
            {
                current.Apply(getSubscriptionResult => getSubscriptionResult.Id),
            },
        },
        ScopeAccesses = new[]
        {
            "Connectivity",
            "SecurityAdmin",
        },
        Description = "example network manager",
        Tags = 
        {
            { "foo", "bar" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.core.CoreFunctions;
import com.pulumi.azure.core.inputs.GetSubscriptionArgs;
import com.pulumi.azure.network.NetworkManager;
import com.pulumi.azure.network.NetworkManagerArgs;
import com.pulumi.azure.network.inputs.NetworkManagerScopeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new ResourceGroup("example", ResourceGroupArgs.builder()
            .name("example-resources")
            .location("West Europe")
            .build());

        final var current = CoreFunctions.getSubscription();

        var exampleNetworkManager = new NetworkManager("exampleNetworkManager", NetworkManagerArgs.builder()
            .name("example-network-manager")
            .location(example.location())
            .resourceGroupName(example.name())
            .scope(NetworkManagerScopeArgs.builder()
                .subscriptionIds(current.applyValue(getSubscriptionResult -> getSubscriptionResult.id()))
                .build())
            .scopeAccesses(            
                "Connectivity",
                "SecurityAdmin")
            .description("example network manager")
            .tags(Map.of("foo", "bar"))
            .build());

    }
}
Copy
resources:
  example:
    type: azure:core:ResourceGroup
    properties:
      name: example-resources
      location: West Europe
  exampleNetworkManager:
    type: azure:network:NetworkManager
    name: example
    properties:
      name: example-network-manager
      location: ${example.location}
      resourceGroupName: ${example.name}
      scope:
        subscriptionIds:
          - ${current.id}
      scopeAccesses:
        - Connectivity
        - SecurityAdmin
      description: example network manager
      tags:
        foo: bar
variables:
  current:
    fn::invoke:
      function: azure:core:getSubscription
      arguments: {}
Copy

Create NetworkManager Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new NetworkManager(name: string, args: NetworkManagerArgs, opts?: CustomResourceOptions);
@overload
def NetworkManager(resource_name: str,
                   args: NetworkManagerArgs,
                   opts: Optional[ResourceOptions] = None)

@overload
def NetworkManager(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   resource_group_name: Optional[str] = None,
                   scope: Optional[NetworkManagerScopeArgs] = None,
                   description: Optional[str] = None,
                   location: Optional[str] = None,
                   name: Optional[str] = None,
                   scope_accesses: Optional[Sequence[str]] = None,
                   tags: Optional[Mapping[str, str]] = None)
func NewNetworkManager(ctx *Context, name string, args NetworkManagerArgs, opts ...ResourceOption) (*NetworkManager, error)
public NetworkManager(string name, NetworkManagerArgs args, CustomResourceOptions? opts = null)
public NetworkManager(String name, NetworkManagerArgs args)
public NetworkManager(String name, NetworkManagerArgs args, CustomResourceOptions options)
type: azure:network:NetworkManager
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. NetworkManagerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. NetworkManagerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. NetworkManagerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. NetworkManagerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. NetworkManagerArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var networkManagerResource = new Azure.Network.NetworkManager("networkManagerResource", new()
{
    ResourceGroupName = "string",
    Scope = new Azure.Network.Inputs.NetworkManagerScopeArgs
    {
        ManagementGroupIds = new[]
        {
            "string",
        },
        SubscriptionIds = new[]
        {
            "string",
        },
    },
    Description = "string",
    Location = "string",
    Name = "string",
    ScopeAccesses = new[]
    {
        "string",
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := network.NewNetworkManager(ctx, "networkManagerResource", &network.NetworkManagerArgs{
	ResourceGroupName: pulumi.String("string"),
	Scope: &network.NetworkManagerScopeArgs{
		ManagementGroupIds: pulumi.StringArray{
			pulumi.String("string"),
		},
		SubscriptionIds: pulumi.StringArray{
			pulumi.String("string"),
		},
	},
	Description: pulumi.String("string"),
	Location:    pulumi.String("string"),
	Name:        pulumi.String("string"),
	ScopeAccesses: pulumi.StringArray{
		pulumi.String("string"),
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var networkManagerResource = new NetworkManager("networkManagerResource", NetworkManagerArgs.builder()
    .resourceGroupName("string")
    .scope(NetworkManagerScopeArgs.builder()
        .managementGroupIds("string")
        .subscriptionIds("string")
        .build())
    .description("string")
    .location("string")
    .name("string")
    .scopeAccesses("string")
    .tags(Map.of("string", "string"))
    .build());
Copy
network_manager_resource = azure.network.NetworkManager("networkManagerResource",
    resource_group_name="string",
    scope={
        "management_group_ids": ["string"],
        "subscription_ids": ["string"],
    },
    description="string",
    location="string",
    name="string",
    scope_accesses=["string"],
    tags={
        "string": "string",
    })
Copy
const networkManagerResource = new azure.network.NetworkManager("networkManagerResource", {
    resourceGroupName: "string",
    scope: {
        managementGroupIds: ["string"],
        subscriptionIds: ["string"],
    },
    description: "string",
    location: "string",
    name: "string",
    scopeAccesses: ["string"],
    tags: {
        string: "string",
    },
});
Copy
type: azure:network:NetworkManager
properties:
    description: string
    location: string
    name: string
    resourceGroupName: string
    scope:
        managementGroupIds:
            - string
        subscriptionIds:
            - string
    scopeAccesses:
        - string
    tags:
        string: string
Copy

NetworkManager Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The NetworkManager resource accepts the following input properties:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the name of the Resource Group where the Network Manager should exist. Changing this forces a new Network Manager to be created.
Scope This property is required. NetworkManagerScope
A scope block as defined below.
Description string
A description of the Network Manager.
Location Changes to this property will trigger replacement. string
Specifies the Azure Region where the Network Manager should exist. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string
Specifies the name which should be used for this Network Manager. Changing this forces a new Network Manager to be created.
ScopeAccesses List<string>
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.
Tags Dictionary<string, string>
A mapping of tags which should be assigned to the Network Manager.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the name of the Resource Group where the Network Manager should exist. Changing this forces a new Network Manager to be created.
Scope This property is required. NetworkManagerScopeArgs
A scope block as defined below.
Description string
A description of the Network Manager.
Location Changes to this property will trigger replacement. string
Specifies the Azure Region where the Network Manager should exist. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string
Specifies the name which should be used for this Network Manager. Changing this forces a new Network Manager to be created.
ScopeAccesses []string
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.
Tags map[string]string
A mapping of tags which should be assigned to the Network Manager.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Specifies the name of the Resource Group where the Network Manager should exist. Changing this forces a new Network Manager to be created.
scope This property is required. NetworkManagerScope
A scope block as defined below.
description String
A description of the Network Manager.
location Changes to this property will trigger replacement. String
Specifies the Azure Region where the Network Manager should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
Specifies the name which should be used for this Network Manager. Changing this forces a new Network Manager to be created.
scopeAccesses List<String>
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.
tags Map<String,String>
A mapping of tags which should be assigned to the Network Manager.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Specifies the name of the Resource Group where the Network Manager should exist. Changing this forces a new Network Manager to be created.
scope This property is required. NetworkManagerScope
A scope block as defined below.
description string
A description of the Network Manager.
location Changes to this property will trigger replacement. string
Specifies the Azure Region where the Network Manager should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. string
Specifies the name which should be used for this Network Manager. Changing this forces a new Network Manager to be created.
scopeAccesses string[]
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.
tags {[key: string]: string}
A mapping of tags which should be assigned to the Network Manager.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Specifies the name of the Resource Group where the Network Manager should exist. Changing this forces a new Network Manager to be created.
scope This property is required. NetworkManagerScopeArgs
A scope block as defined below.
description str
A description of the Network Manager.
location Changes to this property will trigger replacement. str
Specifies the Azure Region where the Network Manager should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. str
Specifies the name which should be used for this Network Manager. Changing this forces a new Network Manager to be created.
scope_accesses Sequence[str]
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.
tags Mapping[str, str]
A mapping of tags which should be assigned to the Network Manager.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Specifies the name of the Resource Group where the Network Manager should exist. Changing this forces a new Network Manager to be created.
scope This property is required. Property Map
A scope block as defined below.
description String
A description of the Network Manager.
location Changes to this property will trigger replacement. String
Specifies the Azure Region where the Network Manager should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
Specifies the name which should be used for this Network Manager. Changing this forces a new Network Manager to be created.
scopeAccesses List<String>
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.
tags Map<String>
A mapping of tags which should be assigned to the Network Manager.

Outputs

All input properties are implicitly available as output properties. Additionally, the NetworkManager resource produces the following output properties:

CrossTenantScopes List<NetworkManagerCrossTenantScope>
One or more cross_tenant_scopes blocks as defined below.
Id string
The provider-assigned unique ID for this managed resource.
CrossTenantScopes []NetworkManagerCrossTenantScope
One or more cross_tenant_scopes blocks as defined below.
Id string
The provider-assigned unique ID for this managed resource.
crossTenantScopes List<NetworkManagerCrossTenantScope>
One or more cross_tenant_scopes blocks as defined below.
id String
The provider-assigned unique ID for this managed resource.
crossTenantScopes NetworkManagerCrossTenantScope[]
One or more cross_tenant_scopes blocks as defined below.
id string
The provider-assigned unique ID for this managed resource.
cross_tenant_scopes Sequence[NetworkManagerCrossTenantScope]
One or more cross_tenant_scopes blocks as defined below.
id str
The provider-assigned unique ID for this managed resource.
crossTenantScopes List<Property Map>
One or more cross_tenant_scopes blocks as defined below.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing NetworkManager Resource

Get an existing NetworkManager resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: NetworkManagerState, opts?: CustomResourceOptions): NetworkManager
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cross_tenant_scopes: Optional[Sequence[NetworkManagerCrossTenantScopeArgs]] = None,
        description: Optional[str] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        resource_group_name: Optional[str] = None,
        scope: Optional[NetworkManagerScopeArgs] = None,
        scope_accesses: Optional[Sequence[str]] = None,
        tags: Optional[Mapping[str, str]] = None) -> NetworkManager
func GetNetworkManager(ctx *Context, name string, id IDInput, state *NetworkManagerState, opts ...ResourceOption) (*NetworkManager, error)
public static NetworkManager Get(string name, Input<string> id, NetworkManagerState? state, CustomResourceOptions? opts = null)
public static NetworkManager get(String name, Output<String> id, NetworkManagerState state, CustomResourceOptions options)
resources:  _:    type: azure:network:NetworkManager    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CrossTenantScopes List<NetworkManagerCrossTenantScope>
One or more cross_tenant_scopes blocks as defined below.
Description string
A description of the Network Manager.
Location Changes to this property will trigger replacement. string
Specifies the Azure Region where the Network Manager should exist. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string
Specifies the name which should be used for this Network Manager. Changing this forces a new Network Manager to be created.
ResourceGroupName Changes to this property will trigger replacement. string
Specifies the name of the Resource Group where the Network Manager should exist. Changing this forces a new Network Manager to be created.
Scope NetworkManagerScope
A scope block as defined below.
ScopeAccesses List<string>
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.
Tags Dictionary<string, string>
A mapping of tags which should be assigned to the Network Manager.
CrossTenantScopes []NetworkManagerCrossTenantScopeArgs
One or more cross_tenant_scopes blocks as defined below.
Description string
A description of the Network Manager.
Location Changes to this property will trigger replacement. string
Specifies the Azure Region where the Network Manager should exist. Changing this forces a new resource to be created.
Name Changes to this property will trigger replacement. string
Specifies the name which should be used for this Network Manager. Changing this forces a new Network Manager to be created.
ResourceGroupName Changes to this property will trigger replacement. string
Specifies the name of the Resource Group where the Network Manager should exist. Changing this forces a new Network Manager to be created.
Scope NetworkManagerScopeArgs
A scope block as defined below.
ScopeAccesses []string
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.
Tags map[string]string
A mapping of tags which should be assigned to the Network Manager.
crossTenantScopes List<NetworkManagerCrossTenantScope>
One or more cross_tenant_scopes blocks as defined below.
description String
A description of the Network Manager.
location Changes to this property will trigger replacement. String
Specifies the Azure Region where the Network Manager should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
Specifies the name which should be used for this Network Manager. Changing this forces a new Network Manager to be created.
resourceGroupName Changes to this property will trigger replacement. String
Specifies the name of the Resource Group where the Network Manager should exist. Changing this forces a new Network Manager to be created.
scope NetworkManagerScope
A scope block as defined below.
scopeAccesses List<String>
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.
tags Map<String,String>
A mapping of tags which should be assigned to the Network Manager.
crossTenantScopes NetworkManagerCrossTenantScope[]
One or more cross_tenant_scopes blocks as defined below.
description string
A description of the Network Manager.
location Changes to this property will trigger replacement. string
Specifies the Azure Region where the Network Manager should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. string
Specifies the name which should be used for this Network Manager. Changing this forces a new Network Manager to be created.
resourceGroupName Changes to this property will trigger replacement. string
Specifies the name of the Resource Group where the Network Manager should exist. Changing this forces a new Network Manager to be created.
scope NetworkManagerScope
A scope block as defined below.
scopeAccesses string[]
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.
tags {[key: string]: string}
A mapping of tags which should be assigned to the Network Manager.
cross_tenant_scopes Sequence[NetworkManagerCrossTenantScopeArgs]
One or more cross_tenant_scopes blocks as defined below.
description str
A description of the Network Manager.
location Changes to this property will trigger replacement. str
Specifies the Azure Region where the Network Manager should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. str
Specifies the name which should be used for this Network Manager. Changing this forces a new Network Manager to be created.
resource_group_name Changes to this property will trigger replacement. str
Specifies the name of the Resource Group where the Network Manager should exist. Changing this forces a new Network Manager to be created.
scope NetworkManagerScopeArgs
A scope block as defined below.
scope_accesses Sequence[str]
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.
tags Mapping[str, str]
A mapping of tags which should be assigned to the Network Manager.
crossTenantScopes List<Property Map>
One or more cross_tenant_scopes blocks as defined below.
description String
A description of the Network Manager.
location Changes to this property will trigger replacement. String
Specifies the Azure Region where the Network Manager should exist. Changing this forces a new resource to be created.
name Changes to this property will trigger replacement. String
Specifies the name which should be used for this Network Manager. Changing this forces a new Network Manager to be created.
resourceGroupName Changes to this property will trigger replacement. String
Specifies the name of the Resource Group where the Network Manager should exist. Changing this forces a new Network Manager to be created.
scope Property Map
A scope block as defined below.
scopeAccesses List<String>
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.
tags Map<String>
A mapping of tags which should be assigned to the Network Manager.

Supporting Types

NetworkManagerCrossTenantScope
, NetworkManagerCrossTenantScopeArgs

ManagementGroups List<string>
List of management groups.
Subscriptions List<string>
List of subscriptions.
TenantId string
Tenant ID.
ManagementGroups []string
List of management groups.
Subscriptions []string
List of subscriptions.
TenantId string
Tenant ID.
managementGroups List<String>
List of management groups.
subscriptions List<String>
List of subscriptions.
tenantId String
Tenant ID.
managementGroups string[]
List of management groups.
subscriptions string[]
List of subscriptions.
tenantId string
Tenant ID.
management_groups Sequence[str]
List of management groups.
subscriptions Sequence[str]
List of subscriptions.
tenant_id str
Tenant ID.
managementGroups List<String>
List of management groups.
subscriptions List<String>
List of subscriptions.
tenantId String
Tenant ID.

NetworkManagerScope
, NetworkManagerScopeArgs

ManagementGroupIds List<string>

A list of management group IDs.

NOTE: When specifying a scope at the management group level, you need to register the Microsoft.Network at the management group scope before deploying a Network Manager, more information can be found in the Azure document.

SubscriptionIds List<string>
A list of subscription IDs.
ManagementGroupIds []string

A list of management group IDs.

NOTE: When specifying a scope at the management group level, you need to register the Microsoft.Network at the management group scope before deploying a Network Manager, more information can be found in the Azure document.

SubscriptionIds []string
A list of subscription IDs.
managementGroupIds List<String>

A list of management group IDs.

NOTE: When specifying a scope at the management group level, you need to register the Microsoft.Network at the management group scope before deploying a Network Manager, more information can be found in the Azure document.

subscriptionIds List<String>
A list of subscription IDs.
managementGroupIds string[]

A list of management group IDs.

NOTE: When specifying a scope at the management group level, you need to register the Microsoft.Network at the management group scope before deploying a Network Manager, more information can be found in the Azure document.

subscriptionIds string[]
A list of subscription IDs.
management_group_ids Sequence[str]

A list of management group IDs.

NOTE: When specifying a scope at the management group level, you need to register the Microsoft.Network at the management group scope before deploying a Network Manager, more information can be found in the Azure document.

subscription_ids Sequence[str]
A list of subscription IDs.
managementGroupIds List<String>

A list of management group IDs.

NOTE: When specifying a scope at the management group level, you need to register the Microsoft.Network at the management group scope before deploying a Network Manager, more information can be found in the Azure document.

subscriptionIds List<String>
A list of subscription IDs.

Import

Network Manager can be imported using the resource id, e.g.

$ pulumi import azure:network/networkManager:NetworkManager example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/networkManagers/networkManager1
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.