We recommend using Azure Native.
azure.systemcenter.VirtualMachineManagerVirtualMachineInstance
Explore with Pulumi AI
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:
- Custom
Location stringId - 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
Virtual
Machine Manager Virtual Machine Instance Infrastructure - An
infrastructure
block as defined below. - Scoped
Resource stringId - 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
Virtual
Machine Manager Virtual Machine Instance Hardware 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 List<VirtualMachine Manager Virtual Machine Instance Network Interface> A
network_interface
block as defined below.NOTE: This resource will be restarted while updating
network_interface
.- Operating
System VirtualMachine Manager Virtual Machine Instance Operating System - An
operating_system
block as defined below. Changing this forces a new resource to be created. - Storage
Disks List<VirtualMachine Manager Virtual Machine Instance Storage Disk> A
storage_disk
block as defined below.NOTE: This resource will be restarted while updating
storage_disk
.- System
Center List<string>Virtual Machine Manager Availability Set Ids - A list of IDs of System Center Virtual Machine Manager Availability Set.
- Custom
Location stringId - 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
Virtual
Machine Manager Virtual Machine Instance Infrastructure Args - An
infrastructure
block as defined below. - Scoped
Resource stringId - 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
Virtual
Machine Manager Virtual Machine Instance Hardware Args 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 []VirtualMachine Manager Virtual Machine Instance Network Interface Args A
network_interface
block as defined below.NOTE: This resource will be restarted while updating
network_interface
.- Operating
System VirtualMachine Manager Virtual Machine Instance Operating System Args - An
operating_system
block as defined below. Changing this forces a new resource to be created. - Storage
Disks []VirtualMachine Manager Virtual Machine Instance Storage Disk Args A
storage_disk
block as defined below.NOTE: This resource will be restarted while updating
storage_disk
.- System
Center []stringVirtual Machine Manager Availability Set Ids - A list of IDs of System Center Virtual Machine Manager Availability Set.
- custom
Location StringId - 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
Virtual
Machine Manager Virtual Machine Instance Infrastructure - An
infrastructure
block as defined below. - scoped
Resource StringId - 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
Virtual
Machine Manager Virtual Machine Instance Hardware 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 List<VirtualMachine Manager Virtual Machine Instance Network Interface> A
network_interface
block as defined below.NOTE: This resource will be restarted while updating
network_interface
.- operating
System VirtualMachine Manager Virtual Machine Instance Operating System - An
operating_system
block as defined below. Changing this forces a new resource to be created. - storage
Disks List<VirtualMachine Manager Virtual Machine Instance Storage Disk> A
storage_disk
block as defined below.NOTE: This resource will be restarted while updating
storage_disk
.- system
Center List<String>Virtual Machine Manager Availability Set Ids - A list of IDs of System Center Virtual Machine Manager Availability Set.
- custom
Location stringId - 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
Virtual
Machine Manager Virtual Machine Instance Infrastructure - An
infrastructure
block as defined below. - scoped
Resource stringId - 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
Virtual
Machine Manager Virtual Machine Instance Hardware 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 VirtualMachine Manager Virtual Machine Instance Network Interface[] A
network_interface
block as defined below.NOTE: This resource will be restarted while updating
network_interface
.- operating
System VirtualMachine Manager Virtual Machine Instance Operating System - An
operating_system
block as defined below. Changing this forces a new resource to be created. - storage
Disks VirtualMachine Manager Virtual Machine Instance Storage Disk[] A
storage_disk
block as defined below.NOTE: This resource will be restarted while updating
storage_disk
.- system
Center string[]Virtual Machine Manager Availability Set Ids - A list of IDs of System Center Virtual Machine Manager Availability Set.
- custom_
location_ strid - 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
Virtual
Machine Manager Virtual Machine Instance Infrastructure Args - An
infrastructure
block as defined below. - scoped_
resource_ strid - 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
Virtual
Machine Manager Virtual Machine Instance Hardware Args 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[VirtualMachine Manager Virtual Machine Instance Network Interface Args] A
network_interface
block as defined below.NOTE: This resource will be restarted while updating
network_interface
.- operating_
system VirtualMachine Manager Virtual Machine Instance Operating System Args - An
operating_system
block as defined below. Changing this forces a new resource to be created. - storage_
disks Sequence[VirtualMachine Manager Virtual Machine Instance Storage Disk Args] A
storage_disk
block as defined below.NOTE: This resource will be restarted while updating
storage_disk
.- system_
center_ Sequence[str]virtual_ machine_ manager_ availability_ set_ ids - A list of IDs of System Center Virtual Machine Manager Availability Set.
- custom
Location StringId - 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. - scoped
Resource StringId - 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
.- network
Interfaces List<Property Map> A
network_interface
block as defined below.NOTE: This resource will be restarted while updating
network_interface
.- operating
System Property Map - An
operating_system
block as defined below. Changing this forces a new resource to be created. - storage
Disks List<Property Map> A
storage_disk
block as defined below.NOTE: This resource will be restarted while updating
storage_disk
.- system
Center List<String>Virtual Machine Manager Availability Set Ids - 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.
- Custom
Location stringId - 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
Virtual
Machine Manager Virtual Machine Instance Hardware 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
Virtual
Machine Manager Virtual Machine Instance Infrastructure - An
infrastructure
block as defined below. - Network
Interfaces List<VirtualMachine Manager Virtual Machine Instance Network Interface> A
network_interface
block as defined below.NOTE: This resource will be restarted while updating
network_interface
.- Operating
System VirtualMachine Manager Virtual Machine Instance Operating System - An
operating_system
block as defined below. Changing this forces a new resource to be created. - Scoped
Resource stringId - 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 List<VirtualMachine Manager Virtual Machine Instance Storage Disk> A
storage_disk
block as defined below.NOTE: This resource will be restarted while updating
storage_disk
.- System
Center List<string>Virtual Machine Manager Availability Set Ids - A list of IDs of System Center Virtual Machine Manager Availability Set.
- Custom
Location stringId - 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
Virtual
Machine Manager Virtual Machine Instance Hardware Args 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
Virtual
Machine Manager Virtual Machine Instance Infrastructure Args - An
infrastructure
block as defined below. - Network
Interfaces []VirtualMachine Manager Virtual Machine Instance Network Interface Args A
network_interface
block as defined below.NOTE: This resource will be restarted while updating
network_interface
.- Operating
System VirtualMachine Manager Virtual Machine Instance Operating System Args - An
operating_system
block as defined below. Changing this forces a new resource to be created. - Scoped
Resource stringId - 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 []VirtualMachine Manager Virtual Machine Instance Storage Disk Args A
storage_disk
block as defined below.NOTE: This resource will be restarted while updating
storage_disk
.- System
Center []stringVirtual Machine Manager Availability Set Ids - A list of IDs of System Center Virtual Machine Manager Availability Set.
- custom
Location StringId - 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
Virtual
Machine Manager Virtual Machine Instance Hardware 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
Virtual
Machine Manager Virtual Machine Instance Infrastructure - An
infrastructure
block as defined below. - network
Interfaces List<VirtualMachine Manager Virtual Machine Instance Network Interface> A
network_interface
block as defined below.NOTE: This resource will be restarted while updating
network_interface
.- operating
System VirtualMachine Manager Virtual Machine Instance Operating System - An
operating_system
block as defined below. Changing this forces a new resource to be created. - scoped
Resource StringId - 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 List<VirtualMachine Manager Virtual Machine Instance Storage Disk> A
storage_disk
block as defined below.NOTE: This resource will be restarted while updating
storage_disk
.- system
Center List<String>Virtual Machine Manager Availability Set Ids - A list of IDs of System Center Virtual Machine Manager Availability Set.
- custom
Location stringId - 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
Virtual
Machine Manager Virtual Machine Instance Hardware 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
Virtual
Machine Manager Virtual Machine Instance Infrastructure - An
infrastructure
block as defined below. - network
Interfaces VirtualMachine Manager Virtual Machine Instance Network Interface[] A
network_interface
block as defined below.NOTE: This resource will be restarted while updating
network_interface
.- operating
System VirtualMachine Manager Virtual Machine Instance Operating System - An
operating_system
block as defined below. Changing this forces a new resource to be created. - scoped
Resource stringId - 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 VirtualMachine Manager Virtual Machine Instance Storage Disk[] A
storage_disk
block as defined below.NOTE: This resource will be restarted while updating
storage_disk
.- system
Center string[]Virtual Machine Manager Availability Set Ids - A list of IDs of System Center Virtual Machine Manager Availability Set.
- custom_
location_ strid - 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
Virtual
Machine Manager Virtual Machine Instance Hardware Args 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
Virtual
Machine Manager Virtual Machine Instance Infrastructure Args - An
infrastructure
block as defined below. - network_
interfaces Sequence[VirtualMachine Manager Virtual Machine Instance Network Interface Args] A
network_interface
block as defined below.NOTE: This resource will be restarted while updating
network_interface
.- operating_
system VirtualMachine Manager Virtual Machine Instance Operating System Args - An
operating_system
block as defined below. Changing this forces a new resource to be created. - scoped_
resource_ strid - 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[VirtualMachine Manager Virtual Machine Instance Storage Disk Args] A
storage_disk
block as defined below.NOTE: This resource will be restarted while updating
storage_disk
.- system_
center_ Sequence[str]virtual_ machine_ manager_ availability_ set_ ids - A list of IDs of System Center Virtual Machine Manager Availability Set.
- custom
Location StringId - 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. - network
Interfaces List<Property Map> A
network_interface
block as defined below.NOTE: This resource will be restarted while updating
network_interface
.- operating
System Property Map - An
operating_system
block as defined below. Changing this forces a new resource to be created. - scoped
Resource StringId - 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 List<Property Map> A
storage_disk
block as defined below.NOTE: This resource will be restarted while updating
storage_disk
.- system
Center List<String>Virtual Machine Manager Availability Set Ids - A list of IDs of System Center Virtual Machine Manager Availability Set.
Supporting Types
VirtualMachineManagerVirtualMachineInstanceHardware, VirtualMachineManagerVirtualMachineInstanceHardwareArgs
- Cpu
Count int - The number of vCPUs for the Virtual Machine. Possible values are between
1
and64
. - Dynamic
Memory intMax In Mb - The max dynamic memory for the Virtual Machine. Possible values are between
32
and1048576
. - Dynamic
Memory intMin In Mb - The min dynamic memory for the Virtual Machine. Possible values are between
32
and1048576
. - Limit
Cpu boolFor Migration Enabled - Whether processor compatibility mode for live migration of Virtual Machines is enabled.
- Memory
In intMb - The size of a Virtual Machine's memory. Possible values are between
32
and1048576
.
- Cpu
Count int - The number of vCPUs for the Virtual Machine. Possible values are between
1
and64
. - Dynamic
Memory intMax In Mb - The max dynamic memory for the Virtual Machine. Possible values are between
32
and1048576
. - Dynamic
Memory intMin In Mb - The min dynamic memory for the Virtual Machine. Possible values are between
32
and1048576
. - Limit
Cpu boolFor Migration Enabled - Whether processor compatibility mode for live migration of Virtual Machines is enabled.
- Memory
In intMb - The size of a Virtual Machine's memory. Possible values are between
32
and1048576
.
- cpu
Count Integer - The number of vCPUs for the Virtual Machine. Possible values are between
1
and64
. - dynamic
Memory IntegerMax In Mb - The max dynamic memory for the Virtual Machine. Possible values are between
32
and1048576
. - dynamic
Memory IntegerMin In Mb - The min dynamic memory for the Virtual Machine. Possible values are between
32
and1048576
. - limit
Cpu BooleanFor Migration Enabled - Whether processor compatibility mode for live migration of Virtual Machines is enabled.
- memory
In IntegerMb - The size of a Virtual Machine's memory. Possible values are between
32
and1048576
.
- cpu
Count number - The number of vCPUs for the Virtual Machine. Possible values are between
1
and64
. - dynamic
Memory numberMax In Mb - The max dynamic memory for the Virtual Machine. Possible values are between
32
and1048576
. - dynamic
Memory numberMin In Mb - The min dynamic memory for the Virtual Machine. Possible values are between
32
and1048576
. - limit
Cpu booleanFor Migration Enabled - Whether processor compatibility mode for live migration of Virtual Machines is enabled.
- memory
In numberMb - The size of a Virtual Machine's memory. Possible values are between
32
and1048576
.
- cpu_
count int - The number of vCPUs for the Virtual Machine. Possible values are between
1
and64
. - dynamic_
memory_ intmax_ in_ mb - The max dynamic memory for the Virtual Machine. Possible values are between
32
and1048576
. - dynamic_
memory_ intmin_ in_ mb - The min dynamic memory for the Virtual Machine. Possible values are between
32
and1048576
. - limit_
cpu_ boolfor_ migration_ enabled - Whether processor compatibility mode for live migration of Virtual Machines is enabled.
- memory_
in_ intmb - The size of a Virtual Machine's memory. Possible values are between
32
and1048576
.
- cpu
Count Number - The number of vCPUs for the Virtual Machine. Possible values are between
1
and64
. - dynamic
Memory NumberMax In Mb - The max dynamic memory for the Virtual Machine. Possible values are between
32
and1048576
. - dynamic
Memory NumberMin In Mb - The min dynamic memory for the Virtual Machine. Possible values are between
32
and1048576
. - limit
Cpu BooleanFor Migration Enabled - Whether processor compatibility mode for live migration of Virtual Machines is enabled.
- memory
In NumberMb - The size of a Virtual Machine's memory. Possible values are between
32
and1048576
.
VirtualMachineManagerVirtualMachineInstanceInfrastructure, VirtualMachineManagerVirtualMachineInstanceInfrastructureArgs
- Checkpoint
Type string - The type of checkpoint supported for the Virtual Machine. Possible values are
Disabled
,Production
,ProductionOnly
andStandard
. - System
Center stringVirtual Machine Manager Cloud Id - 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 stringVirtual Machine Manager Inventory Item Id - 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 stringVirtual Machine Manager Template Id - 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 stringVirtual Machine Manager Virtual Machine Server Id - The ID of the System Center Virtual Machine Manager Virtual Machine. Changing this forces a new resource to be created.
- Checkpoint
Type string - The type of checkpoint supported for the Virtual Machine. Possible values are
Disabled
,Production
,ProductionOnly
andStandard
. - System
Center stringVirtual Machine Manager Cloud Id - 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 stringVirtual Machine Manager Inventory Item Id - 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 stringVirtual Machine Manager Template Id - 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 stringVirtual Machine Manager Virtual Machine Server Id - The ID of the System Center Virtual Machine Manager Virtual Machine. Changing this forces a new resource to be created.
- checkpoint
Type String - The type of checkpoint supported for the Virtual Machine. Possible values are
Disabled
,Production
,ProductionOnly
andStandard
. - system
Center StringVirtual Machine Manager Cloud Id - 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 StringVirtual Machine Manager Inventory Item Id - 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 StringVirtual Machine Manager Template Id - 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 StringVirtual Machine Manager Virtual Machine Server Id - The ID of the System Center Virtual Machine Manager Virtual Machine. Changing this forces a new resource to be created.
- checkpoint
Type string - The type of checkpoint supported for the Virtual Machine. Possible values are
Disabled
,Production
,ProductionOnly
andStandard
. - system
Center stringVirtual Machine Manager Cloud Id - 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 stringVirtual Machine Manager Inventory Item Id - 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 stringVirtual Machine Manager Template Id - 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 stringVirtual Machine Manager Virtual Machine Server Id - 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
andStandard
. - system_
center_ strvirtual_ machine_ manager_ cloud_ id - 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_ strvirtual_ machine_ manager_ inventory_ item_ id - 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_ strvirtual_ machine_ manager_ template_ id - 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_ strvirtual_ machine_ manager_ virtual_ machine_ server_ id - The ID of the System Center Virtual Machine Manager Virtual Machine. Changing this forces a new resource to be created.
- checkpoint
Type String - The type of checkpoint supported for the Virtual Machine. Possible values are
Disabled
,Production
,ProductionOnly
andStandard
. - system
Center StringVirtual Machine Manager Cloud Id - 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 StringVirtual Machine Manager Inventory Item Id - 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 StringVirtual Machine Manager Template Id - 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 StringVirtual Machine Manager Virtual Machine Server Id - 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.
- Ipv4Address
Type string - The IPv4 address type. Possible values are
Dynamic
andStatic
. - Ipv6Address
Type string - The IPv6 address type. Possible values are
Dynamic
andStatic
. - Mac
Address stringType - The MAC address type. Possible values are
Dynamic
andStatic
. - Virtual
Network stringId - 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.
- Ipv4Address
Type string - The IPv4 address type. Possible values are
Dynamic
andStatic
. - Ipv6Address
Type string - The IPv6 address type. Possible values are
Dynamic
andStatic
. - Mac
Address stringType - The MAC address type. Possible values are
Dynamic
andStatic
. - Virtual
Network stringId - 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.
- ipv4Address
Type String - The IPv4 address type. Possible values are
Dynamic
andStatic
. - ipv6Address
Type String - The IPv6 address type. Possible values are
Dynamic
andStatic
. - mac
Address StringType - The MAC address type. Possible values are
Dynamic
andStatic
. - virtual
Network StringId - 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.
- ipv4Address
Type string - The IPv4 address type. Possible values are
Dynamic
andStatic
. - ipv6Address
Type string - The IPv6 address type. Possible values are
Dynamic
andStatic
. - mac
Address stringType - The MAC address type. Possible values are
Dynamic
andStatic
. - virtual
Network stringId - 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_ strtype - The IPv4 address type. Possible values are
Dynamic
andStatic
. - ipv6_
address_ strtype - The IPv6 address type. Possible values are
Dynamic
andStatic
. - mac_
address_ strtype - The MAC address type. Possible values are
Dynamic
andStatic
. - virtual_
network_ strid - 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.
- ipv4Address
Type String - The IPv4 address type. Possible values are
Dynamic
andStatic
. - ipv6Address
Type String - The IPv6 address type. Possible values are
Dynamic
andStatic
. - mac
Address StringType - The MAC address type. Possible values are
Dynamic
andStatic
. - virtual
Network StringId - The ID of the System Center Virtual Machine Manager Virtual Network to connect the Network Interface.
VirtualMachineManagerVirtualMachineInstanceOperatingSystem, VirtualMachineManagerVirtualMachineInstanceOperatingSystemArgs
- Computer
Name string - The computer name of the Virtual Machine. Changing this forces a new resource to be created.
- Admin
Password string - The admin password of the Virtual Machine. Changing this forces a new resource to be created.
- Computer
Name string - The computer name of the Virtual Machine. Changing this forces a new resource to be created.
- Admin
Password string - The admin password of the Virtual Machine. Changing this forces a new resource to be created.
- computer
Name String - The computer name of the Virtual Machine. Changing this forces a new resource to be created.
- admin
Password String - The admin password of the Virtual Machine. Changing this forces a new resource to be created.
- computer
Name string - The computer name of the Virtual Machine. Changing this forces a new resource to be created.
- admin
Password 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.
- computer
Name String - The computer name of the Virtual Machine. Changing this forces a new resource to be created.
- admin
Password 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
and3
. - Bus
Type string - The disk bus type. Possible values are
IDE
andSCSI
. - Disk
Size intGb - The disk total size.
- Lun int
- The disk lun. Possible values are between
0
and63
. - Name string
- The name of the disk.
- Storage
Qos stringPolicy Name - The name of the Storage QoS policy.
- Template
Disk stringId - The disk ID in the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
- Vhd
Type string - The disk vhd type. Possible values are
Dynamic
andFixed
.
- Bus int
- The disk bus. Possible values are between
0
and3
. - Bus
Type string - The disk bus type. Possible values are
IDE
andSCSI
. - Disk
Size intGb - The disk total size.
- Lun int
- The disk lun. Possible values are between
0
and63
. - Name string
- The name of the disk.
- Storage
Qos stringPolicy Name - The name of the Storage QoS policy.
- Template
Disk stringId - The disk ID in the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
- Vhd
Type string - The disk vhd type. Possible values are
Dynamic
andFixed
.
- bus Integer
- The disk bus. Possible values are between
0
and3
. - bus
Type String - The disk bus type. Possible values are
IDE
andSCSI
. - disk
Size IntegerGb - The disk total size.
- lun Integer
- The disk lun. Possible values are between
0
and63
. - name String
- The name of the disk.
- storage
Qos StringPolicy Name - The name of the Storage QoS policy.
- template
Disk StringId - The disk ID in the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
- vhd
Type String - The disk vhd type. Possible values are
Dynamic
andFixed
.
- bus number
- The disk bus. Possible values are between
0
and3
. - bus
Type string - The disk bus type. Possible values are
IDE
andSCSI
. - disk
Size numberGb - The disk total size.
- lun number
- The disk lun. Possible values are between
0
and63
. - name string
- The name of the disk.
- storage
Qos stringPolicy Name - The name of the Storage QoS policy.
- template
Disk stringId - The disk ID in the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
- vhd
Type string - The disk vhd type. Possible values are
Dynamic
andFixed
.
- bus int
- The disk bus. Possible values are between
0
and3
. - bus_
type str - The disk bus type. Possible values are
IDE
andSCSI
. - disk_
size_ intgb - The disk total size.
- lun int
- The disk lun. Possible values are between
0
and63
. - name str
- The name of the disk.
- storage_
qos_ strpolicy_ name - The name of the Storage QoS policy.
- template_
disk_ strid - 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
andFixed
.
- bus Number
- The disk bus. Possible values are between
0
and3
. - bus
Type String - The disk bus type. Possible values are
IDE
andSCSI
. - disk
Size NumberGb - The disk total size.
- lun Number
- The disk lun. Possible values are between
0
and63
. - name String
- The name of the disk.
- storage
Qos StringPolicy Name - The name of the Storage QoS policy.
- template
Disk StringId - The disk ID in the System Center Virtual Machine Manager Virtual Machine Template. Changing this forces a new resource to be created.
- vhd
Type String - The disk vhd type. Possible values are
Dynamic
andFixed
.
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.