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

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);
Copy
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)
Copy
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
	})
}
Copy
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),
    };
});
Copy
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()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: azure:network:getNetworkManagerConnectivityConfiguration
      arguments:
        name: existing
        networkManagerId: TODO
outputs:
  id: ${example.id}
Copy

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>
Copy
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]
Copy
func LookupNetworkManagerConnectivityConfiguration(ctx *Context, args *LookupNetworkManagerConnectivityConfigurationArgs, opts ...InvokeOption) (*LookupNetworkManagerConnectivityConfigurationResult, error)
func LookupNetworkManagerConnectivityConfigurationOutput(ctx *Context, args *LookupNetworkManagerConnectivityConfigurationOutputArgs, opts ...InvokeOption) LookupNetworkManagerConnectivityConfigurationResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetNetworkManagerConnectivityConfigurationResult> getNetworkManagerConnectivityConfiguration(GetNetworkManagerConnectivityConfigurationArgs args, InvokeOptions options)
public static Output<GetNetworkManagerConnectivityConfigurationResult> getNetworkManagerConnectivityConfiguration(GetNetworkManagerConnectivityConfigurationArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure:network/getNetworkManagerConnectivityConfiguration:getNetworkManagerConnectivityConfiguration
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of this Network Manager Connectivity Configuration.
NetworkManagerId This property is required. string
The ID of the Network Manager.
Name This property is required. string
The name of this Network Manager Connectivity Configuration.
NetworkManagerId This property is required. string
The ID of the Network Manager.
name This property is required. String
The name of this Network Manager Connectivity Configuration.
networkManagerId This property is required. String
The ID of the Network Manager.
name This property is required. string
The name of this Network Manager Connectivity Configuration.
networkManagerId This property is required. string
The ID of the Network Manager.
name This property is required. str
The name of this Network Manager Connectivity Configuration.
network_manager_id This property is required. str
The ID of the Network Manager.
name This property is required. String
The name of this Network Manager Connectivity Configuration.
networkManagerId This property is required. String
The ID of the Network Manager.

getNetworkManagerConnectivityConfiguration Result

The following output properties are available:

AppliesToGroups List<GetNetworkManagerConnectivityConfigurationAppliesToGroup>
An applies_to_group block as defined below.
ConnectivityTopology string
The connectivity topology type.
DeleteExistingPeeringEnabled bool
Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
Description string
The description of the Connectivity Configuration.
GlobalMeshEnabled bool
Whether global mesh is supported.
Hubs List<GetNetworkManagerConnectivityConfigurationHub>
A hub block as defined below.
Id string
The provider-assigned unique ID for this managed resource.
Name string
NetworkManagerId string
AppliesToGroups []GetNetworkManagerConnectivityConfigurationAppliesToGroup
An applies_to_group block as defined below.
ConnectivityTopology string
The connectivity topology type.
DeleteExistingPeeringEnabled bool
Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
Description string
The description of the Connectivity Configuration.
GlobalMeshEnabled bool
Whether global mesh is supported.
Hubs []GetNetworkManagerConnectivityConfigurationHub
A hub block as defined below.
Id string
The provider-assigned unique ID for this managed resource.
Name string
NetworkManagerId string
appliesToGroups List<GetNetworkManagerConnectivityConfigurationAppliesToGroup>
An applies_to_group block as defined below.
connectivityTopology String
The connectivity topology type.
deleteExistingPeeringEnabled Boolean
Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
description String
The description of the Connectivity Configuration.
globalMeshEnabled Boolean
Whether global mesh is supported.
hubs List<GetNetworkManagerConnectivityConfigurationHub>
A hub block as defined below.
id String
The provider-assigned unique ID for this managed resource.
name String
networkManagerId String
appliesToGroups GetNetworkManagerConnectivityConfigurationAppliesToGroup[]
An applies_to_group block as defined below.
connectivityTopology string
The connectivity topology type.
deleteExistingPeeringEnabled boolean
Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
description string
The description of the Connectivity Configuration.
globalMeshEnabled boolean
Whether global mesh is supported.
hubs GetNetworkManagerConnectivityConfigurationHub[]
A hub block as defined below.
id string
The provider-assigned unique ID for this managed resource.
name string
networkManagerId string
applies_to_groups Sequence[GetNetworkManagerConnectivityConfigurationAppliesToGroup]
An applies_to_group block as defined below.
connectivity_topology str
The connectivity topology type.
delete_existing_peering_enabled bool
Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
description str
The description of the Connectivity Configuration.
global_mesh_enabled bool
Whether global mesh is supported.
hubs Sequence[GetNetworkManagerConnectivityConfigurationHub]
A hub block as defined below.
id str
The provider-assigned unique ID for this managed resource.
name str
network_manager_id str
appliesToGroups List<Property Map>
An applies_to_group block as defined below.
connectivityTopology String
The connectivity topology type.
deleteExistingPeeringEnabled Boolean
Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
description String
The description of the Connectivity Configuration.
globalMeshEnabled Boolean
Whether global mesh is supported.
hubs List<Property Map>
A hub block as defined below.
id String
The provider-assigned unique ID for this managed resource.
name String
networkManagerId String

Supporting Types

GetNetworkManagerConnectivityConfigurationAppliesToGroup

GlobalMeshEnabled This property is required. bool
Whether global mesh is supported.
GroupConnectivity This property is required. string
The group connectivity type.
NetworkGroupId This property is required. string
The ID of the Network Manager Network Group.
UseHubGateway This property is required. bool
Whether hub gateway is used.
GlobalMeshEnabled This property is required. bool
Whether global mesh is supported.
GroupConnectivity This property is required. string
The group connectivity type.
NetworkGroupId This property is required. string
The ID of the Network Manager Network Group.
UseHubGateway This property is required. bool
Whether hub gateway is used.
globalMeshEnabled This property is required. Boolean
Whether global mesh is supported.
groupConnectivity This property is required. String
The group connectivity type.
networkGroupId This property is required. String
The ID of the Network Manager Network Group.
useHubGateway This property is required. Boolean
Whether hub gateway is used.
globalMeshEnabled This property is required. boolean
Whether global mesh is supported.
groupConnectivity This property is required. string
The group connectivity type.
networkGroupId This property is required. string
The ID of the Network Manager Network Group.
useHubGateway This property is required. boolean
Whether hub gateway is used.
global_mesh_enabled This property is required. bool
Whether global mesh is supported.
group_connectivity This property is required. str
The group connectivity type.
network_group_id This property is required. str
The ID of the Network Manager Network Group.
use_hub_gateway This property is required. bool
Whether hub gateway is used.
globalMeshEnabled This property is required. Boolean
Whether global mesh is supported.
groupConnectivity This property is required. String
The group connectivity type.
networkGroupId This property is required. String
The ID of the Network Manager Network Group.
useHubGateway This property is required. Boolean
Whether hub gateway is used.

GetNetworkManagerConnectivityConfigurationHub

ResourceId This property is required. string
The resource ID used as hub in Hub and Spoke topology.
ResourceType This property is required. string
The resource type used as hub in Hub and Spoke topology.
ResourceId This property is required. string
The resource ID used as hub in Hub and Spoke topology.
ResourceType This property is required. string
The resource type used as hub in Hub and Spoke topology.
resourceId This property is required. String
The resource ID used as hub in Hub and Spoke topology.
resourceType This property is required. String
The resource type used as hub in Hub and Spoke topology.
resourceId This property is required. string
The resource ID used as hub in Hub and Spoke topology.
resourceType This property is required. string
The resource type used as hub in Hub and Spoke topology.
resource_id This property is required. str
The resource ID used as hub in Hub and Spoke topology.
resource_type This property is required. str
The resource type used as hub in Hub and Spoke topology.
resourceId This property is required. String
The resource ID used as hub in Hub and Spoke topology.
resourceType This property is required. 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 azurerm Terraform Provider.