We recommend using Azure Native.
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
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,
});
const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
name: "example-net",
location: example.location,
resourceGroupName: example.name,
addressSpaces: ["10.0.0.0/16"],
flowTimeoutInMinutes: 10,
});
const example2 = new azure.network.NetworkManagerNetworkGroup("example2", {
name: "example-group2",
networkManagerId: exampleNetworkManager.id,
});
const exampleNetworkManagerConnectivityConfiguration = new azure.network.NetworkManagerConnectivityConfiguration("example", {
name: "example-connectivity-conf",
networkManagerId: exampleNetworkManager.id,
connectivityTopology: "HubAndSpoke",
appliesToGroups: [
{
groupConnectivity: "DirectlyConnected",
networkGroupId: exampleNetworkManagerNetworkGroup.id,
},
{
groupConnectivity: "DirectlyConnected",
networkGroupId: example2.id,
},
],
hub: {
resourceId: exampleVirtualNetwork.id,
resourceType: "Microsoft.Network/virtualNetworks",
},
});
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=azure.network.NetworkManagerScopeArgs(
subscription_ids=[current.id],
),
scope_accesses=[
"Connectivity",
"SecurityAdmin",
],
description="example network manager")
example_network_manager_network_group = azure.network.NetworkManagerNetworkGroup("example",
name="example-group",
network_manager_id=example_network_manager.id)
example_virtual_network = azure.network.VirtualNetwork("example",
name="example-net",
location=example.location,
resource_group_name=example.name,
address_spaces=["10.0.0.0/16"],
flow_timeout_in_minutes=10)
example2 = azure.network.NetworkManagerNetworkGroup("example2",
name="example-group2",
network_manager_id=example_network_manager.id)
example_network_manager_connectivity_configuration = azure.network.NetworkManagerConnectivityConfiguration("example",
name="example-connectivity-conf",
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,
),
azure.network.NetworkManagerConnectivityConfigurationAppliesToGroupArgs(
group_connectivity="DirectlyConnected",
network_group_id=example2.id,
),
],
hub=azure.network.NetworkManagerConnectivityConfigurationHubArgs(
resource_id=example_virtual_network.id,
resource_type="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 {
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, nil, nil)
if err != nil {
return err
}
exampleNetworkManager, 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"),
})
if err != nil {
return err
}
exampleNetworkManagerNetworkGroup, err := network.NewNetworkManagerNetworkGroup(ctx, "example", &network.NetworkManagerNetworkGroupArgs{
Name: pulumi.String("example-group"),
NetworkManagerId: exampleNetworkManager.ID(),
})
if err != nil {
return err
}
exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "example", &network.VirtualNetworkArgs{
Name: pulumi.String("example-net"),
Location: example.Location,
ResourceGroupName: example.Name,
AddressSpaces: pulumi.StringArray{
pulumi.String("10.0.0.0/16"),
},
FlowTimeoutInMinutes: pulumi.Int(10),
})
if err != nil {
return err
}
example2, err := network.NewNetworkManagerNetworkGroup(ctx, "example2", &network.NetworkManagerNetworkGroupArgs{
Name: pulumi.String("example-group2"),
NetworkManagerId: exampleNetworkManager.ID(),
})
if err != nil {
return err
}
_, err = network.NewNetworkManagerConnectivityConfiguration(ctx, "example", &network.NetworkManagerConnectivityConfigurationArgs{
Name: pulumi.String("example-connectivity-conf"),
NetworkManagerId: exampleNetworkManager.ID(),
ConnectivityTopology: pulumi.String("HubAndSpoke"),
AppliesToGroups: network.NetworkManagerConnectivityConfigurationAppliesToGroupArray{
&network.NetworkManagerConnectivityConfigurationAppliesToGroupArgs{
GroupConnectivity: pulumi.String("DirectlyConnected"),
NetworkGroupId: exampleNetworkManagerNetworkGroup.ID(),
},
&network.NetworkManagerConnectivityConfigurationAppliesToGroupArgs{
GroupConnectivity: pulumi.String("DirectlyConnected"),
NetworkGroupId: example2.ID(),
},
},
Hub: &network.NetworkManagerConnectivityConfigurationHubArgs{
ResourceId: exampleVirtualNetwork.ID(),
ResourceType: pulumi.String("Microsoft.Network/virtualNetworks"),
},
})
if err != nil {
return err
}
return nil
})
}
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",
});
var exampleNetworkManagerNetworkGroup = new Azure.Network.NetworkManagerNetworkGroup("example", new()
{
Name = "example-group",
NetworkManagerId = exampleNetworkManager.Id,
});
var exampleVirtualNetwork = new Azure.Network.VirtualNetwork("example", new()
{
Name = "example-net",
Location = example.Location,
ResourceGroupName = example.Name,
AddressSpaces = new[]
{
"10.0.0.0/16",
},
FlowTimeoutInMinutes = 10,
});
var example2 = new Azure.Network.NetworkManagerNetworkGroup("example2", new()
{
Name = "example-group2",
NetworkManagerId = exampleNetworkManager.Id,
});
var exampleNetworkManagerConnectivityConfiguration = new Azure.Network.NetworkManagerConnectivityConfiguration("example", new()
{
Name = "example-connectivity-conf",
NetworkManagerId = exampleNetworkManager.Id,
ConnectivityTopology = "HubAndSpoke",
AppliesToGroups = new[]
{
new Azure.Network.Inputs.NetworkManagerConnectivityConfigurationAppliesToGroupArgs
{
GroupConnectivity = "DirectlyConnected",
NetworkGroupId = exampleNetworkManagerNetworkGroup.Id,
},
new Azure.Network.Inputs.NetworkManagerConnectivityConfigurationAppliesToGroupArgs
{
GroupConnectivity = "DirectlyConnected",
NetworkGroupId = example2.Id,
},
},
Hub = new Azure.Network.Inputs.NetworkManagerConnectivityConfigurationHubArgs
{
ResourceId = exampleVirtualNetwork.Id,
ResourceType = "Microsoft.Network/virtualNetworks",
},
});
});
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 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")
.build());
var exampleNetworkManagerNetworkGroup = new NetworkManagerNetworkGroup("exampleNetworkManagerNetworkGroup", NetworkManagerNetworkGroupArgs.builder()
.name("example-group")
.networkManagerId(exampleNetworkManager.id())
.build());
var exampleVirtualNetwork = new VirtualNetwork("exampleVirtualNetwork", VirtualNetworkArgs.builder()
.name("example-net")
.location(example.location())
.resourceGroupName(example.name())
.addressSpaces("10.0.0.0/16")
.flowTimeoutInMinutes(10)
.build());
var example2 = new NetworkManagerNetworkGroup("example2", NetworkManagerNetworkGroupArgs.builder()
.name("example-group2")
.networkManagerId(exampleNetworkManager.id())
.build());
var exampleNetworkManagerConnectivityConfiguration = new NetworkManagerConnectivityConfiguration("exampleNetworkManagerConnectivityConfiguration", NetworkManagerConnectivityConfigurationArgs.builder()
.name("example-connectivity-conf")
.networkManagerId(exampleNetworkManager.id())
.connectivityTopology("HubAndSpoke")
.appliesToGroups(
NetworkManagerConnectivityConfigurationAppliesToGroupArgs.builder()
.groupConnectivity("DirectlyConnected")
.networkGroupId(exampleNetworkManagerNetworkGroup.id())
.build(),
NetworkManagerConnectivityConfigurationAppliesToGroupArgs.builder()
.groupConnectivity("DirectlyConnected")
.networkGroupId(example2.id())
.build())
.hub(NetworkManagerConnectivityConfigurationHubArgs.builder()
.resourceId(exampleVirtualNetwork.id())
.resourceType("Microsoft.Network/virtualNetworks")
.build())
.build());
}
}
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
exampleNetworkManagerNetworkGroup:
type: azure:network:NetworkManagerNetworkGroup
name: example
properties:
name: example-group
networkManagerId: ${exampleNetworkManager.id}
exampleVirtualNetwork:
type: azure:network:VirtualNetwork
name: example
properties:
name: example-net
location: ${example.location}
resourceGroupName: ${example.name}
addressSpaces:
- 10.0.0.0/16
flowTimeoutInMinutes: 10
example2:
type: azure:network:NetworkManagerNetworkGroup
properties:
name: example-group2
networkManagerId: ${exampleNetworkManager.id}
exampleNetworkManagerConnectivityConfiguration:
type: azure:network:NetworkManagerConnectivityConfiguration
name: example
properties:
name: example-connectivity-conf
networkManagerId: ${exampleNetworkManager.id}
connectivityTopology: HubAndSpoke
appliesToGroups:
- groupConnectivity: DirectlyConnected
networkGroupId: ${exampleNetworkManagerNetworkGroup.id}
- groupConnectivity: DirectlyConnected
networkGroupId: ${example2.id}
hub:
resourceId: ${exampleVirtualNetwork.id}
resourceType: Microsoft.Network/virtualNetworks
variables:
current:
fn::invoke:
Function: azure:core:getSubscription
Arguments: {}
Create NetworkManagerConnectivityConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NetworkManagerConnectivityConfiguration(name: string, args: NetworkManagerConnectivityConfigurationArgs, opts?: CustomResourceOptions);
@overload
def NetworkManagerConnectivityConfiguration(resource_name: str,
args: NetworkManagerConnectivityConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NetworkManagerConnectivityConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
applies_to_groups: Optional[Sequence[NetworkManagerConnectivityConfigurationAppliesToGroupArgs]] = None,
connectivity_topology: Optional[str] = None,
network_manager_id: 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)
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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var networkManagerConnectivityConfigurationResource = new Azure.Network.NetworkManagerConnectivityConfiguration("networkManagerConnectivityConfigurationResource", new()
{
AppliesToGroups = new[]
{
new Azure.Network.Inputs.NetworkManagerConnectivityConfigurationAppliesToGroupArgs
{
GroupConnectivity = "string",
NetworkGroupId = "string",
GlobalMeshEnabled = false,
UseHubGateway = false,
},
},
ConnectivityTopology = "string",
NetworkManagerId = "string",
DeleteExistingPeeringEnabled = false,
Description = "string",
GlobalMeshEnabled = false,
Hub = new Azure.Network.Inputs.NetworkManagerConnectivityConfigurationHubArgs
{
ResourceId = "string",
ResourceType = "string",
},
Name = "string",
});
example, err := network.NewNetworkManagerConnectivityConfiguration(ctx, "networkManagerConnectivityConfigurationResource", &network.NetworkManagerConnectivityConfigurationArgs{
AppliesToGroups: network.NetworkManagerConnectivityConfigurationAppliesToGroupArray{
&network.NetworkManagerConnectivityConfigurationAppliesToGroupArgs{
GroupConnectivity: pulumi.String("string"),
NetworkGroupId: pulumi.String("string"),
GlobalMeshEnabled: pulumi.Bool(false),
UseHubGateway: pulumi.Bool(false),
},
},
ConnectivityTopology: pulumi.String("string"),
NetworkManagerId: pulumi.String("string"),
DeleteExistingPeeringEnabled: pulumi.Bool(false),
Description: pulumi.String("string"),
GlobalMeshEnabled: pulumi.Bool(false),
Hub: &network.NetworkManagerConnectivityConfigurationHubArgs{
ResourceId: pulumi.String("string"),
ResourceType: pulumi.String("string"),
},
Name: pulumi.String("string"),
})
var networkManagerConnectivityConfigurationResource = new NetworkManagerConnectivityConfiguration("networkManagerConnectivityConfigurationResource", NetworkManagerConnectivityConfigurationArgs.builder()
.appliesToGroups(NetworkManagerConnectivityConfigurationAppliesToGroupArgs.builder()
.groupConnectivity("string")
.networkGroupId("string")
.globalMeshEnabled(false)
.useHubGateway(false)
.build())
.connectivityTopology("string")
.networkManagerId("string")
.deleteExistingPeeringEnabled(false)
.description("string")
.globalMeshEnabled(false)
.hub(NetworkManagerConnectivityConfigurationHubArgs.builder()
.resourceId("string")
.resourceType("string")
.build())
.name("string")
.build());
network_manager_connectivity_configuration_resource = azure.network.NetworkManagerConnectivityConfiguration("networkManagerConnectivityConfigurationResource",
applies_to_groups=[azure.network.NetworkManagerConnectivityConfigurationAppliesToGroupArgs(
group_connectivity="string",
network_group_id="string",
global_mesh_enabled=False,
use_hub_gateway=False,
)],
connectivity_topology="string",
network_manager_id="string",
delete_existing_peering_enabled=False,
description="string",
global_mesh_enabled=False,
hub=azure.network.NetworkManagerConnectivityConfigurationHubArgs(
resource_id="string",
resource_type="string",
),
name="string")
const networkManagerConnectivityConfigurationResource = new azure.network.NetworkManagerConnectivityConfiguration("networkManagerConnectivityConfigurationResource", {
appliesToGroups: [{
groupConnectivity: "string",
networkGroupId: "string",
globalMeshEnabled: false,
useHubGateway: false,
}],
connectivityTopology: "string",
networkManagerId: "string",
deleteExistingPeeringEnabled: false,
description: "string",
globalMeshEnabled: false,
hub: {
resourceId: "string",
resourceType: "string",
},
name: "string",
});
type: azure:network:NetworkManagerConnectivityConfiguration
properties:
appliesToGroups:
- globalMeshEnabled: false
groupConnectivity: string
networkGroupId: string
useHubGateway: false
connectivityTopology: string
deleteExistingPeeringEnabled: false
description: string
globalMeshEnabled: false
hub:
resourceId: string
resourceType: string
name: string
networkManagerId: string
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:
- Applies
To List<NetworkGroups Manager Connectivity Configuration Applies To Group> - One or more
applies_to_group
blocks as defined below. - Connectivity
Topology string - Specifies the connectivity topology type. Possible values are
HubAndSpoke
andMesh
. - Network
Manager stringId - Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.
- Delete
Existing boolPeering Enabled - Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are
true
andfalse
. - Description string
- A description of the Connectivity Configuration.
- Global
Mesh boolEnabled - Indicates whether to global mesh is supported. Possible values are
true
andfalse
. - Hub
Network
Manager Connectivity Configuration Hub - 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 []NetworkGroups Manager Connectivity Configuration Applies To Group Args - One or more
applies_to_group
blocks as defined below. - Connectivity
Topology string - Specifies the connectivity topology type. Possible values are
HubAndSpoke
andMesh
. - Network
Manager stringId - Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.
- Delete
Existing boolPeering Enabled - Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are
true
andfalse
. - Description string
- A description of the Connectivity Configuration.
- Global
Mesh boolEnabled - Indicates whether to global mesh is supported. Possible values are
true
andfalse
. - Hub
Network
Manager Connectivity Configuration Hub Args - 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 List<NetworkGroups Manager Connectivity Configuration Applies To Group> - One or more
applies_to_group
blocks as defined below. - connectivity
Topology String - Specifies the connectivity topology type. Possible values are
HubAndSpoke
andMesh
. - network
Manager StringId - Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.
- delete
Existing BooleanPeering Enabled - Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are
true
andfalse
. - description String
- A description of the Connectivity Configuration.
- global
Mesh BooleanEnabled - Indicates whether to global mesh is supported. Possible values are
true
andfalse
. - hub
Network
Manager Connectivity Configuration Hub - 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 NetworkGroups Manager Connectivity Configuration Applies To Group[] - One or more
applies_to_group
blocks as defined below. - connectivity
Topology string - Specifies the connectivity topology type. Possible values are
HubAndSpoke
andMesh
. - network
Manager stringId - Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.
- delete
Existing booleanPeering Enabled - Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are
true
andfalse
. - description string
- A description of the Connectivity Configuration.
- global
Mesh booleanEnabled - Indicates whether to global mesh is supported. Possible values are
true
andfalse
. - hub
Network
Manager Connectivity Configuration Hub - 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_ Sequence[Networkgroups Manager Connectivity Configuration Applies To Group Args] - One or more
applies_to_group
blocks as defined below. - connectivity_
topology str - Specifies the connectivity topology type. Possible values are
HubAndSpoke
andMesh
. - network_
manager_ strid - Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.
- delete_
existing_ boolpeering_ enabled - Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are
true
andfalse
. - description str
- A description of the Connectivity Configuration.
- global_
mesh_ boolenabled - Indicates whether to global mesh is supported. Possible values are
true
andfalse
. - hub
Network
Manager Connectivity Configuration Hub Args - 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.
- applies
To List<Property Map>Groups - One or more
applies_to_group
blocks as defined below. - connectivity
Topology String - Specifies the connectivity topology type. Possible values are
HubAndSpoke
andMesh
. - network
Manager StringId - Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.
- delete
Existing BooleanPeering Enabled - Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are
true
andfalse
. - description String
- A description of the Connectivity Configuration.
- global
Mesh BooleanEnabled - Indicates whether to global mesh is supported. Possible values are
true
andfalse
. - 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.
- Applies
To List<NetworkGroups Manager Connectivity Configuration Applies To Group> - One or more
applies_to_group
blocks as defined below. - Connectivity
Topology string - Specifies the connectivity topology type. Possible values are
HubAndSpoke
andMesh
. - Delete
Existing boolPeering Enabled - Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are
true
andfalse
. - Description string
- A description of the Connectivity Configuration.
- Global
Mesh boolEnabled - Indicates whether to global mesh is supported. Possible values are
true
andfalse
. - Hub
Network
Manager Connectivity Configuration Hub - 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.
- Network
Manager stringId - Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.
- Applies
To []NetworkGroups Manager Connectivity Configuration Applies To Group Args - One or more
applies_to_group
blocks as defined below. - Connectivity
Topology string - Specifies the connectivity topology type. Possible values are
HubAndSpoke
andMesh
. - Delete
Existing boolPeering Enabled - Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are
true
andfalse
. - Description string
- A description of the Connectivity Configuration.
- Global
Mesh boolEnabled - Indicates whether to global mesh is supported. Possible values are
true
andfalse
. - Hub
Network
Manager Connectivity Configuration Hub Args - 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.
- Network
Manager stringId - Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.
- applies
To List<NetworkGroups Manager Connectivity Configuration Applies To Group> - One or more
applies_to_group
blocks as defined below. - connectivity
Topology String - Specifies the connectivity topology type. Possible values are
HubAndSpoke
andMesh
. - delete
Existing BooleanPeering Enabled - Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are
true
andfalse
. - description String
- A description of the Connectivity Configuration.
- global
Mesh BooleanEnabled - Indicates whether to global mesh is supported. Possible values are
true
andfalse
. - hub
Network
Manager Connectivity Configuration Hub - 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.
- network
Manager StringId - Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.
- applies
To NetworkGroups Manager Connectivity Configuration Applies To Group[] - One or more
applies_to_group
blocks as defined below. - connectivity
Topology string - Specifies the connectivity topology type. Possible values are
HubAndSpoke
andMesh
. - delete
Existing booleanPeering Enabled - Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are
true
andfalse
. - description string
- A description of the Connectivity Configuration.
- global
Mesh booleanEnabled - Indicates whether to global mesh is supported. Possible values are
true
andfalse
. - hub
Network
Manager Connectivity Configuration Hub - 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.
- network
Manager stringId - Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.
- applies_
to_ Sequence[Networkgroups Manager Connectivity Configuration Applies To Group Args] - One or more
applies_to_group
blocks as defined below. - connectivity_
topology str - Specifies the connectivity topology type. Possible values are
HubAndSpoke
andMesh
. - delete_
existing_ boolpeering_ enabled - Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are
true
andfalse
. - description str
- A description of the Connectivity Configuration.
- global_
mesh_ boolenabled - Indicates whether to global mesh is supported. Possible values are
true
andfalse
. - hub
Network
Manager Connectivity Configuration Hub Args - 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_ strid - Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.
- applies
To List<Property Map>Groups - One or more
applies_to_group
blocks as defined below. - connectivity
Topology String - Specifies the connectivity topology type. Possible values are
HubAndSpoke
andMesh
. - delete
Existing BooleanPeering Enabled - Indicates whether to remove current existing Virtual Network Peering in the Connectivity Configuration affected scope. Possible values are
true
andfalse
. - description String
- A description of the Connectivity Configuration.
- global
Mesh BooleanEnabled - Indicates whether to global mesh is supported. Possible values are
true
andfalse
. - 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.
- network
Manager StringId - Specifies the ID of the Network Manager. Changing this forces a new Network Manager Connectivity Configuration to be created.
Supporting Types
NetworkManagerConnectivityConfigurationAppliesToGroup, NetworkManagerConnectivityConfigurationAppliesToGroupArgs
- Group
Connectivity string - Specifies the group connectivity type. Possible values are
None
andDirectlyConnected
. - Network
Group stringId - Specifies the resource ID of Network Group which the configuration applies to.
- Global
Mesh boolEnabled Indicates whether to global mesh is supported for this group. Possible values are
true
andfalse
.NOTE: A group can be global only if the
group_connectivity
isDirectlyConnected
.- Use
Hub boolGateway - Indicates whether the hub gateway is used. Possible values are
true
andfalse
.
- Group
Connectivity string - Specifies the group connectivity type. Possible values are
None
andDirectlyConnected
. - Network
Group stringId - Specifies the resource ID of Network Group which the configuration applies to.
- Global
Mesh boolEnabled Indicates whether to global mesh is supported for this group. Possible values are
true
andfalse
.NOTE: A group can be global only if the
group_connectivity
isDirectlyConnected
.- Use
Hub boolGateway - Indicates whether the hub gateway is used. Possible values are
true
andfalse
.
- group
Connectivity String - Specifies the group connectivity type. Possible values are
None
andDirectlyConnected
. - network
Group StringId - Specifies the resource ID of Network Group which the configuration applies to.
- global
Mesh BooleanEnabled Indicates whether to global mesh is supported for this group. Possible values are
true
andfalse
.NOTE: A group can be global only if the
group_connectivity
isDirectlyConnected
.- use
Hub BooleanGateway - Indicates whether the hub gateway is used. Possible values are
true
andfalse
.
- group
Connectivity string - Specifies the group connectivity type. Possible values are
None
andDirectlyConnected
. - network
Group stringId - Specifies the resource ID of Network Group which the configuration applies to.
- global
Mesh booleanEnabled Indicates whether to global mesh is supported for this group. Possible values are
true
andfalse
.NOTE: A group can be global only if the
group_connectivity
isDirectlyConnected
.- use
Hub booleanGateway - Indicates whether the hub gateway is used. Possible values are
true
andfalse
.
- group_
connectivity str - Specifies the group connectivity type. Possible values are
None
andDirectlyConnected
. - network_
group_ strid - Specifies the resource ID of Network Group which the configuration applies to.
- global_
mesh_ boolenabled Indicates whether to global mesh is supported for this group. Possible values are
true
andfalse
.NOTE: A group can be global only if the
group_connectivity
isDirectlyConnected
.- use_
hub_ boolgateway - Indicates whether the hub gateway is used. Possible values are
true
andfalse
.
- group
Connectivity String - Specifies the group connectivity type. Possible values are
None
andDirectlyConnected
. - network
Group StringId - Specifies the resource ID of Network Group which the configuration applies to.
- global
Mesh BooleanEnabled Indicates whether to global mesh is supported for this group. Possible values are
true
andfalse
.NOTE: A group can be global only if the
group_connectivity
isDirectlyConnected
.- use
Hub BooleanGateway - Indicates whether the hub gateway is used. Possible values are
true
andfalse
.
NetworkManagerConnectivityConfigurationHub, NetworkManagerConnectivityConfigurationHubArgs
- Resource
Id string - Specifies the resource ID used as hub in Hub And Spoke topology.
- Resource
Type string - Specifies the resource Type used as hub in Hub And Spoke topology.
- Resource
Id string - Specifies the resource ID used as hub in Hub And Spoke topology.
- Resource
Type string - Specifies the resource Type used as hub in Hub And Spoke topology.
- resource
Id String - Specifies the resource ID used as hub in Hub And Spoke topology.
- resource
Type String - Specifies the resource Type used as hub in Hub And Spoke topology.
- resource
Id string - Specifies the resource ID used as hub in Hub And Spoke topology.
- resource
Type 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.
- resource
Id String - Specifies the resource ID used as hub in Hub And Spoke topology.
- resource
Type 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
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.