azure.network.NetworkManagerConnectivityConfiguration

Explore with Pulumi AI

Manages a Network Manager Connectivity Configuration.

Note: The azure.network.NetworkManagerConnectivityConfiguration deployment may modify or delete existing Network Peering resource.

Example Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

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

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

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

    var exampleNetworkManagerNetworkGroup = new Azure.Network.NetworkManagerNetworkGroup("exampleNetworkManagerNetworkGroup", new()
    {
        NetworkManagerId = exampleNetworkManager.Id,
    });

    var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("exampleVirtualNetwork", new()
    {
        Location = exampleResourceGroup.Location,
        ResourceGroupName = exampleResourceGroup.Name,
        AddressSpaces = new[]
        {
            "10.0.0.0/16",
        },
        FlowTimeoutInMinutes = 10,
    });

    var exampleNetworkManagerConnectivityConfiguration = new Azure.Network.NetworkManagerConnectivityConfiguration("exampleNetworkManagerConnectivityConfiguration", new()
    {
        NetworkManagerId = exampleNetworkManager.Id,
        ConnectivityTopology = "HubAndSpoke",
        AppliesToGroups = new[]
        {
            new Azure.Network.Inputs.NetworkManagerConnectivityConfigurationAppliesToGroupArgs
            {
                GroupConnectivity = "DirectlyConnected",
                NetworkGroupId = exampleNetworkManagerNetworkGroup.Id,
            },
        },
        Hub = new Azure.Network.Inputs.NetworkManagerConnectivityConfigurationHubArgs
        {
            ResourceId = exampleVirtualNetwork.Id,
            ResourceType = "Microsoft.Network/virtualNetworks",
        },
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		current, err := core.LookupSubscription(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleNetworkManager, err := network.NewNetworkManager(ctx, "exampleNetworkManager", &network.NetworkManagerArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.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"),
		})
		if err != nil {
			return err
		}
		exampleNetworkManagerNetworkGroup, err := network.NewNetworkManagerNetworkGroup(ctx, "exampleNetworkManagerNetworkGroup", &network.NetworkManagerNetworkGroupArgs{
			NetworkManagerId: exampleNetworkManager.ID(),
		})
		if err != nil {
			return err
		}
		exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{
			Location:          exampleResourceGroup.Location,
			ResourceGroupName: exampleResourceGroup.Name,
			AddressSpaces: pulumi.StringArray{
				pulumi.String("10.0.0.0/16"),
			},
			FlowTimeoutInMinutes: pulumi.Int(10),
		})
		if err != nil {
			return err
		}
		_, err = network.NewNetworkManagerConnectivityConfiguration(ctx, "exampleNetworkManagerConnectivityConfiguration", &network.NetworkManagerConnectivityConfigurationArgs{
			NetworkManagerId:     exampleNetworkManager.ID(),
			ConnectivityTopology: pulumi.String("HubAndSpoke"),
			AppliesToGroups: network.NetworkManagerConnectivityConfigurationAppliesToGroupArray{
				&network.NetworkManagerConnectivityConfigurationAppliesToGroupArgs{
					GroupConnectivity: pulumi.String("DirectlyConnected"),
					NetworkGroupId:    exampleNetworkManagerNetworkGroup.ID(),
				},
			},
			Hub: &network.NetworkManagerConnectivityConfigurationHubArgs{
				ResourceId:   exampleVirtualNetwork.ID(),
				ResourceType: pulumi.String("Microsoft.Network/virtualNetworks"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
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 com.pulumi.azure.network.NetworkManagerNetworkGroup;
import com.pulumi.azure.network.NetworkManagerNetworkGroupArgs;
import com.pulumi.azure.network.VirtualNetwork;
import com.pulumi.azure.network.VirtualNetworkArgs;
import com.pulumi.azure.network.NetworkManagerConnectivityConfiguration;
import com.pulumi.azure.network.NetworkManagerConnectivityConfigurationArgs;
import com.pulumi.azure.network.inputs.NetworkManagerConnectivityConfigurationAppliesToGroupArgs;
import com.pulumi.azure.network.inputs.NetworkManagerConnectivityConfigurationHubArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()        
            .location("West Europe")
            .build());

        final var current = CoreFunctions.getSubscription();

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

        var exampleNetworkManagerNetworkGroup = new NetworkManagerNetworkGroup("exampleNetworkManagerNetworkGroup", NetworkManagerNetworkGroupArgs.builder()        
            .networkManagerId(exampleNetworkManager.id())
            .build());

        var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()        
            .location(exampleResourceGroup.location())
            .resourceGroupName(exampleResourceGroup.name())
            .addressSpaces("10.0.0.0/16")
            .flowTimeoutInMinutes(10)
            .build());

        var exampleNetworkManagerConnectivityConfiguration = new NetworkManagerConnectivityConfiguration("exampleNetworkManagerConnectivityConfiguration", NetworkManagerConnectivityConfigurationArgs.builder()        
            .networkManagerId(exampleNetworkManager.id())
            .connectivityTopology("HubAndSpoke")
            .appliesToGroups(NetworkManagerConnectivityConfigurationAppliesToGroupArgs.builder()
                .groupConnectivity("DirectlyConnected")
                .networkGroupId(exampleNetworkManagerNetworkGroup.id())
                .build())
            .hub(NetworkManagerConnectivityConfigurationHubArgs.builder()
                .resourceId(exampleVirtualNetwork.id())
                .resourceType("Microsoft.Network/virtualNetworks")
                .build())
            .build());

    }
}
import pulumi
import pulumi_azure as azure

example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
current = azure.core.get_subscription()
example_network_manager = azure.network.NetworkManager("exampleNetworkManager",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name,
    scope=azure.network.NetworkManagerScopeArgs(
        subscription_ids=[current.id],
    ),
    scope_accesses=[
        "Connectivity",
        "SecurityAdmin",
    ],
    description="example network manager")
example_network_manager_network_group = azure.network.NetworkManagerNetworkGroup("exampleNetworkManagerNetworkGroup", network_manager_id=example_network_manager.id)
example_virtual_network = azure.network.VirtualNetwork("exampleVirtualNetwork",
    location=example_resource_group.location,
    resource_group_name=example_resource_group.name,
    address_spaces=["10.0.0.0/16"],
    flow_timeout_in_minutes=10)
example_network_manager_connectivity_configuration = azure.network.NetworkManagerConnectivityConfiguration("exampleNetworkManagerConnectivityConfiguration",
    network_manager_id=example_network_manager.id,
    connectivity_topology="HubAndSpoke",
    applies_to_groups=[azure.network.NetworkManagerConnectivityConfigurationAppliesToGroupArgs(
        group_connectivity="DirectlyConnected",
        network_group_id=example_network_manager_network_group.id,
    )],
    hub=azure.network.NetworkManagerConnectivityConfigurationHubArgs(
        resource_id=example_virtual_network.id,
        resource_type="Microsoft.Network/virtualNetworks",
    ))
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const current = azure.core.getSubscription({});
const exampleNetworkManager = new azure.network.NetworkManager("exampleNetworkManager", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
    scope: {
        subscriptionIds: [current.then(current => current.id)],
    },
    scopeAccesses: [
        "Connectivity",
        "SecurityAdmin",
    ],
    description: "example network manager",
});
const exampleNetworkManagerNetworkGroup = new azure.network.NetworkManagerNetworkGroup("exampleNetworkManagerNetworkGroup", {networkManagerId: exampleNetworkManager.id});
const exampleVirtualNetwork = new azure.network.VirtualNetwork("exampleVirtualNetwork", {
    location: exampleResourceGroup.location,
    resourceGroupName: exampleResourceGroup.name,
    addressSpaces: ["10.0.0.0/16"],
    flowTimeoutInMinutes: 10,
});
const exampleNetworkManagerConnectivityConfiguration = new azure.network.NetworkManagerConnectivityConfiguration("exampleNetworkManagerConnectivityConfiguration", {
    networkManagerId: exampleNetworkManager.id,
    connectivityTopology: "HubAndSpoke",
    appliesToGroups: [{
        groupConnectivity: "DirectlyConnected",
        networkGroupId: exampleNetworkManagerNetworkGroup.id,
    }],
    hub: {
        resourceId: exampleVirtualNetwork.id,
        resourceType: "Microsoft.Network/virtualNetworks",
    },
});
resources:
  exampleResourceGroup:
    type: azure:core:ResourceGroup
    properties:
      location: West Europe
  exampleNetworkManager:
    type: azure:network:NetworkManager
    properties:
      location: ${exampleResourceGroup.location}
      resourceGroupName: ${exampleResourceGroup.name}
      scope:
        subscriptionIds:
          - ${current.id}
      scopeAccesses:
        - Connectivity
        - SecurityAdmin
      description: example network manager
  exampleNetworkManagerNetworkGroup:
    type: azure:network:NetworkManagerNetworkGroup
    properties:
      networkManagerId: ${exampleNetworkManager.id}
  exampleVirtualNetwork:
    type: azure:network:VirtualNetwork
    properties:
      location: ${exampleResourceGroup.location}
      resourceGroupName: ${exampleResourceGroup.name}
      addressSpaces:
        - 10.0.0.0/16
      flowTimeoutInMinutes: 10
  exampleNetworkManagerConnectivityConfiguration:
    type: azure:network:NetworkManagerConnectivityConfiguration
    properties:
      networkManagerId: ${exampleNetworkManager.id}
      connectivityTopology: HubAndSpoke
      appliesToGroups:
        - groupConnectivity: DirectlyConnected
          networkGroupId: ${exampleNetworkManagerNetworkGroup.id}
      hub:
        resourceId: ${exampleVirtualNetwork.id}
        resourceType: Microsoft.Network/virtualNetworks
variables:
  current:
    fn::invoke:
      Function: azure:core:getSubscription
      Arguments: {}

Create NetworkManagerConnectivityConfiguration Resource

new NetworkManagerConnectivityConfiguration(name: string, args: NetworkManagerConnectivityConfigurationArgs, opts?: CustomResourceOptions);
@overload
def NetworkManagerConnectivityConfiguration(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            applies_to_groups: Optional[Sequence[NetworkManagerConnectivityConfigurationAppliesToGroupArgs]] = None,
                                            connectivity_topology: Optional[str] = None,
                                            delete_existing_peering_enabled: Optional[bool] = None,
                                            description: Optional[str] = None,
                                            global_mesh_enabled: Optional[bool] = None,
                                            hub: Optional[NetworkManagerConnectivityConfigurationHubArgs] = None,
                                            name: Optional[str] = None,
                                            network_manager_id: Optional[str] = None)
@overload
def NetworkManagerConnectivityConfiguration(resource_name: str,
                                            args: NetworkManagerConnectivityConfigurationArgs,
                                            opts: Optional[ResourceOptions] = None)
func NewNetworkManagerConnectivityConfiguration(ctx *Context, name string, args NetworkManagerConnectivityConfigurationArgs, opts ...ResourceOption) (*NetworkManagerConnectivityConfiguration, error)
public NetworkManagerConnectivityConfiguration(string name, NetworkManagerConnectivityConfigurationArgs args, CustomResourceOptions? opts = null)
public NetworkManagerConnectivityConfiguration(String name, NetworkManagerConnectivityConfigurationArgs args)
public NetworkManagerConnectivityConfiguration(String name, NetworkManagerConnectivityConfigurationArgs args, CustomResourceOptions options)
type: azure:network:NetworkManagerConnectivityConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

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

NetworkManagerConnectivityConfiguration Resource Properties

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

Inputs

The NetworkManagerConnectivityConfiguration resource accepts the following input properties:

AppliesToGroups List<NetworkManagerConnectivityConfigurationAppliesToGroupArgs>

An applies_to_group block as defined below.

ConnectivityTopology string

Specifies the connectivity topology type. Possible values are HubAndSpoke and Mesh.

NetworkManagerId string

Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.

DeleteExistingPeeringEnabled bool

Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are true and false.

Description string

A description of the Connectivity Configuration.

GlobalMeshEnabled bool

Indicates whether to global mesh is supported. Possible values are true and false.

Hub NetworkManagerConnectivityConfigurationHubArgs

A hub block as defined below.

Name string

Specifies the name which should be used for this Network Manager Connectivity Configuration. Changing this forces a new Network Manager Connectivity Configuration to be created.

AppliesToGroups []NetworkManagerConnectivityConfigurationAppliesToGroupArgs

An applies_to_group block as defined below.

ConnectivityTopology string

Specifies the connectivity topology type. Possible values are HubAndSpoke and Mesh.

NetworkManagerId string

Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.

DeleteExistingPeeringEnabled bool

Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are true and false.

Description string

A description of the Connectivity Configuration.

GlobalMeshEnabled bool

Indicates whether to global mesh is supported. Possible values are true and false.

Hub NetworkManagerConnectivityConfigurationHubArgs

A hub block as defined below.

Name string

Specifies the name which should be used for this Network Manager Connectivity Configuration. Changing this forces a new Network Manager Connectivity Configuration to be created.

appliesToGroups List<NetworkManagerConnectivityConfigurationAppliesToGroupArgs>

An applies_to_group block as defined below.

connectivityTopology String

Specifies the connectivity topology type. Possible values are HubAndSpoke and Mesh.

networkManagerId String

Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.

deleteExistingPeeringEnabled Boolean

Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are true and false.

description String

A description of the Connectivity Configuration.

globalMeshEnabled Boolean

Indicates whether to global mesh is supported. Possible values are true and false.

hub NetworkManagerConnectivityConfigurationHubArgs

A hub block as defined below.

name String

Specifies the name which should be used for this Network Manager Connectivity Configuration. Changing this forces a new Network Manager Connectivity Configuration to be created.

appliesToGroups NetworkManagerConnectivityConfigurationAppliesToGroupArgs[]

An applies_to_group block as defined below.

connectivityTopology string

Specifies the connectivity topology type. Possible values are HubAndSpoke and Mesh.

networkManagerId string

Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.

deleteExistingPeeringEnabled boolean

Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are true and false.

description string

A description of the Connectivity Configuration.

globalMeshEnabled boolean

Indicates whether to global mesh is supported. Possible values are true and false.

hub NetworkManagerConnectivityConfigurationHubArgs

A hub block as defined below.

name string

Specifies the name which should be used for this Network Manager Connectivity Configuration. Changing this forces a new Network Manager Connectivity Configuration to be created.

applies_to_groups Sequence[NetworkManagerConnectivityConfigurationAppliesToGroupArgs]

An applies_to_group block as defined below.

connectivity_topology str

Specifies the connectivity topology type. Possible values are HubAndSpoke and Mesh.

network_manager_id str

Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.

delete_existing_peering_enabled bool

Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are true and false.

description str

A description of the Connectivity Configuration.

global_mesh_enabled bool

Indicates whether to global mesh is supported. Possible values are true and false.

hub NetworkManagerConnectivityConfigurationHubArgs

A hub block as defined below.

name str

Specifies the name which should be used for this Network Manager Connectivity Configuration. Changing this forces a new Network Manager Connectivity Configuration to be created.

appliesToGroups List<Property Map>

An applies_to_group block as defined below.

connectivityTopology String

Specifies the connectivity topology type. Possible values are HubAndSpoke and Mesh.

networkManagerId String

Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.

deleteExistingPeeringEnabled Boolean

Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are true and false.

description String

A description of the Connectivity Configuration.

globalMeshEnabled Boolean

Indicates whether to global mesh is supported. Possible values are true and false.

hub Property Map

A hub block as defined below.

name String

Specifies the name which should be used for this Network Manager Connectivity Configuration. Changing this forces a new Network Manager Connectivity Configuration to be created.

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing NetworkManagerConnectivityConfiguration Resource

Get an existing NetworkManagerConnectivityConfiguration 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?: NetworkManagerConnectivityConfigurationState, opts?: CustomResourceOptions): NetworkManagerConnectivityConfiguration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        applies_to_groups: Optional[Sequence[NetworkManagerConnectivityConfigurationAppliesToGroupArgs]] = None,
        connectivity_topology: Optional[str] = None,
        delete_existing_peering_enabled: Optional[bool] = None,
        description: Optional[str] = None,
        global_mesh_enabled: Optional[bool] = None,
        hub: Optional[NetworkManagerConnectivityConfigurationHubArgs] = None,
        name: Optional[str] = None,
        network_manager_id: Optional[str] = None) -> NetworkManagerConnectivityConfiguration
func GetNetworkManagerConnectivityConfiguration(ctx *Context, name string, id IDInput, state *NetworkManagerConnectivityConfigurationState, opts ...ResourceOption) (*NetworkManagerConnectivityConfiguration, error)
public static NetworkManagerConnectivityConfiguration Get(string name, Input<string> id, NetworkManagerConnectivityConfigurationState? state, CustomResourceOptions? opts = null)
public static NetworkManagerConnectivityConfiguration get(String name, Output<String> id, NetworkManagerConnectivityConfigurationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
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
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
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
The unique name of the resulting resource.
id
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
The unique name of the resulting resource.
id
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:
AppliesToGroups List<NetworkManagerConnectivityConfigurationAppliesToGroupArgs>

An applies_to_group block as defined below.

ConnectivityTopology string

Specifies the connectivity topology type. Possible values are HubAndSpoke and Mesh.

DeleteExistingPeeringEnabled bool

Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are true and false.

Description string

A description of the Connectivity Configuration.

GlobalMeshEnabled bool

Indicates whether to global mesh is supported. Possible values are true and false.

Hub NetworkManagerConnectivityConfigurationHubArgs

A hub block as defined below.

Name string

Specifies the name which should be used for this Network Manager Connectivity Configuration. Changing this forces a new Network Manager Connectivity Configuration to be created.

NetworkManagerId string

Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.

AppliesToGroups []NetworkManagerConnectivityConfigurationAppliesToGroupArgs

An applies_to_group block as defined below.

ConnectivityTopology string

Specifies the connectivity topology type. Possible values are HubAndSpoke and Mesh.

DeleteExistingPeeringEnabled bool

Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are true and false.

Description string

A description of the Connectivity Configuration.

GlobalMeshEnabled bool

Indicates whether to global mesh is supported. Possible values are true and false.

Hub NetworkManagerConnectivityConfigurationHubArgs

A hub block as defined below.

Name string

Specifies the name which should be used for this Network Manager Connectivity Configuration. Changing this forces a new Network Manager Connectivity Configuration to be created.

NetworkManagerId string

Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.

appliesToGroups List<NetworkManagerConnectivityConfigurationAppliesToGroupArgs>

An applies_to_group block as defined below.

connectivityTopology String

Specifies the connectivity topology type. Possible values are HubAndSpoke and Mesh.

deleteExistingPeeringEnabled Boolean

Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are true and false.

description String

A description of the Connectivity Configuration.

globalMeshEnabled Boolean

Indicates whether to global mesh is supported. Possible values are true and false.

hub NetworkManagerConnectivityConfigurationHubArgs

A hub block as defined below.

name String

Specifies the name which should be used for this Network Manager Connectivity Configuration. Changing this forces a new Network Manager Connectivity Configuration to be created.

networkManagerId String

Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.

appliesToGroups NetworkManagerConnectivityConfigurationAppliesToGroupArgs[]

An applies_to_group block as defined below.

connectivityTopology string

Specifies the connectivity topology type. Possible values are HubAndSpoke and Mesh.

deleteExistingPeeringEnabled boolean

Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are true and false.

description string

A description of the Connectivity Configuration.

globalMeshEnabled boolean

Indicates whether to global mesh is supported. Possible values are true and false.

hub NetworkManagerConnectivityConfigurationHubArgs

A hub block as defined below.

name string

Specifies the name which should be used for this Network Manager Connectivity Configuration. Changing this forces a new Network Manager Connectivity Configuration to be created.

networkManagerId string

Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.

applies_to_groups Sequence[NetworkManagerConnectivityConfigurationAppliesToGroupArgs]

An applies_to_group block as defined below.

connectivity_topology str

Specifies the connectivity topology type. Possible values are HubAndSpoke and Mesh.

delete_existing_peering_enabled bool

Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are true and false.

description str

A description of the Connectivity Configuration.

global_mesh_enabled bool

Indicates whether to global mesh is supported. Possible values are true and false.

hub NetworkManagerConnectivityConfigurationHubArgs

A hub block as defined below.

name str

Specifies the name which should be used for this Network Manager Connectivity Configuration. Changing this forces a new Network Manager Connectivity Configuration to be created.

network_manager_id str

Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.

appliesToGroups List<Property Map>

An applies_to_group block as defined below.

connectivityTopology String

Specifies the connectivity topology type. Possible values are HubAndSpoke and Mesh.

deleteExistingPeeringEnabled Boolean

Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are true and false.

description String

A description of the Connectivity Configuration.

globalMeshEnabled Boolean

Indicates whether to global mesh is supported. Possible values are true and false.

hub Property Map

A hub block as defined below.

name String

Specifies the name which should be used for this Network Manager Connectivity Configuration. Changing this forces a new Network Manager Connectivity Configuration to be created.

networkManagerId String

Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.

Supporting Types

NetworkManagerConnectivityConfigurationAppliesToGroup

GroupConnectivity string

Specifies the group connectivity type. Possible values are None and DirectlyConnected.

NetworkGroupId string

Specifies the resource ID of Network Group which the configuration applies to.

GlobalMeshEnabled bool

Indicates whether to global mesh is supported for this group. Possible values are true and false.

UseHubGateway bool

Indicates whether the hub gateway is used. Possible values are true and false.

GroupConnectivity string

Specifies the group connectivity type. Possible values are None and DirectlyConnected.

NetworkGroupId string

Specifies the resource ID of Network Group which the configuration applies to.

GlobalMeshEnabled bool

Indicates whether to global mesh is supported for this group. Possible values are true and false.

UseHubGateway bool

Indicates whether the hub gateway is used. Possible values are true and false.

groupConnectivity String

Specifies the group connectivity type. Possible values are None and DirectlyConnected.

networkGroupId String

Specifies the resource ID of Network Group which the configuration applies to.

globalMeshEnabled Boolean

Indicates whether to global mesh is supported for this group. Possible values are true and false.

useHubGateway Boolean

Indicates whether the hub gateway is used. Possible values are true and false.

groupConnectivity string

Specifies the group connectivity type. Possible values are None and DirectlyConnected.

networkGroupId string

Specifies the resource ID of Network Group which the configuration applies to.

globalMeshEnabled boolean

Indicates whether to global mesh is supported for this group. Possible values are true and false.

useHubGateway boolean

Indicates whether the hub gateway is used. Possible values are true and false.

group_connectivity str

Specifies the group connectivity type. Possible values are None and DirectlyConnected.

network_group_id str

Specifies the resource ID of Network Group which the configuration applies to.

global_mesh_enabled bool

Indicates whether to global mesh is supported for this group. Possible values are true and false.

use_hub_gateway bool

Indicates whether the hub gateway is used. Possible values are true and false.

groupConnectivity String

Specifies the group connectivity type. Possible values are None and DirectlyConnected.

networkGroupId String

Specifies the resource ID of Network Group which the configuration applies to.

globalMeshEnabled Boolean

Indicates whether to global mesh is supported for this group. Possible values are true and false.

useHubGateway Boolean

Indicates whether the hub gateway is used. Possible values are true and false.

NetworkManagerConnectivityConfigurationHub

ResourceId string

Specifies the resource ID used as hub in Hub And Spoke topology.

ResourceType string

Specifies the resource Type used as hub in Hub And Spoke topology.

ResourceId string

Specifies the resource ID used as hub in Hub And Spoke topology.

ResourceType string

Specifies the resource Type used as hub in Hub And Spoke topology.

resourceId String

Specifies the resource ID used as hub in Hub And Spoke topology.

resourceType String

Specifies the resource Type used as hub in Hub And Spoke topology.

resourceId string

Specifies the resource ID used as hub in Hub And Spoke topology.

resourceType string

Specifies the resource Type used as hub in Hub And Spoke topology.

resource_id str

Specifies the resource ID used as hub in Hub And Spoke topology.

resource_type str

Specifies the resource Type used as hub in Hub And Spoke topology.

resourceId String

Specifies the resource ID used as hub in Hub And Spoke topology.

resourceType String

Specifies the resource Type used as hub in Hub And Spoke topology.

Import

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

 $ pulumi import azure:network/networkManagerConnectivityConfiguration:NetworkManagerConnectivityConfiguration example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.Network/networkManagers/networkManager1/connectivityConfigurations/configuration1

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes

This Pulumi package is based on the azurerm Terraform Provider.