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

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.systemcenter.VirtualMachineManagerVirtualMachineInstance

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

    Manages a System Center Virtual Machine Manager Virtual Machine Instance.

    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 exampleArcMachine = new azure.arcmachine.ArcMachine("example", {
        name: "example-arcmachine",
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        kind: "SCVMM",
    });
    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: "Cloud",
        systemCenterVirtualMachineManagerServerId: exampleVirtualMachineManagerServer.id,
    });
    const exampleVirtualMachineManagerCloud = new azure.systemcenter.VirtualMachineManagerCloud("example", {
        name: "example-scvmmc",
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        customLocationId: exampleVirtualMachineManagerServer.customLocationId,
        systemCenterVirtualMachineManagerServerInventoryItemId: example.apply(example => example.inventoryItems?.[0]?.id),
    });
    const example2 = azure.systemcenter.getVirtualMachineManagerInventoryItemsOutput({
        inventoryType: "VirtualMachineTemplate",
        systemCenterVirtualMachineManagerServerId: exampleVirtualMachineManagerServer.id,
    });
    const exampleVirtualMachineManagerVirtualMachineTemplate = new azure.systemcenter.VirtualMachineManagerVirtualMachineTemplate("example", {
        name: "example-scvmmvmt",
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        customLocationId: exampleVirtualMachineManagerServer.customLocationId,
        systemCenterVirtualMachineManagerServerInventoryItemId: example2.apply(example2 => example2.inventoryItems?.[0]?.id),
    });
    const exampleVirtualMachineManagerVirtualMachineInstance = new azure.systemcenter.VirtualMachineManagerVirtualMachineInstance("example", {
        scopedResourceId: exampleArcMachine.id,
        customLocationId: exampleVirtualMachineManagerServer.customLocationId,
        infrastructure: {
            systemCenterVirtualMachineManagerCloudId: exampleVirtualMachineManagerCloud.id,
            systemCenterVirtualMachineManagerTemplateId: exampleVirtualMachineManagerVirtualMachineTemplate.id,
            systemCenterVirtualMachineManagerVirtualMachineServerId: exampleVirtualMachineManagerServer.id,
        },
        operatingSystem: {
            computerName: "testComputer",
        },
        hardware: {
            cpuCount: 1,
            memoryInMb: 1024,
        },
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example_resource_group = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_arc_machine = azure.arcmachine.ArcMachine("example",
        name="example-arcmachine",
        resource_group_name=example_resource_group.name,
        location=example_resource_group.location,
        kind="SCVMM")
    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="Cloud",
        system_center_virtual_machine_manager_server_id=example_virtual_machine_manager_server.id)
    example_virtual_machine_manager_cloud = azure.systemcenter.VirtualMachineManagerCloud("example",
        name="example-scvmmc",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        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)
    example2 = azure.systemcenter.get_virtual_machine_manager_inventory_items_output(inventory_type="VirtualMachineTemplate",
        system_center_virtual_machine_manager_server_id=example_virtual_machine_manager_server.id)
    example_virtual_machine_manager_virtual_machine_template = azure.systemcenter.VirtualMachineManagerVirtualMachineTemplate("example",
        name="example-scvmmvmt",
        location=example_resource_group.location,
        resource_group_name=example_resource_group.name,
        custom_location_id=example_virtual_machine_manager_server.custom_location_id,
        system_center_virtual_machine_manager_server_inventory_item_id=example2.inventory_items[0].id)
    example_virtual_machine_manager_virtual_machine_instance = azure.systemcenter.VirtualMachineManagerVirtualMachineInstance("example",
        scoped_resource_id=example_arc_machine.id,
        custom_location_id=example_virtual_machine_manager_server.custom_location_id,
        infrastructure={
            "system_center_virtual_machine_manager_cloud_id": example_virtual_machine_manager_cloud.id,
            "system_center_virtual_machine_manager_template_id": example_virtual_machine_manager_virtual_machine_template.id,
            "system_center_virtual_machine_manager_virtual_machine_server_id": example_virtual_machine_manager_server.id,
        },
        operating_system={
            "computer_name": "testComputer",
        },
        hardware={
            "cpu_count": 1,
            "memory_in_mb": 1024,
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/arcmachine"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v6/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
    		}
    		exampleArcMachine, err := arcmachine.NewArcMachine(ctx, "example", &arcmachine.ArcMachineArgs{
    			Name:              pulumi.String("example-arcmachine"),
    			ResourceGroupName: exampleResourceGroup.Name,
    			Location:          exampleResourceGroup.Location,
    			Kind:              pulumi.String("SCVMM"),
    		})
    		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("Cloud"),
    			SystemCenterVirtualMachineManagerServerId: exampleVirtualMachineManagerServer.ID(),
    		}, nil)
    		exampleVirtualMachineManagerCloud, err := systemcenter.NewVirtualMachineManagerCloud(ctx, "example", &systemcenter.VirtualMachineManagerCloudArgs{
    			Name:              pulumi.String("example-scvmmc"),
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			CustomLocationId:  exampleVirtualMachineManagerServer.CustomLocationId,
    			SystemCenterVirtualMachineManagerServerInventoryItemId: pulumi.String(example.ApplyT(func(example systemcenter.GetVirtualMachineManagerInventoryItemsResult) (*string, error) {
    				return &example.InventoryItems[0].Id, nil
    			}).(pulumi.StringPtrOutput)),
    		})
    		if err != nil {
    			return err
    		}
    		example2 := systemcenter.GetVirtualMachineManagerInventoryItemsOutput(ctx, systemcenter.GetVirtualMachineManagerInventoryItemsOutputArgs{
    			InventoryType: pulumi.String("VirtualMachineTemplate"),
    			SystemCenterVirtualMachineManagerServerId: exampleVirtualMachineManagerServer.ID(),
    		}, nil)
    		exampleVirtualMachineManagerVirtualMachineTemplate, err := systemcenter.NewVirtualMachineManagerVirtualMachineTemplate(ctx, "example", &systemcenter.VirtualMachineManagerVirtualMachineTemplateArgs{
    			Name:              pulumi.String("example-scvmmvmt"),
    			Location:          exampleResourceGroup.Location,
    			ResourceGroupName: exampleResourceGroup.Name,
    			CustomLocationId:  exampleVirtualMachineManagerServer.CustomLocationId,
    			SystemCenterVirtualMachineManagerServerInventoryItemId: pulumi.String(example2.ApplyT(func(example2 systemcenter.GetVirtualMachineManagerInventoryItemsResult) (*string, error) {
    				return &example2.InventoryItems[0].Id, nil
    			}).(pulumi.StringPtrOutput)),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = systemcenter.NewVirtualMachineManagerVirtualMachineInstance(ctx, "example", &systemcenter.VirtualMachineManagerVirtualMachineInstanceArgs{
    			ScopedResourceId: exampleArcMachine.ID(),
    			CustomLocationId: exampleVirtualMachineManagerServer.CustomLocationId,
    			Infrastructure: &systemcenter.VirtualMachineManagerVirtualMachineInstanceInfrastructureArgs{
    				SystemCenterVirtualMachineManagerCloudId:                exampleVirtualMachineManagerCloud.ID(),
    				SystemCenterVirtualMachineManagerTemplateId:             exampleVirtualMachineManagerVirtualMachineTemplate.ID(),
    				SystemCenterVirtualMachineManagerVirtualMachineServerId: exampleVirtualMachineManagerServer.ID(),
    			},
    			OperatingSystem: &systemcenter.VirtualMachineManagerVirtualMachineInstanceOperatingSystemArgs{
    				ComputerName: pulumi.String("testComputer"),
    			},
    			Hardware: &systemcenter.VirtualMachineManagerVirtualMachineInstanceHardwareArgs{
    				CpuCount:   pulumi.Int(1),
    				MemoryInMb: pulumi.Int(1024),
    			},
    		})
    		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 exampleArcMachine = new Azure.ArcMachine.ArcMachine("example", new()
        {
            Name = "example-arcmachine",
            ResourceGroupName = exampleResourceGroup.Name,
            Location = exampleResourceGroup.Location,
            Kind = "SCVMM",
        });
    
        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 = "Cloud",
            SystemCenterVirtualMachineManagerServerId = exampleVirtualMachineManagerServer.Id,
        });
    
        var exampleVirtualMachineManagerCloud = new Azure.SystemCenter.VirtualMachineManagerCloud("example", new()
        {
            Name = "example-scvmmc",
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            CustomLocationId = exampleVirtualMachineManagerServer.CustomLocationId,
            SystemCenterVirtualMachineManagerServerInventoryItemId = example.Apply(getVirtualMachineManagerInventoryItemsResult => getVirtualMachineManagerInventoryItemsResult.InventoryItems[0]?.Id),
        });
    
        var example2 = Azure.SystemCenter.GetVirtualMachineManagerInventoryItems.Invoke(new()
        {
            InventoryType = "VirtualMachineTemplate",
            SystemCenterVirtualMachineManagerServerId = exampleVirtualMachineManagerServer.Id,
        });
    
        var exampleVirtualMachineManagerVirtualMachineTemplate = new Azure.SystemCenter.VirtualMachineManagerVirtualMachineTemplate("example", new()
        {
            Name = "example-scvmmvmt",
            Location = exampleResourceGroup.Location,
            ResourceGroupName = exampleResourceGroup.Name,
            CustomLocationId = exampleVirtualMachineManagerServer.CustomLocationId,
            SystemCenterVirtualMachineManagerServerInventoryItemId = example2.Apply(getVirtualMachineManagerInventoryItemsResult => getVirtualMachineManagerInventoryItemsResult.InventoryItems[0]?.Id),
        });
    
        var exampleVirtualMachineManagerVirtualMachineInstance = new Azure.SystemCenter.VirtualMachineManagerVirtualMachineInstance("example", new()
        {
            ScopedResourceId = exampleArcMachine.Id,
            CustomLocationId = exampleVirtualMachineManagerServer.CustomLocationId,
            Infrastructure = new Azure.SystemCenter.Inputs.VirtualMachineManagerVirtualMachineInstanceInfrastructureArgs
            {
                SystemCenterVirtualMachineManagerCloudId = exampleVirtualMachineManagerCloud.Id,
                SystemCenterVirtualMachineManagerTemplateId = exampleVirtualMachineManagerVirtualMachineTemplate.Id,
                SystemCenterVirtualMachineManagerVirtualMachineServerId = exampleVirtualMachineManagerServer.Id,
            },
            OperatingSystem = new Azure.SystemCenter.Inputs.VirtualMachineManagerVirtualMachineInstanceOperatingSystemArgs
            {
                ComputerName = "testComputer",
            },
            Hardware = new Azure.SystemCenter.Inputs.VirtualMachineManagerVirtualMachineInstanceHardwareArgs
            {
                CpuCount = 1,
                MemoryInMb = 1024,
            },
        });
    
    });
    
    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.arcmachine.ArcMachine;
    import com.pulumi.azure.arcmachine.ArcMachineArgs;
    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.VirtualMachineManagerCloud;
    import com.pulumi.azure.systemcenter.VirtualMachineManagerCloudArgs;
    import com.pulumi.azure.systemcenter.VirtualMachineManagerVirtualMachineTemplate;
    import com.pulumi.azure.systemcenter.VirtualMachineManagerVirtualMachineTemplateArgs;
    import com.pulumi.azure.systemcenter.VirtualMachineManagerVirtualMachineInstance;
    import com.pulumi.azure.systemcenter.VirtualMachineManagerVirtualMachineInstanceArgs;
    import com.pulumi.azure.systemcenter.inputs.VirtualMachineManagerVirtualMachineInstanceInfrastructureArgs;
    import com.pulumi.azure.systemcenter.inputs.VirtualMachineManagerVirtualMachineInstanceOperatingSystemArgs;
    import com.pulumi.azure.systemcenter.inputs.VirtualMachineManagerVirtualMachineInstanceHardwareArgs;
    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 exampleArcMachine = new ArcMachine("exampleArcMachine", ArcMachineArgs.builder()
                .name("example-arcmachine")
                .resourceGroupName(exampleResourceGroup.name())
                .location(exampleResourceGroup.location())
                .kind("SCVMM")
                .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("Cloud")
                .systemCenterVirtualMachineManagerServerId(exampleVirtualMachineManagerServer.id())
                .build());
    
            var exampleVirtualMachineManagerCloud = new VirtualMachineManagerCloud("exampleVirtualMachineManagerCloud", VirtualMachineManagerCloudArgs.builder()
                .name("example-scvmmc")
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .customLocationId(exampleVirtualMachineManagerServer.customLocationId())
                .systemCenterVirtualMachineManagerServerInventoryItemId(example.applyValue(getVirtualMachineManagerInventoryItemsResult -> getVirtualMachineManagerInventoryItemsResult).applyValue(example -> example.applyValue(getVirtualMachineManagerInventoryItemsResult -> getVirtualMachineManagerInventoryItemsResult.inventoryItems()[0].id())))
                .build());
    
            final var example2 = SystemcenterFunctions.getVirtualMachineManagerInventoryItems(GetVirtualMachineManagerInventoryItemsArgs.builder()
                .inventoryType("VirtualMachineTemplate")
                .systemCenterVirtualMachineManagerServerId(exampleVirtualMachineManagerServer.id())
                .build());
    
            var exampleVirtualMachineManagerVirtualMachineTemplate = new VirtualMachineManagerVirtualMachineTemplate("exampleVirtualMachineManagerVirtualMachineTemplate", VirtualMachineManagerVirtualMachineTemplateArgs.builder()
                .name("example-scvmmvmt")
                .location(exampleResourceGroup.location())
                .resourceGroupName(exampleResourceGroup.name())
                .customLocationId(exampleVirtualMachineManagerServer.customLocationId())
                .systemCenterVirtualMachineManagerServerInventoryItemId(example2.applyValue(getVirtualMachineManagerInventoryItemsResult -> getVirtualMachineManagerInventoryItemsResult).applyValue(example2 -> example2.applyValue(getVirtualMachineManagerInventoryItemsResult -> getVirtualMachineManagerInventoryItemsResult.inventoryItems()[0].id())))
                .build());
    
            var exampleVirtualMachineManagerVirtualMachineInstance = new VirtualMachineManagerVirtualMachineInstance("exampleVirtualMachineManagerVirtualMachineInstance", VirtualMachineManagerVirtualMachineInstanceArgs.builder()
                .scopedResourceId(exampleArcMachine.id())
                .customLocationId(exampleVirtualMachineManagerServer.customLocationId())
                .infrastructure(VirtualMachineManagerVirtualMachineInstanceInfrastructureArgs.builder()
                    .systemCenterVirtualMachineManagerCloudId(exampleVirtualMachineManagerCloud.id())
                    .systemCenterVirtualMachineManagerTemplateId(exampleVirtualMachineManagerVirtualMachineTemplate.id())
                    .systemCenterVirtualMachineManagerVirtualMachineServerId(exampleVirtualMachineManagerServer.id())
                    .build())
                .operatingSystem(VirtualMachineManagerVirtualMachineInstanceOperatingSystemArgs.builder()
                    .computerName("testComputer")
                    .build())
                .hardware(VirtualMachineManagerVirtualMachineInstanceHardwareArgs.builder()
                    .cpuCount(1)
                    .memoryInMb(1024)
                    .build())
                .build());
    
        }
    }
    
    resources:
      exampleResourceGroup:
        type: azure:core:ResourceGroup
        name: example
        properties:
          name: example-resources
          location: West Europe
      exampleArcMachine:
        type: azure:arcmachine:ArcMachine
        name: example
        properties:
          name: example-arcmachine
          resourceGroupName: ${exampleResourceGroup.name}
          location: ${exampleResourceGroup.location}
          kind: SCVMM
      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!
      exampleVirtualMachineManagerCloud:
        type: azure:systemcenter:VirtualMachineManagerCloud
        name: example
        properties:
          name: example-scvmmc
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          customLocationId: ${exampleVirtualMachineManagerServer.customLocationId}
          systemCenterVirtualMachineManagerServerInventoryItemId: ${example.inventoryItems[0].id}
      exampleVirtualMachineManagerVirtualMachineTemplate:
        type: azure:systemcenter:VirtualMachineManagerVirtualMachineTemplate
        name: example
        properties:
          name: example-scvmmvmt
          location: ${exampleResourceGroup.location}
          resourceGroupName: ${exampleResourceGroup.name}
          customLocationId: ${exampleVirtualMachineManagerServer.customLocationId}
          systemCenterVirtualMachineManagerServerInventoryItemId: ${example2.inventoryItems[0].id}
      exampleVirtualMachineManagerVirtualMachineInstance:
        type: azure:systemcenter:VirtualMachineManagerVirtualMachineInstance
        name: example
        properties:
          scopedResourceId: ${exampleArcMachine.id}
          customLocationId: ${exampleVirtualMachineManagerServer.customLocationId}
          infrastructure:
            systemCenterVirtualMachineManagerCloudId: ${exampleVirtualMachineManagerCloud.id}
            systemCenterVirtualMachineManagerTemplateId: ${exampleVirtualMachineManagerVirtualMachineTemplate.id}
            systemCenterVirtualMachineManagerVirtualMachineServerId: ${exampleVirtualMachineManagerServer.id}
          operatingSystem:
            computerName: testComputer
          hardware:
            cpuCount: 1
            memoryInMb: 1024
    variables:
      example:
        fn::invoke:
          function: azure:systemcenter:getVirtualMachineManagerInventoryItems
          arguments:
            inventoryType: Cloud
            systemCenterVirtualMachineManagerServerId: ${exampleVirtualMachineManagerServer.id}
      example2:
        fn::invoke:
          function: azure:systemcenter:getVirtualMachineManagerInventoryItems
          arguments:
            inventoryType: VirtualMachineTemplate
            systemCenterVirtualMachineManagerServerId: ${exampleVirtualMachineManagerServer.id}
    

    Create VirtualMachineManagerVirtualMachineInstance Resource

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

    Constructor syntax

    new VirtualMachineManagerVirtualMachineInstance(name: string, args: VirtualMachineManagerVirtualMachineInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualMachineManagerVirtualMachineInstance(resource_name: str,
                                                    args: VirtualMachineManagerVirtualMachineInstanceArgs,
                                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def VirtualMachineManagerVirtualMachineInstance(resource_name: str,
                                                    opts: Optional[ResourceOptions] = None,
                                                    custom_location_id: Optional[str] = None,
                                                    infrastructure: Optional[VirtualMachineManagerVirtualMachineInstanceInfrastructureArgs] = None,
                                                    scoped_resource_id: Optional[str] = None,
                                                    hardware: Optional[VirtualMachineManagerVirtualMachineInstanceHardwareArgs] = None,
                                                    network_interfaces: Optional[Sequence[VirtualMachineManagerVirtualMachineInstanceNetworkInterfaceArgs]] = None,
                                                    operating_system: Optional[VirtualMachineManagerVirtualMachineInstanceOperatingSystemArgs] = None,
                                                    storage_disks: Optional[Sequence[VirtualMachineManagerVirtualMachineInstanceStorageDiskArgs]] = None,
                                                    system_center_virtual_machine_manager_availability_set_ids: Optional[Sequence[str]] = None)
    func NewVirtualMachineManagerVirtualMachineInstance(ctx *Context, name string, args VirtualMachineManagerVirtualMachineInstanceArgs, opts ...ResourceOption) (*VirtualMachineManagerVirtualMachineInstance, error)
    public VirtualMachineManagerVirtualMachineInstance(string name, VirtualMachineManagerVirtualMachineInstanceArgs args, CustomResourceOptions? opts = null)
    public VirtualMachineManagerVirtualMachineInstance(String name, VirtualMachineManagerVirtualMachineInstanceArgs args)
    public VirtualMachineManagerVirtualMachineInstance(String name, VirtualMachineManagerVirtualMachineInstanceArgs args, CustomResourceOptions options)
    
    type: azure:systemcenter:VirtualMachineManagerVirtualMachineInstance
    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 VirtualMachineManagerVirtualMachineInstanceArgs
    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 VirtualMachineManagerVirtualMachineInstanceArgs
    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 VirtualMachineManagerVirtualMachineInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VirtualMachineManagerVirtualMachineInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VirtualMachineManagerVirtualMachineInstanceArgs
    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 virtualMachineManagerVirtualMachineInstanceResource = new Azure.SystemCenter.VirtualMachineManagerVirtualMachineInstance("virtualMachineManagerVirtualMachineInstanceResource", new()
    {
        CustomLocationId = "string",
        Infrastructure = new Azure.SystemCenter.Inputs.VirtualMachineManagerVirtualMachineInstanceInfrastructureArgs
        {
            CheckpointType = "string",
            SystemCenterVirtualMachineManagerCloudId = "string",
            SystemCenterVirtualMachineManagerInventoryItemId = "string",
            SystemCenterVirtualMachineManagerTemplateId = "string",
            SystemCenterVirtualMachineManagerVirtualMachineServerId = "string",
        },
        ScopedResourceId = "string",
        Hardware = new Azure.SystemCenter.Inputs.VirtualMachineManagerVirtualMachineInstanceHardwareArgs
        {
            CpuCount = 0,
            DynamicMemoryMaxInMb = 0,
            DynamicMemoryMinInMb = 0,
            LimitCpuForMigrationEnabled = false,
            MemoryInMb = 0,
        },
        NetworkInterfaces = new[]
        {
            new Azure.SystemCenter.Inputs.VirtualMachineManagerVirtualMachineInstanceNetworkInterfaceArgs
            {
                Name = "string",
                Ipv4AddressType = "string",
                Ipv6AddressType = "string",
                MacAddressType = "string",
                VirtualNetworkId = "string",
            },
        },
        OperatingSystem = new Azure.SystemCenter.Inputs.VirtualMachineManagerVirtualMachineInstanceOperatingSystemArgs
        {
            ComputerName = "string",
            AdminPassword = "string",
        },
        StorageDisks = new[]
        {
            new Azure.SystemCenter.Inputs.VirtualMachineManagerVirtualMachineInstanceStorageDiskArgs
            {
                Bus = 0,
                BusType = "string",
                DiskSizeGb = 0,
                Lun = 0,
                Name = "string",
                StorageQosPolicyName = "string",
                TemplateDiskId = "string",
                VhdType = "string",
            },
        },
        SystemCenterVirtualMachineManagerAvailabilitySetIds = new[]
        {
            "string",
        },
    });
    
    example, err := systemcenter.NewVirtualMachineManagerVirtualMachineInstance(ctx, "virtualMachineManagerVirtualMachineInstanceResource", &systemcenter.VirtualMachineManagerVirtualMachineInstanceArgs{
    	CustomLocationId: pulumi.String("string"),
    	Infrastructure: &systemcenter.VirtualMachineManagerVirtualMachineInstanceInfrastructureArgs{
    		CheckpointType:                                          pulumi.String("string"),
    		SystemCenterVirtualMachineManagerCloudId:                pulumi.String("string"),
    		SystemCenterVirtualMachineManagerInventoryItemId:        pulumi.String("string"),
    		SystemCenterVirtualMachineManagerTemplateId:             pulumi.String("string"),
    		SystemCenterVirtualMachineManagerVirtualMachineServerId: pulumi.String("string"),
    	},
    	ScopedResourceId: pulumi.String("string"),
    	Hardware: &systemcenter.VirtualMachineManagerVirtualMachineInstanceHardwareArgs{
    		CpuCount:                    pulumi.Int(0),
    		DynamicMemoryMaxInMb:        pulumi.Int(0),
    		DynamicMemoryMinInMb:        pulumi.Int(0),
    		LimitCpuForMigrationEnabled: pulumi.Bool(false),
    		MemoryInMb:                  pulumi.Int(0),
    	},
    	NetworkInterfaces: systemcenter.VirtualMachineManagerVirtualMachineInstanceNetworkInterfaceArray{
    		&systemcenter.VirtualMachineManagerVirtualMachineInstanceNetworkInterfaceArgs{
    			Name:             pulumi.String("string"),
    			Ipv4AddressType:  pulumi.String("string"),
    			Ipv6AddressType:  pulumi.String("string"),
    			MacAddressType:   pulumi.String("string"),
    			VirtualNetworkId: pulumi.String("string"),
    		},
    	},
    	OperatingSystem: &systemcenter.VirtualMachineManagerVirtualMachineInstanceOperatingSystemArgs{
    		ComputerName:  pulumi.String("string"),
    		AdminPassword: pulumi.String("string"),
    	},
    	StorageDisks: systemcenter.VirtualMachineManagerVirtualMachineInstanceStorageDiskArray{
    		&systemcenter.VirtualMachineManagerVirtualMachineInstanceStorageDiskArgs{
    			Bus:                  pulumi.Int(0),
    			BusType:              pulumi.String("string"),
    			DiskSizeGb:           pulumi.Int(0),
    			Lun:                  pulumi.Int(0),
    			Name:                 pulumi.String("string"),
    			StorageQosPolicyName: pulumi.String("string"),
    			TemplateDiskId:       pulumi.String("string"),
    			VhdType:              pulumi.String("string"),
    		},
    	},
    	SystemCenterVirtualMachineManagerAvailabilitySetIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var virtualMachineManagerVirtualMachineInstanceResource = new VirtualMachineManagerVirtualMachineInstance("virtualMachineManagerVirtualMachineInstanceResource", VirtualMachineManagerVirtualMachineInstanceArgs.builder()
        .customLocationId("string")
        .infrastructure(VirtualMachineManagerVirtualMachineInstanceInfrastructureArgs.builder()
            .checkpointType("string")
            .systemCenterVirtualMachineManagerCloudId("string")
            .systemCenterVirtualMachineManagerInventoryItemId("string")
            .systemCenterVirtualMachineManagerTemplateId("string")
            .systemCenterVirtualMachineManagerVirtualMachineServerId("string")
            .build())
        .scopedResourceId("string")
        .hardware(VirtualMachineManagerVirtualMachineInstanceHardwareArgs.builder()
            .cpuCount(0)
            .dynamicMemoryMaxInMb(0)
            .dynamicMemoryMinInMb(0)
            .limitCpuForMigrationEnabled(false)
            .memoryInMb(0)
            .build())
        .networkInterfaces(VirtualMachineManagerVirtualMachineInstanceNetworkInterfaceArgs.builder()
            .name("string")
            .ipv4AddressType("string")
            .ipv6AddressType("string")
            .macAddressType("string")
            .virtualNetworkId("string")
            .build())
        .operatingSystem(VirtualMachineManagerVirtualMachineInstanceOperatingSystemArgs.builder()
            .computerName("string")
            .adminPassword("string")
            .build())
        .storageDisks(VirtualMachineManagerVirtualMachineInstanceStorageDiskArgs.builder()
            .bus(0)
            .busType("string")
            .diskSizeGb(0)
            .lun(0)
            .name("string")
            .storageQosPolicyName("string")
            .templateDiskId("string")
            .vhdType("string")
            .build())
        .systemCenterVirtualMachineManagerAvailabilitySetIds("string")
        .build());
    
    virtual_machine_manager_virtual_machine_instance_resource = azure.systemcenter.VirtualMachineManagerVirtualMachineInstance("virtualMachineManagerVirtualMachineInstanceResource",
        custom_location_id="string",
        infrastructure={
            "checkpoint_type": "string",
            "system_center_virtual_machine_manager_cloud_id": "string",
            "system_center_virtual_machine_manager_inventory_item_id": "string",
            "system_center_virtual_machine_manager_template_id": "string",
            "system_center_virtual_machine_manager_virtual_machine_server_id": "string",
        },
        scoped_resource_id="string",
        hardware={
            "cpu_count": 0,
            "dynamic_memory_max_in_mb": 0,
            "dynamic_memory_min_in_mb": 0,
            "limit_cpu_for_migration_enabled": False,
            "memory_in_mb": 0,
        },
        network_interfaces=[{
            "name": "string",
            "ipv4_address_type": "string",
            "ipv6_address_type": "string",
            "mac_address_type": "string",
            "virtual_network_id": "string",
        }],
        operating_system={
            "computer_name": "string",
            "admin_password": "string",
        },
        storage_disks=[{
            "bus": 0,
            "bus_type": "string",
            "disk_size_gb": 0,
            "lun": 0,
            "name": "string",
            "storage_qos_policy_name": "string",
            "template_disk_id": "string",
            "vhd_type": "string",
        }],
        system_center_virtual_machine_manager_availability_set_ids=["string"])
    
    const virtualMachineManagerVirtualMachineInstanceResource = new azure.systemcenter.VirtualMachineManagerVirtualMachineInstance("virtualMachineManagerVirtualMachineInstanceResource", {
        customLocationId: "string",
        infrastructure: {
            checkpointType: "string",
            systemCenterVirtualMachineManagerCloudId: "string",
            systemCenterVirtualMachineManagerInventoryItemId: "string",
            systemCenterVirtualMachineManagerTemplateId: "string",
            systemCenterVirtualMachineManagerVirtualMachineServerId: "string",
        },
        scopedResourceId: "string",
        hardware: {
            cpuCount: 0,
            dynamicMemoryMaxInMb: 0,
            dynamicMemoryMinInMb: 0,
            limitCpuForMigrationEnabled: false,
            memoryInMb: 0,
        },
        networkInterfaces: [{
            name: "string",
            ipv4AddressType: "string",
            ipv6AddressType: "string",
            macAddressType: "string",
            virtualNetworkId: "string",
        }],
        operatingSystem: {
            computerName: "string",
            adminPassword: "string",
        },
        storageDisks: [{
            bus: 0,
            busType: "string",
            diskSizeGb: 0,
            lun: 0,
            name: "string",
            storageQosPolicyName: "string",
            templateDiskId: "string",
            vhdType: "string",
        }],
        systemCenterVirtualMachineManagerAvailabilitySetIds: ["string"],
    });
    
    type: azure:systemcenter:VirtualMachineManagerVirtualMachineInstance
    properties:
        customLocationId: string
        hardware:
            cpuCount: 0
            dynamicMemoryMaxInMb: 0
            dynamicMemoryMinInMb: 0
            limitCpuForMigrationEnabled: false
            memoryInMb: 0
        infrastructure:
            checkpointType: string
            systemCenterVirtualMachineManagerCloudId: string
            systemCenterVirtualMachineManagerInventoryItemId: string
            systemCenterVirtualMachineManagerTemplateId: string
            systemCenterVirtualMachineManagerVirtualMachineServerId: string
        networkInterfaces:
            - ipv4AddressType: string
              ipv6AddressType: string
              macAddressType: string
              name: string
              virtualNetworkId: string
        operatingSystem:
            adminPassword: string
            computerName: string
        scopedResourceId: string
        storageDisks:
            - bus: 0
              busType: string
              diskSizeGb: 0
              lun: 0
              name: string
              storageQosPolicyName: string
              templateDiskId: string
              vhdType: string
        systemCenterVirtualMachineManagerAvailabilitySetIds:
            - string
    

    VirtualMachineManagerVirtualMachineInstance Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The VirtualMachineManagerVirtualMachineInstance resource accepts the following input properties:

    CustomLocationId string
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    Infrastructure VirtualMachineManagerVirtualMachineInstanceInfrastructure
    An infrastructure block as defined below.
    ScopedResourceId string
    The ID of the Hybrid Compute Machine where this System Center Virtual Machine Manager Virtual Machine Instance is stored. Changing this forces a new resource to be created.
    Hardware VirtualMachineManagerVirtualMachineInstanceHardware

    A hardware block as defined below. Changing this forces a new resource to be created.

    NOTE: This resource will be restarted while updating hardware.

    NetworkInterfaces List<VirtualMachineManagerVirtualMachineInstanceNetworkInterface>

    A network_interface block as defined below.

    NOTE: This resource will be restarted while updating network_interface.

    OperatingSystem VirtualMachineManagerVirtualMachineInstanceOperatingSystem
    An operating_system block as defined below. Changing this forces a new resource to be created.
    StorageDisks List<VirtualMachineManagerVirtualMachineInstanceStorageDisk>

    A storage_disk block as defined below.

    NOTE: This resource will be restarted while updating storage_disk.

    SystemCenterVirtualMachineManagerAvailabilitySetIds List<string>
    A list of IDs of System Center Virtual Machine Manager Availability Set.
    CustomLocationId string
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    Infrastructure VirtualMachineManagerVirtualMachineInstanceInfrastructureArgs
    An infrastructure block as defined below.
    ScopedResourceId string
    The ID of the Hybrid Compute Machine where this System Center Virtual Machine Manager Virtual Machine Instance is stored. Changing this forces a new resource to be created.
    Hardware VirtualMachineManagerVirtualMachineInstanceHardwareArgs

    A hardware block as defined below. Changing this forces a new resource to be created.

    NOTE: This resource will be restarted while updating hardware.

    NetworkInterfaces []VirtualMachineManagerVirtualMachineInstanceNetworkInterfaceArgs

    A network_interface block as defined below.

    NOTE: This resource will be restarted while updating network_interface.

    OperatingSystem VirtualMachineManagerVirtualMachineInstanceOperatingSystemArgs
    An operating_system block as defined below. Changing this forces a new resource to be created.
    StorageDisks []VirtualMachineManagerVirtualMachineInstanceStorageDiskArgs

    A storage_disk block as defined below.

    NOTE: This resource will be restarted while updating storage_disk.

    SystemCenterVirtualMachineManagerAvailabilitySetIds []string
    A list of IDs of System Center Virtual Machine Manager Availability Set.
    customLocationId String
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    infrastructure VirtualMachineManagerVirtualMachineInstanceInfrastructure
    An infrastructure block as defined below.
    scopedResourceId String
    The ID of the Hybrid Compute Machine where this System Center Virtual Machine Manager Virtual Machine Instance is stored. Changing this forces a new resource to be created.
    hardware VirtualMachineManagerVirtualMachineInstanceHardware

    A hardware block as defined below. Changing this forces a new resource to be created.

    NOTE: This resource will be restarted while updating hardware.

    networkInterfaces List<VirtualMachineManagerVirtualMachineInstanceNetworkInterface>

    A network_interface block as defined below.

    NOTE: This resource will be restarted while updating network_interface.

    operatingSystem VirtualMachineManagerVirtualMachineInstanceOperatingSystem
    An operating_system block as defined below. Changing this forces a new resource to be created.
    storageDisks List<VirtualMachineManagerVirtualMachineInstanceStorageDisk>

    A storage_disk block as defined below.

    NOTE: This resource will be restarted while updating storage_disk.

    systemCenterVirtualMachineManagerAvailabilitySetIds List<String>
    A list of IDs of System Center Virtual Machine Manager Availability Set.
    customLocationId string
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    infrastructure VirtualMachineManagerVirtualMachineInstanceInfrastructure
    An infrastructure block as defined below.
    scopedResourceId string
    The ID of the Hybrid Compute Machine where this System Center Virtual Machine Manager Virtual Machine Instance is stored. Changing this forces a new resource to be created.
    hardware VirtualMachineManagerVirtualMachineInstanceHardware

    A hardware block as defined below. Changing this forces a new resource to be created.

    NOTE: This resource will be restarted while updating hardware.

    networkInterfaces VirtualMachineManagerVirtualMachineInstanceNetworkInterface[]

    A network_interface block as defined below.

    NOTE: This resource will be restarted while updating network_interface.

    operatingSystem VirtualMachineManagerVirtualMachineInstanceOperatingSystem
    An operating_system block as defined below. Changing this forces a new resource to be created.
    storageDisks VirtualMachineManagerVirtualMachineInstanceStorageDisk[]

    A storage_disk block as defined below.

    NOTE: This resource will be restarted while updating storage_disk.

    systemCenterVirtualMachineManagerAvailabilitySetIds string[]
    A list of IDs of System Center Virtual Machine Manager Availability Set.
    custom_location_id str
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    infrastructure VirtualMachineManagerVirtualMachineInstanceInfrastructureArgs
    An infrastructure block as defined below.
    scoped_resource_id str
    The ID of the Hybrid Compute Machine where this System Center Virtual Machine Manager Virtual Machine Instance is stored. Changing this forces a new resource to be created.
    hardware VirtualMachineManagerVirtualMachineInstanceHardwareArgs

    A hardware block as defined below. Changing this forces a new resource to be created.

    NOTE: This resource will be restarted while updating hardware.

    network_interfaces Sequence[VirtualMachineManagerVirtualMachineInstanceNetworkInterfaceArgs]

    A network_interface block as defined below.

    NOTE: This resource will be restarted while updating network_interface.

    operating_system VirtualMachineManagerVirtualMachineInstanceOperatingSystemArgs
    An operating_system block as defined below. Changing this forces a new resource to be created.
    storage_disks Sequence[VirtualMachineManagerVirtualMachineInstanceStorageDiskArgs]

    A storage_disk block as defined below.

    NOTE: This resource will be restarted while updating storage_disk.

    system_center_virtual_machine_manager_availability_set_ids Sequence[str]
    A list of IDs of System Center Virtual Machine Manager Availability Set.
    customLocationId String
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    infrastructure Property Map
    An infrastructure block as defined below.
    scopedResourceId String
    The ID of the Hybrid Compute Machine where this System Center Virtual Machine Manager Virtual Machine Instance is stored. Changing this forces a new resource to be created.
    hardware Property Map

    A hardware block as defined below. Changing this forces a new resource to be created.

    NOTE: This resource will be restarted while updating hardware.

    networkInterfaces List<Property Map>

    A network_interface block as defined below.

    NOTE: This resource will be restarted while updating network_interface.

    operatingSystem Property Map
    An operating_system block as defined below. Changing this forces a new resource to be created.
    storageDisks List<Property Map>

    A storage_disk block as defined below.

    NOTE: This resource will be restarted while updating storage_disk.

    systemCenterVirtualMachineManagerAvailabilitySetIds List<String>
    A list of IDs of System Center Virtual Machine Manager Availability Set.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VirtualMachineManagerVirtualMachineInstance 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 VirtualMachineManagerVirtualMachineInstance Resource

    Get an existing VirtualMachineManagerVirtualMachineInstance 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?: VirtualMachineManagerVirtualMachineInstanceState, opts?: CustomResourceOptions): VirtualMachineManagerVirtualMachineInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            custom_location_id: Optional[str] = None,
            hardware: Optional[VirtualMachineManagerVirtualMachineInstanceHardwareArgs] = None,
            infrastructure: Optional[VirtualMachineManagerVirtualMachineInstanceInfrastructureArgs] = None,
            network_interfaces: Optional[Sequence[VirtualMachineManagerVirtualMachineInstanceNetworkInterfaceArgs]] = None,
            operating_system: Optional[VirtualMachineManagerVirtualMachineInstanceOperatingSystemArgs] = None,
            scoped_resource_id: Optional[str] = None,
            storage_disks: Optional[Sequence[VirtualMachineManagerVirtualMachineInstanceStorageDiskArgs]] = None,
            system_center_virtual_machine_manager_availability_set_ids: Optional[Sequence[str]] = None) -> VirtualMachineManagerVirtualMachineInstance
    func GetVirtualMachineManagerVirtualMachineInstance(ctx *Context, name string, id IDInput, state *VirtualMachineManagerVirtualMachineInstanceState, opts ...ResourceOption) (*VirtualMachineManagerVirtualMachineInstance, error)
    public static VirtualMachineManagerVirtualMachineInstance Get(string name, Input<string> id, VirtualMachineManagerVirtualMachineInstanceState? state, CustomResourceOptions? opts = null)
    public static VirtualMachineManagerVirtualMachineInstance get(String name, Output<String> id, VirtualMachineManagerVirtualMachineInstanceState state, CustomResourceOptions options)
    resources:  _:    type: azure:systemcenter:VirtualMachineManagerVirtualMachineInstance    get:      id: ${id}
    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 Machine Instance. Changing this forces a new resource to be created.
    Hardware VirtualMachineManagerVirtualMachineInstanceHardware

    A hardware block as defined below. Changing this forces a new resource to be created.

    NOTE: This resource will be restarted while updating hardware.

    Infrastructure VirtualMachineManagerVirtualMachineInstanceInfrastructure
    An infrastructure block as defined below.
    NetworkInterfaces List<VirtualMachineManagerVirtualMachineInstanceNetworkInterface>

    A network_interface block as defined below.

    NOTE: This resource will be restarted while updating network_interface.

    OperatingSystem VirtualMachineManagerVirtualMachineInstanceOperatingSystem
    An operating_system block as defined below. Changing this forces a new resource to be created.
    ScopedResourceId string
    The ID of the Hybrid Compute Machine where this System Center Virtual Machine Manager Virtual Machine Instance is stored. Changing this forces a new resource to be created.
    StorageDisks List<VirtualMachineManagerVirtualMachineInstanceStorageDisk>

    A storage_disk block as defined below.

    NOTE: This resource will be restarted while updating storage_disk.

    SystemCenterVirtualMachineManagerAvailabilitySetIds List<string>
    A list of IDs of System Center Virtual Machine Manager Availability Set.
    CustomLocationId string
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    Hardware VirtualMachineManagerVirtualMachineInstanceHardwareArgs

    A hardware block as defined below. Changing this forces a new resource to be created.

    NOTE: This resource will be restarted while updating hardware.

    Infrastructure VirtualMachineManagerVirtualMachineInstanceInfrastructureArgs
    An infrastructure block as defined below.
    NetworkInterfaces []VirtualMachineManagerVirtualMachineInstanceNetworkInterfaceArgs

    A network_interface block as defined below.

    NOTE: This resource will be restarted while updating network_interface.

    OperatingSystem VirtualMachineManagerVirtualMachineInstanceOperatingSystemArgs
    An operating_system block as defined below. Changing this forces a new resource to be created.
    ScopedResourceId string
    The ID of the Hybrid Compute Machine where this System Center Virtual Machine Manager Virtual Machine Instance is stored. Changing this forces a new resource to be created.
    StorageDisks []VirtualMachineManagerVirtualMachineInstanceStorageDiskArgs

    A storage_disk block as defined below.

    NOTE: This resource will be restarted while updating storage_disk.

    SystemCenterVirtualMachineManagerAvailabilitySetIds []string
    A list of IDs of System Center Virtual Machine Manager Availability Set.
    customLocationId String
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    hardware VirtualMachineManagerVirtualMachineInstanceHardware

    A hardware block as defined below. Changing this forces a new resource to be created.

    NOTE: This resource will be restarted while updating hardware.

    infrastructure VirtualMachineManagerVirtualMachineInstanceInfrastructure
    An infrastructure block as defined below.
    networkInterfaces List<VirtualMachineManagerVirtualMachineInstanceNetworkInterface>

    A network_interface block as defined below.

    NOTE: This resource will be restarted while updating network_interface.

    operatingSystem VirtualMachineManagerVirtualMachineInstanceOperatingSystem
    An operating_system block as defined below. Changing this forces a new resource to be created.
    scopedResourceId String
    The ID of the Hybrid Compute Machine where this System Center Virtual Machine Manager Virtual Machine Instance is stored. Changing this forces a new resource to be created.
    storageDisks List<VirtualMachineManagerVirtualMachineInstanceStorageDisk>

    A storage_disk block as defined below.

    NOTE: This resource will be restarted while updating storage_disk.

    systemCenterVirtualMachineManagerAvailabilitySetIds List<String>
    A list of IDs of System Center Virtual Machine Manager Availability Set.
    customLocationId string
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    hardware VirtualMachineManagerVirtualMachineInstanceHardware

    A hardware block as defined below. Changing this forces a new resource to be created.

    NOTE: This resource will be restarted while updating hardware.

    infrastructure VirtualMachineManagerVirtualMachineInstanceInfrastructure
    An infrastructure block as defined below.
    networkInterfaces VirtualMachineManagerVirtualMachineInstanceNetworkInterface[]

    A network_interface block as defined below.

    NOTE: This resource will be restarted while updating network_interface.

    operatingSystem VirtualMachineManagerVirtualMachineInstanceOperatingSystem
    An operating_system block as defined below. Changing this forces a new resource to be created.
    scopedResourceId string
    The ID of the Hybrid Compute Machine where this System Center Virtual Machine Manager Virtual Machine Instance is stored. Changing this forces a new resource to be created.
    storageDisks VirtualMachineManagerVirtualMachineInstanceStorageDisk[]

    A storage_disk block as defined below.

    NOTE: This resource will be restarted while updating storage_disk.

    systemCenterVirtualMachineManagerAvailabilitySetIds string[]
    A list of IDs of System Center Virtual Machine Manager Availability Set.
    custom_location_id str
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    hardware VirtualMachineManagerVirtualMachineInstanceHardwareArgs

    A hardware block as defined below. Changing this forces a new resource to be created.

    NOTE: This resource will be restarted while updating hardware.

    infrastructure VirtualMachineManagerVirtualMachineInstanceInfrastructureArgs
    An infrastructure block as defined below.
    network_interfaces Sequence[VirtualMachineManagerVirtualMachineInstanceNetworkInterfaceArgs]

    A network_interface block as defined below.

    NOTE: This resource will be restarted while updating network_interface.

    operating_system VirtualMachineManagerVirtualMachineInstanceOperatingSystemArgs
    An operating_system block as defined below. Changing this forces a new resource to be created.
    scoped_resource_id str
    The ID of the Hybrid Compute Machine where this System Center Virtual Machine Manager Virtual Machine Instance is stored. Changing this forces a new resource to be created.
    storage_disks Sequence[VirtualMachineManagerVirtualMachineInstanceStorageDiskArgs]

    A storage_disk block as defined below.

    NOTE: This resource will be restarted while updating storage_disk.

    system_center_virtual_machine_manager_availability_set_ids Sequence[str]
    A list of IDs of System Center Virtual Machine Manager Availability Set.
    customLocationId String
    The ID of the Custom Location for the System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    hardware Property Map

    A hardware block as defined below. Changing this forces a new resource to be created.

    NOTE: This resource will be restarted while updating hardware.

    infrastructure Property Map
    An infrastructure block as defined below.
    networkInterfaces List<Property Map>

    A network_interface block as defined below.

    NOTE: This resource will be restarted while updating network_interface.

    operatingSystem Property Map
    An operating_system block as defined below. Changing this forces a new resource to be created.
    scopedResourceId String
    The ID of the Hybrid Compute Machine where this System Center Virtual Machine Manager Virtual Machine Instance is stored. Changing this forces a new resource to be created.
    storageDisks List<Property Map>

    A storage_disk block as defined below.

    NOTE: This resource will be restarted while updating storage_disk.

    systemCenterVirtualMachineManagerAvailabilitySetIds List<String>
    A list of IDs of System Center Virtual Machine Manager Availability Set.

    Supporting Types

    VirtualMachineManagerVirtualMachineInstanceHardware, VirtualMachineManagerVirtualMachineInstanceHardwareArgs

    CpuCount int
    The number of vCPUs for the Virtual Machine. Possible values are between 1 and 64.
    DynamicMemoryMaxInMb int
    The max dynamic memory for the Virtual Machine. Possible values are between 32 and 1048576.
    DynamicMemoryMinInMb int
    The min dynamic memory for the Virtual Machine. Possible values are between 32 and 1048576.
    LimitCpuForMigrationEnabled bool
    Whether processor compatibility mode for live migration of Virtual Machines is enabled.
    MemoryInMb int
    The size of a Virtual Machine's memory. Possible values are between 32 and 1048576.
    CpuCount int
    The number of vCPUs for the Virtual Machine. Possible values are between 1 and 64.
    DynamicMemoryMaxInMb int
    The max dynamic memory for the Virtual Machine. Possible values are between 32 and 1048576.
    DynamicMemoryMinInMb int
    The min dynamic memory for the Virtual Machine. Possible values are between 32 and 1048576.
    LimitCpuForMigrationEnabled bool
    Whether processor compatibility mode for live migration of Virtual Machines is enabled.
    MemoryInMb int
    The size of a Virtual Machine's memory. Possible values are between 32 and 1048576.
    cpuCount Integer
    The number of vCPUs for the Virtual Machine. Possible values are between 1 and 64.
    dynamicMemoryMaxInMb Integer
    The max dynamic memory for the Virtual Machine. Possible values are between 32 and 1048576.
    dynamicMemoryMinInMb Integer
    The min dynamic memory for the Virtual Machine. Possible values are between 32 and 1048576.
    limitCpuForMigrationEnabled Boolean
    Whether processor compatibility mode for live migration of Virtual Machines is enabled.
    memoryInMb Integer
    The size of a Virtual Machine's memory. Possible values are between 32 and 1048576.
    cpuCount number
    The number of vCPUs for the Virtual Machine. Possible values are between 1 and 64.
    dynamicMemoryMaxInMb number
    The max dynamic memory for the Virtual Machine. Possible values are between 32 and 1048576.
    dynamicMemoryMinInMb number
    The min dynamic memory for the Virtual Machine. Possible values are between 32 and 1048576.
    limitCpuForMigrationEnabled boolean
    Whether processor compatibility mode for live migration of Virtual Machines is enabled.
    memoryInMb number
    The size of a Virtual Machine's memory. Possible values are between 32 and 1048576.
    cpu_count int
    The number of vCPUs for the Virtual Machine. Possible values are between 1 and 64.
    dynamic_memory_max_in_mb int
    The max dynamic memory for the Virtual Machine. Possible values are between 32 and 1048576.
    dynamic_memory_min_in_mb int
    The min dynamic memory for the Virtual Machine. Possible values are between 32 and 1048576.
    limit_cpu_for_migration_enabled bool
    Whether processor compatibility mode for live migration of Virtual Machines is enabled.
    memory_in_mb int
    The size of a Virtual Machine's memory. Possible values are between 32 and 1048576.
    cpuCount Number
    The number of vCPUs for the Virtual Machine. Possible values are between 1 and 64.
    dynamicMemoryMaxInMb Number
    The max dynamic memory for the Virtual Machine. Possible values are between 32 and 1048576.
    dynamicMemoryMinInMb Number
    The min dynamic memory for the Virtual Machine. Possible values are between 32 and 1048576.
    limitCpuForMigrationEnabled Boolean
    Whether processor compatibility mode for live migration of Virtual Machines is enabled.
    memoryInMb Number
    The size of a Virtual Machine's memory. Possible values are between 32 and 1048576.

    VirtualMachineManagerVirtualMachineInstanceInfrastructure, VirtualMachineManagerVirtualMachineInstanceInfrastructureArgs

    CheckpointType string
    The type of checkpoint supported for the Virtual Machine. Possible values are Disabled, Production, ProductionOnly and Standard.
    SystemCenterVirtualMachineManagerCloudId string
    The ID of the System Center Virtual Machine Manager Cloud resource to use for deploying the Virtual Machine. Changing this forces a new resource to be created.
    SystemCenterVirtualMachineManagerInventoryItemId string
    The ID of the System Center Virtual Machine Manager Inventory Item for System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    SystemCenterVirtualMachineManagerTemplateId string
    The ID of the System Center Virtual Machine Manager Virtual Machine Template to use for deploying the Virtual Machine. Changing this forces a new resource to be created.
    SystemCenterVirtualMachineManagerVirtualMachineServerId string
    The ID of the System Center Virtual Machine Manager Virtual Machine. Changing this forces a new resource to be created.
    CheckpointType string
    The type of checkpoint supported for the Virtual Machine. Possible values are Disabled, Production, ProductionOnly and Standard.
    SystemCenterVirtualMachineManagerCloudId string
    The ID of the System Center Virtual Machine Manager Cloud resource to use for deploying the Virtual Machine. Changing this forces a new resource to be created.
    SystemCenterVirtualMachineManagerInventoryItemId string
    The ID of the System Center Virtual Machine Manager Inventory Item for System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    SystemCenterVirtualMachineManagerTemplateId string
    The ID of the System Center Virtual Machine Manager Virtual Machine Template to use for deploying the Virtual Machine. Changing this forces a new resource to be created.
    SystemCenterVirtualMachineManagerVirtualMachineServerId string
    The ID of the System Center Virtual Machine Manager Virtual Machine. Changing this forces a new resource to be created.
    checkpointType String
    The type of checkpoint supported for the Virtual Machine. Possible values are Disabled, Production, ProductionOnly and Standard.
    systemCenterVirtualMachineManagerCloudId String
    The ID of the System Center Virtual Machine Manager Cloud resource to use for deploying the Virtual Machine. Changing this forces a new resource to be created.
    systemCenterVirtualMachineManagerInventoryItemId String
    The ID of the System Center Virtual Machine Manager Inventory Item for System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    systemCenterVirtualMachineManagerTemplateId String
    The ID of the System Center Virtual Machine Manager Virtual Machine Template to use for deploying the Virtual Machine. Changing this forces a new resource to be created.
    systemCenterVirtualMachineManagerVirtualMachineServerId String
    The ID of the System Center Virtual Machine Manager Virtual Machine. Changing this forces a new resource to be created.
    checkpointType string
    The type of checkpoint supported for the Virtual Machine. Possible values are Disabled, Production, ProductionOnly and Standard.
    systemCenterVirtualMachineManagerCloudId string
    The ID of the System Center Virtual Machine Manager Cloud resource to use for deploying the Virtual Machine. Changing this forces a new resource to be created.
    systemCenterVirtualMachineManagerInventoryItemId string
    The ID of the System Center Virtual Machine Manager Inventory Item for System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    systemCenterVirtualMachineManagerTemplateId string
    The ID of the System Center Virtual Machine Manager Virtual Machine Template to use for deploying the Virtual Machine. Changing this forces a new resource to be created.
    systemCenterVirtualMachineManagerVirtualMachineServerId string
    The ID of the System Center Virtual Machine Manager Virtual Machine. Changing this forces a new resource to be created.
    checkpoint_type str
    The type of checkpoint supported for the Virtual Machine. Possible values are Disabled, Production, ProductionOnly and Standard.
    system_center_virtual_machine_manager_cloud_id str
    The ID of the System Center Virtual Machine Manager Cloud resource to use for deploying the Virtual Machine. Changing this forces a new resource to be created.
    system_center_virtual_machine_manager_inventory_item_id str
    The ID of the System Center Virtual Machine Manager Inventory Item for System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    system_center_virtual_machine_manager_template_id str
    The ID of the System Center Virtual Machine Manager Virtual Machine Template to use for deploying the Virtual Machine. Changing this forces a new resource to be created.
    system_center_virtual_machine_manager_virtual_machine_server_id str
    The ID of the System Center Virtual Machine Manager Virtual Machine. Changing this forces a new resource to be created.
    checkpointType String
    The type of checkpoint supported for the Virtual Machine. Possible values are Disabled, Production, ProductionOnly and Standard.
    systemCenterVirtualMachineManagerCloudId String
    The ID of the System Center Virtual Machine Manager Cloud resource to use for deploying the Virtual Machine. Changing this forces a new resource to be created.
    systemCenterVirtualMachineManagerInventoryItemId String
    The ID of the System Center Virtual Machine Manager Inventory Item for System Center Virtual Machine Manager Virtual Machine Instance. Changing this forces a new resource to be created.
    systemCenterVirtualMachineManagerTemplateId String
    The ID of the System Center Virtual Machine Manager Virtual Machine Template to use for deploying the Virtual Machine. Changing this forces a new resource to be created.
    systemCenterVirtualMachineManagerVirtualMachineServerId String
    The ID of the System Center Virtual Machine Manager Virtual Machine. Changing this forces a new resource to be created.

    VirtualMachineManagerVirtualMachineInstanceNetworkInterface, VirtualMachineManagerVirtualMachineInstanceNetworkInterfaceArgs

    Name string
    The name of the Virtual Network in System Center Virtual Machine Manager Server that the Network Interface is connected to.
    Ipv4AddressType string
    The IPv4 address type. Possible values are Dynamic and Static.
    Ipv6AddressType string
    The IPv6 address type. Possible values are Dynamic and Static.
    MacAddressType string
    The MAC address type. Possible values are Dynamic and Static.
    VirtualNetworkId string
    The ID of the System Center Virtual Machine Manager Virtual Network to connect the Network Interface.
    Name string
    The name of the Virtual Network in System Center Virtual Machine Manager Server that the Network Interface is connected to.
    Ipv4AddressType string
    The IPv4 address type. Possible values are Dynamic and Static.
    Ipv6AddressType string
    The IPv6 address type. Possible values are Dynamic and Static.
    MacAddressType string
    The MAC address type. Possible values are Dynamic and Static.
    VirtualNetworkId string
    The ID of the System Center Virtual Machine Manager Virtual Network to connect the Network Interface.
    name String
    The name of the Virtual Network in System Center Virtual Machine Manager Server that the Network Interface is connected to.
    ipv4AddressType String
    The IPv4 address type. Possible values are Dynamic and Static.
    ipv6AddressType String
    The IPv6 address type. Possible values are Dynamic and Static.
    macAddressType String
    The MAC address type. Possible values are Dynamic and Static.
    virtualNetworkId String
    The ID of the System Center Virtual Machine Manager Virtual Network to connect the Network Interface.
    name string
    The name of the Virtual Network in System Center Virtual Machine Manager Server that the Network Interface is connected to.
    ipv4AddressType string
    The IPv4 address type. Possible values are Dynamic and Static.
    ipv6AddressType string
    The IPv6 address type. Possible values are Dynamic and Static.
    macAddressType string
    The MAC address type. Possible values are Dynamic and Static.
    virtualNetworkId string
    The ID of the System Center Virtual Machine Manager Virtual Network to connect the Network Interface.
    name str
    The name of the Virtual Network in System Center Virtual Machine Manager Server that the Network Interface is connected to.
    ipv4_address_type str
    The IPv4 address type. Possible values are Dynamic and Static.
    ipv6_address_type str
    The IPv6 address type. Possible values are Dynamic and Static.
    mac_address_type str
    The MAC address type. Possible values are Dynamic and Static.
    virtual_network_id str
    The ID of the System Center Virtual Machine Manager Virtual Network to connect the Network Interface.
    name String
    The name of the Virtual Network in System Center Virtual Machine Manager Server that the Network Interface is connected to.
    ipv4AddressType String
    The IPv4 address type. Possible values are Dynamic and Static.
    ipv6AddressType String
    The IPv6 address type. Possible values are Dynamic and Static.
    macAddressType String
    The MAC address type. Possible values are Dynamic and Static.
    virtualNetworkId String
    The ID of the System Center Virtual Machine Manager Virtual Network to connect the Network Interface.

    VirtualMachineManagerVirtualMachineInstanceOperatingSystem, VirtualMachineManagerVirtualMachineInstanceOperatingSystemArgs

    ComputerName string
    The computer name of the Virtual Machine. Changing this forces a new resource to be created.
    AdminPassword string
    The admin password of the Virtual Machine. Changing this forces a new resource to be created.
    ComputerName string
    The computer name of the Virtual Machine. Changing this forces a new resource to be created.
    AdminPassword string
    The admin password of the Virtual Machine. Changing this forces a new resource to be created.
    computerName String
    The computer name of the Virtual Machine. Changing this forces a new resource to be created.
    adminPassword String
    The admin password of the Virtual Machine. Changing this forces a new resource to be created.
    computerName string
    The computer name of the Virtual Machine. Changing this forces a new resource to be created.
    adminPassword string
    The admin password of the Virtual Machine. Changing this forces a new resource to be created.
    computer_name str
    The computer name of the Virtual Machine. Changing this forces a new resource to be created.
    admin_password str
    The admin password of the Virtual Machine. Changing this forces a new resource to be created.
    computerName String
    The computer name of the Virtual Machine. Changing this forces a new resource to be created.
    adminPassword String
    The admin password of the Virtual Machine. Changing this forces a new resource to be created.

    VirtualMachineManagerVirtualMachineInstanceStorageDisk, VirtualMachineManagerVirtualMachineInstanceStorageDiskArgs

    Bus int
    The disk bus. Possible values are between 0 and 3.
    BusType string
    The disk bus type. Possible values are IDE and SCSI.
    DiskSizeGb int
    The disk total size.
    Lun int
    The disk lun. Possible values are between 0 and 63.
    Name string
    The name of the disk.
    StorageQosPolicyName string
    The name of the Storage QoS policy.
    TemplateDiskId string
    The disk ID in the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
    VhdType string
    The disk vhd type. Possible values are Dynamic and Fixed.
    Bus int
    The disk bus. Possible values are between 0 and 3.
    BusType string
    The disk bus type. Possible values are IDE and SCSI.
    DiskSizeGb int
    The disk total size.
    Lun int
    The disk lun. Possible values are between 0 and 63.
    Name string
    The name of the disk.
    StorageQosPolicyName string
    The name of the Storage QoS policy.
    TemplateDiskId string
    The disk ID in the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
    VhdType string
    The disk vhd type. Possible values are Dynamic and Fixed.
    bus Integer
    The disk bus. Possible values are between 0 and 3.
    busType String
    The disk bus type. Possible values are IDE and SCSI.
    diskSizeGb Integer
    The disk total size.
    lun Integer
    The disk lun. Possible values are between 0 and 63.
    name String
    The name of the disk.
    storageQosPolicyName String
    The name of the Storage QoS policy.
    templateDiskId String
    The disk ID in the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
    vhdType String
    The disk vhd type. Possible values are Dynamic and Fixed.
    bus number
    The disk bus. Possible values are between 0 and 3.
    busType string
    The disk bus type. Possible values are IDE and SCSI.
    diskSizeGb number
    The disk total size.
    lun number
    The disk lun. Possible values are between 0 and 63.
    name string
    The name of the disk.
    storageQosPolicyName string
    The name of the Storage QoS policy.
    templateDiskId string
    The disk ID in the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
    vhdType string
    The disk vhd type. Possible values are Dynamic and Fixed.
    bus int
    The disk bus. Possible values are between 0 and 3.
    bus_type str
    The disk bus type. Possible values are IDE and SCSI.
    disk_size_gb int
    The disk total size.
    lun int
    The disk lun. Possible values are between 0 and 63.
    name str
    The name of the disk.
    storage_qos_policy_name str
    The name of the Storage QoS policy.
    template_disk_id str
    The disk ID in the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
    vhd_type str
    The disk vhd type. Possible values are Dynamic and Fixed.
    bus Number
    The disk bus. Possible values are between 0 and 3.
    busType String
    The disk bus type. Possible values are IDE and SCSI.
    diskSizeGb Number
    The disk total size.
    lun Number
    The disk lun. Possible values are between 0 and 63.
    name String
    The name of the disk.
    storageQosPolicyName String
    The name of the Storage QoS policy.
    templateDiskId String
    The disk ID in the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
    vhdType String
    The disk vhd type. Possible values are Dynamic and Fixed.

    Import

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

    $ pulumi import azure:systemcenter/virtualMachineManagerVirtualMachineInstance:VirtualMachineManagerVirtualMachineInstance example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.HybridCompute/machines/machine1/providers/Microsoft.ScVmm/virtualMachineInstances/default
    

    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 v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi