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

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

azure.network.getNetworkManagerConnectivityConfiguration

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure:network/getNetworkManagerConnectivityConfiguration:getNetworkManagerConnectivityConfiguration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of this Network Manager Connectivity Configuration.
    NetworkManagerId string
    The ID of the Network Manager.
    Name string
    The name of this Network Manager Connectivity Configuration.
    NetworkManagerId string
    The ID of the Network Manager.
    name String
    The name of this Network Manager Connectivity Configuration.
    networkManagerId String
    The ID of the Network Manager.
    name string
    The name of this Network Manager Connectivity Configuration.
    networkManagerId string
    The ID of the Network Manager.
    name str
    The name of this Network Manager Connectivity Configuration.
    network_manager_id str
    The ID of the Network Manager.
    name String
    The name of this Network Manager Connectivity Configuration.
    networkManagerId 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 bool
    Whether global mesh is supported.
    GroupConnectivity string
    The group connectivity type.
    NetworkGroupId string
    The ID of the Network Manager Network Group.
    UseHubGateway bool
    Whether hub gateway is used.
    GlobalMeshEnabled bool
    Whether global mesh is supported.
    GroupConnectivity string
    The group connectivity type.
    NetworkGroupId string
    The ID of the Network Manager Network Group.
    UseHubGateway bool
    Whether hub gateway is used.
    globalMeshEnabled Boolean
    Whether global mesh is supported.
    groupConnectivity String
    The group connectivity type.
    networkGroupId String
    The ID of the Network Manager Network Group.
    useHubGateway Boolean
    Whether hub gateway is used.
    globalMeshEnabled boolean
    Whether global mesh is supported.
    groupConnectivity string
    The group connectivity type.
    networkGroupId string
    The ID of the Network Manager Network Group.
    useHubGateway boolean
    Whether hub gateway is used.
    global_mesh_enabled bool
    Whether global mesh is supported.
    group_connectivity str
    The group connectivity type.
    network_group_id str
    The ID of the Network Manager Network Group.
    use_hub_gateway bool
    Whether hub gateway is used.
    globalMeshEnabled Boolean
    Whether global mesh is supported.
    groupConnectivity String
    The group connectivity type.
    networkGroupId String
    The ID of the Network Manager Network Group.
    useHubGateway Boolean
    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 azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v6.2.0 published on Friday, Sep 27, 2024 by Pulumi