1. Packages
  2. Azure Native
  3. API Docs
  4. azurestackhci
  5. VirtualMachineInstance
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.azurestackhci.VirtualMachineInstance

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    The virtual machine instance resource definition. Azure REST API version: 2023-07-01-preview.

    Other available API versions: 2023-09-01-preview, 2024-01-01, 2024-02-01-preview.

    Example Usage

    PutVirtualMachineInstanceWithGalleryImage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var virtualMachineInstance = new AzureNative.AzureStackHCI.VirtualMachineInstance("virtualMachineInstance", new()
        {
            ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
                Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,
            },
            HardwareProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileArgs
            {
                VmSize = AzureNative.AzureStackHCI.VmSizeEnum.Default,
            },
            NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs
            {
                NetworkInterfaces = new[]
                {
                    new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkInterfacesArgs
                    {
                        Id = "test-nic",
                    },
                },
            },
            OsProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileArgs
            {
                AdminPassword = "password",
                AdminUsername = "localadmin",
                ComputerName = "luamaster",
            },
            ResourceUri = "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM",
            SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs
            {
                EnableTPM = true,
                UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesUefiSettingsArgs
                {
                    SecureBootEnabled = true,
                },
            },
            StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs
            {
                ImageReference = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesImageReferenceArgs
                {
                    Id = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image",
                },
                VmConfigStoragePathId = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container",
            },
        });
    
    });
    
    package main
    
    import (
    	azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := azurestackhci.NewVirtualMachineInstance(ctx, "virtualMachineInstance", &azurestackhci.VirtualMachineInstanceArgs{
    			ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"),
    				Type: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),
    			},
    			HardwareProfile: &azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs{
    				VmSize: pulumi.String(azurestackhci.VmSizeEnumDefault),
    			},
    			NetworkProfile: &azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{
    				NetworkInterfaces: azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArray{
    					&azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs{
    						Id: pulumi.String("test-nic"),
    					},
    				},
    			},
    			OsProfile: &azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs{
    				AdminPassword: pulumi.String("password"),
    				AdminUsername: pulumi.String("localadmin"),
    				ComputerName:  pulumi.String("luamaster"),
    			},
    			ResourceUri: pulumi.String("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM"),
    			SecurityProfile: &azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{
    				EnableTPM: pulumi.Bool(true),
    				UefiSettings: &azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs{
    					SecureBootEnabled: pulumi.Bool(true),
    				},
    			},
    			StorageProfile: &azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{
    				ImageReference: &azurestackhci.VirtualMachineInstancePropertiesImageReferenceArgs{
    					Id: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image"),
    				},
    				VmConfigStoragePathId: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.azurestackhci.VirtualMachineInstance;
    import com.pulumi.azurenative.azurestackhci.VirtualMachineInstanceArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesHardwareProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesNetworkProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesOsProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesSecurityProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesUefiSettingsArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesImageReferenceArgs;
    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 virtualMachineInstance = new VirtualMachineInstance("virtualMachineInstance", VirtualMachineInstanceArgs.builder()
                .extendedLocation(ExtendedLocationArgs.builder()
                    .name("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location")
                    .type("CustomLocation")
                    .build())
                .hardwareProfile(VirtualMachineInstancePropertiesHardwareProfileArgs.builder()
                    .vmSize("Default")
                    .build())
                .networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()
                    .networkInterfaces(VirtualMachineInstancePropertiesNetworkInterfacesArgs.builder()
                        .id("test-nic")
                        .build())
                    .build())
                .osProfile(VirtualMachineInstancePropertiesOsProfileArgs.builder()
                    .adminPassword("password")
                    .adminUsername("localadmin")
                    .computerName("luamaster")
                    .build())
                .resourceUri("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM")
                .securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()
                    .enableTPM(true)
                    .uefiSettings(VirtualMachineInstancePropertiesUefiSettingsArgs.builder()
                        .secureBootEnabled(true)
                        .build())
                    .build())
                .storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()
                    .imageReference(VirtualMachineInstancePropertiesImageReferenceArgs.builder()
                        .id("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image")
                        .build())
                    .vmConfigStoragePathId("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    virtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstance",
        extended_location=azure_native.azurestackhci.ExtendedLocationArgs(
            name="/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
            type=azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
        ),
        hardware_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs(
            vm_size=azure_native.azurestackhci.VmSizeEnum.DEFAULT,
        ),
        network_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs(
            network_interfaces=[azure_native.azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs(
                id="test-nic",
            )],
        ),
        os_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs(
            admin_password="password",
            admin_username="localadmin",
            computer_name="luamaster",
        ),
        resource_uri="subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM",
        security_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs(
            enable_tpm=True,
            uefi_settings=azure_native.azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs(
                secure_boot_enabled=True,
            ),
        ),
        storage_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs(
            image_reference=azure_native.azurestackhci.VirtualMachineInstancePropertiesImageReferenceArgs(
                id="/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image",
            ),
            vm_config_storage_path_id="/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const virtualMachineInstance = new azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstance", {
        extendedLocation: {
            name: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
            type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,
        },
        hardwareProfile: {
            vmSize: azure_native.azurestackhci.VmSizeEnum.Default,
        },
        networkProfile: {
            networkInterfaces: [{
                id: "test-nic",
            }],
        },
        osProfile: {
            adminPassword: "password",
            adminUsername: "localadmin",
            computerName: "luamaster",
        },
        resourceUri: "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM",
        securityProfile: {
            enableTPM: true,
            uefiSettings: {
                secureBootEnabled: true,
            },
        },
        storageProfile: {
            imageReference: {
                id: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image",
            },
            vmConfigStoragePathId: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container",
        },
    });
    
    resources:
      virtualMachineInstance:
        type: azure-native:azurestackhci:VirtualMachineInstance
        properties:
          extendedLocation:
            name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location
            type: CustomLocation
          hardwareProfile:
            vmSize: Default
          networkProfile:
            networkInterfaces:
              - id: test-nic
          osProfile:
            adminPassword: password
            adminUsername: localadmin
            computerName: luamaster
          resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM
          securityProfile:
            enableTPM: true
            uefiSettings:
              secureBootEnabled: true
          storageProfile:
            imageReference:
              id: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image
            vmConfigStoragePathId: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container
    

    PutVirtualMachineInstanceWithMarketplaceGalleryImage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var virtualMachineInstance = new AzureNative.AzureStackHCI.VirtualMachineInstance("virtualMachineInstance", new()
        {
            ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
                Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,
            },
            HardwareProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileArgs
            {
                VmSize = AzureNative.AzureStackHCI.VmSizeEnum.Default,
            },
            NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs
            {
                NetworkInterfaces = new[]
                {
                    new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkInterfacesArgs
                    {
                        Id = "test-nic",
                    },
                },
            },
            OsProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileArgs
            {
                AdminPassword = "password",
                AdminUsername = "localadmin",
                ComputerName = "luamaster",
            },
            ResourceUri = "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM",
            SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs
            {
                EnableTPM = true,
                UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesUefiSettingsArgs
                {
                    SecureBootEnabled = true,
                },
            },
            StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs
            {
                ImageReference = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesImageReferenceArgs
                {
                    Id = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image",
                },
                VmConfigStoragePathId = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container",
            },
        });
    
    });
    
    package main
    
    import (
    	azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := azurestackhci.NewVirtualMachineInstance(ctx, "virtualMachineInstance", &azurestackhci.VirtualMachineInstanceArgs{
    			ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"),
    				Type: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),
    			},
    			HardwareProfile: &azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs{
    				VmSize: pulumi.String(azurestackhci.VmSizeEnumDefault),
    			},
    			NetworkProfile: &azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{
    				NetworkInterfaces: azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArray{
    					&azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs{
    						Id: pulumi.String("test-nic"),
    					},
    				},
    			},
    			OsProfile: &azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs{
    				AdminPassword: pulumi.String("password"),
    				AdminUsername: pulumi.String("localadmin"),
    				ComputerName:  pulumi.String("luamaster"),
    			},
    			ResourceUri: pulumi.String("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM"),
    			SecurityProfile: &azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{
    				EnableTPM: pulumi.Bool(true),
    				UefiSettings: &azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs{
    					SecureBootEnabled: pulumi.Bool(true),
    				},
    			},
    			StorageProfile: &azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{
    				ImageReference: &azurestackhci.VirtualMachineInstancePropertiesImageReferenceArgs{
    					Id: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image"),
    				},
    				VmConfigStoragePathId: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.azurestackhci.VirtualMachineInstance;
    import com.pulumi.azurenative.azurestackhci.VirtualMachineInstanceArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesHardwareProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesNetworkProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesOsProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesSecurityProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesUefiSettingsArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesImageReferenceArgs;
    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 virtualMachineInstance = new VirtualMachineInstance("virtualMachineInstance", VirtualMachineInstanceArgs.builder()
                .extendedLocation(ExtendedLocationArgs.builder()
                    .name("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location")
                    .type("CustomLocation")
                    .build())
                .hardwareProfile(VirtualMachineInstancePropertiesHardwareProfileArgs.builder()
                    .vmSize("Default")
                    .build())
                .networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()
                    .networkInterfaces(VirtualMachineInstancePropertiesNetworkInterfacesArgs.builder()
                        .id("test-nic")
                        .build())
                    .build())
                .osProfile(VirtualMachineInstancePropertiesOsProfileArgs.builder()
                    .adminPassword("password")
                    .adminUsername("localadmin")
                    .computerName("luamaster")
                    .build())
                .resourceUri("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM")
                .securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()
                    .enableTPM(true)
                    .uefiSettings(VirtualMachineInstancePropertiesUefiSettingsArgs.builder()
                        .secureBootEnabled(true)
                        .build())
                    .build())
                .storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()
                    .imageReference(VirtualMachineInstancePropertiesImageReferenceArgs.builder()
                        .id("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image")
                        .build())
                    .vmConfigStoragePathId("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    virtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstance",
        extended_location=azure_native.azurestackhci.ExtendedLocationArgs(
            name="/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
            type=azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
        ),
        hardware_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs(
            vm_size=azure_native.azurestackhci.VmSizeEnum.DEFAULT,
        ),
        network_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs(
            network_interfaces=[azure_native.azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs(
                id="test-nic",
            )],
        ),
        os_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs(
            admin_password="password",
            admin_username="localadmin",
            computer_name="luamaster",
        ),
        resource_uri="subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM",
        security_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs(
            enable_tpm=True,
            uefi_settings=azure_native.azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs(
                secure_boot_enabled=True,
            ),
        ),
        storage_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs(
            image_reference=azure_native.azurestackhci.VirtualMachineInstancePropertiesImageReferenceArgs(
                id="/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image",
            ),
            vm_config_storage_path_id="/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const virtualMachineInstance = new azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstance", {
        extendedLocation: {
            name: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
            type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,
        },
        hardwareProfile: {
            vmSize: azure_native.azurestackhci.VmSizeEnum.Default,
        },
        networkProfile: {
            networkInterfaces: [{
                id: "test-nic",
            }],
        },
        osProfile: {
            adminPassword: "password",
            adminUsername: "localadmin",
            computerName: "luamaster",
        },
        resourceUri: "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM",
        securityProfile: {
            enableTPM: true,
            uefiSettings: {
                secureBootEnabled: true,
            },
        },
        storageProfile: {
            imageReference: {
                id: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image",
            },
            vmConfigStoragePathId: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container",
        },
    });
    
    resources:
      virtualMachineInstance:
        type: azure-native:azurestackhci:VirtualMachineInstance
        properties:
          extendedLocation:
            name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location
            type: CustomLocation
          hardwareProfile:
            vmSize: Default
          networkProfile:
            networkInterfaces:
              - id: test-nic
          osProfile:
            adminPassword: password
            adminUsername: localadmin
            computerName: luamaster
          resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM
          securityProfile:
            enableTPM: true
            uefiSettings:
              secureBootEnabled: true
          storageProfile:
            imageReference:
              id: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/marketplaceGalleryImages/test-marketplace-gallery-image
            vmConfigStoragePathId: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container
    

    PutVirtualMachineInstanceWithOsDisk

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var virtualMachineInstance = new AzureNative.AzureStackHCI.VirtualMachineInstance("virtualMachineInstance", new()
        {
            ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
                Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,
            },
            HardwareProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileArgs
            {
                VmSize = AzureNative.AzureStackHCI.VmSizeEnum.Default,
            },
            NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs
            {
                NetworkInterfaces = new[]
                {
                    new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkInterfacesArgs
                    {
                        Id = "test-nic",
                    },
                },
            },
            ResourceUri = "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM",
            SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs
            {
                EnableTPM = true,
                UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesUefiSettingsArgs
                {
                    SecureBootEnabled = true,
                },
            },
            StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs
            {
                OsDisk = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsDiskArgs
                {
                    Id = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd",
                },
                VmConfigStoragePathId = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container",
            },
        });
    
    });
    
    package main
    
    import (
    	azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := azurestackhci.NewVirtualMachineInstance(ctx, "virtualMachineInstance", &azurestackhci.VirtualMachineInstanceArgs{
    			ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"),
    				Type: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),
    			},
    			HardwareProfile: &azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs{
    				VmSize: pulumi.String(azurestackhci.VmSizeEnumDefault),
    			},
    			NetworkProfile: &azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{
    				NetworkInterfaces: azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArray{
    					&azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs{
    						Id: pulumi.String("test-nic"),
    					},
    				},
    			},
    			ResourceUri: pulumi.String("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM"),
    			SecurityProfile: &azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{
    				EnableTPM: pulumi.Bool(true),
    				UefiSettings: &azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs{
    					SecureBootEnabled: pulumi.Bool(true),
    				},
    			},
    			StorageProfile: &azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{
    				OsDisk: &azurestackhci.VirtualMachineInstancePropertiesOsDiskArgs{
    					Id: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd"),
    				},
    				VmConfigStoragePathId: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.azurestackhci.VirtualMachineInstance;
    import com.pulumi.azurenative.azurestackhci.VirtualMachineInstanceArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesHardwareProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesNetworkProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesSecurityProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesUefiSettingsArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesOsDiskArgs;
    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 virtualMachineInstance = new VirtualMachineInstance("virtualMachineInstance", VirtualMachineInstanceArgs.builder()
                .extendedLocation(ExtendedLocationArgs.builder()
                    .name("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location")
                    .type("CustomLocation")
                    .build())
                .hardwareProfile(VirtualMachineInstancePropertiesHardwareProfileArgs.builder()
                    .vmSize("Default")
                    .build())
                .networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()
                    .networkInterfaces(VirtualMachineInstancePropertiesNetworkInterfacesArgs.builder()
                        .id("test-nic")
                        .build())
                    .build())
                .resourceUri("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM")
                .securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()
                    .enableTPM(true)
                    .uefiSettings(VirtualMachineInstancePropertiesUefiSettingsArgs.builder()
                        .secureBootEnabled(true)
                        .build())
                    .build())
                .storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()
                    .osDisk(VirtualMachineInstancePropertiesOsDiskArgs.builder()
                        .id("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd")
                        .build())
                    .vmConfigStoragePathId("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    virtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstance",
        extended_location=azure_native.azurestackhci.ExtendedLocationArgs(
            name="/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
            type=azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
        ),
        hardware_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs(
            vm_size=azure_native.azurestackhci.VmSizeEnum.DEFAULT,
        ),
        network_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs(
            network_interfaces=[azure_native.azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs(
                id="test-nic",
            )],
        ),
        resource_uri="subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM",
        security_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs(
            enable_tpm=True,
            uefi_settings=azure_native.azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs(
                secure_boot_enabled=True,
            ),
        ),
        storage_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs(
            os_disk=azure_native.azurestackhci.VirtualMachineInstancePropertiesOsDiskArgs(
                id="/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd",
            ),
            vm_config_storage_path_id="/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const virtualMachineInstance = new azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstance", {
        extendedLocation: {
            name: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
            type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,
        },
        hardwareProfile: {
            vmSize: azure_native.azurestackhci.VmSizeEnum.Default,
        },
        networkProfile: {
            networkInterfaces: [{
                id: "test-nic",
            }],
        },
        resourceUri: "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM",
        securityProfile: {
            enableTPM: true,
            uefiSettings: {
                secureBootEnabled: true,
            },
        },
        storageProfile: {
            osDisk: {
                id: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd",
            },
            vmConfigStoragePathId: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container",
        },
    });
    
    resources:
      virtualMachineInstance:
        type: azure-native:azurestackhci:VirtualMachineInstance
        properties:
          extendedLocation:
            name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location
            type: CustomLocation
          hardwareProfile:
            vmSize: Default
          networkProfile:
            networkInterfaces:
              - id: test-nic
          resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM
          securityProfile:
            enableTPM: true
            uefiSettings:
              secureBootEnabled: true
          storageProfile:
            osDisk:
              id: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd
            vmConfigStoragePathId: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container
    

    PutVirtualMachineInstanceWithVMConfigAgent

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var virtualMachineInstance = new AzureNative.AzureStackHCI.VirtualMachineInstance("virtualMachineInstance", new()
        {
            ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
                Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,
            },
            HardwareProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileArgs
            {
                VmSize = AzureNative.AzureStackHCI.VmSizeEnum.Default,
            },
            NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs
            {
                NetworkInterfaces = new[]
                {
                    new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkInterfacesArgs
                    {
                        Id = "test-nic",
                    },
                },
            },
            OsProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileArgs
            {
                AdminPassword = "password",
                AdminUsername = "localadmin",
                ComputerName = "luamaster",
                WindowsConfiguration = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesWindowsConfigurationArgs
                {
                    ProvisionVMConfigAgent = true,
                },
            },
            ResourceUri = "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM",
            SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs
            {
                EnableTPM = true,
                UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesUefiSettingsArgs
                {
                    SecureBootEnabled = true,
                },
            },
            StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs
            {
                ImageReference = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesImageReferenceArgs
                {
                    Id = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image",
                },
                VmConfigStoragePathId = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container",
            },
        });
    
    });
    
    package main
    
    import (
    	azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := azurestackhci.NewVirtualMachineInstance(ctx, "virtualMachineInstance", &azurestackhci.VirtualMachineInstanceArgs{
    			ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"),
    				Type: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),
    			},
    			HardwareProfile: &azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs{
    				VmSize: pulumi.String(azurestackhci.VmSizeEnumDefault),
    			},
    			NetworkProfile: &azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{
    				NetworkInterfaces: azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArray{
    					&azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs{
    						Id: pulumi.String("test-nic"),
    					},
    				},
    			},
    			OsProfile: &azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs{
    				AdminPassword: pulumi.String("password"),
    				AdminUsername: pulumi.String("localadmin"),
    				ComputerName:  pulumi.String("luamaster"),
    				WindowsConfiguration: &azurestackhci.VirtualMachineInstancePropertiesWindowsConfigurationArgs{
    					ProvisionVMConfigAgent: pulumi.Bool(true),
    				},
    			},
    			ResourceUri: pulumi.String("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM"),
    			SecurityProfile: &azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{
    				EnableTPM: pulumi.Bool(true),
    				UefiSettings: &azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs{
    					SecureBootEnabled: pulumi.Bool(true),
    				},
    			},
    			StorageProfile: &azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{
    				ImageReference: &azurestackhci.VirtualMachineInstancePropertiesImageReferenceArgs{
    					Id: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image"),
    				},
    				VmConfigStoragePathId: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.azurestackhci.VirtualMachineInstance;
    import com.pulumi.azurenative.azurestackhci.VirtualMachineInstanceArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesHardwareProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesNetworkProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesOsProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesWindowsConfigurationArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesSecurityProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesUefiSettingsArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesImageReferenceArgs;
    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 virtualMachineInstance = new VirtualMachineInstance("virtualMachineInstance", VirtualMachineInstanceArgs.builder()
                .extendedLocation(ExtendedLocationArgs.builder()
                    .name("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location")
                    .type("CustomLocation")
                    .build())
                .hardwareProfile(VirtualMachineInstancePropertiesHardwareProfileArgs.builder()
                    .vmSize("Default")
                    .build())
                .networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()
                    .networkInterfaces(VirtualMachineInstancePropertiesNetworkInterfacesArgs.builder()
                        .id("test-nic")
                        .build())
                    .build())
                .osProfile(VirtualMachineInstancePropertiesOsProfileArgs.builder()
                    .adminPassword("password")
                    .adminUsername("localadmin")
                    .computerName("luamaster")
                    .windowsConfiguration(VirtualMachineInstancePropertiesWindowsConfigurationArgs.builder()
                        .provisionVMConfigAgent(true)
                        .build())
                    .build())
                .resourceUri("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM")
                .securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()
                    .enableTPM(true)
                    .uefiSettings(VirtualMachineInstancePropertiesUefiSettingsArgs.builder()
                        .secureBootEnabled(true)
                        .build())
                    .build())
                .storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()
                    .imageReference(VirtualMachineInstancePropertiesImageReferenceArgs.builder()
                        .id("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image")
                        .build())
                    .vmConfigStoragePathId("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    virtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstance",
        extended_location=azure_native.azurestackhci.ExtendedLocationArgs(
            name="/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
            type=azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
        ),
        hardware_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs(
            vm_size=azure_native.azurestackhci.VmSizeEnum.DEFAULT,
        ),
        network_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs(
            network_interfaces=[azure_native.azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs(
                id="test-nic",
            )],
        ),
        os_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs(
            admin_password="password",
            admin_username="localadmin",
            computer_name="luamaster",
            windows_configuration=azure_native.azurestackhci.VirtualMachineInstancePropertiesWindowsConfigurationArgs(
                provision_vm_config_agent=True,
            ),
        ),
        resource_uri="subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM",
        security_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs(
            enable_tpm=True,
            uefi_settings=azure_native.azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs(
                secure_boot_enabled=True,
            ),
        ),
        storage_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs(
            image_reference=azure_native.azurestackhci.VirtualMachineInstancePropertiesImageReferenceArgs(
                id="/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image",
            ),
            vm_config_storage_path_id="/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container",
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const virtualMachineInstance = new azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstance", {
        extendedLocation: {
            name: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
            type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,
        },
        hardwareProfile: {
            vmSize: azure_native.azurestackhci.VmSizeEnum.Default,
        },
        networkProfile: {
            networkInterfaces: [{
                id: "test-nic",
            }],
        },
        osProfile: {
            adminPassword: "password",
            adminUsername: "localadmin",
            computerName: "luamaster",
            windowsConfiguration: {
                provisionVMConfigAgent: true,
            },
        },
        resourceUri: "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM",
        securityProfile: {
            enableTPM: true,
            uefiSettings: {
                secureBootEnabled: true,
            },
        },
        storageProfile: {
            imageReference: {
                id: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image",
            },
            vmConfigStoragePathId: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container",
        },
    });
    
    resources:
      virtualMachineInstance:
        type: azure-native:azurestackhci:VirtualMachineInstance
        properties:
          extendedLocation:
            name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location
            type: CustomLocation
          hardwareProfile:
            vmSize: Default
          networkProfile:
            networkInterfaces:
              - id: test-nic
          osProfile:
            adminPassword: password
            adminUsername: localadmin
            computerName: luamaster
            windowsConfiguration:
              provisionVMConfigAgent: true
          resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/Microsoft.HybridCompute/machines/DemoVM
          securityProfile:
            enableTPM: true
            uefiSettings:
              secureBootEnabled: true
          storageProfile:
            imageReference:
              id: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/galleryImages/test-gallery-image
            vmConfigStoragePathId: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/storageContainers/test-container
    

    Create VirtualMachineInstance Resource

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

    Constructor syntax

    new VirtualMachineInstance(name: string, args: VirtualMachineInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualMachineInstance(resource_name: str,
                               args: VirtualMachineInstanceArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def VirtualMachineInstance(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               resource_uri: Optional[str] = None,
                               extended_location: Optional[ExtendedLocationArgs] = None,
                               hardware_profile: Optional[VirtualMachineInstancePropertiesHardwareProfileArgs] = None,
                               identity: Optional[IdentityArgs] = None,
                               network_profile: Optional[VirtualMachineInstancePropertiesNetworkProfileArgs] = None,
                               os_profile: Optional[VirtualMachineInstancePropertiesOsProfileArgs] = None,
                               resource_uid: Optional[str] = None,
                               security_profile: Optional[VirtualMachineInstancePropertiesSecurityProfileArgs] = None,
                               storage_profile: Optional[VirtualMachineInstancePropertiesStorageProfileArgs] = None)
    func NewVirtualMachineInstance(ctx *Context, name string, args VirtualMachineInstanceArgs, opts ...ResourceOption) (*VirtualMachineInstance, error)
    public VirtualMachineInstance(string name, VirtualMachineInstanceArgs args, CustomResourceOptions? opts = null)
    public VirtualMachineInstance(String name, VirtualMachineInstanceArgs args)
    public VirtualMachineInstance(String name, VirtualMachineInstanceArgs args, CustomResourceOptions options)
    
    type: azure-native:azurestackhci:VirtualMachineInstance
    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 VirtualMachineInstanceArgs
    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 VirtualMachineInstanceArgs
    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 VirtualMachineInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VirtualMachineInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VirtualMachineInstanceArgs
    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 virtualMachineInstanceResource = new AzureNative.AzureStackHCI.VirtualMachineInstance("virtualMachineInstanceResource", new()
    {
        ResourceUri = "string",
        ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
        {
            Name = "string",
            Type = "string",
        },
        HardwareProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileArgs
        {
            DynamicMemoryConfig = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesDynamicMemoryConfigArgs
            {
                MaximumMemoryMB = 0,
                MinimumMemoryMB = 0,
                TargetMemoryBuffer = 0,
            },
            MemoryMB = 0,
            Processors = 0,
            VmSize = "string",
        },
        Identity = new AzureNative.AzureStackHCI.Inputs.IdentityArgs
        {
            Type = AzureNative.AzureStackHCI.ResourceIdentityType.SystemAssigned,
        },
        NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs
        {
            NetworkInterfaces = new[]
            {
                new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkInterfacesArgs
                {
                    Id = "string",
                },
            },
        },
        OsProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileArgs
        {
            AdminPassword = "string",
            AdminUsername = "string",
            ComputerName = "string",
            LinuxConfiguration = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesLinuxConfigurationArgs
            {
                DisablePasswordAuthentication = false,
                ProvisionVMAgent = false,
                ProvisionVMConfigAgent = false,
                Ssh = new AzureNative.AzureStackHCI.Inputs.SshConfigurationArgs
                {
                    PublicKeys = new[]
                    {
                        new AzureNative.AzureStackHCI.Inputs.SshPublicKeyArgs
                        {
                            KeyData = "string",
                            Path = "string",
                        },
                    },
                },
            },
            WindowsConfiguration = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesWindowsConfigurationArgs
            {
                EnableAutomaticUpdates = false,
                ProvisionVMAgent = false,
                ProvisionVMConfigAgent = false,
                Ssh = new AzureNative.AzureStackHCI.Inputs.SshConfigurationArgs
                {
                    PublicKeys = new[]
                    {
                        new AzureNative.AzureStackHCI.Inputs.SshPublicKeyArgs
                        {
                            KeyData = "string",
                            Path = "string",
                        },
                    },
                },
                TimeZone = "string",
            },
        },
        ResourceUid = "string",
        SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs
        {
            EnableTPM = false,
            SecurityType = "string",
            UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesUefiSettingsArgs
            {
                SecureBootEnabled = false,
            },
        },
        StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs
        {
            DataDisks = new[]
            {
                new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesDataDisksArgs
                {
                    Id = "string",
                },
            },
            ImageReference = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesImageReferenceArgs
            {
                Id = "string",
            },
            OsDisk = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsDiskArgs
            {
                Id = "string",
                OsType = AzureNative.AzureStackHCI.OperatingSystemTypes.Linux,
            },
            VmConfigStoragePathId = "string",
        },
    });
    
    example, err := azurestackhci.NewVirtualMachineInstance(ctx, "virtualMachineInstanceResource", &azurestackhci.VirtualMachineInstanceArgs{
    ResourceUri: pulumi.String("string"),
    ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
    Name: pulumi.String("string"),
    Type: pulumi.String("string"),
    },
    HardwareProfile: &azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs{
    DynamicMemoryConfig: &azurestackhci.VirtualMachineInstancePropertiesDynamicMemoryConfigArgs{
    MaximumMemoryMB: pulumi.Float64(0),
    MinimumMemoryMB: pulumi.Float64(0),
    TargetMemoryBuffer: pulumi.Int(0),
    },
    MemoryMB: pulumi.Float64(0),
    Processors: pulumi.Int(0),
    VmSize: pulumi.String("string"),
    },
    Identity: &azurestackhci.IdentityArgs{
    Type: azurestackhci.ResourceIdentityTypeSystemAssigned,
    },
    NetworkProfile: &azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{
    NetworkInterfaces: azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArray{
    &azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs{
    Id: pulumi.String("string"),
    },
    },
    },
    OsProfile: &azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs{
    AdminPassword: pulumi.String("string"),
    AdminUsername: pulumi.String("string"),
    ComputerName: pulumi.String("string"),
    LinuxConfiguration: &azurestackhci.VirtualMachineInstancePropertiesLinuxConfigurationArgs{
    DisablePasswordAuthentication: pulumi.Bool(false),
    ProvisionVMAgent: pulumi.Bool(false),
    ProvisionVMConfigAgent: pulumi.Bool(false),
    Ssh: &azurestackhci.SshConfigurationArgs{
    PublicKeys: azurestackhci.SshPublicKeyArray{
    &azurestackhci.SshPublicKeyArgs{
    KeyData: pulumi.String("string"),
    Path: pulumi.String("string"),
    },
    },
    },
    },
    WindowsConfiguration: &azurestackhci.VirtualMachineInstancePropertiesWindowsConfigurationArgs{
    EnableAutomaticUpdates: pulumi.Bool(false),
    ProvisionVMAgent: pulumi.Bool(false),
    ProvisionVMConfigAgent: pulumi.Bool(false),
    Ssh: &azurestackhci.SshConfigurationArgs{
    PublicKeys: azurestackhci.SshPublicKeyArray{
    &azurestackhci.SshPublicKeyArgs{
    KeyData: pulumi.String("string"),
    Path: pulumi.String("string"),
    },
    },
    },
    TimeZone: pulumi.String("string"),
    },
    },
    ResourceUid: pulumi.String("string"),
    SecurityProfile: &azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{
    EnableTPM: pulumi.Bool(false),
    SecurityType: pulumi.String("string"),
    UefiSettings: &azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs{
    SecureBootEnabled: pulumi.Bool(false),
    },
    },
    StorageProfile: &azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{
    DataDisks: azurestackhci.VirtualMachineInstancePropertiesDataDisksArray{
    &azurestackhci.VirtualMachineInstancePropertiesDataDisksArgs{
    Id: pulumi.String("string"),
    },
    },
    ImageReference: &azurestackhci.VirtualMachineInstancePropertiesImageReferenceArgs{
    Id: pulumi.String("string"),
    },
    OsDisk: &azurestackhci.VirtualMachineInstancePropertiesOsDiskArgs{
    Id: pulumi.String("string"),
    OsType: azurestackhci.OperatingSystemTypesLinux,
    },
    VmConfigStoragePathId: pulumi.String("string"),
    },
    })
    
    var virtualMachineInstanceResource = new VirtualMachineInstance("virtualMachineInstanceResource", VirtualMachineInstanceArgs.builder()
        .resourceUri("string")
        .extendedLocation(ExtendedLocationArgs.builder()
            .name("string")
            .type("string")
            .build())
        .hardwareProfile(VirtualMachineInstancePropertiesHardwareProfileArgs.builder()
            .dynamicMemoryConfig(VirtualMachineInstancePropertiesDynamicMemoryConfigArgs.builder()
                .maximumMemoryMB(0)
                .minimumMemoryMB(0)
                .targetMemoryBuffer(0)
                .build())
            .memoryMB(0)
            .processors(0)
            .vmSize("string")
            .build())
        .identity(IdentityArgs.builder()
            .type("SystemAssigned")
            .build())
        .networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()
            .networkInterfaces(VirtualMachineInstancePropertiesNetworkInterfacesArgs.builder()
                .id("string")
                .build())
            .build())
        .osProfile(VirtualMachineInstancePropertiesOsProfileArgs.builder()
            .adminPassword("string")
            .adminUsername("string")
            .computerName("string")
            .linuxConfiguration(VirtualMachineInstancePropertiesLinuxConfigurationArgs.builder()
                .disablePasswordAuthentication(false)
                .provisionVMAgent(false)
                .provisionVMConfigAgent(false)
                .ssh(SshConfigurationArgs.builder()
                    .publicKeys(SshPublicKeyArgs.builder()
                        .keyData("string")
                        .path("string")
                        .build())
                    .build())
                .build())
            .windowsConfiguration(VirtualMachineInstancePropertiesWindowsConfigurationArgs.builder()
                .enableAutomaticUpdates(false)
                .provisionVMAgent(false)
                .provisionVMConfigAgent(false)
                .ssh(SshConfigurationArgs.builder()
                    .publicKeys(SshPublicKeyArgs.builder()
                        .keyData("string")
                        .path("string")
                        .build())
                    .build())
                .timeZone("string")
                .build())
            .build())
        .resourceUid("string")
        .securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()
            .enableTPM(false)
            .securityType("string")
            .uefiSettings(VirtualMachineInstancePropertiesUefiSettingsArgs.builder()
                .secureBootEnabled(false)
                .build())
            .build())
        .storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()
            .dataDisks(VirtualMachineInstancePropertiesDataDisksArgs.builder()
                .id("string")
                .build())
            .imageReference(VirtualMachineInstancePropertiesImageReferenceArgs.builder()
                .id("string")
                .build())
            .osDisk(VirtualMachineInstancePropertiesOsDiskArgs.builder()
                .id("string")
                .osType("Linux")
                .build())
            .vmConfigStoragePathId("string")
            .build())
        .build());
    
    virtual_machine_instance_resource = azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstanceResource",
        resource_uri="string",
        extended_location=azure_native.azurestackhci.ExtendedLocationArgs(
            name="string",
            type="string",
        ),
        hardware_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs(
            dynamic_memory_config=azure_native.azurestackhci.VirtualMachineInstancePropertiesDynamicMemoryConfigArgs(
                maximum_memory_mb=0,
                minimum_memory_mb=0,
                target_memory_buffer=0,
            ),
            memory_mb=0,
            processors=0,
            vm_size="string",
        ),
        identity=azure_native.azurestackhci.IdentityArgs(
            type=azure_native.azurestackhci.ResourceIdentityType.SYSTEM_ASSIGNED,
        ),
        network_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs(
            network_interfaces=[azure_native.azurestackhci.VirtualMachineInstancePropertiesNetworkInterfacesArgs(
                id="string",
            )],
        ),
        os_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs(
            admin_password="string",
            admin_username="string",
            computer_name="string",
            linux_configuration=azure_native.azurestackhci.VirtualMachineInstancePropertiesLinuxConfigurationArgs(
                disable_password_authentication=False,
                provision_vm_agent=False,
                provision_vm_config_agent=False,
                ssh=azure_native.azurestackhci.SshConfigurationArgs(
                    public_keys=[azure_native.azurestackhci.SshPublicKeyArgs(
                        key_data="string",
                        path="string",
                    )],
                ),
            ),
            windows_configuration=azure_native.azurestackhci.VirtualMachineInstancePropertiesWindowsConfigurationArgs(
                enable_automatic_updates=False,
                provision_vm_agent=False,
                provision_vm_config_agent=False,
                ssh=azure_native.azurestackhci.SshConfigurationArgs(
                    public_keys=[azure_native.azurestackhci.SshPublicKeyArgs(
                        key_data="string",
                        path="string",
                    )],
                ),
                time_zone="string",
            ),
        ),
        resource_uid="string",
        security_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs(
            enable_tpm=False,
            security_type="string",
            uefi_settings=azure_native.azurestackhci.VirtualMachineInstancePropertiesUefiSettingsArgs(
                secure_boot_enabled=False,
            ),
        ),
        storage_profile=azure_native.azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs(
            data_disks=[azure_native.azurestackhci.VirtualMachineInstancePropertiesDataDisksArgs(
                id="string",
            )],
            image_reference=azure_native.azurestackhci.VirtualMachineInstancePropertiesImageReferenceArgs(
                id="string",
            ),
            os_disk=azure_native.azurestackhci.VirtualMachineInstancePropertiesOsDiskArgs(
                id="string",
                os_type=azure_native.azurestackhci.OperatingSystemTypes.LINUX,
            ),
            vm_config_storage_path_id="string",
        ))
    
    const virtualMachineInstanceResource = new azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstanceResource", {
        resourceUri: "string",
        extendedLocation: {
            name: "string",
            type: "string",
        },
        hardwareProfile: {
            dynamicMemoryConfig: {
                maximumMemoryMB: 0,
                minimumMemoryMB: 0,
                targetMemoryBuffer: 0,
            },
            memoryMB: 0,
            processors: 0,
            vmSize: "string",
        },
        identity: {
            type: azure_native.azurestackhci.ResourceIdentityType.SystemAssigned,
        },
        networkProfile: {
            networkInterfaces: [{
                id: "string",
            }],
        },
        osProfile: {
            adminPassword: "string",
            adminUsername: "string",
            computerName: "string",
            linuxConfiguration: {
                disablePasswordAuthentication: false,
                provisionVMAgent: false,
                provisionVMConfigAgent: false,
                ssh: {
                    publicKeys: [{
                        keyData: "string",
                        path: "string",
                    }],
                },
            },
            windowsConfiguration: {
                enableAutomaticUpdates: false,
                provisionVMAgent: false,
                provisionVMConfigAgent: false,
                ssh: {
                    publicKeys: [{
                        keyData: "string",
                        path: "string",
                    }],
                },
                timeZone: "string",
            },
        },
        resourceUid: "string",
        securityProfile: {
            enableTPM: false,
            securityType: "string",
            uefiSettings: {
                secureBootEnabled: false,
            },
        },
        storageProfile: {
            dataDisks: [{
                id: "string",
            }],
            imageReference: {
                id: "string",
            },
            osDisk: {
                id: "string",
                osType: azure_native.azurestackhci.OperatingSystemTypes.Linux,
            },
            vmConfigStoragePathId: "string",
        },
    });
    
    type: azure-native:azurestackhci:VirtualMachineInstance
    properties:
        extendedLocation:
            name: string
            type: string
        hardwareProfile:
            dynamicMemoryConfig:
                maximumMemoryMB: 0
                minimumMemoryMB: 0
                targetMemoryBuffer: 0
            memoryMB: 0
            processors: 0
            vmSize: string
        identity:
            type: SystemAssigned
        networkProfile:
            networkInterfaces:
                - id: string
        osProfile:
            adminPassword: string
            adminUsername: string
            computerName: string
            linuxConfiguration:
                disablePasswordAuthentication: false
                provisionVMAgent: false
                provisionVMConfigAgent: false
                ssh:
                    publicKeys:
                        - keyData: string
                          path: string
            windowsConfiguration:
                enableAutomaticUpdates: false
                provisionVMAgent: false
                provisionVMConfigAgent: false
                ssh:
                    publicKeys:
                        - keyData: string
                          path: string
                timeZone: string
        resourceUid: string
        resourceUri: string
        securityProfile:
            enableTPM: false
            securityType: string
            uefiSettings:
                secureBootEnabled: false
        storageProfile:
            dataDisks:
                - id: string
            imageReference:
                id: string
            osDisk:
                id: string
                osType: Linux
            vmConfigStoragePathId: string
    

    VirtualMachineInstance Resource Properties

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

    Inputs

    The VirtualMachineInstance resource accepts the following input properties:

    ResourceUri string
    The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
    ExtendedLocation Pulumi.AzureNative.AzureStackHCI.Inputs.ExtendedLocation
    The extendedLocation of the resource.
    HardwareProfile Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfile
    HardwareProfile - Specifies the hardware settings for the virtual machine instance.
    Identity Pulumi.AzureNative.AzureStackHCI.Inputs.Identity
    Identity for the resource.
    NetworkProfile Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfile
    NetworkProfile - describes the network configuration the virtual machine instance
    OsProfile Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfile
    OsProfile - describes the configuration of the operating system and sets login data
    ResourceUid string
    Unique identifier defined by ARC to identify the guest of the VM.
    SecurityProfile Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfile
    SecurityProfile - Specifies the security settings for the virtual machine instance.
    StorageProfile Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfile
    StorageProfile - contains information about the disks and storage information for the virtual machine instance
    ResourceUri string
    The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
    ExtendedLocation ExtendedLocationArgs
    The extendedLocation of the resource.
    HardwareProfile VirtualMachineInstancePropertiesHardwareProfileArgs
    HardwareProfile - Specifies the hardware settings for the virtual machine instance.
    Identity IdentityArgs
    Identity for the resource.
    NetworkProfile VirtualMachineInstancePropertiesNetworkProfileArgs
    NetworkProfile - describes the network configuration the virtual machine instance
    OsProfile VirtualMachineInstancePropertiesOsProfileArgs
    OsProfile - describes the configuration of the operating system and sets login data
    ResourceUid string
    Unique identifier defined by ARC to identify the guest of the VM.
    SecurityProfile VirtualMachineInstancePropertiesSecurityProfileArgs
    SecurityProfile - Specifies the security settings for the virtual machine instance.
    StorageProfile VirtualMachineInstancePropertiesStorageProfileArgs
    StorageProfile - contains information about the disks and storage information for the virtual machine instance
    resourceUri String
    The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
    extendedLocation ExtendedLocation
    The extendedLocation of the resource.
    hardwareProfile VirtualMachineInstancePropertiesHardwareProfile
    HardwareProfile - Specifies the hardware settings for the virtual machine instance.
    identity Identity
    Identity for the resource.
    networkProfile VirtualMachineInstancePropertiesNetworkProfile
    NetworkProfile - describes the network configuration the virtual machine instance
    osProfile VirtualMachineInstancePropertiesOsProfile
    OsProfile - describes the configuration of the operating system and sets login data
    resourceUid String
    Unique identifier defined by ARC to identify the guest of the VM.
    securityProfile VirtualMachineInstancePropertiesSecurityProfile
    SecurityProfile - Specifies the security settings for the virtual machine instance.
    storageProfile VirtualMachineInstancePropertiesStorageProfile
    StorageProfile - contains information about the disks and storage information for the virtual machine instance
    resourceUri string
    The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
    extendedLocation ExtendedLocation
    The extendedLocation of the resource.
    hardwareProfile VirtualMachineInstancePropertiesHardwareProfile
    HardwareProfile - Specifies the hardware settings for the virtual machine instance.
    identity Identity
    Identity for the resource.
    networkProfile VirtualMachineInstancePropertiesNetworkProfile
    NetworkProfile - describes the network configuration the virtual machine instance
    osProfile VirtualMachineInstancePropertiesOsProfile
    OsProfile - describes the configuration of the operating system and sets login data
    resourceUid string
    Unique identifier defined by ARC to identify the guest of the VM.
    securityProfile VirtualMachineInstancePropertiesSecurityProfile
    SecurityProfile - Specifies the security settings for the virtual machine instance.
    storageProfile VirtualMachineInstancePropertiesStorageProfile
    StorageProfile - contains information about the disks and storage information for the virtual machine instance
    resource_uri str
    The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
    extended_location ExtendedLocationArgs
    The extendedLocation of the resource.
    hardware_profile VirtualMachineInstancePropertiesHardwareProfileArgs
    HardwareProfile - Specifies the hardware settings for the virtual machine instance.
    identity IdentityArgs
    Identity for the resource.
    network_profile VirtualMachineInstancePropertiesNetworkProfileArgs
    NetworkProfile - describes the network configuration the virtual machine instance
    os_profile VirtualMachineInstancePropertiesOsProfileArgs
    OsProfile - describes the configuration of the operating system and sets login data
    resource_uid str
    Unique identifier defined by ARC to identify the guest of the VM.
    security_profile VirtualMachineInstancePropertiesSecurityProfileArgs
    SecurityProfile - Specifies the security settings for the virtual machine instance.
    storage_profile VirtualMachineInstancePropertiesStorageProfileArgs
    StorageProfile - contains information about the disks and storage information for the virtual machine instance
    resourceUri String
    The fully qualified Azure Resource manager identifier of the Hybrid Compute machine resource to be extended.
    extendedLocation Property Map
    The extendedLocation of the resource.
    hardwareProfile Property Map
    HardwareProfile - Specifies the hardware settings for the virtual machine instance.
    identity Property Map
    Identity for the resource.
    networkProfile Property Map
    NetworkProfile - describes the network configuration the virtual machine instance
    osProfile Property Map
    OsProfile - describes the configuration of the operating system and sets login data
    resourceUid String
    Unique identifier defined by ARC to identify the guest of the VM.
    securityProfile Property Map
    SecurityProfile - Specifies the security settings for the virtual machine instance.
    storageProfile Property Map
    StorageProfile - contains information about the disks and storage information for the virtual machine instance

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceView Pulumi.AzureNative.AzureStackHCI.Outputs.VirtualMachineInstanceViewResponse
    The virtual machine instance view.
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning state of the virtual machine instance.
    Status Pulumi.AzureNative.AzureStackHCI.Outputs.VirtualMachineInstanceStatusResponse
    The observed state of virtual machine instances
    SystemData Pulumi.AzureNative.AzureStackHCI.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    VmId string
    Unique identifier for the vm resource.
    GuestAgentInstallStatus Pulumi.AzureNative.AzureStackHCI.Outputs.GuestAgentInstallStatusResponse
    Guest agent install status.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceView VirtualMachineInstanceViewResponse
    The virtual machine instance view.
    Name string
    The name of the resource
    ProvisioningState string
    Provisioning state of the virtual machine instance.
    Status VirtualMachineInstanceStatusResponse
    The observed state of virtual machine instances
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    VmId string
    Unique identifier for the vm resource.
    GuestAgentInstallStatus GuestAgentInstallStatusResponse
    Guest agent install status.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceView VirtualMachineInstanceViewResponse
    The virtual machine instance view.
    name String
    The name of the resource
    provisioningState String
    Provisioning state of the virtual machine instance.
    status VirtualMachineInstanceStatusResponse
    The observed state of virtual machine instances
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    vmId String
    Unique identifier for the vm resource.
    guestAgentInstallStatus GuestAgentInstallStatusResponse
    Guest agent install status.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceView VirtualMachineInstanceViewResponse
    The virtual machine instance view.
    name string
    The name of the resource
    provisioningState string
    Provisioning state of the virtual machine instance.
    status VirtualMachineInstanceStatusResponse
    The observed state of virtual machine instances
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    vmId string
    Unique identifier for the vm resource.
    guestAgentInstallStatus GuestAgentInstallStatusResponse
    Guest agent install status.
    id str
    The provider-assigned unique ID for this managed resource.
    instance_view VirtualMachineInstanceViewResponse
    The virtual machine instance view.
    name str
    The name of the resource
    provisioning_state str
    Provisioning state of the virtual machine instance.
    status VirtualMachineInstanceStatusResponse
    The observed state of virtual machine instances
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    vm_id str
    Unique identifier for the vm resource.
    guest_agent_install_status GuestAgentInstallStatusResponse
    Guest agent install status.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceView Property Map
    The virtual machine instance view.
    name String
    The name of the resource
    provisioningState String
    Provisioning state of the virtual machine instance.
    status Property Map
    The observed state of virtual machine instances
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    vmId String
    Unique identifier for the vm resource.
    guestAgentInstallStatus Property Map
    Guest agent install status.

    Supporting Types

    ErrorAdditionalInfoResponse, ErrorAdditionalInfoResponseArgs

    Info object
    The additional info.
    Type string
    The additional info type.
    Info interface{}
    The additional info.
    Type string
    The additional info type.
    info Object
    The additional info.
    type String
    The additional info type.
    info any
    The additional info.
    type string
    The additional info type.
    info Any
    The additional info.
    type str
    The additional info type.
    info Any
    The additional info.
    type String
    The additional info type.

    ErrorDetailResponse, ErrorDetailResponseArgs

    AdditionalInfo []ErrorAdditionalInfoResponse
    The error additional info.
    Code string
    The error code.
    Details []ErrorDetailResponse
    The error details.
    Message string
    The error message.
    Target string
    The error target.
    additionalInfo List<ErrorAdditionalInfoResponse>
    The error additional info.
    code String
    The error code.
    details List<ErrorDetailResponse>
    The error details.
    message String
    The error message.
    target String
    The error target.
    additionalInfo ErrorAdditionalInfoResponse[]
    The error additional info.
    code string
    The error code.
    details ErrorDetailResponse[]
    The error details.
    message string
    The error message.
    target string
    The error target.
    additional_info Sequence[ErrorAdditionalInfoResponse]
    The error additional info.
    code str
    The error code.
    details Sequence[ErrorDetailResponse]
    The error details.
    message str
    The error message.
    target str
    The error target.
    additionalInfo List<Property Map>
    The error additional info.
    code String
    The error code.
    details List<Property Map>
    The error details.
    message String
    The error message.
    target String
    The error target.

    ExtendedLocation, ExtendedLocationArgs

    Name string
    The name of the extended location.
    Type string | Pulumi.AzureNative.AzureStackHCI.ExtendedLocationTypes
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string | ExtendedLocationTypes
    The type of the extended location.
    name String
    The name of the extended location.
    type String | ExtendedLocationTypes
    The type of the extended location.
    name string
    The name of the extended location.
    type string | ExtendedLocationTypes
    The type of the extended location.
    name str
    The name of the extended location.
    type str | ExtendedLocationTypes
    The type of the extended location.
    name String
    The name of the extended location.
    type String | "CustomLocation"
    The type of the extended location.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.
    name string
    The name of the extended location.
    type string
    The type of the extended location.
    name str
    The name of the extended location.
    type str
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.

    ExtendedLocationTypes, ExtendedLocationTypesArgs

    CustomLocation
    CustomLocation
    ExtendedLocationTypesCustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CustomLocation
    CUSTOM_LOCATION
    CustomLocation
    "CustomLocation"
    CustomLocation

    GuestAgentInstallStatusResponse, GuestAgentInstallStatusResponseArgs

    AgentVersion string
    The hybrid machine agent full version.
    ErrorDetails List<Pulumi.AzureNative.AzureStackHCI.Inputs.ErrorDetailResponse>
    Details about the error state.
    LastStatusChange string
    The time of the last status change.
    Status string
    The installation status of the hybrid machine agent installation.
    VmUuid string
    Specifies the VM's unique SMBIOS ID.
    AgentVersion string
    The hybrid machine agent full version.
    ErrorDetails []ErrorDetailResponse
    Details about the error state.
    LastStatusChange string
    The time of the last status change.
    Status string
    The installation status of the hybrid machine agent installation.
    VmUuid string
    Specifies the VM's unique SMBIOS ID.
    agentVersion String
    The hybrid machine agent full version.
    errorDetails List<ErrorDetailResponse>
    Details about the error state.
    lastStatusChange String
    The time of the last status change.
    status String
    The installation status of the hybrid machine agent installation.
    vmUuid String
    Specifies the VM's unique SMBIOS ID.
    agentVersion string
    The hybrid machine agent full version.
    errorDetails ErrorDetailResponse[]
    Details about the error state.
    lastStatusChange string
    The time of the last status change.
    status string
    The installation status of the hybrid machine agent installation.
    vmUuid string
    Specifies the VM's unique SMBIOS ID.
    agent_version str
    The hybrid machine agent full version.
    error_details Sequence[ErrorDetailResponse]
    Details about the error state.
    last_status_change str
    The time of the last status change.
    status str
    The installation status of the hybrid machine agent installation.
    vm_uuid str
    Specifies the VM's unique SMBIOS ID.
    agentVersion String
    The hybrid machine agent full version.
    errorDetails List<Property Map>
    Details about the error state.
    lastStatusChange String
    The time of the last status change.
    status String
    The installation status of the hybrid machine agent installation.
    vmUuid String
    Specifies the VM's unique SMBIOS ID.

    Identity, IdentityArgs

    Type ResourceIdentityType
    The identity type.
    type ResourceIdentityType
    The identity type.
    type ResourceIdentityType
    The identity type.
    type ResourceIdentityType
    The identity type.
    type "SystemAssigned"
    The identity type.

    IdentityResponse, IdentityResponseArgs

    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type string
    The identity type.
    PrincipalId string
    The principal ID of resource identity.
    TenantId string
    The tenant ID of resource.
    Type string
    The identity type.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type String
    The identity type.
    principalId string
    The principal ID of resource identity.
    tenantId string
    The tenant ID of resource.
    type string
    The identity type.
    principal_id str
    The principal ID of resource identity.
    tenant_id str
    The tenant ID of resource.
    type str
    The identity type.
    principalId String
    The principal ID of resource identity.
    tenantId String
    The tenant ID of resource.
    type String
    The identity type.

    InstanceViewStatusResponse, InstanceViewStatusResponseArgs

    Code string
    The status code.
    DisplayStatus string
    The short localizable label for the status.
    Level string
    The level code.
    Message string
    The detailed status message, including for alerts and error messages.
    Time string
    The time of the status.
    Code string
    The status code.
    DisplayStatus string
    The short localizable label for the status.
    Level string
    The level code.
    Message string
    The detailed status message, including for alerts and error messages.
    Time string
    The time of the status.
    code String
    The status code.
    displayStatus String
    The short localizable label for the status.
    level String
    The level code.
    message String
    The detailed status message, including for alerts and error messages.
    time String
    The time of the status.
    code string
    The status code.
    displayStatus string
    The short localizable label for the status.
    level string
    The level code.
    message string
    The detailed status message, including for alerts and error messages.
    time string
    The time of the status.
    code str
    The status code.
    display_status str
    The short localizable label for the status.
    level str
    The level code.
    message str
    The detailed status message, including for alerts and error messages.
    time str
    The time of the status.
    code String
    The status code.
    displayStatus String
    The short localizable label for the status.
    level String
    The level code.
    message String
    The detailed status message, including for alerts and error messages.
    time String
    The time of the status.

    OperatingSystemTypes, OperatingSystemTypesArgs

    Linux
    Linux
    Windows
    Windows
    OperatingSystemTypesLinux
    Linux
    OperatingSystemTypesWindows
    Windows
    Linux
    Linux
    Windows
    Windows
    Linux
    Linux
    Windows
    Windows
    LINUX
    Linux
    WINDOWS
    Windows
    "Linux"
    Linux
    "Windows"
    Windows

    ResourceIdentityType, ResourceIdentityTypeArgs

    SystemAssigned
    SystemAssigned
    ResourceIdentityTypeSystemAssigned
    SystemAssigned
    SystemAssigned
    SystemAssigned
    SystemAssigned
    SystemAssigned
    SYSTEM_ASSIGNED
    SystemAssigned
    "SystemAssigned"
    SystemAssigned

    SecurityTypes, SecurityTypesArgs

    TrustedLaunch
    TrustedLaunch
    ConfidentialVM
    ConfidentialVM
    SecurityTypesTrustedLaunch
    TrustedLaunch
    SecurityTypesConfidentialVM
    ConfidentialVM
    TrustedLaunch
    TrustedLaunch
    ConfidentialVM
    ConfidentialVM
    TrustedLaunch
    TrustedLaunch
    ConfidentialVM
    ConfidentialVM
    TRUSTED_LAUNCH
    TrustedLaunch
    CONFIDENTIAL_VM
    ConfidentialVM
    "TrustedLaunch"
    TrustedLaunch
    "ConfidentialVM"
    ConfidentialVM

    SshConfiguration, SshConfigurationArgs

    PublicKeys List<Pulumi.AzureNative.AzureStackHCI.Inputs.SshPublicKey>
    The list of SSH public keys used to authenticate with linux based VMs.
    PublicKeys []SshPublicKey
    The list of SSH public keys used to authenticate with linux based VMs.
    publicKeys List<SshPublicKey>
    The list of SSH public keys used to authenticate with linux based VMs.
    publicKeys SshPublicKey[]
    The list of SSH public keys used to authenticate with linux based VMs.
    public_keys Sequence[SshPublicKey]
    The list of SSH public keys used to authenticate with linux based VMs.
    publicKeys List<Property Map>
    The list of SSH public keys used to authenticate with linux based VMs.

    SshConfigurationResponse, SshConfigurationResponseArgs

    PublicKeys List<Pulumi.AzureNative.AzureStackHCI.Inputs.SshPublicKeyResponse>
    The list of SSH public keys used to authenticate with linux based VMs.
    PublicKeys []SshPublicKeyResponse
    The list of SSH public keys used to authenticate with linux based VMs.
    publicKeys List<SshPublicKeyResponse>
    The list of SSH public keys used to authenticate with linux based VMs.
    publicKeys SshPublicKeyResponse[]
    The list of SSH public keys used to authenticate with linux based VMs.
    public_keys Sequence[SshPublicKeyResponse]
    The list of SSH public keys used to authenticate with linux based VMs.
    publicKeys List<Property Map>
    The list of SSH public keys used to authenticate with linux based VMs.

    SshPublicKey, SshPublicKeyArgs

    KeyData string
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
    Path string
    Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
    KeyData string
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
    Path string
    Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
    keyData String
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
    path String
    Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
    keyData string
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
    path string
    Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
    key_data str
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
    path str
    Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
    keyData String
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
    path String
    Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys

    SshPublicKeyResponse, SshPublicKeyResponseArgs

    KeyData string
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
    Path string
    Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
    KeyData string
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
    Path string
    Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
    keyData String
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
    path String
    Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
    keyData string
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
    path string
    Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
    key_data str
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
    path str
    Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys
    keyData String
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed).
    path String
    Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    VirtualMachineInstancePropertiesDataDisks, VirtualMachineInstancePropertiesDataDisksArgs

    Id string
    Resource ID of the data disk
    Id string
    Resource ID of the data disk
    id String
    Resource ID of the data disk
    id string
    Resource ID of the data disk
    id str
    Resource ID of the data disk
    id String
    Resource ID of the data disk

    VirtualMachineInstancePropertiesDynamicMemoryConfig, VirtualMachineInstancePropertiesDynamicMemoryConfigArgs

    MaximumMemoryMB double
    MinimumMemoryMB double
    TargetMemoryBuffer int
    Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000.
    MaximumMemoryMB float64
    MinimumMemoryMB float64
    TargetMemoryBuffer int
    Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000.
    maximumMemoryMB Double
    minimumMemoryMB Double
    targetMemoryBuffer Integer
    Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000.
    maximumMemoryMB number
    minimumMemoryMB number
    targetMemoryBuffer number
    Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000.
    maximum_memory_mb float
    minimum_memory_mb float
    target_memory_buffer int
    Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000.
    maximumMemoryMB Number
    minimumMemoryMB Number
    targetMemoryBuffer Number
    Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000.

    VirtualMachineInstancePropertiesHardwareProfile, VirtualMachineInstancePropertiesHardwareProfileArgs

    DynamicMemoryConfig VirtualMachineInstancePropertiesDynamicMemoryConfig
    MemoryMB float64
    RAM in MB for the virtual machine instance
    Processors int
    number of processors for the virtual machine instance
    VmSize string | VmSizeEnum
    dynamicMemoryConfig VirtualMachineInstancePropertiesDynamicMemoryConfig
    memoryMB Double
    RAM in MB for the virtual machine instance
    processors Integer
    number of processors for the virtual machine instance
    vmSize String | VmSizeEnum
    dynamicMemoryConfig VirtualMachineInstancePropertiesDynamicMemoryConfig
    memoryMB number
    RAM in MB for the virtual machine instance
    processors number
    number of processors for the virtual machine instance
    vmSize string | VmSizeEnum
    dynamic_memory_config VirtualMachineInstancePropertiesDynamicMemoryConfig
    memory_mb float
    RAM in MB for the virtual machine instance
    processors int
    number of processors for the virtual machine instance
    vm_size str | VmSizeEnum

    VirtualMachineInstancePropertiesImageReference, VirtualMachineInstancePropertiesImageReferenceArgs

    Id string
    Resource ID of the image
    Id string
    Resource ID of the image
    id String
    Resource ID of the image
    id string
    Resource ID of the image
    id str
    Resource ID of the image
    id String
    Resource ID of the image

    VirtualMachineInstancePropertiesLinuxConfiguration, VirtualMachineInstancePropertiesLinuxConfigurationArgs

    DisablePasswordAuthentication bool
    DisablePasswordAuthentication - whether password authentication should be disabled
    ProvisionVMAgent bool
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    ProvisionVMConfigAgent bool
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    Ssh Pulumi.AzureNative.AzureStackHCI.Inputs.SshConfiguration
    Specifies the ssh key configuration for a Linux OS.
    DisablePasswordAuthentication bool
    DisablePasswordAuthentication - whether password authentication should be disabled
    ProvisionVMAgent bool
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    ProvisionVMConfigAgent bool
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    Ssh SshConfiguration
    Specifies the ssh key configuration for a Linux OS.
    disablePasswordAuthentication Boolean
    DisablePasswordAuthentication - whether password authentication should be disabled
    provisionVMAgent Boolean
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provisionVMConfigAgent Boolean
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh SshConfiguration
    Specifies the ssh key configuration for a Linux OS.
    disablePasswordAuthentication boolean
    DisablePasswordAuthentication - whether password authentication should be disabled
    provisionVMAgent boolean
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provisionVMConfigAgent boolean
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh SshConfiguration
    Specifies the ssh key configuration for a Linux OS.
    disable_password_authentication bool
    DisablePasswordAuthentication - whether password authentication should be disabled
    provision_vm_agent bool
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provision_vm_config_agent bool
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh SshConfiguration
    Specifies the ssh key configuration for a Linux OS.
    disablePasswordAuthentication Boolean
    DisablePasswordAuthentication - whether password authentication should be disabled
    provisionVMAgent Boolean
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provisionVMConfigAgent Boolean
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh Property Map
    Specifies the ssh key configuration for a Linux OS.

    VirtualMachineInstancePropertiesNetworkInterfaces, VirtualMachineInstancePropertiesNetworkInterfacesArgs

    Id string
    ID - Resource Id of the network interface
    Id string
    ID - Resource Id of the network interface
    id String
    ID - Resource Id of the network interface
    id string
    ID - Resource Id of the network interface
    id str
    ID - Resource Id of the network interface
    id String
    ID - Resource Id of the network interface

    VirtualMachineInstancePropertiesNetworkProfile, VirtualMachineInstancePropertiesNetworkProfileArgs

    NetworkInterfaces List<Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkInterfaces>
    NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
    NetworkInterfaces []VirtualMachineInstancePropertiesNetworkInterfaces
    NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
    networkInterfaces List<VirtualMachineInstancePropertiesNetworkInterfaces>
    NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
    networkInterfaces VirtualMachineInstancePropertiesNetworkInterfaces[]
    NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
    network_interfaces Sequence[VirtualMachineInstancePropertiesNetworkInterfaces]
    NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
    networkInterfaces List<Property Map>
    NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance

    VirtualMachineInstancePropertiesOsDisk, VirtualMachineInstancePropertiesOsDiskArgs

    Id string
    Resource ID of the OS disk
    OsType Pulumi.AzureNative.AzureStackHCI.OperatingSystemTypes
    This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
    Id string
    Resource ID of the OS disk
    OsType OperatingSystemTypes
    This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
    id String
    Resource ID of the OS disk
    osType OperatingSystemTypes
    This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
    id string
    Resource ID of the OS disk
    osType OperatingSystemTypes
    This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
    id str
    Resource ID of the OS disk
    os_type OperatingSystemTypes
    This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
    id String
    Resource ID of the OS disk
    osType "Linux" | "Windows"
    This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.

    VirtualMachineInstancePropertiesOsProfile, VirtualMachineInstancePropertiesOsProfileArgs

    AdminPassword string
    AdminPassword - admin password
    AdminUsername string
    AdminUsername - admin username
    ComputerName string
    ComputerName - name of the compute
    LinuxConfiguration Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesLinuxConfiguration
    LinuxConfiguration - linux specific configuration values for the virtual machine instance
    WindowsConfiguration Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesWindowsConfiguration
    Windows Configuration for the virtual machine instance
    AdminPassword string
    AdminPassword - admin password
    AdminUsername string
    AdminUsername - admin username
    ComputerName string
    ComputerName - name of the compute
    LinuxConfiguration VirtualMachineInstancePropertiesLinuxConfiguration
    LinuxConfiguration - linux specific configuration values for the virtual machine instance
    WindowsConfiguration VirtualMachineInstancePropertiesWindowsConfiguration
    Windows Configuration for the virtual machine instance
    adminPassword String
    AdminPassword - admin password
    adminUsername String
    AdminUsername - admin username
    computerName String
    ComputerName - name of the compute
    linuxConfiguration VirtualMachineInstancePropertiesLinuxConfiguration
    LinuxConfiguration - linux specific configuration values for the virtual machine instance
    windowsConfiguration VirtualMachineInstancePropertiesWindowsConfiguration
    Windows Configuration for the virtual machine instance
    adminPassword string
    AdminPassword - admin password
    adminUsername string
    AdminUsername - admin username
    computerName string
    ComputerName - name of the compute
    linuxConfiguration VirtualMachineInstancePropertiesLinuxConfiguration
    LinuxConfiguration - linux specific configuration values for the virtual machine instance
    windowsConfiguration VirtualMachineInstancePropertiesWindowsConfiguration
    Windows Configuration for the virtual machine instance
    admin_password str
    AdminPassword - admin password
    admin_username str
    AdminUsername - admin username
    computer_name str
    ComputerName - name of the compute
    linux_configuration VirtualMachineInstancePropertiesLinuxConfiguration
    LinuxConfiguration - linux specific configuration values for the virtual machine instance
    windows_configuration VirtualMachineInstancePropertiesWindowsConfiguration
    Windows Configuration for the virtual machine instance
    adminPassword String
    AdminPassword - admin password
    adminUsername String
    AdminUsername - admin username
    computerName String
    ComputerName - name of the compute
    linuxConfiguration Property Map
    LinuxConfiguration - linux specific configuration values for the virtual machine instance
    windowsConfiguration Property Map
    Windows Configuration for the virtual machine instance

    VirtualMachineInstancePropertiesResponseDataDisks, VirtualMachineInstancePropertiesResponseDataDisksArgs

    Id string
    Resource ID of the data disk
    Id string
    Resource ID of the data disk
    id String
    Resource ID of the data disk
    id string
    Resource ID of the data disk
    id str
    Resource ID of the data disk
    id String
    Resource ID of the data disk

    VirtualMachineInstancePropertiesResponseDynamicMemoryConfig, VirtualMachineInstancePropertiesResponseDynamicMemoryConfigArgs

    MaximumMemoryMB double
    MinimumMemoryMB double
    TargetMemoryBuffer int
    Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000.
    MaximumMemoryMB float64
    MinimumMemoryMB float64
    TargetMemoryBuffer int
    Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000.
    maximumMemoryMB Double
    minimumMemoryMB Double
    targetMemoryBuffer Integer
    Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000.
    maximumMemoryMB number
    minimumMemoryMB number
    targetMemoryBuffer number
    Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000.
    maximum_memory_mb float
    minimum_memory_mb float
    target_memory_buffer int
    Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000.
    maximumMemoryMB Number
    minimumMemoryMB Number
    targetMemoryBuffer Number
    Defines the amount of extra memory that should be reserved for a virtual machine instance at runtime, as a percentage of the total memory that the virtual machine instance is thought to need. This only applies to virtual systems with dynamic memory enabled. This property can be in the range of 5 to 2000.

    VirtualMachineInstancePropertiesResponseHardwareProfile, VirtualMachineInstancePropertiesResponseHardwareProfileArgs

    DynamicMemoryConfig Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesResponseDynamicMemoryConfig
    MemoryMB double
    RAM in MB for the virtual machine instance
    Processors int
    number of processors for the virtual machine instance
    VmSize string
    DynamicMemoryConfig VirtualMachineInstancePropertiesResponseDynamicMemoryConfig
    MemoryMB float64
    RAM in MB for the virtual machine instance
    Processors int
    number of processors for the virtual machine instance
    VmSize string
    dynamicMemoryConfig VirtualMachineInstancePropertiesResponseDynamicMemoryConfig
    memoryMB Double
    RAM in MB for the virtual machine instance
    processors Integer
    number of processors for the virtual machine instance
    vmSize String
    dynamicMemoryConfig VirtualMachineInstancePropertiesResponseDynamicMemoryConfig
    memoryMB number
    RAM in MB for the virtual machine instance
    processors number
    number of processors for the virtual machine instance
    vmSize string
    dynamic_memory_config VirtualMachineInstancePropertiesResponseDynamicMemoryConfig
    memory_mb float
    RAM in MB for the virtual machine instance
    processors int
    number of processors for the virtual machine instance
    vm_size str
    dynamicMemoryConfig Property Map
    memoryMB Number
    RAM in MB for the virtual machine instance
    processors Number
    number of processors for the virtual machine instance
    vmSize String

    VirtualMachineInstancePropertiesResponseImageReference, VirtualMachineInstancePropertiesResponseImageReferenceArgs

    Id string
    Resource ID of the image
    Id string
    Resource ID of the image
    id String
    Resource ID of the image
    id string
    Resource ID of the image
    id str
    Resource ID of the image
    id String
    Resource ID of the image

    VirtualMachineInstancePropertiesResponseLinuxConfiguration, VirtualMachineInstancePropertiesResponseLinuxConfigurationArgs

    DisablePasswordAuthentication bool
    DisablePasswordAuthentication - whether password authentication should be disabled
    ProvisionVMAgent bool
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    ProvisionVMConfigAgent bool
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    Ssh Pulumi.AzureNative.AzureStackHCI.Inputs.SshConfigurationResponse
    Specifies the ssh key configuration for a Linux OS.
    DisablePasswordAuthentication bool
    DisablePasswordAuthentication - whether password authentication should be disabled
    ProvisionVMAgent bool
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    ProvisionVMConfigAgent bool
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    Ssh SshConfigurationResponse
    Specifies the ssh key configuration for a Linux OS.
    disablePasswordAuthentication Boolean
    DisablePasswordAuthentication - whether password authentication should be disabled
    provisionVMAgent Boolean
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provisionVMConfigAgent Boolean
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh SshConfigurationResponse
    Specifies the ssh key configuration for a Linux OS.
    disablePasswordAuthentication boolean
    DisablePasswordAuthentication - whether password authentication should be disabled
    provisionVMAgent boolean
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provisionVMConfigAgent boolean
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh SshConfigurationResponse
    Specifies the ssh key configuration for a Linux OS.
    disable_password_authentication bool
    DisablePasswordAuthentication - whether password authentication should be disabled
    provision_vm_agent bool
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provision_vm_config_agent bool
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh SshConfigurationResponse
    Specifies the ssh key configuration for a Linux OS.
    disablePasswordAuthentication Boolean
    DisablePasswordAuthentication - whether password authentication should be disabled
    provisionVMAgent Boolean
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provisionVMConfigAgent Boolean
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh Property Map
    Specifies the ssh key configuration for a Linux OS.

    VirtualMachineInstancePropertiesResponseNetworkInterfaces, VirtualMachineInstancePropertiesResponseNetworkInterfacesArgs

    Id string
    ID - Resource Id of the network interface
    Id string
    ID - Resource Id of the network interface
    id String
    ID - Resource Id of the network interface
    id string
    ID - Resource Id of the network interface
    id str
    ID - Resource Id of the network interface
    id String
    ID - Resource Id of the network interface

    VirtualMachineInstancePropertiesResponseNetworkProfile, VirtualMachineInstancePropertiesResponseNetworkProfileArgs

    NetworkInterfaces List<Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesResponseNetworkInterfaces>
    NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
    NetworkInterfaces []VirtualMachineInstancePropertiesResponseNetworkInterfaces
    NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
    networkInterfaces List<VirtualMachineInstancePropertiesResponseNetworkInterfaces>
    NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
    networkInterfaces VirtualMachineInstancePropertiesResponseNetworkInterfaces[]
    NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
    network_interfaces Sequence[VirtualMachineInstancePropertiesResponseNetworkInterfaces]
    NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
    networkInterfaces List<Property Map>
    NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance

    VirtualMachineInstancePropertiesResponseOsDisk, VirtualMachineInstancePropertiesResponseOsDiskArgs

    Id string
    Resource ID of the OS disk
    OsType string
    This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
    Id string
    Resource ID of the OS disk
    OsType string
    This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
    id String
    Resource ID of the OS disk
    osType String
    This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
    id string
    Resource ID of the OS disk
    osType string
    This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
    id str
    Resource ID of the OS disk
    os_type str
    This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.
    id String
    Resource ID of the OS disk
    osType String
    This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.

    VirtualMachineInstancePropertiesResponseOsProfile, VirtualMachineInstancePropertiesResponseOsProfileArgs

    AdminUsername string
    AdminUsername - admin username
    ComputerName string
    ComputerName - name of the compute
    LinuxConfiguration Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesResponseLinuxConfiguration
    LinuxConfiguration - linux specific configuration values for the virtual machine instance
    WindowsConfiguration Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesResponseWindowsConfiguration
    Windows Configuration for the virtual machine instance
    AdminUsername string
    AdminUsername - admin username
    ComputerName string
    ComputerName - name of the compute
    LinuxConfiguration VirtualMachineInstancePropertiesResponseLinuxConfiguration
    LinuxConfiguration - linux specific configuration values for the virtual machine instance
    WindowsConfiguration VirtualMachineInstancePropertiesResponseWindowsConfiguration
    Windows Configuration for the virtual machine instance
    adminUsername String
    AdminUsername - admin username
    computerName String
    ComputerName - name of the compute
    linuxConfiguration VirtualMachineInstancePropertiesResponseLinuxConfiguration
    LinuxConfiguration - linux specific configuration values for the virtual machine instance
    windowsConfiguration VirtualMachineInstancePropertiesResponseWindowsConfiguration
    Windows Configuration for the virtual machine instance
    adminUsername string
    AdminUsername - admin username
    computerName string
    ComputerName - name of the compute
    linuxConfiguration VirtualMachineInstancePropertiesResponseLinuxConfiguration
    LinuxConfiguration - linux specific configuration values for the virtual machine instance
    windowsConfiguration VirtualMachineInstancePropertiesResponseWindowsConfiguration
    Windows Configuration for the virtual machine instance
    admin_username str
    AdminUsername - admin username
    computer_name str
    ComputerName - name of the compute
    linux_configuration VirtualMachineInstancePropertiesResponseLinuxConfiguration
    LinuxConfiguration - linux specific configuration values for the virtual machine instance
    windows_configuration VirtualMachineInstancePropertiesResponseWindowsConfiguration
    Windows Configuration for the virtual machine instance
    adminUsername String
    AdminUsername - admin username
    computerName String
    ComputerName - name of the compute
    linuxConfiguration Property Map
    LinuxConfiguration - linux specific configuration values for the virtual machine instance
    windowsConfiguration Property Map
    Windows Configuration for the virtual machine instance

    VirtualMachineInstancePropertiesResponseSecurityProfile, VirtualMachineInstancePropertiesResponseSecurityProfileArgs

    EnableTPM bool
    SecurityType string
    Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
    UefiSettings Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesResponseUefiSettings
    EnableTPM bool
    SecurityType string
    Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
    UefiSettings VirtualMachineInstancePropertiesResponseUefiSettings
    enableTPM Boolean
    securityType String
    Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
    uefiSettings VirtualMachineInstancePropertiesResponseUefiSettings
    enableTPM boolean
    securityType string
    Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
    uefiSettings VirtualMachineInstancePropertiesResponseUefiSettings
    enable_tpm bool
    security_type str
    Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
    uefi_settings VirtualMachineInstancePropertiesResponseUefiSettings
    enableTPM Boolean
    securityType String
    Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
    uefiSettings Property Map

    VirtualMachineInstancePropertiesResponseStorageProfile, VirtualMachineInstancePropertiesResponseStorageProfileArgs

    DataDisks []VirtualMachineInstancePropertiesResponseDataDisks
    adds data disks to the virtual machine instance
    ImageReference VirtualMachineInstancePropertiesResponseImageReference
    Which Image to use for the virtual machine instance
    OsDisk VirtualMachineInstancePropertiesResponseOsDisk
    VHD to attach as OS disk
    VmConfigStoragePathId string
    Id of the storage container that hosts the VM configuration file
    dataDisks List<VirtualMachineInstancePropertiesResponseDataDisks>
    adds data disks to the virtual machine instance
    imageReference VirtualMachineInstancePropertiesResponseImageReference
    Which Image to use for the virtual machine instance
    osDisk VirtualMachineInstancePropertiesResponseOsDisk
    VHD to attach as OS disk
    vmConfigStoragePathId String
    Id of the storage container that hosts the VM configuration file
    dataDisks VirtualMachineInstancePropertiesResponseDataDisks[]
    adds data disks to the virtual machine instance
    imageReference VirtualMachineInstancePropertiesResponseImageReference
    Which Image to use for the virtual machine instance
    osDisk VirtualMachineInstancePropertiesResponseOsDisk
    VHD to attach as OS disk
    vmConfigStoragePathId string
    Id of the storage container that hosts the VM configuration file
    data_disks Sequence[VirtualMachineInstancePropertiesResponseDataDisks]
    adds data disks to the virtual machine instance
    image_reference VirtualMachineInstancePropertiesResponseImageReference
    Which Image to use for the virtual machine instance
    os_disk VirtualMachineInstancePropertiesResponseOsDisk
    VHD to attach as OS disk
    vm_config_storage_path_id str
    Id of the storage container that hosts the VM configuration file
    dataDisks List<Property Map>
    adds data disks to the virtual machine instance
    imageReference Property Map
    Which Image to use for the virtual machine instance
    osDisk Property Map
    VHD to attach as OS disk
    vmConfigStoragePathId String
    Id of the storage container that hosts the VM configuration file

    VirtualMachineInstancePropertiesResponseUefiSettings, VirtualMachineInstancePropertiesResponseUefiSettingsArgs

    SecureBootEnabled bool
    Specifies whether secure boot should be enabled on the virtual machine instance.
    SecureBootEnabled bool
    Specifies whether secure boot should be enabled on the virtual machine instance.
    secureBootEnabled Boolean
    Specifies whether secure boot should be enabled on the virtual machine instance.
    secureBootEnabled boolean
    Specifies whether secure boot should be enabled on the virtual machine instance.
    secure_boot_enabled bool
    Specifies whether secure boot should be enabled on the virtual machine instance.
    secureBootEnabled Boolean
    Specifies whether secure boot should be enabled on the virtual machine instance.

    VirtualMachineInstancePropertiesResponseWindowsConfiguration, VirtualMachineInstancePropertiesResponseWindowsConfigurationArgs

    EnableAutomaticUpdates bool
    Whether to EnableAutomaticUpdates on the machine
    ProvisionVMAgent bool
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    ProvisionVMConfigAgent bool
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    Ssh Pulumi.AzureNative.AzureStackHCI.Inputs.SshConfigurationResponse
    Specifies the ssh key configuration for Windows OS.
    TimeZone string
    TimeZone for the virtual machine instance
    EnableAutomaticUpdates bool
    Whether to EnableAutomaticUpdates on the machine
    ProvisionVMAgent bool
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    ProvisionVMConfigAgent bool
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    Ssh SshConfigurationResponse
    Specifies the ssh key configuration for Windows OS.
    TimeZone string
    TimeZone for the virtual machine instance
    enableAutomaticUpdates Boolean
    Whether to EnableAutomaticUpdates on the machine
    provisionVMAgent Boolean
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provisionVMConfigAgent Boolean
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh SshConfigurationResponse
    Specifies the ssh key configuration for Windows OS.
    timeZone String
    TimeZone for the virtual machine instance
    enableAutomaticUpdates boolean
    Whether to EnableAutomaticUpdates on the machine
    provisionVMAgent boolean
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provisionVMConfigAgent boolean
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh SshConfigurationResponse
    Specifies the ssh key configuration for Windows OS.
    timeZone string
    TimeZone for the virtual machine instance
    enable_automatic_updates bool
    Whether to EnableAutomaticUpdates on the machine
    provision_vm_agent bool
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provision_vm_config_agent bool
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh SshConfigurationResponse
    Specifies the ssh key configuration for Windows OS.
    time_zone str
    TimeZone for the virtual machine instance
    enableAutomaticUpdates Boolean
    Whether to EnableAutomaticUpdates on the machine
    provisionVMAgent Boolean
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provisionVMConfigAgent Boolean
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh Property Map
    Specifies the ssh key configuration for Windows OS.
    timeZone String
    TimeZone for the virtual machine instance

    VirtualMachineInstancePropertiesSecurityProfile, VirtualMachineInstancePropertiesSecurityProfileArgs

    EnableTPM bool
    SecurityType string | Pulumi.AzureNative.AzureStackHCI.SecurityTypes
    Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
    UefiSettings Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesUefiSettings
    EnableTPM bool
    SecurityType string | SecurityTypes
    Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
    UefiSettings VirtualMachineInstancePropertiesUefiSettings
    enableTPM Boolean
    securityType String | SecurityTypes
    Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
    uefiSettings VirtualMachineInstancePropertiesUefiSettings
    enableTPM boolean
    securityType string | SecurityTypes
    Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
    uefiSettings VirtualMachineInstancePropertiesUefiSettings
    enable_tpm bool
    security_type str | SecurityTypes
    Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
    uefi_settings VirtualMachineInstancePropertiesUefiSettings
    enableTPM Boolean
    securityType String | "TrustedLaunch" | "ConfidentialVM"
    Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
    uefiSettings Property Map

    VirtualMachineInstancePropertiesStorageProfile, VirtualMachineInstancePropertiesStorageProfileArgs

    DataDisks []VirtualMachineInstancePropertiesDataDisks
    adds data disks to the virtual machine instance
    ImageReference VirtualMachineInstancePropertiesImageReference
    Which Image to use for the virtual machine instance
    OsDisk VirtualMachineInstancePropertiesOsDisk
    VHD to attach as OS disk
    VmConfigStoragePathId string
    Id of the storage container that hosts the VM configuration file
    dataDisks List<VirtualMachineInstancePropertiesDataDisks>
    adds data disks to the virtual machine instance
    imageReference VirtualMachineInstancePropertiesImageReference
    Which Image to use for the virtual machine instance
    osDisk VirtualMachineInstancePropertiesOsDisk
    VHD to attach as OS disk
    vmConfigStoragePathId String
    Id of the storage container that hosts the VM configuration file
    dataDisks VirtualMachineInstancePropertiesDataDisks[]
    adds data disks to the virtual machine instance
    imageReference VirtualMachineInstancePropertiesImageReference
    Which Image to use for the virtual machine instance
    osDisk VirtualMachineInstancePropertiesOsDisk
    VHD to attach as OS disk
    vmConfigStoragePathId string
    Id of the storage container that hosts the VM configuration file
    data_disks Sequence[VirtualMachineInstancePropertiesDataDisks]
    adds data disks to the virtual machine instance
    image_reference VirtualMachineInstancePropertiesImageReference
    Which Image to use for the virtual machine instance
    os_disk VirtualMachineInstancePropertiesOsDisk
    VHD to attach as OS disk
    vm_config_storage_path_id str
    Id of the storage container that hosts the VM configuration file
    dataDisks List<Property Map>
    adds data disks to the virtual machine instance
    imageReference Property Map
    Which Image to use for the virtual machine instance
    osDisk Property Map
    VHD to attach as OS disk
    vmConfigStoragePathId String
    Id of the storage container that hosts the VM configuration file

    VirtualMachineInstancePropertiesUefiSettings, VirtualMachineInstancePropertiesUefiSettingsArgs

    SecureBootEnabled bool
    Specifies whether secure boot should be enabled on the virtual machine instance.
    SecureBootEnabled bool
    Specifies whether secure boot should be enabled on the virtual machine instance.
    secureBootEnabled Boolean
    Specifies whether secure boot should be enabled on the virtual machine instance.
    secureBootEnabled boolean
    Specifies whether secure boot should be enabled on the virtual machine instance.
    secure_boot_enabled bool
    Specifies whether secure boot should be enabled on the virtual machine instance.
    secureBootEnabled Boolean
    Specifies whether secure boot should be enabled on the virtual machine instance.

    VirtualMachineInstancePropertiesWindowsConfiguration, VirtualMachineInstancePropertiesWindowsConfigurationArgs

    EnableAutomaticUpdates bool
    Whether to EnableAutomaticUpdates on the machine
    ProvisionVMAgent bool
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    ProvisionVMConfigAgent bool
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    Ssh Pulumi.AzureNative.AzureStackHCI.Inputs.SshConfiguration
    Specifies the ssh key configuration for Windows OS.
    TimeZone string
    TimeZone for the virtual machine instance
    EnableAutomaticUpdates bool
    Whether to EnableAutomaticUpdates on the machine
    ProvisionVMAgent bool
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    ProvisionVMConfigAgent bool
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    Ssh SshConfiguration
    Specifies the ssh key configuration for Windows OS.
    TimeZone string
    TimeZone for the virtual machine instance
    enableAutomaticUpdates Boolean
    Whether to EnableAutomaticUpdates on the machine
    provisionVMAgent Boolean
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provisionVMConfigAgent Boolean
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh SshConfiguration
    Specifies the ssh key configuration for Windows OS.
    timeZone String
    TimeZone for the virtual machine instance
    enableAutomaticUpdates boolean
    Whether to EnableAutomaticUpdates on the machine
    provisionVMAgent boolean
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provisionVMConfigAgent boolean
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh SshConfiguration
    Specifies the ssh key configuration for Windows OS.
    timeZone string
    TimeZone for the virtual machine instance
    enable_automatic_updates bool
    Whether to EnableAutomaticUpdates on the machine
    provision_vm_agent bool
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provision_vm_config_agent bool
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh SshConfiguration
    Specifies the ssh key configuration for Windows OS.
    time_zone str
    TimeZone for the virtual machine instance
    enableAutomaticUpdates Boolean
    Whether to EnableAutomaticUpdates on the machine
    provisionVMAgent Boolean
    Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
    provisionVMConfigAgent Boolean
    Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
    ssh Property Map
    Specifies the ssh key configuration for Windows OS.
    timeZone String
    TimeZone for the virtual machine instance

    VirtualMachineInstanceStatusResponse, VirtualMachineInstanceStatusResponseArgs

    ErrorCode string
    VirtualMachine provisioning error code
    ErrorMessage string
    Descriptive error message
    PowerState string
    The power state of the virtual machine instance
    ProvisioningStatus Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualMachineInstanceStatusResponseProvisioningStatus
    ErrorCode string
    VirtualMachine provisioning error code
    ErrorMessage string
    Descriptive error message
    PowerState string
    The power state of the virtual machine instance
    ProvisioningStatus VirtualMachineInstanceStatusResponseProvisioningStatus
    errorCode String
    VirtualMachine provisioning error code
    errorMessage String
    Descriptive error message
    powerState String
    The power state of the virtual machine instance
    provisioningStatus VirtualMachineInstanceStatusResponseProvisioningStatus
    errorCode string
    VirtualMachine provisioning error code
    errorMessage string
    Descriptive error message
    powerState string
    The power state of the virtual machine instance
    provisioningStatus VirtualMachineInstanceStatusResponseProvisioningStatus
    error_code str
    VirtualMachine provisioning error code
    error_message str
    Descriptive error message
    power_state str
    The power state of the virtual machine instance
    provisioning_status VirtualMachineInstanceStatusResponseProvisioningStatus
    errorCode String
    VirtualMachine provisioning error code
    errorMessage String
    Descriptive error message
    powerState String
    The power state of the virtual machine instance
    provisioningStatus Property Map

    VirtualMachineInstanceStatusResponseProvisioningStatus, VirtualMachineInstanceStatusResponseProvisioningStatusArgs

    OperationId string
    The ID of the operation performed on the virtual machine instance
    Status string
    The status of the operation performed on the virtual machine instance [Succeeded, Failed, InProgress]
    OperationId string
    The ID of the operation performed on the virtual machine instance
    Status string
    The status of the operation performed on the virtual machine instance [Succeeded, Failed, InProgress]
    operationId String
    The ID of the operation performed on the virtual machine instance
    status String
    The status of the operation performed on the virtual machine instance [Succeeded, Failed, InProgress]
    operationId string
    The ID of the operation performed on the virtual machine instance
    status string
    The status of the operation performed on the virtual machine instance [Succeeded, Failed, InProgress]
    operation_id str
    The ID of the operation performed on the virtual machine instance
    status str
    The status of the operation performed on the virtual machine instance [Succeeded, Failed, InProgress]
    operationId String
    The ID of the operation performed on the virtual machine instance
    status String
    The status of the operation performed on the virtual machine instance [Succeeded, Failed, InProgress]

    VirtualMachineInstanceViewResponse, VirtualMachineInstanceViewResponseArgs

    VmAgent VirtualMachineVMConfigAgentInstanceViewResponse
    The VM Config Agent running on the virtual machine.
    vmAgent VirtualMachineVMConfigAgentInstanceViewResponse
    The VM Config Agent running on the virtual machine.
    vmAgent VirtualMachineVMConfigAgentInstanceViewResponse
    The VM Config Agent running on the virtual machine.
    vm_agent VirtualMachineVMConfigAgentInstanceViewResponse
    The VM Config Agent running on the virtual machine.
    vmAgent Property Map
    The VM Config Agent running on the virtual machine.

    VirtualMachineVMConfigAgentInstanceViewResponse, VirtualMachineVMConfigAgentInstanceViewResponseArgs

    Statuses List<Pulumi.AzureNative.AzureStackHCI.Inputs.InstanceViewStatusResponse>
    The resource status information.
    VmVMConfigAgentVersion string
    The VM Config Agent full version.
    Statuses []InstanceViewStatusResponse
    The resource status information.
    VmVMConfigAgentVersion string
    The VM Config Agent full version.
    statuses List<InstanceViewStatusResponse>
    The resource status information.
    vmVMConfigAgentVersion String
    The VM Config Agent full version.
    statuses InstanceViewStatusResponse[]
    The resource status information.
    vmVMConfigAgentVersion string
    The VM Config Agent full version.
    statuses Sequence[InstanceViewStatusResponse]
    The resource status information.
    vm_vm_config_agent_version str
    The VM Config Agent full version.
    statuses List<Property Map>
    The resource status information.
    vmVMConfigAgentVersion String
    The VM Config Agent full version.

    VmSizeEnum, VmSizeEnumArgs

    Default
    Default
    Standard_A2_v2
    Standard_A2_v2
    Standard_A4_v2
    Standard_A4_v2
    Standard_D2s_v3
    Standard_D2s_v3
    Standard_D4s_v3
    Standard_D4s_v3
    Standard_D8s_v3
    Standard_D8s_v3
    Standard_D16s_v3
    Standard_D16s_v3
    Standard_D32s_v3
    Standard_D32s_v3
    Standard_DS2_v2
    Standard_DS2_v2
    Standard_DS3_v2
    Standard_DS3_v2
    Standard_DS4_v2
    Standard_DS4_v2
    Standard_DS5_v2
    Standard_DS5_v2
    Standard_DS13_v2
    Standard_DS13_v2
    Standard_K8S_v1
    Standard_K8S_v1
    Standard_K8S2_v1
    Standard_K8S2_v1
    Standard_K8S3_v1
    Standard_K8S3_v1
    Standard_K8S4_v1
    Standard_K8S4_v1
    Standard_NK6
    Standard_NK6
    Standard_NK12
    Standard_NK12
    Standard_NV6
    Standard_NV6
    Standard_NV12
    Standard_NV12
    Standard_K8S5_v1
    Standard_K8S5_v1
    Custom
    Custom
    VmSizeEnumDefault
    Default
    VmSizeEnum_Standard_A2_v2
    Standard_A2_v2
    VmSizeEnum_Standard_A4_v2
    Standard_A4_v2
    VmSizeEnum_Standard_D2s_v3
    Standard_D2s_v3
    VmSizeEnum_Standard_D4s_v3
    Standard_D4s_v3
    VmSizeEnum_Standard_D8s_v3
    Standard_D8s_v3
    VmSizeEnum_Standard_D16s_v3
    Standard_D16s_v3
    VmSizeEnum_Standard_D32s_v3
    Standard_D32s_v3
    VmSizeEnum_Standard_DS2_v2
    Standard_DS2_v2
    VmSizeEnum_Standard_DS3_v2
    Standard_DS3_v2
    VmSizeEnum_Standard_DS4_v2
    Standard_DS4_v2
    VmSizeEnum_Standard_DS5_v2
    Standard_DS5_v2
    VmSizeEnum_Standard_DS13_v2
    Standard_DS13_v2
    VmSizeEnum_Standard_K8S_v1
    Standard_K8S_v1
    VmSizeEnum_Standard_K8S2_v1
    Standard_K8S2_v1
    VmSizeEnum_Standard_K8S3_v1
    Standard_K8S3_v1
    VmSizeEnum_Standard_K8S4_v1
    Standard_K8S4_v1
    VmSizeEnum_Standard_NK6
    Standard_NK6
    VmSizeEnum_Standard_NK12
    Standard_NK12
    VmSizeEnum_Standard_NV6
    Standard_NV6
    VmSizeEnum_Standard_NV12
    Standard_NV12
    VmSizeEnum_Standard_K8S5_v1
    Standard_K8S5_v1
    VmSizeEnumCustom
    Custom
    Default
    Default
    Standard_A2_v2
    Standard_A2_v2
    Standard_A4_v2
    Standard_A4_v2
    Standard_D2s_v3
    Standard_D2s_v3
    Standard_D4s_v3
    Standard_D4s_v3
    Standard_D8s_v3
    Standard_D8s_v3
    Standard_D16s_v3
    Standard_D16s_v3
    Standard_D32s_v3
    Standard_D32s_v3
    Standard_DS2_v2
    Standard_DS2_v2
    Standard_DS3_v2
    Standard_DS3_v2
    Standard_DS4_v2
    Standard_DS4_v2
    Standard_DS5_v2
    Standard_DS5_v2
    Standard_DS13_v2
    Standard_DS13_v2
    Standard_K8S_v1
    Standard_K8S_v1
    Standard_K8S2_v1
    Standard_K8S2_v1
    Standard_K8S3_v1
    Standard_K8S3_v1
    Standard_K8S4_v1
    Standard_K8S4_v1
    Standard_NK6
    Standard_NK6
    Standard_NK12
    Standard_NK12
    Standard_NV6
    Standard_NV6
    Standard_NV12
    Standard_NV12
    Standard_K8S5_v1
    Standard_K8S5_v1
    Custom
    Custom
    Default
    Default
    Standard_A2_v2
    Standard_A2_v2
    Standard_A4_v2
    Standard_A4_v2
    Standard_D2s_v3
    Standard_D2s_v3
    Standard_D4s_v3
    Standard_D4s_v3
    Standard_D8s_v3
    Standard_D8s_v3
    Standard_D16s_v3
    Standard_D16s_v3
    Standard_D32s_v3
    Standard_D32s_v3
    Standard_DS2_v2
    Standard_DS2_v2
    Standard_DS3_v2
    Standard_DS3_v2
    Standard_DS4_v2
    Standard_DS4_v2
    Standard_DS5_v2
    Standard_DS5_v2
    Standard_DS13_v2
    Standard_DS13_v2
    Standard_K8S_v1
    Standard_K8S_v1
    Standard_K8S2_v1
    Standard_K8S2_v1
    Standard_K8S3_v1
    Standard_K8S3_v1
    Standard_K8S4_v1
    Standard_K8S4_v1
    Standard_NK6
    Standard_NK6
    Standard_NK12
    Standard_NK12
    Standard_NV6
    Standard_NV6
    Standard_NV12
    Standard_NV12
    Standard_K8S5_v1
    Standard_K8S5_v1
    Custom
    Custom
    DEFAULT
    Default
    STANDARD_A2_V2
    Standard_A2_v2
    STANDARD_A4_V2
    Standard_A4_v2
    STANDARD_D2S_V3
    Standard_D2s_v3
    STANDARD_D4S_V3
    Standard_D4s_v3
    STANDARD_D8S_V3
    Standard_D8s_v3
    STANDARD_D16S_V3
    Standard_D16s_v3
    STANDARD_D32S_V3
    Standard_D32s_v3
    STANDARD_DS2_V2
    Standard_DS2_v2
    STANDARD_DS3_V2
    Standard_DS3_v2
    STANDARD_DS4_V2
    Standard_DS4_v2
    STANDARD_DS5_V2
    Standard_DS5_v2
    STANDARD_DS13_V2
    Standard_DS13_v2
    STANDARD_K8_S_V1
    Standard_K8S_v1
    STANDARD_K8_S2_V1
    Standard_K8S2_v1
    STANDARD_K8_S3_V1
    Standard_K8S3_v1
    STANDARD_K8_S4_V1
    Standard_K8S4_v1
    STANDARD_NK6
    Standard_NK6
    STANDARD_NK12
    Standard_NK12
    STANDARD_NV6
    Standard_NV6
    STANDARD_NV12
    Standard_NV12
    STANDARD_K8_S5_V1
    Standard_K8S5_v1
    CUSTOM
    Custom
    "Default"
    Default
    "Standard_A2_v2"
    Standard_A2_v2
    "Standard_A4_v2"
    Standard_A4_v2
    "Standard_D2s_v3"
    Standard_D2s_v3
    "Standard_D4s_v3"
    Standard_D4s_v3
    "Standard_D8s_v3"
    Standard_D8s_v3
    "Standard_D16s_v3"
    Standard_D16s_v3
    "Standard_D32s_v3"
    Standard_D32s_v3
    "Standard_DS2_v2"
    Standard_DS2_v2
    "Standard_DS3_v2"
    Standard_DS3_v2
    "Standard_DS4_v2"
    Standard_DS4_v2
    "Standard_DS5_v2"
    Standard_DS5_v2
    "Standard_DS13_v2"
    Standard_DS13_v2
    "Standard_K8S_v1"
    Standard_K8S_v1
    "Standard_K8S2_v1"
    Standard_K8S2_v1
    "Standard_K8S3_v1"
    Standard_K8S3_v1
    "Standard_K8S4_v1"
    Standard_K8S4_v1
    "Standard_NK6"
    Standard_NK6
    "Standard_NK12"
    Standard_NK12
    "Standard_NV6"
    Standard_NV6
    "Standard_NV12"
    Standard_NV12
    "Standard_K8S5_v1"
    Standard_K8S5_v1
    "Custom"
    Custom

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:azurestackhci:VirtualMachineInstance myresource1 /{resourceUri}/providers/Microsoft.AzureStackHCI/virtualMachineInstances/default 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi