1. Packages
  2. Azure Classic
  3. API Docs
  4. systemcenter
  5. VirtualMachineManagerVirtualNetwork

We recommend using Azure Native.

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

azure.systemcenter.VirtualMachineManagerVirtualNetwork

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 System Center Virtual Machine Manager Virtual Network.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const exampleVirtualMachineManagerServer = new azure.systemcenter.VirtualMachineManagerServer("example", {
        name: "example-scvmmms",
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        customLocationId: "/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.ExtendedLocation/customLocations/customLocation1",
        fqdn: "example.labtest",
        username: "testUser",
        password: "H@Sh1CoR3!",
    });
    const example = azure.systemcenter.getVirtualMachineManagerInventoryItemsOutput({
        inventoryType: "VirtualNetwork",
        systemCenterVirtualMachineManagerServerId: exampleVirtualMachineManagerServer.id,
    });
    const exampleVirtualMachineManagerVirtualNetwork = new azure.systemcenter.VirtualMachineManagerVirtualNetwork("example", {
        name: "example-scvmmvnet",
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        customLocationId: exampleVirtualMachineManagerServer.customLocationId,
        systemCenterVirtualMachineManagerServerInventoryItemId: example.apply(example => example.inventoryItems?.[0]?.id),
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_virtual_machine_manager_server = azure.systemcenter.VirtualMachineManagerServer("example",
        name="example-scvmmms",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        custom_location_id="/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.ExtendedLocation/customLocations/customLocation1",
        fqdn="example.labtest",
        username="testUser",
        password="H@Sh1CoR3!")
    example = azure.systemcenter.get_virtual_machine_manager_inventory_items_output(inventory_type="VirtualNetwork",
        system_center_virtual_machine_manager_server_id=example_virtual_machine_manager_server.id)
    example_virtual_machine_manager_virtual_network = azure.systemcenter.VirtualMachineManagerVirtualNetwork("example",
        name="example-scvmmvnet",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        custom_location_id=example_virtual_machine_manager_server.custom_location_id,
        system_center_virtual_machine_manager_server_inventory_item_id=example.inventory_items[0].id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/systemcenter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleResourceGroup, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleVirtualMachineManagerServer, err := systemcenter.NewVirtualMachineManagerServer(ctx, "example", &systemcenter.VirtualMachineManagerServerArgs{
    			Name:              pulumi.String("example-scvmmms"),
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.Location,
    			CustomLocationId:  pulumi.String("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.ExtendedLocation/customLocations/customLocation1"),
    			Fqdn:              pulumi.String("example.labtest"),
    			Username:          pulumi.String("testUser"),
    			Password:          pulumi.String("H@Sh1CoR3!"),
    		})
    		if err != nil {
    			return err
    		}
    		example := systemcenter.GetVirtualMachineManagerInventoryItemsOutput(ctx, systemcenter.GetVirtualMachineManagerInventoryItemsOutputArgs{
    			InventoryType: pulumi.String("VirtualNetwork"),
    			SystemCenterVirtualMachineManagerServerId: exampleVirtualMachineManagerServer.ID(),
    		}, nil)
    		_, err = systemcenter.NewVirtualMachineManagerVirtualNetwork(ctx, "example", &systemcenter.VirtualMachineManagerVirtualNetworkArgs{
    			Name:              pulumi.String("example-scvmmvnet"),
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.Location,
    			CustomLocationId:  exampleVirtualMachineManagerServer.CustomLocationId,
    			SystemCenterVirtualMachineManagerServerInventoryItemId: example.ApplyT(func(example systemcenter.GetVirtualMachineManagerInventoryItemsResult) (*string, error) {
    				return &example.InventoryItems[0].Id, nil
    			}).(pulumi.StringPtrOutput),
    		})
    		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 exampleResourceGroup = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var exampleVirtualMachineManagerServer = new Azure.SystemCenter.VirtualMachineManagerServer("example", new()
        {
            Name = "example-scvmmms",
            ResourceGroupName = exampleResourceGroup.Name,
            Location = exampleResourceGroup.Location,
            CustomLocationId = "/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.ExtendedLocation/customLocations/customLocation1",
            Fqdn = "example.labtest",
            Username = "testUser",
            Password = "H@Sh1CoR3!",
        });
    
        var example = Azure.SystemCenter.GetVirtualMachineManagerInventoryItems.Invoke(new()
        {
            InventoryType = "VirtualNetwork",
            SystemCenterVirtualMachineManagerServerId = exampleVirtualMachineManagerServer.Id,
        });
    
        var exampleVirtualMachineManagerVirtualNetwork = new Azure.SystemCenter.VirtualMachineManagerVirtualNetwork("example", new()
        {
            Name = "example-scvmmvnet",
            ResourceGroupName = exampleResourceGroup.Name,
            Location = exampleResourceGroup.Location,
            CustomLocationId = exampleVirtualMachineManagerServer.CustomLocationId,
            SystemCenterVirtualMachineManagerServerInventoryItemId = example.Apply(getVirtualMachineManagerInventoryItemsResult => getVirtualMachineManagerInventoryItemsResult.InventoryItems[0]?.Id),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.systemcenter.VirtualMachineManagerServer;
    import com.pulumi.azure.systemcenter.VirtualMachineManagerServerArgs;
    import com.pulumi.azure.systemcenter.SystemcenterFunctions;
    import com.pulumi.azure.systemcenter.inputs.GetVirtualMachineManagerInventoryItemsArgs;
    import com.pulumi.azure.systemcenter.VirtualMachineManagerVirtualNetwork;
    import com.pulumi.azure.systemcenter.VirtualMachineManagerVirtualNetworkArgs;
    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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var exampleVirtualMachineManagerServer = new VirtualMachineManagerServer("exampleVirtualMachineManagerServer", VirtualMachineManagerServerArgs.builder()
                .name("example-scvmmms")
                .resourceGroupName(exampleResourceGroup.name())
                .location(exampleResourceGroup.location())
                .customLocationId("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.ExtendedLocation/customLocations/customLocation1")
                .fqdn("example.labtest")
                .username("testUser")
                .password("H@Sh1CoR3!")
                .build());
    
            final var example = SystemcenterFunctions.getVirtualMachineManagerInventoryItems(GetVirtualMachineManagerInventoryItemsArgs.builder()
                .inventoryType("VirtualNetwork")
                .systemCenterVirtualMachineManagerServerId(exampleVirtualMachineManagerServer.id())
                .build());
    
            var exampleVirtualMachineManagerVirtualNetwork = new VirtualMachineManagerVirtualNetwork("exampleVirtualMachineManagerVirtualNetwork", VirtualMachineManagerVirtualNetworkArgs.builder()
                .name("example-scvmmvnet")
                .resourceGroupName(exampleResourceGroup.name())
                .location(exampleResourceGroup.location())
                .customLocationId(exampleVirtualMachineManagerServer.customLocationId())
                .systemCenterVirtualMachineManagerServerInventoryItemId(example.applyValue(getVirtualMachineManagerInventoryItemsResult -> getVirtualMachineManagerInventoryItemsResult).applyValue(example -> example.applyValue(getVirtualMachineManagerInventoryItemsResult -> getVirtualMachineManagerInventoryItemsResult.inventoryItems()[0].id())))
                .build());
    
        }
    }
    
    resources:
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        name: example
        properties:
          name: example-resources
          location: West Europe
      exampleVirtualMachineManagerServer:
        type: azure:systemcenter:VirtualMachineManagerServer
        name: example
        properties:
          name: example-scvmmms
          resourceGroupName: ${exampleResourceGroup.name}
          location: ${exampleResourceGroup.location}
          customLocationId: /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/resGroup1/providers/Microsoft.ExtendedLocation/customLocations/customLocation1
          fqdn: example.labtest
          username: testUser
          password: H@Sh1CoR3!
      exampleVirtualMachineManagerVirtualNetwork:
        type: azure:systemcenter:VirtualMachineManagerVirtualNetwork
        name: example
        properties:
          name: example-scvmmvnet
          resourceGroupName: ${exampleResourceGroup.name}
          location: ${exampleResourceGroup.location}
          customLocationId: ${exampleVirtualMachineManagerServer.customLocationId}
          systemCenterVirtualMachineManagerServerInventoryItemId: ${example.inventoryItems[0].id}
    variables:
      example:
        fn::invoke:
          Function: azure:systemcenter:getVirtualMachineManagerInventoryItems
          Arguments:
            inventoryType: VirtualNetwork
            systemCenterVirtualMachineManagerServerId: ${exampleVirtualMachineManagerServer.id}
    

    Create VirtualMachineManagerVirtualNetwork Resource

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

    Constructor syntax

    new VirtualMachineManagerVirtualNetwork(name: string, args: VirtualMachineManagerVirtualNetworkArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualMachineManagerVirtualNetwork(resource_name: str,
                                            args: VirtualMachineManagerVirtualNetworkArgs,
                                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def VirtualMachineManagerVirtualNetwork(resource_name: str,
                                            opts: Optional[ResourceOptions] = None,
                                            custom_location_id: Optional[str] = None,
                                            resource_group_name: Optional[str] = None,
                                            system_center_virtual_machine_manager_server_inventory_item_id: Optional[str] = None,
                                            location: Optional[str] = None,
                                            name: Optional[str] = None,
                                            tags: Optional[Mapping[str, str]] = None)
    func NewVirtualMachineManagerVirtualNetwork(ctx *Context, name string, args VirtualMachineManagerVirtualNetworkArgs, opts ...ResourceOption) (*VirtualMachineManagerVirtualNetwork, error)
    public VirtualMachineManagerVirtualNetwork(string name, VirtualMachineManagerVirtualNetworkArgs args, CustomResourceOptions? opts = null)
    public VirtualMachineManagerVirtualNetwork(String name, VirtualMachineManagerVirtualNetworkArgs args)
    public VirtualMachineManagerVirtualNetwork(String name, VirtualMachineManagerVirtualNetworkArgs args, CustomResourceOptions options)
    
    type: azure:systemcenter:VirtualMachineManagerVirtualNetwork
    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 VirtualMachineManagerVirtualNetworkArgs
    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 VirtualMachineManagerVirtualNetworkArgs
    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 VirtualMachineManagerVirtualNetworkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VirtualMachineManagerVirtualNetworkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VirtualMachineManagerVirtualNetworkArgs
    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 virtualMachineManagerVirtualNetworkResource = new Azure.SystemCenter.VirtualMachineManagerVirtualNetwork("virtualMachineManagerVirtualNetworkResource", new()
    {
        CustomLocationId = "string",
        ResourceGroupName = "string",
        SystemCenterVirtualMachineManagerServerInventoryItemId = "string",
        Location = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := systemcenter.NewVirtualMachineManagerVirtualNetwork(ctx, "virtualMachineManagerVirtualNetworkResource", &systemcenter.VirtualMachineManagerVirtualNetworkArgs{
    	CustomLocationId:  pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	SystemCenterVirtualMachineManagerServerInventoryItemId: pulumi.String("string"),
    	Location: pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var virtualMachineManagerVirtualNetworkResource = new VirtualMachineManagerVirtualNetwork("virtualMachineManagerVirtualNetworkResource", VirtualMachineManagerVirtualNetworkArgs.builder()
        .customLocationId("string")
        .resourceGroupName("string")
        .systemCenterVirtualMachineManagerServerInventoryItemId("string")
        .location("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    virtual_machine_manager_virtual_network_resource = azure.systemcenter.VirtualMachineManagerVirtualNetwork("virtualMachineManagerVirtualNetworkResource",
        custom_location_id="string",
        resource_group_name="string",
        system_center_virtual_machine_manager_server_inventory_item_id="string",
        location="string",
        name="string",
        tags={
            "string": "string",
        })
    
    const virtualMachineManagerVirtualNetworkResource = new azure.systemcenter.VirtualMachineManagerVirtualNetwork("virtualMachineManagerVirtualNetworkResource", {
        customLocationId: "string",
        resourceGroupName: "string",
        systemCenterVirtualMachineManagerServerInventoryItemId: "string",
        location: "string",
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure:systemcenter:VirtualMachineManagerVirtualNetwork
    properties:
        customLocationId: string
        location: string
        name: string
        resourceGroupName: string
        systemCenterVirtualMachineManagerServerInventoryItemId: string
        tags:
            string: string
    

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

    CustomLocationId string
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the System Center Virtual Machine Virtual Network should exist. Changing this forces a new resource to be created.
    SystemCenterVirtualMachineManagerServerInventoryItemId string
    The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
    Location string
    The Azure Region where the System Center Virtual Machine Manager Virtual Network should exist. Changing this forces a new resource to be created.
    Name string
    The name of the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Network.
    CustomLocationId string
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the System Center Virtual Machine Virtual Network should exist. Changing this forces a new resource to be created.
    SystemCenterVirtualMachineManagerServerInventoryItemId string
    The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
    Location string
    The Azure Region where the System Center Virtual Machine Manager Virtual Network should exist. Changing this forces a new resource to be created.
    Name string
    The name of the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Network.
    customLocationId String
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the System Center Virtual Machine Virtual Network should exist. Changing this forces a new resource to be created.
    systemCenterVirtualMachineManagerServerInventoryItemId String
    The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
    location String
    The Azure Region where the System Center Virtual Machine Manager Virtual Network should exist. Changing this forces a new resource to be created.
    name String
    The name of the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Network.
    customLocationId string
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the Resource Group where the System Center Virtual Machine Virtual Network should exist. Changing this forces a new resource to be created.
    systemCenterVirtualMachineManagerServerInventoryItemId string
    The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
    location string
    The Azure Region where the System Center Virtual Machine Manager Virtual Network should exist. Changing this forces a new resource to be created.
    name string
    The name of the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Network.
    custom_location_id str
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the Resource Group where the System Center Virtual Machine Virtual Network should exist. Changing this forces a new resource to be created.
    system_center_virtual_machine_manager_server_inventory_item_id str
    The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
    location str
    The Azure Region where the System Center Virtual Machine Manager Virtual Network should exist. Changing this forces a new resource to be created.
    name str
    The name of the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Network.
    customLocationId String
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the System Center Virtual Machine Virtual Network should exist. Changing this forces a new resource to be created.
    systemCenterVirtualMachineManagerServerInventoryItemId String
    The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
    location String
    The Azure Region where the System Center Virtual Machine Manager Virtual Network should exist. Changing this forces a new resource to be created.
    name String
    The name of the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Network.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing VirtualMachineManagerVirtualNetwork Resource

    Get an existing VirtualMachineManagerVirtualNetwork 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?: VirtualMachineManagerVirtualNetworkState, opts?: CustomResourceOptions): VirtualMachineManagerVirtualNetwork
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            custom_location_id: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            system_center_virtual_machine_manager_server_inventory_item_id: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> VirtualMachineManagerVirtualNetwork
    func GetVirtualMachineManagerVirtualNetwork(ctx *Context, name string, id IDInput, state *VirtualMachineManagerVirtualNetworkState, opts ...ResourceOption) (*VirtualMachineManagerVirtualNetwork, error)
    public static VirtualMachineManagerVirtualNetwork Get(string name, Input<string> id, VirtualMachineManagerVirtualNetworkState? state, CustomResourceOptions? opts = null)
    public static VirtualMachineManagerVirtualNetwork get(String name, Output<String> id, VirtualMachineManagerVirtualNetworkState 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:
    CustomLocationId string
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    Location string
    The Azure Region where the System Center Virtual Machine Manager Virtual Network should exist. Changing this forces a new resource to be created.
    Name string
    The name of the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the System Center Virtual Machine Virtual Network should exist. Changing this forces a new resource to be created.
    SystemCenterVirtualMachineManagerServerInventoryItemId string
    The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Network.
    CustomLocationId string
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    Location string
    The Azure Region where the System Center Virtual Machine Manager Virtual Network should exist. Changing this forces a new resource to be created.
    Name string
    The name of the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the Resource Group where the System Center Virtual Machine Virtual Network should exist. Changing this forces a new resource to be created.
    SystemCenterVirtualMachineManagerServerInventoryItemId string
    The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Network.
    customLocationId String
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    location String
    The Azure Region where the System Center Virtual Machine Manager Virtual Network should exist. Changing this forces a new resource to be created.
    name String
    The name of the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the System Center Virtual Machine Virtual Network should exist. Changing this forces a new resource to be created.
    systemCenterVirtualMachineManagerServerInventoryItemId String
    The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Network.
    customLocationId string
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    location string
    The Azure Region where the System Center Virtual Machine Manager Virtual Network should exist. Changing this forces a new resource to be created.
    name string
    The name of the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the Resource Group where the System Center Virtual Machine Virtual Network should exist. Changing this forces a new resource to be created.
    systemCenterVirtualMachineManagerServerInventoryItemId string
    The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Network.
    custom_location_id str
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    location str
    The Azure Region where the System Center Virtual Machine Manager Virtual Network should exist. Changing this forces a new resource to be created.
    name str
    The name of the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the Resource Group where the System Center Virtual Machine Virtual Network should exist. Changing this forces a new resource to be created.
    system_center_virtual_machine_manager_server_inventory_item_id str
    The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Network.
    customLocationId String
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    location String
    The Azure Region where the System Center Virtual Machine Manager Virtual Network should exist. Changing this forces a new resource to be created.
    name String
    The name of the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the Resource Group where the System Center Virtual Machine Virtual Network should exist. Changing this forces a new resource to be created.
    systemCenterVirtualMachineManagerServerInventoryItemId String
    The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Network.

    Import

    System Center Virtual Machine Manager Virtual Networks can be imported into Terraform using the resource id, e.g.

    $ pulumi import azure:systemcenter/virtualMachineManagerVirtualNetwork:VirtualMachineManagerVirtualNetwork example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.ScVmm/virtualNetworks/virtualNetwork1
    

    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