import * as pulumi from "@pulumi/pulumi"; /** * Manages a System Center Virtual Machine Manager Virtual Network. * * ## Example Usage * * ```typescript * 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), * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.ScVmm` - 2023-10-07 * * ## Import * * System Center Virtual Machine Manager Virtual Networks can be imported into Pulumi using the `resource id`, e.g. * * ```sh * $ pulumi import azure:systemcenter/virtualMachineManagerVirtualNetwork:VirtualMachineManagerVirtualNetwork example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.ScVmm/virtualNetworks/virtualNetwork1 * ``` */ export declare class VirtualMachineManagerVirtualNetwork extends pulumi.CustomResource { /** * Get an existing VirtualMachineManagerVirtualNetwork resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: VirtualMachineManagerVirtualNetworkState, opts?: pulumi.CustomResourceOptions): VirtualMachineManagerVirtualNetwork; /** * Returns true if the given object is an instance of VirtualMachineManagerVirtualNetwork. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is VirtualMachineManagerVirtualNetwork; /** * The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created. */ readonly customLocationId: pulumi.Output; /** * The Azure Region where the System Center Virtual Machine Manager Virtual Network should exist. Changing this forces a new resource to be created. */ readonly location: pulumi.Output; /** * The name of the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * 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. */ readonly resourceGroupName: pulumi.Output; /** * The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created. */ readonly systemCenterVirtualMachineManagerServerInventoryItemId: pulumi.Output; /** * A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Network. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Create a VirtualMachineManagerVirtualNetwork resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: VirtualMachineManagerVirtualNetworkArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VirtualMachineManagerVirtualNetwork resources. */ export interface VirtualMachineManagerVirtualNetworkState { /** * The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created. */ customLocationId?: pulumi.Input; /** * The Azure Region where the System Center Virtual Machine Manager Virtual Network should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name of the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * 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. */ resourceGroupName?: pulumi.Input; /** * The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created. */ systemCenterVirtualMachineManagerServerInventoryItemId?: pulumi.Input; /** * A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Network. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; } /** * The set of arguments for constructing a VirtualMachineManagerVirtualNetwork resource. */ export interface VirtualMachineManagerVirtualNetworkArgs { /** * The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created. */ customLocationId: pulumi.Input; /** * The Azure Region where the System Center Virtual Machine Manager Virtual Network should exist. Changing this forces a new resource to be created. */ location?: pulumi.Input; /** * The name of the System Center Virtual Machine Manager Virtual Network. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * 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. */ resourceGroupName: pulumi.Input; /** * The ID of the System Center Virtual Machine Manager Server Inventory Item. Changing this forces a new resource to be created. */ systemCenterVirtualMachineManagerServerInventoryItemId: pulumi.Input; /** * A mapping of tags which should be assigned to the System Center Virtual Machine Manager Virtual Network. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; }>; }