We recommend using Azure Native.
Azure Classic v5.81.0 published on Monday, Jun 24, 2024 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/v5/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.
- Network
Manager stringId - The ID of the Network Manager.
- Name string
- The name of this Network Manager Connectivity Configuration.
- Network
Manager stringId - The ID of the Network Manager.
- name String
- The name of this Network Manager Connectivity Configuration.
- network
Manager StringId - The ID of the Network Manager.
- name string
- The name of this Network Manager Connectivity Configuration.
- network
Manager 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.
- network
Manager StringId - The ID of the Network Manager.
getNetworkManagerConnectivityConfiguration Result
The following output properties are available:
- Applies
To List<GetGroups Network Manager Connectivity Configuration Applies To Group> - An
applies_to_group
block as defined below. - Connectivity
Topology string - The connectivity topology type.
- Delete
Existing boolPeering Enabled - Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
- Description string
- The description of the Connectivity Configuration.
- Global
Mesh boolEnabled - Whether global mesh is supported.
- Hubs
List<Get
Network Manager Connectivity Configuration Hub> - A
hub
block as defined below. - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Network
Manager stringId
- Applies
To []GetGroups Network Manager Connectivity Configuration Applies To Group - An
applies_to_group
block as defined below. - Connectivity
Topology string - The connectivity topology type.
- Delete
Existing boolPeering Enabled - Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
- Description string
- The description of the Connectivity Configuration.
- Global
Mesh boolEnabled - Whether global mesh is supported.
- Hubs
[]Get
Network Manager Connectivity Configuration Hub - A
hub
block as defined below. - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Network
Manager stringId
- applies
To List<GetGroups Network Manager Connectivity Configuration Applies To Group> - An
applies_to_group
block as defined below. - connectivity
Topology String - The connectivity topology type.
- delete
Existing BooleanPeering Enabled - Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
- description String
- The description of the Connectivity Configuration.
- global
Mesh BooleanEnabled - Whether global mesh is supported.
- hubs
List<Get
Network Manager Connectivity Configuration Hub> - A
hub
block as defined below. - id String
- The provider-assigned unique ID for this managed resource.
- name String
- network
Manager StringId
- applies
To GetGroups Network Manager Connectivity Configuration Applies To Group[] - An
applies_to_group
block as defined below. - connectivity
Topology string - The connectivity topology type.
- delete
Existing booleanPeering Enabled - Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
- description string
- The description of the Connectivity Configuration.
- global
Mesh booleanEnabled - Whether global mesh is supported.
- hubs
Get
Network Manager Connectivity Configuration Hub[] - A
hub
block as defined below. - id string
- The provider-assigned unique ID for this managed resource.
- name string
- network
Manager stringId
- applies_
to_ Sequence[Getgroups Network Manager Connectivity Configuration Applies To Group] - An
applies_to_group
block 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[Get
Network Manager Connectivity Configuration Hub] - A
hub
block as defined below. - id str
- The provider-assigned unique ID for this managed resource.
- name str
- network_
manager_ strid
- applies
To List<Property Map>Groups - An
applies_to_group
block as defined below. - connectivity
Topology String - The connectivity topology type.
- delete
Existing BooleanPeering Enabled - Whether to current existing Virtual Network Peering in the Connectivity Configuration affected scope.
- description String
- The description of the Connectivity Configuration.
- global
Mesh BooleanEnabled - 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
- network
Manager StringId
Supporting Types
GetNetworkManagerConnectivityConfigurationAppliesToGroup
- Global
Mesh boolEnabled - Whether global mesh is supported.
- Group
Connectivity string - The group connectivity type.
- Network
Group stringId - The ID of the Network Manager Network Group.
- Use
Hub boolGateway - Whether hub gateway is used.
- Global
Mesh boolEnabled - Whether global mesh is supported.
- Group
Connectivity string - The group connectivity type.
- Network
Group stringId - The ID of the Network Manager Network Group.
- Use
Hub boolGateway - Whether hub gateway is used.
- global
Mesh BooleanEnabled - Whether global mesh is supported.
- group
Connectivity String - The group connectivity type.
- network
Group StringId - The ID of the Network Manager Network Group.
- use
Hub BooleanGateway - Whether hub gateway is used.
- global
Mesh booleanEnabled - Whether global mesh is supported.
- group
Connectivity string - The group connectivity type.
- network
Group stringId - The ID of the Network Manager Network Group.
- use
Hub 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.
- global
Mesh BooleanEnabled - Whether global mesh is supported.
- group
Connectivity String - The group connectivity type.
- network
Group StringId - The ID of the Network Manager Network Group.
- use
Hub BooleanGateway - Whether hub gateway is used.
GetNetworkManagerConnectivityConfigurationHub
- Resource
Id string - The resource ID used as hub in Hub and Spoke topology.
- Resource
Type string - The resource type used as hub in Hub and Spoke topology.
- Resource
Id string - The resource ID used as hub in Hub and Spoke topology.
- Resource
Type string - The resource type used as hub in Hub and Spoke topology.
- resource
Id String - The resource ID used as hub in Hub and Spoke topology.
- resource
Type String - The resource type used as hub in Hub and Spoke topology.
- resource
Id string - The resource ID used as hub in Hub and Spoke topology.
- resource
Type 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.
- resource
Id String - The resource ID used as hub in Hub and Spoke topology.
- resource
Type 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.