We recommend using Azure Native.
Azure v6.21.0 published on Friday, Mar 7, 2025 by Pulumi
azure.network.getNetworkManagerConnectivityConfiguration
Explore with Pulumi AI
Use this data source to access information about an existing Network Manager Connectivity Configuration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = azure.network.getNetworkManagerConnectivityConfiguration({
    name: "existing",
    networkManagerId: "TODO",
});
export const id = example.then(example => example.id);
import pulumi
import pulumi_azure as azure
example = azure.network.get_network_manager_connectivity_configuration(name="existing",
    network_manager_id="TODO")
pulumi.export("id", example.id)
package main
import (
	"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 := network.LookupNetworkManagerConnectivityConfiguration(ctx, &network.LookupNetworkManagerConnectivityConfigurationArgs{
			Name:             "existing",
			NetworkManagerId: "TODO",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() => 
{
    var example = Azure.Network.GetNetworkManagerConnectivityConfiguration.Invoke(new()
    {
        Name = "existing",
        NetworkManagerId = "TODO",
    });
    return new Dictionary<string, object?>
    {
        ["id"] = example.Apply(getNetworkManagerConnectivityConfigurationResult => getNetworkManagerConnectivityConfigurationResult.Id),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.network.NetworkFunctions;
import com.pulumi.azure.network.inputs.GetNetworkManagerConnectivityConfigurationArgs;
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) {
        final var example = NetworkFunctions.getNetworkManagerConnectivityConfiguration(GetNetworkManagerConnectivityConfigurationArgs.builder()
            .name("existing")
            .networkManagerId("TODO")
            .build());
        ctx.export("id", example.applyValue(getNetworkManagerConnectivityConfigurationResult -> getNetworkManagerConnectivityConfigurationResult.id()));
    }
}
variables:
  example:
    fn::invoke:
      function: azure:network:getNetworkManagerConnectivityConfiguration
      arguments:
        name: existing
        networkManagerId: TODO
outputs:
  id: ${example.id}
Using getNetworkManagerConnectivityConfiguration
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNetworkManagerConnectivityConfiguration(args: GetNetworkManagerConnectivityConfigurationArgs, opts?: InvokeOptions): Promise<GetNetworkManagerConnectivityConfigurationResult>
function getNetworkManagerConnectivityConfigurationOutput(args: GetNetworkManagerConnectivityConfigurationOutputArgs, opts?: InvokeOptions): Output<GetNetworkManagerConnectivityConfigurationResult>def get_network_manager_connectivity_configuration(name: Optional[str] = None,
                                                   network_manager_id: Optional[str] = None,
                                                   opts: Optional[InvokeOptions] = None) -> GetNetworkManagerConnectivityConfigurationResult
def get_network_manager_connectivity_configuration_output(name: Optional[pulumi.Input[str]] = None,
                                                   network_manager_id: Optional[pulumi.Input[str]] = None,
                                                   opts: Optional[InvokeOptions] = None) -> Output[GetNetworkManagerConnectivityConfigurationResult]func LookupNetworkManagerConnectivityConfiguration(ctx *Context, args *LookupNetworkManagerConnectivityConfigurationArgs, opts ...InvokeOption) (*LookupNetworkManagerConnectivityConfigurationResult, error)
func LookupNetworkManagerConnectivityConfigurationOutput(ctx *Context, args *LookupNetworkManagerConnectivityConfigurationOutputArgs, opts ...InvokeOption) LookupNetworkManagerConnectivityConfigurationResultOutput> Note: This function is named LookupNetworkManagerConnectivityConfiguration in the Go SDK.
public static class GetNetworkManagerConnectivityConfiguration 
{
    public static Task<GetNetworkManagerConnectivityConfigurationResult> InvokeAsync(GetNetworkManagerConnectivityConfigurationArgs args, InvokeOptions? opts = null)
    public static Output<GetNetworkManagerConnectivityConfigurationResult> Invoke(GetNetworkManagerConnectivityConfigurationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkManagerConnectivityConfigurationResult> getNetworkManagerConnectivityConfiguration(GetNetworkManagerConnectivityConfigurationArgs args, InvokeOptions options)
public static Output<GetNetworkManagerConnectivityConfigurationResult> getNetworkManagerConnectivityConfiguration(GetNetworkManagerConnectivityConfigurationArgs args, InvokeOptions options)
fn::invoke:
  function: azure:network/getNetworkManagerConnectivityConfiguration:getNetworkManagerConnectivityConfiguration
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
- The name of this Network Manager Connectivity Configuration.
- NetworkManager stringId 
- The ID of the Network Manager.
- Name string
- The name of this Network Manager Connectivity Configuration.
- NetworkManager stringId 
- The ID of the Network Manager.
- name String
- The name of this Network Manager Connectivity Configuration.
- networkManager StringId 
- The ID of the Network Manager.
- name string
- The name of this Network Manager Connectivity Configuration.
- networkManager stringId 
- The ID of the Network Manager.
- name str
- The name of this Network Manager Connectivity Configuration.
- network_manager_ strid 
- The ID of the Network Manager.
- name String
- The name of this Network Manager Connectivity Configuration.
- networkManager StringId 
- The ID of the Network Manager.
getNetworkManagerConnectivityConfiguration Result
The following output properties are available:
- AppliesTo List<GetGroups Network Manager Connectivity Configuration Applies To Group> 
- An applies_to_groupblock as defined below.
- ConnectivityTopology string
- The connectivity topology type.
- DeleteExisting boolPeering Enabled 
- Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
- Description string
- The description of the Connectivity Configuration.
- GlobalMesh boolEnabled 
- Whether global mesh is supported.
- Hubs
List<GetNetwork Manager Connectivity Configuration Hub> 
- A hubblock as defined below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- NetworkManager stringId 
- AppliesTo []GetGroups Network Manager Connectivity Configuration Applies To Group 
- An applies_to_groupblock as defined below.
- ConnectivityTopology string
- The connectivity topology type.
- DeleteExisting boolPeering Enabled 
- Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
- Description string
- The description of the Connectivity Configuration.
- GlobalMesh boolEnabled 
- Whether global mesh is supported.
- Hubs
[]GetNetwork Manager Connectivity Configuration Hub 
- A hubblock as defined below.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- NetworkManager stringId 
- appliesTo List<GetGroups Network Manager Connectivity Configuration Applies To Group> 
- An applies_to_groupblock as defined below.
- connectivityTopology String
- The connectivity topology type.
- deleteExisting BooleanPeering Enabled 
- Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
- description String
- The description of the Connectivity Configuration.
- globalMesh BooleanEnabled 
- Whether global mesh is supported.
- hubs
List<GetNetwork Manager Connectivity Configuration Hub> 
- A hubblock as defined below.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- networkManager StringId 
- appliesTo GetGroups Network Manager Connectivity Configuration Applies To Group[] 
- An applies_to_groupblock as defined below.
- connectivityTopology string
- The connectivity topology type.
- deleteExisting booleanPeering Enabled 
- Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
- description string
- The description of the Connectivity Configuration.
- globalMesh booleanEnabled 
- Whether global mesh is supported.
- hubs
GetNetwork Manager Connectivity Configuration Hub[] 
- A hubblock as defined below.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- networkManager stringId 
- applies_to_ Sequence[Getgroups Network Manager Connectivity Configuration Applies To Group] 
- An applies_to_groupblock as defined below.
- connectivity_topology str
- The connectivity topology type.
- delete_existing_ boolpeering_ enabled 
- Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
- description str
- The description of the Connectivity Configuration.
- global_mesh_ boolenabled 
- Whether global mesh is supported.
- hubs
Sequence[GetNetwork Manager Connectivity Configuration Hub] 
- A hubblock as defined below.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- network_manager_ strid 
- appliesTo List<Property Map>Groups 
- An applies_to_groupblock as defined below.
- connectivityTopology String
- The connectivity topology type.
- deleteExisting BooleanPeering Enabled 
- Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
- description String
- The description of the Connectivity Configuration.
- globalMesh BooleanEnabled 
- Whether global mesh is supported.
- hubs List<Property Map>
- A hubblock as defined below.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- networkManager StringId 
Supporting Types
GetNetworkManagerConnectivityConfigurationAppliesToGroup       
- GlobalMesh boolEnabled 
- Whether global mesh is supported.
- GroupConnectivity string
- The group connectivity type.
- NetworkGroup stringId 
- The ID of the Network Manager Network Group.
- UseHub boolGateway 
- Whether hub gateway is used.
- GlobalMesh boolEnabled 
- Whether global mesh is supported.
- GroupConnectivity string
- The group connectivity type.
- NetworkGroup stringId 
- The ID of the Network Manager Network Group.
- UseHub boolGateway 
- Whether hub gateway is used.
- globalMesh BooleanEnabled 
- Whether global mesh is supported.
- groupConnectivity String
- The group connectivity type.
- networkGroup StringId 
- The ID of the Network Manager Network Group.
- useHub BooleanGateway 
- Whether hub gateway is used.
- globalMesh booleanEnabled 
- Whether global mesh is supported.
- groupConnectivity string
- The group connectivity type.
- networkGroup stringId 
- The ID of the Network Manager Network Group.
- useHub booleanGateway 
- Whether hub gateway is used.
- global_mesh_ boolenabled 
- Whether global mesh is supported.
- group_connectivity str
- The group connectivity type.
- network_group_ strid 
- The ID of the Network Manager Network Group.
- use_hub_ boolgateway 
- Whether hub gateway is used.
- globalMesh BooleanEnabled 
- Whether global mesh is supported.
- groupConnectivity String
- The group connectivity type.
- networkGroup StringId 
- The ID of the Network Manager Network Group.
- useHub BooleanGateway 
- Whether hub gateway is used.
GetNetworkManagerConnectivityConfigurationHub     
- ResourceId string
- The resource ID used as hub in Hub and Spoke topology.
- ResourceType string
- The resource type used as hub in Hub and Spoke topology.
- ResourceId string
- The resource ID used as hub in Hub and Spoke topology.
- ResourceType string
- The resource type used as hub in Hub and Spoke topology.
- resourceId String
- The resource ID used as hub in Hub and Spoke topology.
- resourceType String
- The resource type used as hub in Hub and Spoke topology.
- resourceId string
- The resource ID used as hub in Hub and Spoke topology.
- resourceType string
- The resource type used as hub in Hub and Spoke topology.
- resource_id str
- The resource ID used as hub in Hub and Spoke topology.
- resource_type str
- The resource type used as hub in Hub and Spoke topology.
- resourceId String
- The resource ID used as hub in Hub and Spoke topology.
- resourceType String
- The resource type used as hub in Hub and Spoke topology.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azurermTerraform Provider.