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

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

azure.network.NetworkManagerManagementGroupConnection

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

    Manages a Network Manager Management Group Connection which may cross tenants.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.management.Group("example", {});
    const alt = azure.core.getSubscription({
        subscriptionId: "00000000-0000-0000-0000-000000000000",
    });
    const exampleGroupSubscriptionAssociation = new azure.management.GroupSubscriptionAssociation("example", {
        managementGroupId: example.id,
        subscriptionId: alt.then(alt => alt.id),
    });
    const current = azure.core.getSubscription({});
    const currentGetClientConfig = azure.core.getClientConfig({});
    const networkContributor = new azure.authorization.Assignment("network_contributor", {
        scope: example.id,
        roleDefinitionName: "Network Contributor",
        principalId: currentGetClientConfig.then(currentGetClientConfig => currentGetClientConfig.objectId),
    });
    const exampleResourceGroup = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleNetworkManager = new azure.network.NetworkManager("example", {
        name: "example-networkmanager",
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        scope: {
            subscriptionIds: [current.then(current => current.id)],
        },
        scopeAccesses: ["SecurityAdmin"],
    });
    const exampleNetworkManagerManagementGroupConnection = new azure.network.NetworkManagerManagementGroupConnection("example", {
        name: "example-nmmgc",
        managementGroupId: example.id,
        networkManagerId: exampleNetworkManager.id,
        description: "example",
    }, {
        dependsOn: [networkContributor],
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.management.Group("example")
    alt = azure.core.get_subscription(subscription_id="00000000-0000-0000-0000-000000000000")
    example_group_subscription_association = azure.management.GroupSubscriptionAssociation("example",
        management_group_id=example.id,
        subscription_id=alt.id)
    current = azure.core.get_subscription()
    current_get_client_config = azure.core.get_client_config()
    network_contributor = azure.authorization.Assignment("network_contributor",
        scope=example.id,
        role_definition_name="Network Contributor",
        principal_id=current_get_client_config.object_id)
    example_resource_group = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_network_manager = azure.network.NetworkManager("example",
        name="example-networkmanager",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        scope=azure.network.NetworkManagerScopeArgs(
            subscription_ids=[current.id],
        ),
        scope_accesses=["SecurityAdmin"])
    example_network_manager_management_group_connection = azure.network.NetworkManagerManagementGroupConnection("example",
        name="example-nmmgc",
        management_group_id=example.id,
        network_manager_id=example_network_manager.id,
        description="example",
        opts=pulumi.ResourceOptions(depends_on=[network_contributor]))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/management"
    	"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 := management.NewGroup(ctx, "example", nil)
    		if err != nil {
    			return err
    		}
    		alt, err := core.LookupSubscription(ctx, &core.LookupSubscriptionArgs{
    			SubscriptionId: pulumi.StringRef("00000000-0000-0000-0000-000000000000"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = management.NewGroupSubscriptionAssociation(ctx, "example", &management.GroupSubscriptionAssociationArgs{
    			ManagementGroupId: example.ID(),
    			SubscriptionId:    pulumi.String(alt.Id),
    		})
    		if err != nil {
    			return err
    		}
    		current, err := core.LookupSubscription(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		currentGetClientConfig, err := core.GetClientConfig(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		networkContributor, err := authorization.NewAssignment(ctx, "network_contributor", &authorization.AssignmentArgs{
    			Scope:              example.ID(),
    			RoleDefinitionName: pulumi.String("Network Contributor"),
    			PrincipalId:        pulumi.String(currentGetClientConfig.ObjectId),
    		})
    		if err != nil {
    			return err
    		}
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleNetworkManager, err := network.NewNetworkManager(ctx, "example", &network.NetworkManagerArgs{
    			Name:              pulumi.String("example-networkmanager"),
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			Scope: &network.NetworkManagerScopeArgs{
    				SubscriptionIds: pulumi.StringArray{
    					pulumi.String(current.Id),
    				},
    			},
    			ScopeAccesses: pulumi.StringArray{
    				pulumi.String("SecurityAdmin"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = network.NewNetworkManagerManagementGroupConnection(ctx, "example", &network.NetworkManagerManagementGroupConnectionArgs{
    			Name:              pulumi.String("example-nmmgc"),
    			ManagementGroupId: example.ID(),
    			NetworkManagerId:  exampleNetworkManager.ID(),
    			Description:       pulumi.String("example"),
    		}, pulumi.DependsOn([]pulumi.Resource{
    			networkContributor,
    		}))
    		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.Management.Group("example");
    
        var alt = Azure.Core.GetSubscription.Invoke(new()
        {
            SubscriptionId = "00000000-0000-0000-0000-000000000000",
        });
    
        var exampleGroupSubscriptionAssociation = new Azure.Management.GroupSubscriptionAssociation("example", new()
        {
            ManagementGroupId = example.Id,
            SubscriptionId = alt.Apply(getSubscriptionResult => getSubscriptionResult.Id),
        });
    
        var current = Azure.Core.GetSubscription.Invoke();
    
        var currentGetClientConfig = Azure.Core.GetClientConfig.Invoke();
    
        var networkContributor = new Azure.Authorization.Assignment("network_contributor", new()
        {
            Scope = example.Id,
            RoleDefinitionName = "Network Contributor",
            PrincipalId = currentGetClientConfig.Apply(getClientConfigResult => getClientConfigResult.ObjectId),
        });
    
        var exampleResourceGroup = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleNetworkManager = new Azure.Network.NetworkManager("example", new()
        {
            Name = "example-networkmanager",
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            Scope = new Azure.Network.Inputs.NetworkManagerScopeArgs
            {
                SubscriptionIds = new[]
                {
                    current.Apply(getSubscriptionResult => getSubscriptionResult.Id),
                },
            },
            ScopeAccesses = new[]
            {
                "SecurityAdmin",
            },
        });
    
        var exampleNetworkManagerManagementGroupConnection = new Azure.Network.NetworkManagerManagementGroupConnection("example", new()
        {
            Name = "example-nmmgc",
            ManagementGroupId = example.Id,
            NetworkManagerId = exampleNetworkManager.Id,
            Description = "example",
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                networkContributor,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.management.Group;
    import com.pulumi.azure.core.CoreFunctions;
    import com.pulumi.azure.core.inputs.GetSubscriptionArgs;
    import com.pulumi.azure.management.GroupSubscriptionAssociation;
    import com.pulumi.azure.management.GroupSubscriptionAssociationArgs;
    import com.pulumi.azure.authorization.Assignment;
    import com.pulumi.azure.authorization.AssignmentArgs;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.network.NetworkManager;
    import com.pulumi.azure.network.NetworkManagerArgs;
    import com.pulumi.azure.network.inputs.NetworkManagerScopeArgs;
    import com.pulumi.azure.network.NetworkManagerManagementGroupConnection;
    import com.pulumi.azure.network.NetworkManagerManagementGroupConnectionArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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 Group("example");
    
            final var alt = CoreFunctions.getSubscription(GetSubscriptionArgs.builder()
                .subscriptionId("00000000-0000-0000-0000-000000000000")
                .build());
    
            var exampleGroupSubscriptionAssociation = new GroupSubscriptionAssociation("exampleGroupSubscriptionAssociation", GroupSubscriptionAssociationArgs.builder()
                .managementGroupId(example.id())
                .subscriptionId(alt.applyValue(getSubscriptionResult -> getSubscriptionResult.id()))
                .build());
    
            final var current = CoreFunctions.getSubscription();
    
            final var currentGetClientConfig = CoreFunctions.getClientConfig();
    
            var networkContributor = new Assignment("networkContributor", AssignmentArgs.builder()
                .scope(example.id())
                .roleDefinitionName("Network Contributor")
                .principalId(currentGetClientConfig.applyValue(getClientConfigResult -> getClientConfigResult.objectId()))
                .build());
    
            var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleNetworkManager = new NetworkManager("exampleNetworkManager", NetworkManagerArgs.builder()
                .name("example-networkmanager")
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .scope(NetworkManagerScopeArgs.builder()
                    .subscriptionIds(current.applyValue(getSubscriptionResult -> getSubscriptionResult.id()))
                    .build())
                .scopeAccesses("SecurityAdmin")
                .build());
    
            var exampleNetworkManagerManagementGroupConnection = new NetworkManagerManagementGroupConnection("exampleNetworkManagerManagementGroupConnection", NetworkManagerManagementGroupConnectionArgs.builder()
                .name("example-nmmgc")
                .managementGroupId(example.id())
                .networkManagerId(exampleNetworkManager.id())
                .description("example")
                .build(), CustomResourceOptions.builder()
                    .dependsOn(networkContributor)
                    .build());
    
        }
    }
    
    resources:
      example:
        type: azure:management:Group
      exampleGroupSubscriptionAssociation:
        type: azure:management:GroupSubscriptionAssociation
        name: example
        properties:
          managementGroupId: ${example.id}
          subscriptionId: ${alt.id}
      networkContributor:
        type: azure:authorization:Assignment
        name: network_contributor
        properties:
          scope: ${example.id}
          roleDefinitionName: Network Contributor
          principalId: ${currentGetClientConfig.objectId}
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        name: example
        properties:
          name: example-resources
          location: West Europe
      exampleNetworkManager:
        type: azure:network:NetworkManager
        name: example
        properties:
          name: example-networkmanager
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          scope:
            subscriptionIds:
              - ${current.id}
          scopeAccesses:
            - SecurityAdmin
      exampleNetworkManagerManagementGroupConnection:
        type: azure:network:NetworkManagerManagementGroupConnection
        name: example
        properties:
          name: example-nmmgc
          managementGroupId: ${example.id}
          networkManagerId: ${exampleNetworkManager.id}
          description: example
        options:
          dependson:
            - ${networkContributor}
    variables:
      alt:
        fn::invoke:
          Function: azure:core:getSubscription
          Arguments:
            subscriptionId: 00000000-0000-0000-0000-000000000000
      current:
        fn::invoke:
          Function: azure:core:getSubscription
          Arguments: {}
      currentGetClientConfig:
        fn::invoke:
          Function: azure:core:getClientConfig
          Arguments: {}
    

    Create NetworkManagerManagementGroupConnection Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new NetworkManagerManagementGroupConnection(name: string, args: NetworkManagerManagementGroupConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def NetworkManagerManagementGroupConnection(resource_name: str,
                                                args: NetworkManagerManagementGroupConnectionArgs,
                                                opts: Optional[ResourceOptions] = None)
    
    @overload
    def NetworkManagerManagementGroupConnection(resource_name: str,
                                                opts: Optional[ResourceOptions] = None,
                                                management_group_id: Optional[str] = None,
                                                network_manager_id: Optional[str] = None,
                                                description: Optional[str] = None,
                                                name: Optional[str] = None)
    func NewNetworkManagerManagementGroupConnection(ctx *Context, name string, args NetworkManagerManagementGroupConnectionArgs, opts ...ResourceOption) (*NetworkManagerManagementGroupConnection, error)
    public NetworkManagerManagementGroupConnection(string name, NetworkManagerManagementGroupConnectionArgs args, CustomResourceOptions? opts = null)
    public NetworkManagerManagementGroupConnection(String name, NetworkManagerManagementGroupConnectionArgs args)
    public NetworkManagerManagementGroupConnection(String name, NetworkManagerManagementGroupConnectionArgs args, CustomResourceOptions options)
    
    type: azure:network:NetworkManagerManagementGroupConnection
    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 NetworkManagerManagementGroupConnectionArgs
    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 NetworkManagerManagementGroupConnectionArgs
    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 NetworkManagerManagementGroupConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args NetworkManagerManagementGroupConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args NetworkManagerManagementGroupConnectionArgs
    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 networkManagerManagementGroupConnectionResource = new Azure.Network.NetworkManagerManagementGroupConnection("networkManagerManagementGroupConnectionResource", new()
    {
        ManagementGroupId = "string",
        NetworkManagerId = "string",
        Description = "string",
        Name = "string",
    });
    
    example, err := network.NewNetworkManagerManagementGroupConnection(ctx, "networkManagerManagementGroupConnectionResource", &network.NetworkManagerManagementGroupConnectionArgs{
    	ManagementGroupId: pulumi.String("string"),
    	NetworkManagerId:  pulumi.String("string"),
    	Description:       pulumi.String("string"),
    	Name:              pulumi.String("string"),
    })
    
    var networkManagerManagementGroupConnectionResource = new NetworkManagerManagementGroupConnection("networkManagerManagementGroupConnectionResource", NetworkManagerManagementGroupConnectionArgs.builder()
        .managementGroupId("string")
        .networkManagerId("string")
        .description("string")
        .name("string")
        .build());
    
    network_manager_management_group_connection_resource = azure.network.NetworkManagerManagementGroupConnection("networkManagerManagementGroupConnectionResource",
        management_group_id="string",
        network_manager_id="string",
        description="string",
        name="string")
    
    const networkManagerManagementGroupConnectionResource = new azure.network.NetworkManagerManagementGroupConnection("networkManagerManagementGroupConnectionResource", {
        managementGroupId: "string",
        networkManagerId: "string",
        description: "string",
        name: "string",
    });
    
    type: azure:network:NetworkManagerManagementGroupConnection
    properties:
        description: string
        managementGroupId: string
        name: string
        networkManagerId: string
    

    NetworkManagerManagementGroupConnection 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 NetworkManagerManagementGroupConnection resource accepts the following input properties:

    ManagementGroupId string
    Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
    NetworkManagerId string
    Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.
    Description string
    A description of the Network Manager Management Group Connection.
    Name string
    Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.
    ManagementGroupId string
    Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
    NetworkManagerId string
    Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.
    Description string
    A description of the Network Manager Management Group Connection.
    Name string
    Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.
    managementGroupId String
    Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
    networkManagerId String
    Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.
    description String
    A description of the Network Manager Management Group Connection.
    name String
    Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.
    managementGroupId string
    Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
    networkManagerId string
    Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.
    description string
    A description of the Network Manager Management Group Connection.
    name string
    Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.
    management_group_id str
    Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
    network_manager_id str
    Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.
    description str
    A description of the Network Manager Management Group Connection.
    name str
    Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.
    managementGroupId String
    Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
    networkManagerId String
    Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.
    description String
    A description of the Network Manager Management Group Connection.
    name String
    Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the NetworkManagerManagementGroupConnection resource produces the following output properties:

    ConnectionState string
    The Connection state of the Network Manager Management Group Connection.
    Id string
    The provider-assigned unique ID for this managed resource.
    ConnectionState string
    The Connection state of the Network Manager Management Group Connection.
    Id string
    The provider-assigned unique ID for this managed resource.
    connectionState String
    The Connection state of the Network Manager Management Group Connection.
    id String
    The provider-assigned unique ID for this managed resource.
    connectionState string
    The Connection state of the Network Manager Management Group Connection.
    id string
    The provider-assigned unique ID for this managed resource.
    connection_state str
    The Connection state of the Network Manager Management Group Connection.
    id str
    The provider-assigned unique ID for this managed resource.
    connectionState String
    The Connection state of the Network Manager Management Group Connection.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing NetworkManagerManagementGroupConnection Resource

    Get an existing NetworkManagerManagementGroupConnection 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?: NetworkManagerManagementGroupConnectionState, opts?: CustomResourceOptions): NetworkManagerManagementGroupConnection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            connection_state: Optional[str] = None,
            description: Optional[str] = None,
            management_group_id: Optional[str] = None,
            name: Optional[str] = None,
            network_manager_id: Optional[str] = None) -> NetworkManagerManagementGroupConnection
    func GetNetworkManagerManagementGroupConnection(ctx *Context, name string, id IDInput, state *NetworkManagerManagementGroupConnectionState, opts ...ResourceOption) (*NetworkManagerManagementGroupConnection, error)
    public static NetworkManagerManagementGroupConnection Get(string name, Input<string> id, NetworkManagerManagementGroupConnectionState? state, CustomResourceOptions? opts = null)
    public static NetworkManagerManagementGroupConnection get(String name, Output<String> id, NetworkManagerManagementGroupConnectionState 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.
    The following state arguments are supported:
    ConnectionState string
    The Connection state of the Network Manager Management Group Connection.
    Description string
    A description of the Network Manager Management Group Connection.
    ManagementGroupId string
    Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
    Name string
    Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.
    NetworkManagerId string
    Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.
    ConnectionState string
    The Connection state of the Network Manager Management Group Connection.
    Description string
    A description of the Network Manager Management Group Connection.
    ManagementGroupId string
    Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
    Name string
    Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.
    NetworkManagerId string
    Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.
    connectionState String
    The Connection state of the Network Manager Management Group Connection.
    description String
    A description of the Network Manager Management Group Connection.
    managementGroupId String
    Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
    name String
    Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.
    networkManagerId String
    Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.
    connectionState string
    The Connection state of the Network Manager Management Group Connection.
    description string
    A description of the Network Manager Management Group Connection.
    managementGroupId string
    Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
    name string
    Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.
    networkManagerId string
    Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.
    connection_state str
    The Connection state of the Network Manager Management Group Connection.
    description str
    A description of the Network Manager Management Group Connection.
    management_group_id str
    Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
    name str
    Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.
    network_manager_id str
    Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.
    connectionState String
    The Connection state of the Network Manager Management Group Connection.
    description String
    A description of the Network Manager Management Group Connection.
    managementGroupId String
    Specifies the ID of the target Management Group. Changing this forces a new resource to be created.
    name String
    Specifies the name which should be used for this Network Manager Management Group Connection. Changing this forces a new Network Manager Management Group Connection to be created.
    networkManagerId String
    Specifies the ID of the Network Manager which the Management Group is connected to. Changing this forces a new resource to be created.

    Import

    Network Manager Management Group Connection can be imported using the resource id, e.g.

    $ pulumi import azure:network/networkManagerManagementGroupConnection:NetworkManagerManagementGroupConnection example /providers/Microsoft.Management/managementGroups/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkManagerConnections/networkManagerConnection1
    

    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.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi