azure-native.azurestackhci.VirtualMachineInstance
Explore with Pulumi AI
The virtual machine instance resource definition.
Uses Azure REST API version 2025-02-01-preview. In version 2.x of the Azure Native provider, it used API version 2023-07-01-preview.
Other available API versions: 2023-07-01-preview, 2023-09-01-preview, 2024-01-01, 2024-02-01-preview, 2024-05-01-preview, 2024-07-15-preview, 2024-08-01-preview, 2024-10-01-preview, 2025-04-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native azurestackhci [ApiVersion]
. See the version guide for details.
Example Usage
CreateVirtualMachineInstanceFromLocal
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()
{
CreateFromLocal = true,
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,
},
NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs
{
NetworkInterfaces = new[]
{
new AzureNative.AzureStackHCI.Inputs.NetworkInterfaceArmReferenceArgs
{
Id = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
},
},
},
ResourceUri = "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM",
StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs
{
DataDisks = new[]
{
new AzureNative.AzureStackHCI.Inputs.VirtualHardDiskArmReferenceArgs
{
Id = "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd",
},
},
},
});
});
package main
import (
azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := azurestackhci.NewVirtualMachineInstance(ctx, "virtualMachineInstance", &azurestackhci.VirtualMachineInstanceArgs{
CreateFromLocal: pulumi.Bool(true),
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),
},
NetworkProfile: &azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{
NetworkInterfaces: azurestackhci.NetworkInterfaceArmReferenceArray{
&azurestackhci.NetworkInterfaceArmReferenceArgs{
Id: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic"),
},
},
},
ResourceUri: pulumi.String("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM"),
StorageProfile: &azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{
DataDisks: azurestackhci.VirtualHardDiskArmReferenceArray{
&azurestackhci.VirtualHardDiskArmReferenceArgs{
Id: pulumi.String("/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd"),
},
},
},
})
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.VirtualMachineInstancePropertiesNetworkProfileArgs;
import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;
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()
.createFromLocal(true)
.extendedLocation(ExtendedLocationArgs.builder()
.name("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location")
.type("CustomLocation")
.build())
.networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()
.networkInterfaces(NetworkInterfaceArmReferenceArgs.builder()
.id("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic")
.build())
.build())
.resourceUri("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM")
.storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()
.dataDisks(VirtualHardDiskArmReferenceArgs.builder()
.id("/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd")
.build())
.build())
.build());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachineInstance = new azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstance", {
createFromLocal: true,
extendedLocation: {
name: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,
},
networkProfile: {
networkInterfaces: [{
id: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
}],
},
resourceUri: "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM",
storageProfile: {
dataDisks: [{
id: "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd",
}],
},
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstance",
create_from_local=True,
extended_location={
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
},
network_profile={
"network_interfaces": [{
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
}],
},
resource_uri="subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM",
storage_profile={
"data_disks": [{
"id": "/subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd",
}],
})
resources:
virtualMachineInstance:
type: azure-native:azurestackhci:VirtualMachineInstance
properties:
createFromLocal: true
extendedLocation:
name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location
type: CustomLocation
networkProfile:
networkInterfaces:
- id: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic
resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM
storageProfile:
dataDisks:
- id: /subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.AzureStackHCI/virtualHardDisks/test-vhd
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.NetworkInterfaceArmReferenceArgs
{
Id = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
},
},
},
OsProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileArgs
{
AdminPassword = "password",
AdminUsername = "localadmin",
ComputerName = "luamaster",
},
ResourceUri = "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM",
SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs
{
EnableTPM = true,
UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs
{
SecureBootEnabled = true,
},
},
StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs
{
ImageReference = new AzureNative.AzureStackHCI.Inputs.ImageArmReferenceArgs
{
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/v3"
"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.NetworkInterfaceArmReferenceArray{
&azurestackhci.NetworkInterfaceArmReferenceArgs{
Id: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/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/providers/Microsoft.HybridCompute/machines/DemoVM"),
SecurityProfile: &azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{
EnableTPM: pulumi.Bool(true),
UefiSettings: &azurestackhci.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs{
SecureBootEnabled: pulumi.Bool(true),
},
},
StorageProfile: &azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{
ImageReference: &azurestackhci.ImageArmReferenceArgs{
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.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs;
import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;
import com.pulumi.azurenative.azurestackhci.inputs.ImageArmReferenceArgs;
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(NetworkInterfaceArmReferenceArgs.builder()
.id("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic")
.build())
.build())
.osProfile(VirtualMachineInstancePropertiesOsProfileArgs.builder()
.adminPassword("password")
.adminUsername("localadmin")
.computerName("luamaster")
.build())
.resourceUri("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM")
.securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()
.enableTPM(true)
.uefiSettings(VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs.builder()
.secureBootEnabled(true)
.build())
.build())
.storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()
.imageReference(ImageArmReferenceArgs.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 * 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: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
}],
},
osProfile: {
adminPassword: "password",
adminUsername: "localadmin",
computerName: "luamaster",
},
resourceUri: "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/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",
},
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstance",
extended_location={
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
},
hardware_profile={
"vm_size": azure_native.azurestackhci.VmSizeEnum.DEFAULT,
},
network_profile={
"network_interfaces": [{
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
}],
},
os_profile={
"admin_password": "password",
"admin_username": "localadmin",
"computer_name": "luamaster",
},
resource_uri="subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM",
security_profile={
"enable_tpm": True,
"uefi_settings": {
"secure_boot_enabled": True,
},
},
storage_profile={
"image_reference": {
"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",
})
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: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic
osProfile:
adminPassword: password
adminUsername: localadmin
computerName: luamaster
resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/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
PutVirtualMachineInstanceWithGpu
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
{
VirtualMachineGPUs = new[]
{
new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs
{
AssignmentType = AzureNative.AzureStackHCI.GpuAssignmentTypeEnum.GpuDDA,
PartitionSizeMB = 0,
},
},
VmSize = AzureNative.AzureStackHCI.VmSizeEnum.Default,
},
NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs
{
NetworkInterfaces = new[]
{
new AzureNative.AzureStackHCI.Inputs.NetworkInterfaceArmReferenceArgs
{
Id = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
},
},
},
OsProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileArgs
{
AdminPassword = "password",
AdminUsername = "localadmin",
ComputerName = "luamaster",
},
ResourceUri = "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM",
SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs
{
EnableTPM = true,
UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs
{
SecureBootEnabled = true,
},
},
StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs
{
ImageReference = new AzureNative.AzureStackHCI.Inputs.ImageArmReferenceArgs
{
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/v3"
"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{
VirtualMachineGPUs: azurestackhci.VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArray{
&azurestackhci.VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs{
AssignmentType: pulumi.String(azurestackhci.GpuAssignmentTypeEnumGpuDDA),
PartitionSizeMB: pulumi.Float64(0),
},
},
VmSize: pulumi.String(azurestackhci.VmSizeEnumDefault),
},
NetworkProfile: &azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{
NetworkInterfaces: azurestackhci.NetworkInterfaceArmReferenceArray{
&azurestackhci.NetworkInterfaceArmReferenceArgs{
Id: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/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/providers/Microsoft.HybridCompute/machines/DemoVM"),
SecurityProfile: &azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{
EnableTPM: pulumi.Bool(true),
UefiSettings: &azurestackhci.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs{
SecureBootEnabled: pulumi.Bool(true),
},
},
StorageProfile: &azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{
ImageReference: &azurestackhci.ImageArmReferenceArgs{
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.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs;
import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;
import com.pulumi.azurenative.azurestackhci.inputs.ImageArmReferenceArgs;
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()
.virtualMachineGPUs(VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs.builder()
.assignmentType("GpuDDA")
.partitionSizeMB(0.0)
.build())
.vmSize("Default")
.build())
.networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()
.networkInterfaces(NetworkInterfaceArmReferenceArgs.builder()
.id("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic")
.build())
.build())
.osProfile(VirtualMachineInstancePropertiesOsProfileArgs.builder()
.adminPassword("password")
.adminUsername("localadmin")
.computerName("luamaster")
.build())
.resourceUri("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM")
.securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()
.enableTPM(true)
.uefiSettings(VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs.builder()
.secureBootEnabled(true)
.build())
.build())
.storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()
.imageReference(ImageArmReferenceArgs.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 * 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: {
virtualMachineGPUs: [{
assignmentType: azure_native.azurestackhci.GpuAssignmentTypeEnum.GpuDDA,
partitionSizeMB: 0,
}],
vmSize: azure_native.azurestackhci.VmSizeEnum.Default,
},
networkProfile: {
networkInterfaces: [{
id: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
}],
},
osProfile: {
adminPassword: "password",
adminUsername: "localadmin",
computerName: "luamaster",
},
resourceUri: "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/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",
},
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstance",
extended_location={
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
},
hardware_profile={
"virtual_machine_gpus": [{
"assignment_type": azure_native.azurestackhci.GpuAssignmentTypeEnum.GPU_DDA,
"partition_size_mb": 0,
}],
"vm_size": azure_native.azurestackhci.VmSizeEnum.DEFAULT,
},
network_profile={
"network_interfaces": [{
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
}],
},
os_profile={
"admin_password": "password",
"admin_username": "localadmin",
"computer_name": "luamaster",
},
resource_uri="subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM",
security_profile={
"enable_tpm": True,
"uefi_settings": {
"secure_boot_enabled": True,
},
},
storage_profile={
"image_reference": {
"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",
})
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:
virtualMachineGPUs:
- assignmentType: GpuDDA
partitionSizeMB: 0
vmSize: Default
networkProfile:
networkInterfaces:
- id: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic
osProfile:
adminPassword: password
adminUsername: localadmin
computerName: luamaster
resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/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.NetworkInterfaceArmReferenceArgs
{
Id = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
},
},
},
OsProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileArgs
{
AdminPassword = "password",
AdminUsername = "localadmin",
ComputerName = "luamaster",
},
ResourceUri = "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM",
SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs
{
EnableTPM = true,
UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs
{
SecureBootEnabled = true,
},
},
StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs
{
ImageReference = new AzureNative.AzureStackHCI.Inputs.ImageArmReferenceArgs
{
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/v3"
"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.NetworkInterfaceArmReferenceArray{
&azurestackhci.NetworkInterfaceArmReferenceArgs{
Id: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/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/providers/Microsoft.HybridCompute/machines/DemoVM"),
SecurityProfile: &azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{
EnableTPM: pulumi.Bool(true),
UefiSettings: &azurestackhci.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs{
SecureBootEnabled: pulumi.Bool(true),
},
},
StorageProfile: &azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{
ImageReference: &azurestackhci.ImageArmReferenceArgs{
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.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs;
import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;
import com.pulumi.azurenative.azurestackhci.inputs.ImageArmReferenceArgs;
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(NetworkInterfaceArmReferenceArgs.builder()
.id("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic")
.build())
.build())
.osProfile(VirtualMachineInstancePropertiesOsProfileArgs.builder()
.adminPassword("password")
.adminUsername("localadmin")
.computerName("luamaster")
.build())
.resourceUri("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM")
.securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()
.enableTPM(true)
.uefiSettings(VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs.builder()
.secureBootEnabled(true)
.build())
.build())
.storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()
.imageReference(ImageArmReferenceArgs.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 * 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: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
}],
},
osProfile: {
adminPassword: "password",
adminUsername: "localadmin",
computerName: "luamaster",
},
resourceUri: "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/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",
},
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstance",
extended_location={
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
},
hardware_profile={
"vm_size": azure_native.azurestackhci.VmSizeEnum.DEFAULT,
},
network_profile={
"network_interfaces": [{
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
}],
},
os_profile={
"admin_password": "password",
"admin_username": "localadmin",
"computer_name": "luamaster",
},
resource_uri="subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM",
security_profile={
"enable_tpm": True,
"uefi_settings": {
"secure_boot_enabled": True,
},
},
storage_profile={
"image_reference": {
"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",
})
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: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic
osProfile:
adminPassword: password
adminUsername: localadmin
computerName: luamaster
resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/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.NetworkInterfaceArmReferenceArgs
{
Id = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
},
},
},
ResourceUri = "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM",
SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs
{
EnableTPM = true,
UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs
{
SecureBootEnabled = true,
},
},
StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs
{
OsDisk = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileOsDiskArgs
{
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/v3"
"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.NetworkInterfaceArmReferenceArray{
&azurestackhci.NetworkInterfaceArmReferenceArgs{
Id: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic"),
},
},
},
ResourceUri: pulumi.String("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM"),
SecurityProfile: &azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{
EnableTPM: pulumi.Bool(true),
UefiSettings: &azurestackhci.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs{
SecureBootEnabled: pulumi.Bool(true),
},
},
StorageProfile: &azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{
OsDisk: &azurestackhci.VirtualMachineInstancePropertiesStorageProfileOsDiskArgs{
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.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs;
import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;
import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileOsDiskArgs;
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(NetworkInterfaceArmReferenceArgs.builder()
.id("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic")
.build())
.build())
.resourceUri("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM")
.securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()
.enableTPM(true)
.uefiSettings(VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs.builder()
.secureBootEnabled(true)
.build())
.build())
.storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()
.osDisk(VirtualMachineInstancePropertiesStorageProfileOsDiskArgs.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 * 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: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
}],
},
resourceUri: "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/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",
},
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstance",
extended_location={
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
},
hardware_profile={
"vm_size": azure_native.azurestackhci.VmSizeEnum.DEFAULT,
},
network_profile={
"network_interfaces": [{
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
}],
},
resource_uri="subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM",
security_profile={
"enable_tpm": True,
"uefi_settings": {
"secure_boot_enabled": True,
},
},
storage_profile={
"os_disk": {
"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",
})
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: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic
resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/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.NetworkInterfaceArmReferenceArgs
{
Id = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
},
},
},
OsProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileArgs
{
AdminPassword = "password",
AdminUsername = "localadmin",
ComputerName = "luamaster",
WindowsConfiguration = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs
{
ProvisionVMConfigAgent = true,
},
},
ResourceUri = "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM",
SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileArgs
{
EnableTPM = true,
UefiSettings = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs
{
SecureBootEnabled = true,
},
},
StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs
{
ImageReference = new AzureNative.AzureStackHCI.Inputs.ImageArmReferenceArgs
{
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/v3"
"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.NetworkInterfaceArmReferenceArray{
&azurestackhci.NetworkInterfaceArmReferenceArgs{
Id: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic"),
},
},
},
OsProfile: &azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs{
AdminPassword: pulumi.String("password"),
AdminUsername: pulumi.String("localadmin"),
ComputerName: pulumi.String("luamaster"),
WindowsConfiguration: &azurestackhci.VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs{
ProvisionVMConfigAgent: pulumi.Bool(true),
},
},
ResourceUri: pulumi.String("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM"),
SecurityProfile: &azurestackhci.VirtualMachineInstancePropertiesSecurityProfileArgs{
EnableTPM: pulumi.Bool(true),
UefiSettings: &azurestackhci.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs{
SecureBootEnabled: pulumi.Bool(true),
},
},
StorageProfile: &azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{
ImageReference: &azurestackhci.ImageArmReferenceArgs{
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.VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs;
import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesSecurityProfileArgs;
import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs;
import com.pulumi.azurenative.azurestackhci.inputs.VirtualMachineInstancePropertiesStorageProfileArgs;
import com.pulumi.azurenative.azurestackhci.inputs.ImageArmReferenceArgs;
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(NetworkInterfaceArmReferenceArgs.builder()
.id("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic")
.build())
.build())
.osProfile(VirtualMachineInstancePropertiesOsProfileArgs.builder()
.adminPassword("password")
.adminUsername("localadmin")
.computerName("luamaster")
.windowsConfiguration(VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs.builder()
.provisionVMConfigAgent(true)
.build())
.build())
.resourceUri("subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM")
.securityProfile(VirtualMachineInstancePropertiesSecurityProfileArgs.builder()
.enableTPM(true)
.uefiSettings(VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs.builder()
.secureBootEnabled(true)
.build())
.build())
.storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()
.imageReference(ImageArmReferenceArgs.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 * 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: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
}],
},
osProfile: {
adminPassword: "password",
adminUsername: "localadmin",
computerName: "luamaster",
windowsConfiguration: {
provisionVMConfigAgent: true,
},
},
resourceUri: "subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/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",
},
});
import pulumi
import pulumi_azure_native as azure_native
virtual_machine_instance = azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstance",
extended_location={
"name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
"type": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
},
hardware_profile={
"vm_size": azure_native.azurestackhci.VmSizeEnum.DEFAULT,
},
network_profile={
"network_interfaces": [{
"id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic",
}],
},
os_profile={
"admin_password": "password",
"admin_username": "localadmin",
"computer_name": "luamaster",
"windows_configuration": {
"provision_vm_config_agent": True,
},
},
resource_uri="subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/Microsoft.HybridCompute/machines/DemoVM",
security_profile={
"enable_tpm": True,
"uefi_settings": {
"secure_boot_enabled": True,
},
},
storage_profile={
"image_reference": {
"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",
})
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: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.AzureStackHCI/networkInterfaces/test-nic
osProfile:
adminPassword: password
adminUsername: localadmin
computerName: luamaster
windowsConfiguration:
provisionVMConfigAgent: true
resourceUri: subscriptions/fd3c3665-1729-4b7b-9a38-238e83b0f98b/resourceGroups/testrg/providers/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,
create_from_local: Optional[bool] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
hardware_profile: Optional[VirtualMachineInstancePropertiesHardwareProfileArgs] = None,
http_proxy_config: Optional[HttpProxyConfigurationArgs] = None,
identity: Optional[ManagedServiceIdentityArgs] = 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",
CreateFromLocal = false,
ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
{
Name = "string",
Type = "string",
},
HardwareProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileArgs
{
DynamicMemoryConfig = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs
{
MaximumMemoryMB = 0,
MinimumMemoryMB = 0,
TargetMemoryBuffer = 0,
},
MemoryMB = 0,
Processors = 0,
VirtualMachineGPUs = new[]
{
new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs
{
AssignmentType = "string",
GpuName = "string",
PartitionSizeMB = 0,
},
},
VmSize = "string",
},
HttpProxyConfig = new AzureNative.AzureStackHCI.Inputs.HttpProxyConfigurationArgs
{
HttpProxy = "string",
HttpsProxy = "string",
NoProxy = new[]
{
"string",
},
TrustedCa = "string",
},
Identity = new AzureNative.AzureStackHCI.Inputs.ManagedServiceIdentityArgs
{
Type = "string",
UserAssignedIdentities = new[]
{
"string",
},
},
NetworkProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesNetworkProfileArgs
{
NetworkInterfaces = new[]
{
new AzureNative.AzureStackHCI.Inputs.NetworkInterfaceArmReferenceArgs
{
Id = "string",
},
},
},
OsProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileArgs
{
AdminPassword = "string",
AdminUsername = "string",
ComputerName = "string",
LinuxConfiguration = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs
{
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.VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs
{
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.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs
{
SecureBootEnabled = false,
},
},
StorageProfile = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileArgs
{
DataDisks = new[]
{
new AzureNative.AzureStackHCI.Inputs.VirtualHardDiskArmReferenceArgs
{
Id = "string",
},
},
ImageReference = new AzureNative.AzureStackHCI.Inputs.ImageArmReferenceArgs
{
Id = "string",
},
OsDisk = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstancePropertiesStorageProfileOsDiskArgs
{
Id = "string",
ManagedDisk = new AzureNative.AzureStackHCI.Inputs.VirtualMachineInstanceManagedDiskParametersArgs
{
SecurityProfile = new AzureNative.AzureStackHCI.Inputs.VMDiskSecurityProfileArgs
{
SecurityEncryptionType = "string",
},
},
OsType = "string",
},
VmConfigStoragePathId = "string",
},
});
example, err := azurestackhci.NewVirtualMachineInstance(ctx, "virtualMachineInstanceResource", &azurestackhci.VirtualMachineInstanceArgs{
ResourceUri: pulumi.String("string"),
CreateFromLocal: pulumi.Bool(false),
ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
HardwareProfile: &azurestackhci.VirtualMachineInstancePropertiesHardwareProfileArgs{
DynamicMemoryConfig: &azurestackhci.VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs{
MaximumMemoryMB: pulumi.Float64(0),
MinimumMemoryMB: pulumi.Float64(0),
TargetMemoryBuffer: pulumi.Int(0),
},
MemoryMB: pulumi.Float64(0),
Processors: pulumi.Int(0),
VirtualMachineGPUs: azurestackhci.VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArray{
&azurestackhci.VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs{
AssignmentType: pulumi.String("string"),
GpuName: pulumi.String("string"),
PartitionSizeMB: pulumi.Float64(0),
},
},
VmSize: pulumi.String("string"),
},
HttpProxyConfig: &azurestackhci.HttpProxyConfigurationArgs{
HttpProxy: pulumi.String("string"),
HttpsProxy: pulumi.String("string"),
NoProxy: pulumi.StringArray{
pulumi.String("string"),
},
TrustedCa: pulumi.String("string"),
},
Identity: &azurestackhci.ManagedServiceIdentityArgs{
Type: pulumi.String("string"),
UserAssignedIdentities: pulumi.StringArray{
pulumi.String("string"),
},
},
NetworkProfile: &azurestackhci.VirtualMachineInstancePropertiesNetworkProfileArgs{
NetworkInterfaces: azurestackhci.NetworkInterfaceArmReferenceArray{
&azurestackhci.NetworkInterfaceArmReferenceArgs{
Id: pulumi.String("string"),
},
},
},
OsProfile: &azurestackhci.VirtualMachineInstancePropertiesOsProfileArgs{
AdminPassword: pulumi.String("string"),
AdminUsername: pulumi.String("string"),
ComputerName: pulumi.String("string"),
LinuxConfiguration: &azurestackhci.VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs{
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.VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs{
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.VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs{
SecureBootEnabled: pulumi.Bool(false),
},
},
StorageProfile: &azurestackhci.VirtualMachineInstancePropertiesStorageProfileArgs{
DataDisks: azurestackhci.VirtualHardDiskArmReferenceArray{
&azurestackhci.VirtualHardDiskArmReferenceArgs{
Id: pulumi.String("string"),
},
},
ImageReference: &azurestackhci.ImageArmReferenceArgs{
Id: pulumi.String("string"),
},
OsDisk: &azurestackhci.VirtualMachineInstancePropertiesStorageProfileOsDiskArgs{
Id: pulumi.String("string"),
ManagedDisk: &azurestackhci.VirtualMachineInstanceManagedDiskParametersArgs{
SecurityProfile: &azurestackhci.VMDiskSecurityProfileArgs{
SecurityEncryptionType: pulumi.String("string"),
},
},
OsType: pulumi.String("string"),
},
VmConfigStoragePathId: pulumi.String("string"),
},
})
var virtualMachineInstanceResource = new com.pulumi.azurenative.azurestackhci.VirtualMachineInstance("virtualMachineInstanceResource", com.pulumi.azurenative.azurestackhci.VirtualMachineInstanceArgs.builder()
.resourceUri("string")
.createFromLocal(false)
.extendedLocation(ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.hardwareProfile(VirtualMachineInstancePropertiesHardwareProfileArgs.builder()
.dynamicMemoryConfig(VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs.builder()
.maximumMemoryMB(0)
.minimumMemoryMB(0)
.targetMemoryBuffer(0)
.build())
.memoryMB(0)
.processors(0)
.virtualMachineGPUs(VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs.builder()
.assignmentType("string")
.gpuName("string")
.partitionSizeMB(0)
.build())
.vmSize("string")
.build())
.httpProxyConfig(HttpProxyConfigurationArgs.builder()
.httpProxy("string")
.httpsProxy("string")
.noProxy("string")
.trustedCa("string")
.build())
.identity(ManagedServiceIdentityArgs.builder()
.type("string")
.userAssignedIdentities("string")
.build())
.networkProfile(VirtualMachineInstancePropertiesNetworkProfileArgs.builder()
.networkInterfaces(NetworkInterfaceArmReferenceArgs.builder()
.id("string")
.build())
.build())
.osProfile(VirtualMachineInstancePropertiesOsProfileArgs.builder()
.adminPassword("string")
.adminUsername("string")
.computerName("string")
.linuxConfiguration(VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs.builder()
.disablePasswordAuthentication(false)
.provisionVMAgent(false)
.provisionVMConfigAgent(false)
.ssh(SshConfigurationArgs.builder()
.publicKeys(SshPublicKeyArgs.builder()
.keyData("string")
.path("string")
.build())
.build())
.build())
.windowsConfiguration(VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs.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(VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs.builder()
.secureBootEnabled(false)
.build())
.build())
.storageProfile(VirtualMachineInstancePropertiesStorageProfileArgs.builder()
.dataDisks(VirtualHardDiskArmReferenceArgs.builder()
.id("string")
.build())
.imageReference(ImageArmReferenceArgs.builder()
.id("string")
.build())
.osDisk(VirtualMachineInstancePropertiesStorageProfileOsDiskArgs.builder()
.id("string")
.managedDisk(VirtualMachineInstanceManagedDiskParametersArgs.builder()
.securityProfile(VMDiskSecurityProfileArgs.builder()
.securityEncryptionType("string")
.build())
.build())
.osType("string")
.build())
.vmConfigStoragePathId("string")
.build())
.build());
virtual_machine_instance_resource = azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstanceResource",
resource_uri="string",
create_from_local=False,
extended_location={
"name": "string",
"type": "string",
},
hardware_profile={
"dynamic_memory_config": {
"maximum_memory_mb": 0,
"minimum_memory_mb": 0,
"target_memory_buffer": 0,
},
"memory_mb": 0,
"processors": 0,
"virtual_machine_gpus": [{
"assignment_type": "string",
"gpu_name": "string",
"partition_size_mb": 0,
}],
"vm_size": "string",
},
http_proxy_config={
"http_proxy": "string",
"https_proxy": "string",
"no_proxy": ["string"],
"trusted_ca": "string",
},
identity={
"type": "string",
"user_assigned_identities": ["string"],
},
network_profile={
"network_interfaces": [{
"id": "string",
}],
},
os_profile={
"admin_password": "string",
"admin_username": "string",
"computer_name": "string",
"linux_configuration": {
"disable_password_authentication": False,
"provision_vm_agent": False,
"provision_vm_config_agent": False,
"ssh": {
"public_keys": [{
"key_data": "string",
"path": "string",
}],
},
},
"windows_configuration": {
"enable_automatic_updates": False,
"provision_vm_agent": False,
"provision_vm_config_agent": False,
"ssh": {
"public_keys": [{
"key_data": "string",
"path": "string",
}],
},
"time_zone": "string",
},
},
resource_uid="string",
security_profile={
"enable_tpm": False,
"security_type": "string",
"uefi_settings": {
"secure_boot_enabled": False,
},
},
storage_profile={
"data_disks": [{
"id": "string",
}],
"image_reference": {
"id": "string",
},
"os_disk": {
"id": "string",
"managed_disk": {
"security_profile": {
"security_encryption_type": "string",
},
},
"os_type": "string",
},
"vm_config_storage_path_id": "string",
})
const virtualMachineInstanceResource = new azure_native.azurestackhci.VirtualMachineInstance("virtualMachineInstanceResource", {
resourceUri: "string",
createFromLocal: false,
extendedLocation: {
name: "string",
type: "string",
},
hardwareProfile: {
dynamicMemoryConfig: {
maximumMemoryMB: 0,
minimumMemoryMB: 0,
targetMemoryBuffer: 0,
},
memoryMB: 0,
processors: 0,
virtualMachineGPUs: [{
assignmentType: "string",
gpuName: "string",
partitionSizeMB: 0,
}],
vmSize: "string",
},
httpProxyConfig: {
httpProxy: "string",
httpsProxy: "string",
noProxy: ["string"],
trustedCa: "string",
},
identity: {
type: "string",
userAssignedIdentities: ["string"],
},
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",
managedDisk: {
securityProfile: {
securityEncryptionType: "string",
},
},
osType: "string",
},
vmConfigStoragePathId: "string",
},
});
type: azure-native:azurestackhci:VirtualMachineInstance
properties:
createFromLocal: false
extendedLocation:
name: string
type: string
hardwareProfile:
dynamicMemoryConfig:
maximumMemoryMB: 0
minimumMemoryMB: 0
targetMemoryBuffer: 0
memoryMB: 0
processors: 0
virtualMachineGPUs:
- assignmentType: string
gpuName: string
partitionSizeMB: 0
vmSize: string
httpProxyConfig:
httpProxy: string
httpsProxy: string
noProxy:
- string
trustedCa: string
identity:
type: string
userAssignedIdentities:
- string
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
managedDisk:
securityProfile:
securityEncryptionType: string
osType: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VirtualMachineInstance resource accepts the following input properties:
- Resource
Uri string - The fully qualified Azure Resource manager identifier of the resource.
- Create
From boolLocal - Boolean indicating whether this is an existing local virtual machine or if one should be created.
- Extended
Location Pulumi.Azure Native. Azure Stack HCI. Inputs. Extended Location - The extendedLocation of the resource.
- Hardware
Profile Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Hardware Profile - HardwareProfile - Specifies the hardware settings for the virtual machine instance.
- Http
Proxy Pulumi.Config Azure Native. Azure Stack HCI. Inputs. Http Proxy Configuration - HTTP Proxy configuration for the VM.
- Identity
Pulumi.
Azure Native. Azure Stack HCI. Inputs. Managed Service Identity - The managed service identities assigned to this resource.
- Network
Profile Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Network Profile - NetworkProfile - describes the network configuration the virtual machine instance
- Os
Profile Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Os Profile - OsProfile - describes the configuration of the operating system and sets login data
- Resource
Uid string - Unique identifier defined by ARC to identify the guest of the VM.
- Security
Profile Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Security Profile - SecurityProfile - Specifies the security settings for the virtual machine instance.
- Storage
Profile Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Storage Profile - StorageProfile - contains information about the disks and storage information for the virtual machine instance
- Resource
Uri string - The fully qualified Azure Resource manager identifier of the resource.
- Create
From boolLocal - Boolean indicating whether this is an existing local virtual machine or if one should be created.
- Extended
Location ExtendedLocation Args - The extendedLocation of the resource.
- Hardware
Profile VirtualMachine Instance Properties Hardware Profile Args - HardwareProfile - Specifies the hardware settings for the virtual machine instance.
- Http
Proxy HttpConfig Proxy Configuration Args - HTTP Proxy configuration for the VM.
- Identity
Managed
Service Identity Args - The managed service identities assigned to this resource.
- Network
Profile VirtualMachine Instance Properties Network Profile Args - NetworkProfile - describes the network configuration the virtual machine instance
- Os
Profile VirtualMachine Instance Properties Os Profile Args - OsProfile - describes the configuration of the operating system and sets login data
- Resource
Uid string - Unique identifier defined by ARC to identify the guest of the VM.
- Security
Profile VirtualMachine Instance Properties Security Profile Args - SecurityProfile - Specifies the security settings for the virtual machine instance.
- Storage
Profile VirtualMachine Instance Properties Storage Profile Args - StorageProfile - contains information about the disks and storage information for the virtual machine instance
- resource
Uri String - The fully qualified Azure Resource manager identifier of the resource.
- create
From BooleanLocal - Boolean indicating whether this is an existing local virtual machine or if one should be created.
- extended
Location ExtendedLocation - The extendedLocation of the resource.
- hardware
Profile VirtualMachine Instance Properties Hardware Profile - HardwareProfile - Specifies the hardware settings for the virtual machine instance.
- http
Proxy HttpConfig Proxy Configuration - HTTP Proxy configuration for the VM.
- identity
Managed
Service Identity - The managed service identities assigned to this resource.
- network
Profile VirtualMachine Instance Properties Network Profile - NetworkProfile - describes the network configuration the virtual machine instance
- os
Profile VirtualMachine Instance Properties Os Profile - OsProfile - describes the configuration of the operating system and sets login data
- resource
Uid String - Unique identifier defined by ARC to identify the guest of the VM.
- security
Profile VirtualMachine Instance Properties Security Profile - SecurityProfile - Specifies the security settings for the virtual machine instance.
- storage
Profile VirtualMachine Instance Properties Storage Profile - StorageProfile - contains information about the disks and storage information for the virtual machine instance
- resource
Uri string - The fully qualified Azure Resource manager identifier of the resource.
- create
From booleanLocal - Boolean indicating whether this is an existing local virtual machine or if one should be created.
- extended
Location ExtendedLocation - The extendedLocation of the resource.
- hardware
Profile VirtualMachine Instance Properties Hardware Profile - HardwareProfile - Specifies the hardware settings for the virtual machine instance.
- http
Proxy HttpConfig Proxy Configuration - HTTP Proxy configuration for the VM.
- identity
Managed
Service Identity - The managed service identities assigned to this resource.
- network
Profile VirtualMachine Instance Properties Network Profile - NetworkProfile - describes the network configuration the virtual machine instance
- os
Profile VirtualMachine Instance Properties Os Profile - OsProfile - describes the configuration of the operating system and sets login data
- resource
Uid string - Unique identifier defined by ARC to identify the guest of the VM.
- security
Profile VirtualMachine Instance Properties Security Profile - SecurityProfile - Specifies the security settings for the virtual machine instance.
- storage
Profile VirtualMachine Instance Properties Storage Profile - 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 resource.
- create_
from_ boollocal - Boolean indicating whether this is an existing local virtual machine or if one should be created.
- extended_
location ExtendedLocation Args - The extendedLocation of the resource.
- hardware_
profile VirtualMachine Instance Properties Hardware Profile Args - HardwareProfile - Specifies the hardware settings for the virtual machine instance.
- http_
proxy_ Httpconfig Proxy Configuration Args - HTTP Proxy configuration for the VM.
- identity
Managed
Service Identity Args - The managed service identities assigned to this resource.
- network_
profile VirtualMachine Instance Properties Network Profile Args - NetworkProfile - describes the network configuration the virtual machine instance
- os_
profile VirtualMachine Instance Properties Os Profile Args - 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 VirtualMachine Instance Properties Security Profile Args - SecurityProfile - Specifies the security settings for the virtual machine instance.
- storage_
profile VirtualMachine Instance Properties Storage Profile Args - StorageProfile - contains information about the disks and storage information for the virtual machine instance
- resource
Uri String - The fully qualified Azure Resource manager identifier of the resource.
- create
From BooleanLocal - Boolean indicating whether this is an existing local virtual machine or if one should be created.
- extended
Location Property Map - The extendedLocation of the resource.
- hardware
Profile Property Map - HardwareProfile - Specifies the hardware settings for the virtual machine instance.
- http
Proxy Property MapConfig - HTTP Proxy configuration for the VM.
- identity Property Map
- The managed service identities assigned to this resource.
- network
Profile Property Map - NetworkProfile - describes the network configuration the virtual machine instance
- os
Profile Property Map - OsProfile - describes the configuration of the operating system and sets login data
- resource
Uid String - Unique identifier defined by ARC to identify the guest of the VM.
- security
Profile Property Map - SecurityProfile - Specifies the security settings for the virtual machine instance.
- storage
Profile 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:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
View Pulumi.Azure Native. Azure Stack HCI. Outputs. Virtual Machine Instance View Response - The virtual machine instance view.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the virtual machine instance.
- Status
Pulumi.
Azure Native. Azure Stack HCI. Outputs. Virtual Machine Instance Status Response - The observed state of virtual machine instances
- System
Data Pulumi.Azure Native. Azure Stack HCI. Outputs. System Data Response - 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"
- Vm
Id string - Unique identifier for the vm resource.
- Guest
Agent Pulumi.Install Status Azure Native. Azure Stack HCI. Outputs. Guest Agent Install Status Response - Guest agent install status.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
View VirtualMachine Instance View Response - The virtual machine instance view.
- Name string
- The name of the resource
- Provisioning
State string - Provisioning state of the virtual machine instance.
- Status
Virtual
Machine Instance Status Response - The observed state of virtual machine instances
- System
Data SystemData Response - 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"
- Vm
Id string - Unique identifier for the vm resource.
- Guest
Agent GuestInstall Status Agent Install Status Response - Guest agent install status.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
View VirtualMachine Instance View Response - The virtual machine instance view.
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the virtual machine instance.
- status
Virtual
Machine Instance Status Response - The observed state of virtual machine instances
- system
Data SystemData Response - 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"
- vm
Id String - Unique identifier for the vm resource.
- guest
Agent GuestInstall Status Agent Install Status Response - Guest agent install status.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
View VirtualMachine Instance View Response - The virtual machine instance view.
- name string
- The name of the resource
- provisioning
State string - Provisioning state of the virtual machine instance.
- status
Virtual
Machine Instance Status Response - The observed state of virtual machine instances
- system
Data SystemData Response - 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"
- vm
Id string - Unique identifier for the vm resource.
- guest
Agent GuestInstall Status Agent Install Status Response - Guest agent install status.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
view VirtualMachine Instance View Response - The virtual machine instance view.
- name str
- The name of the resource
- provisioning_
state str - Provisioning state of the virtual machine instance.
- status
Virtual
Machine Instance Status Response - The observed state of virtual machine instances
- system_
data SystemData Response - 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_ Guestinstall_ status Agent Install Status Response - Guest agent install status.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
View Property Map - The virtual machine instance view.
- name String
- The name of the resource
- provisioning
State String - Provisioning state of the virtual machine instance.
- status Property Map
- The observed state of virtual machine instances
- system
Data 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"
- vm
Id String - Unique identifier for the vm resource.
- guest
Agent Property MapInstall Status - Guest agent install status.
Supporting Types
ErrorAdditionalInfoResponse, ErrorAdditionalInfoResponseArgs
ErrorDetailResponse, ErrorDetailResponseArgs
- Additional
Info List<Pulumi.Azure Native. Azure Stack HCI. Inputs. Error Additional Info Response> - The error additional info.
- Code string
- The error code.
- Details
List<Pulumi.
Azure Native. Azure Stack HCI. Inputs. Error Detail Response> - The error details.
- Message string
- The error message.
- Target string
- The error target.
- Exception string
- Exception details while installing extension.
- Additional
Info []ErrorAdditional Info Response - The error additional info.
- Code string
- The error code.
- Details
[]Error
Detail Response - The error details.
- Message string
- The error message.
- Target string
- The error target.
- Exception string
- Exception details while installing extension.
- additional
Info List<ErrorAdditional Info Response> - The error additional info.
- code String
- The error code.
- details
List<Error
Detail Response> - The error details.
- message String
- The error message.
- target String
- The error target.
- exception String
- Exception details while installing extension.
- additional
Info ErrorAdditional Info Response[] - The error additional info.
- code string
- The error code.
- details
Error
Detail Response[] - The error details.
- message string
- The error message.
- target string
- The error target.
- exception string
- Exception details while installing extension.
- additional_
info Sequence[ErrorAdditional Info Response] - The error additional info.
- code str
- The error code.
- details
Sequence[Error
Detail Response] - The error details.
- message str
- The error message.
- target str
- The error target.
- exception str
- Exception details while installing extension.
- additional
Info 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.
- exception String
- Exception details while installing extension.
ExtendedLocation, ExtendedLocationArgs
- Name string
- The name of the extended location.
- Type
string | Pulumi.
Azure Native. Azure Stack HCI. Extended Location Types - The type of the extended location.
- Name string
- The name of the extended location.
- Type
string | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | Extended
Location Types - The type of the extended location.
- name string
- The name of the extended location.
- type
string | Extended
Location Types - The type of the extended location.
- name str
- The name of the extended location.
- type
str | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | "Custom
Location" - The type of the extended location.
ExtendedLocationResponse, ExtendedLocationResponseArgs
ExtendedLocationTypes, ExtendedLocationTypesArgs
- Custom
Location - CustomLocation
- Extended
Location Types Custom Location - CustomLocation
- Custom
Location - CustomLocation
- Custom
Location - CustomLocation
- CUSTOM_LOCATION
- CustomLocation
- "Custom
Location" - CustomLocation
GpuAssignmentTypeEnum, GpuAssignmentTypeEnumArgs
- Gpu
DDA - GpuDDAAttach Graphics Processing Unit (GPU) using Discrete Device Assignment (DDA)
- Gpu
P - GpuPAttach Graphics Processing Unit (GPU) using GPU Partitioning
- Gpu
Assignment Type Enum Gpu DDA - GpuDDAAttach Graphics Processing Unit (GPU) using Discrete Device Assignment (DDA)
- Gpu
Assignment Type Enum Gpu P - GpuPAttach Graphics Processing Unit (GPU) using GPU Partitioning
- Gpu
DDA - GpuDDAAttach Graphics Processing Unit (GPU) using Discrete Device Assignment (DDA)
- Gpu
P - GpuPAttach Graphics Processing Unit (GPU) using GPU Partitioning
- Gpu
DDA - GpuDDAAttach Graphics Processing Unit (GPU) using Discrete Device Assignment (DDA)
- Gpu
P - GpuPAttach Graphics Processing Unit (GPU) using GPU Partitioning
- GPU_DDA
- GpuDDAAttach Graphics Processing Unit (GPU) using Discrete Device Assignment (DDA)
- GPU_P
- GpuPAttach Graphics Processing Unit (GPU) using GPU Partitioning
- "Gpu
DDA" - GpuDDAAttach Graphics Processing Unit (GPU) using Discrete Device Assignment (DDA)
- "Gpu
P" - GpuPAttach Graphics Processing Unit (GPU) using GPU Partitioning
GuestAgentInstallStatusResponse, GuestAgentInstallStatusResponseArgs
- Agent
Version string - The hybrid machine agent full version.
- Error
Details List<Pulumi.Azure Native. Azure Stack HCI. Inputs. Error Detail Response> - Details about the error state.
- Last
Status stringChange - The time of the last status change.
- Status string
- The installation status of the hybrid machine agent installation.
- Vm
Uuid string - Specifies the VM's unique SMBIOS ID.
- Agent
Version string - The hybrid machine agent full version.
- Error
Details []ErrorDetail Response - Details about the error state.
- Last
Status stringChange - The time of the last status change.
- Status string
- The installation status of the hybrid machine agent installation.
- Vm
Uuid string - Specifies the VM's unique SMBIOS ID.
- agent
Version String - The hybrid machine agent full version.
- error
Details List<ErrorDetail Response> - Details about the error state.
- last
Status StringChange - The time of the last status change.
- status String
- The installation status of the hybrid machine agent installation.
- vm
Uuid String - Specifies the VM's unique SMBIOS ID.
- agent
Version string - The hybrid machine agent full version.
- error
Details ErrorDetail Response[] - Details about the error state.
- last
Status stringChange - The time of the last status change.
- status string
- The installation status of the hybrid machine agent installation.
- vm
Uuid string - Specifies the VM's unique SMBIOS ID.
- agent_
version str - The hybrid machine agent full version.
- error_
details Sequence[ErrorDetail Response] - Details about the error state.
- last_
status_ strchange - 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.
- agent
Version String - The hybrid machine agent full version.
- error
Details List<Property Map> - Details about the error state.
- last
Status StringChange - The time of the last status change.
- status String
- The installation status of the hybrid machine agent installation.
- vm
Uuid String - Specifies the VM's unique SMBIOS ID.
HttpProxyConfiguration, HttpProxyConfigurationArgs
- Http
Proxy string - The HTTP proxy server endpoint to use.
- Https
Proxy string - The HTTPS proxy server endpoint to use.
- No
Proxy List<string> - The endpoints that should not go through proxy.
- Trusted
Ca string - Alternative CA cert to use for connecting to proxy servers.
- Http
Proxy string - The HTTP proxy server endpoint to use.
- Https
Proxy string - The HTTPS proxy server endpoint to use.
- No
Proxy []string - The endpoints that should not go through proxy.
- Trusted
Ca string - Alternative CA cert to use for connecting to proxy servers.
- http
Proxy String - The HTTP proxy server endpoint to use.
- https
Proxy String - The HTTPS proxy server endpoint to use.
- no
Proxy List<String> - The endpoints that should not go through proxy.
- trusted
Ca String - Alternative CA cert to use for connecting to proxy servers.
- http
Proxy string - The HTTP proxy server endpoint to use.
- https
Proxy string - The HTTPS proxy server endpoint to use.
- no
Proxy string[] - The endpoints that should not go through proxy.
- trusted
Ca string - Alternative CA cert to use for connecting to proxy servers.
- http_
proxy str - The HTTP proxy server endpoint to use.
- https_
proxy str - The HTTPS proxy server endpoint to use.
- no_
proxy Sequence[str] - The endpoints that should not go through proxy.
- trusted_
ca str - Alternative CA cert to use for connecting to proxy servers.
- http
Proxy String - The HTTP proxy server endpoint to use.
- https
Proxy String - The HTTPS proxy server endpoint to use.
- no
Proxy List<String> - The endpoints that should not go through proxy.
- trusted
Ca String - Alternative CA cert to use for connecting to proxy servers.
HttpProxyConfigurationResponse, HttpProxyConfigurationResponseArgs
- Http
Proxy string - The HTTP proxy server endpoint to use.
- Https
Proxy string - The HTTPS proxy server endpoint to use.
- No
Proxy List<string> - The endpoints that should not go through proxy.
- Trusted
Ca string - Alternative CA cert to use for connecting to proxy servers.
- Http
Proxy string - The HTTP proxy server endpoint to use.
- Https
Proxy string - The HTTPS proxy server endpoint to use.
- No
Proxy []string - The endpoints that should not go through proxy.
- Trusted
Ca string - Alternative CA cert to use for connecting to proxy servers.
- http
Proxy String - The HTTP proxy server endpoint to use.
- https
Proxy String - The HTTPS proxy server endpoint to use.
- no
Proxy List<String> - The endpoints that should not go through proxy.
- trusted
Ca String - Alternative CA cert to use for connecting to proxy servers.
- http
Proxy string - The HTTP proxy server endpoint to use.
- https
Proxy string - The HTTPS proxy server endpoint to use.
- no
Proxy string[] - The endpoints that should not go through proxy.
- trusted
Ca string - Alternative CA cert to use for connecting to proxy servers.
- http_
proxy str - The HTTP proxy server endpoint to use.
- https_
proxy str - The HTTPS proxy server endpoint to use.
- no_
proxy Sequence[str] - The endpoints that should not go through proxy.
- trusted_
ca str - Alternative CA cert to use for connecting to proxy servers.
- http
Proxy String - The HTTP proxy server endpoint to use.
- https
Proxy String - The HTTPS proxy server endpoint to use.
- no
Proxy List<String> - The endpoints that should not go through proxy.
- trusted
Ca String - Alternative CA cert to use for connecting to proxy servers.
ImageArmReference, ImageArmReferenceArgs
- Id string
- The ARM ID for an image resource used by the virtual machine instance.
- Id string
- The ARM ID for an image resource used by the virtual machine instance.
- id String
- The ARM ID for an image resource used by the virtual machine instance.
- id string
- The ARM ID for an image resource used by the virtual machine instance.
- id str
- The ARM ID for an image resource used by the virtual machine instance.
- id String
- The ARM ID for an image resource used by the virtual machine instance.
ImageArmReferenceResponse, ImageArmReferenceResponseArgs
- Id string
- The ARM ID for an image resource used by the virtual machine instance.
- Id string
- The ARM ID for an image resource used by the virtual machine instance.
- id String
- The ARM ID for an image resource used by the virtual machine instance.
- id string
- The ARM ID for an image resource used by the virtual machine instance.
- id str
- The ARM ID for an image resource used by the virtual machine instance.
- id String
- The ARM ID for an image resource used by the virtual machine instance.
InstanceViewStatusResponse, InstanceViewStatusResponseArgs
- Code string
- The status code.
- Display
Status 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.
- Display
Status 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.
- display
Status 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.
- display
Status 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.
- display
Status 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.
ManagedServiceIdentity, ManagedServiceIdentityArgs
- Type
string | Pulumi.
Azure Native. Azure Stack HCI. Managed Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned List<string>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned []stringIdentities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
string | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned string[]Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
str | Managed
Service Identity Type - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Sequence[str]identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- type
String | "None" | "System
Assigned" | "User Assigned" | "System Assigned,User Assigned" - Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned List<String>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityResponse, ManagedServiceIdentityResponseArgs
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned Dictionary<string, Pulumi.Identities Azure Native. Azure Stack HCI. Inputs. User Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- Principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- Type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- User
Assigned map[string]UserIdentities Assigned Identity Response - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<String,UserIdentities Assigned Identity Response> - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id string - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id string - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type string
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned {[key: string]: UserIdentities Assigned Identity Response} - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal_
id str - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant_
id str - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type str
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user_
assigned_ Mapping[str, Useridentities Assigned Identity Response] - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
- principal
Id String - The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
- tenant
Id String - The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
- type String
- Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed).
- user
Assigned Map<Property Map>Identities - The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests.
ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- Managed
Service Identity Type None - None
- Managed
Service Identity Type System Assigned - SystemAssigned
- Managed
Service Identity Type User Assigned - UserAssigned
- Managed
Service Identity Type_System Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- None
- None
- System
Assigned - SystemAssigned
- User
Assigned - UserAssigned
- System
Assigned_User Assigned - SystemAssigned,UserAssigned
- NONE
- None
- SYSTEM_ASSIGNED
- SystemAssigned
- USER_ASSIGNED
- UserAssigned
- SYSTEM_ASSIGNED_USER_ASSIGNED
- SystemAssigned,UserAssigned
- "None"
- None
- "System
Assigned" - SystemAssigned
- "User
Assigned" - UserAssigned
- "System
Assigned,User Assigned" - SystemAssigned,UserAssigned
NetworkInterfaceArmReference, NetworkInterfaceArmReferenceArgs
- Id string
- The ARM ID for a Network Interface.
- Id string
- The ARM ID for a Network Interface.
- id String
- The ARM ID for a Network Interface.
- id string
- The ARM ID for a Network Interface.
- id str
- The ARM ID for a Network Interface.
- id String
- The ARM ID for a Network Interface.
NetworkInterfaceArmReferenceResponse, NetworkInterfaceArmReferenceResponseArgs
- Id string
- The ARM ID for a Network Interface.
- Id string
- The ARM ID for a Network Interface.
- id String
- The ARM ID for a Network Interface.
- id string
- The ARM ID for a Network Interface.
- id str
- The ARM ID for a Network Interface.
- id String
- The ARM ID for a Network Interface.
OperatingSystemTypes, OperatingSystemTypesArgs
- Windows
- WindowsWindows operating system
- Linux
- LinuxLinux operating system
- Operating
System Types Windows - WindowsWindows operating system
- Operating
System Types Linux - LinuxLinux operating system
- Windows
- WindowsWindows operating system
- Linux
- LinuxLinux operating system
- Windows
- WindowsWindows operating system
- Linux
- LinuxLinux operating system
- WINDOWS
- WindowsWindows operating system
- LINUX
- LinuxLinux operating system
- "Windows"
- WindowsWindows operating system
- "Linux"
- LinuxLinux operating system
SecurityEncryptionType, SecurityEncryptionTypeArgs
- Non
Persisted TPM - NonPersistedTPMNon-persisted TPM encryption type
- Security
Encryption Type Non Persisted TPM - NonPersistedTPMNon-persisted TPM encryption type
- Non
Persisted TPM - NonPersistedTPMNon-persisted TPM encryption type
- Non
Persisted TPM - NonPersistedTPMNon-persisted TPM encryption type
- NON_PERSISTED_TPM
- NonPersistedTPMNon-persisted TPM encryption type
- "Non
Persisted TPM" - NonPersistedTPMNon-persisted TPM encryption type
SecurityTypes, SecurityTypesArgs
- Trusted
Launch - TrustedLaunchTrusted Launch security type
- Confidential
VM - ConfidentialVMConfidential VM security type
- Security
Types Trusted Launch - TrustedLaunchTrusted Launch security type
- Security
Types Confidential VM - ConfidentialVMConfidential VM security type
- Trusted
Launch - TrustedLaunchTrusted Launch security type
- Confidential
VM - ConfidentialVMConfidential VM security type
- Trusted
Launch - TrustedLaunchTrusted Launch security type
- Confidential
VM - ConfidentialVMConfidential VM security type
- TRUSTED_LAUNCH
- TrustedLaunchTrusted Launch security type
- CONFIDENTIAL_VM
- ConfidentialVMConfidential VM security type
- "Trusted
Launch" - TrustedLaunchTrusted Launch security type
- "Confidential
VM" - ConfidentialVMConfidential VM security type
SshConfiguration, SshConfigurationArgs
- Public
Keys List<Pulumi.Azure Native. Azure Stack HCI. Inputs. Ssh Public Key> - The list of SSH public keys used to authenticate with linux based VMs.
- Public
Keys []SshPublic Key - The list of SSH public keys used to authenticate with linux based VMs.
- public
Keys List<SshPublic Key> - The list of SSH public keys used to authenticate with linux based VMs.
- public
Keys SshPublic Key[] - The list of SSH public keys used to authenticate with linux based VMs.
- public_
keys Sequence[SshPublic Key] - The list of SSH public keys used to authenticate with linux based VMs.
- public
Keys List<Property Map> - The list of SSH public keys used to authenticate with linux based VMs.
SshConfigurationResponse, SshConfigurationResponseArgs
- Public
Keys List<Pulumi.Azure Native. Azure Stack HCI. Inputs. Ssh Public Key Response> - The list of SSH public keys used to authenticate with linux based VMs.
- Public
Keys []SshPublic Key Response - The list of SSH public keys used to authenticate with linux based VMs.
- public
Keys List<SshPublic Key Response> - The list of SSH public keys used to authenticate with linux based VMs.
- public
Keys SshPublic Key Response[] - The list of SSH public keys used to authenticate with linux based VMs.
- public_
keys Sequence[SshPublic Key Response] - The list of SSH public keys used to authenticate with linux based VMs.
- public
Keys List<Property Map> - The list of SSH public keys used to authenticate with linux based VMs.
SshPublicKey, SshPublicKeyArgs
- Key
Data 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://learn.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 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://learn.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 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://learn.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 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://learn.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://learn.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
- key
Data 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://learn.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
- Key
Data 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://learn.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 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://learn.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 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://learn.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 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://learn.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://learn.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
- key
Data 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://learn.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
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- Client
Id string - The client ID of the assigned identity.
- Principal
Id string - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
- client
Id string - The client ID of the assigned identity.
- principal
Id string - The principal ID of the assigned identity.
- client_
id str - The client ID of the assigned identity.
- principal_
id str - The principal ID of the assigned identity.
- client
Id String - The client ID of the assigned identity.
- principal
Id String - The principal ID of the assigned identity.
VMDiskSecurityProfile, VMDiskSecurityProfileArgs
- Security
Encryption string | Pulumi.Type Azure Native. Azure Stack HCI. Security Encryption Type - Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs.
- Security
Encryption string | SecurityType Encryption Type - Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs.
- security
Encryption String | SecurityType Encryption Type - Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs.
- security
Encryption string | SecurityType Encryption Type - Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs.
- security_
encryption_ str | Securitytype Encryption Type - Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs.
- security
Encryption String | "NonType Persisted TPM" - Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs.
VMDiskSecurityProfileResponse, VMDiskSecurityProfileResponseArgs
- Security
Encryption stringType - Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs.
- Security
Encryption stringType - Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs.
- security
Encryption StringType - Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs.
- security
Encryption stringType - Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs.
- security_
encryption_ strtype - Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs.
- security
Encryption StringType - Specifies the EncryptionType of the managed disk. It is set to NonPersistedTPM for not persisting firmware state in the VMGuestState blob. NOTE: It can be set for only Confidential VMs.
VirtualHardDiskArmReference, VirtualHardDiskArmReferenceArgs
- Id string
- The ARM ID for a Virtual Hard Disk.
- Id string
- The ARM ID for a Virtual Hard Disk.
- id String
- The ARM ID for a Virtual Hard Disk.
- id string
- The ARM ID for a Virtual Hard Disk.
- id str
- The ARM ID for a Virtual Hard Disk.
- id String
- The ARM ID for a Virtual Hard Disk.
VirtualHardDiskArmReferenceResponse, VirtualHardDiskArmReferenceResponseArgs
- Id string
- The ARM ID for a Virtual Hard Disk.
- Id string
- The ARM ID for a Virtual Hard Disk.
- id String
- The ARM ID for a Virtual Hard Disk.
- id string
- The ARM ID for a Virtual Hard Disk.
- id str
- The ARM ID for a Virtual Hard Disk.
- id String
- The ARM ID for a Virtual Hard Disk.
VirtualMachineConfigAgentInstanceViewResponse, VirtualMachineConfigAgentInstanceViewResponseArgs
- Statuses
List<Pulumi.
Azure Native. Azure Stack HCI. Inputs. Instance View Status Response> - The resource status information.
- Vm
Config stringAgent Version - The VM Config Agent full version.
- Statuses
[]Instance
View Status Response - The resource status information.
- Vm
Config stringAgent Version - The VM Config Agent full version.
- statuses
List<Instance
View Status Response> - The resource status information.
- vm
Config StringAgent Version - The VM Config Agent full version.
- statuses
Instance
View Status Response[] - The resource status information.
- vm
Config stringAgent Version - The VM Config Agent full version.
- statuses
Sequence[Instance
View Status Response] - The resource status information.
- vm_
config_ stragent_ version - The VM Config Agent full version.
- statuses List<Property Map>
- The resource status information.
- vm
Config StringAgent Version - The VM Config Agent full version.
VirtualMachineInstanceManagedDiskParameters, VirtualMachineInstanceManagedDiskParametersArgs
- Security
Profile Pulumi.Azure Native. Azure Stack HCI. Inputs. VMDisk Security Profile - Specifies the security profile for the managed disk.
- Security
Profile VMDiskSecurity Profile - Specifies the security profile for the managed disk.
- security
Profile VMDiskSecurity Profile - Specifies the security profile for the managed disk.
- security
Profile VMDiskSecurity Profile - Specifies the security profile for the managed disk.
- security_
profile VMDiskSecurity Profile - Specifies the security profile for the managed disk.
- security
Profile Property Map - Specifies the security profile for the managed disk.
VirtualMachineInstanceManagedDiskParametersResponse, VirtualMachineInstanceManagedDiskParametersResponseArgs
- Security
Profile Pulumi.Azure Native. Azure Stack HCI. Inputs. VMDisk Security Profile Response - Specifies the security profile for the managed disk.
- Security
Profile VMDiskSecurity Profile Response - Specifies the security profile for the managed disk.
- security
Profile VMDiskSecurity Profile Response - Specifies the security profile for the managed disk.
- security
Profile VMDiskSecurity Profile Response - Specifies the security profile for the managed disk.
- security_
profile VMDiskSecurity Profile Response - Specifies the security profile for the managed disk.
- security
Profile Property Map - Specifies the security profile for the managed disk.
VirtualMachineInstancePropertiesHardwareProfile, VirtualMachineInstancePropertiesHardwareProfileArgs
- Dynamic
Memory Pulumi.Config Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Hardware Profile Dynamic Memory Config - Dynamic memory config
- Memory
MB double - RAM in MB for the virtual machine instance
- Processors int
- number of processors for the virtual machine instance
- Virtual
Machine List<Pulumi.GPUs Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Hardware Profile Virtual Machine GPU> - virtualMachineGPUs - list of gpus to be attached to the virtual machine instance
- Vm
Size string | Pulumi.Azure Native. Azure Stack HCI. Vm Size Enum - Enum of VM Sizes
- Dynamic
Memory VirtualConfig Machine Instance Properties Hardware Profile Dynamic Memory Config - Dynamic memory config
- Memory
MB float64 - RAM in MB for the virtual machine instance
- Processors int
- number of processors for the virtual machine instance
- Virtual
Machine []VirtualGPUs Machine Instance Properties Hardware Profile Virtual Machine GPU - virtualMachineGPUs - list of gpus to be attached to the virtual machine instance
- Vm
Size string | VmSize Enum - Enum of VM Sizes
- dynamic
Memory VirtualConfig Machine Instance Properties Hardware Profile Dynamic Memory Config - Dynamic memory config
- memory
MB Double - RAM in MB for the virtual machine instance
- processors Integer
- number of processors for the virtual machine instance
- virtual
Machine List<VirtualGPUs Machine Instance Properties Hardware Profile Virtual Machine GPU> - virtualMachineGPUs - list of gpus to be attached to the virtual machine instance
- vm
Size String | VmSize Enum - Enum of VM Sizes
- dynamic
Memory VirtualConfig Machine Instance Properties Hardware Profile Dynamic Memory Config - Dynamic memory config
- memory
MB number - RAM in MB for the virtual machine instance
- processors number
- number of processors for the virtual machine instance
- virtual
Machine VirtualGPUs Machine Instance Properties Hardware Profile Virtual Machine GPU[] - virtualMachineGPUs - list of gpus to be attached to the virtual machine instance
- vm
Size string | VmSize Enum - Enum of VM Sizes
- dynamic_
memory_ Virtualconfig Machine Instance Properties Hardware Profile Dynamic Memory Config - Dynamic memory config
- memory_
mb float - RAM in MB for the virtual machine instance
- processors int
- number of processors for the virtual machine instance
- virtual_
machine_ Sequence[Virtualgpus Machine Instance Properties Hardware Profile Virtual Machine GPU] - virtualMachineGPUs - list of gpus to be attached to the virtual machine instance
- vm_
size str | VmSize Enum - Enum of VM Sizes
- dynamic
Memory Property MapConfig - Dynamic memory config
- memory
MB Number - RAM in MB for the virtual machine instance
- processors Number
- number of processors for the virtual machine instance
- virtual
Machine List<Property Map>GPUs - virtualMachineGPUs - list of gpus to be attached to the virtual machine instance
- vm
Size String | "Default" | "Standard_A2_v2" | "Standard_A4_ v2" | "Standard_D2s_ v3" | "Standard_D4s_ v3" | "Standard_D8s_ v3" | "Standard_D16s_ v3" | "Standard_D32s_ v3" | "Standard_DS2_ v2" | "Standard_DS3_ v2" | "Standard_DS4_ v2" | "Standard_DS5_ v2" | "Standard_DS13_ v2" | "Standard_K8S_ v1" | "Standard_K8S2_ v1" | "Standard_K8S3_ v1" | "Standard_K8S4_ v1" | "Standard_NK6" | "Standard_NK12" | "Standard_NV6" | "Standard_NV12" | "Standard_K8S5_ v1" | "Custom" - Enum of VM Sizes
VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfig, VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigArgs
- Maximum
Memory doubleMB - Maximum memory in MB
- Minimum
Memory doubleMB - Minimum memory in MB
- Target
Memory intBuffer - 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 float64MB - Maximum memory in MB
- Minimum
Memory float64MB - Minimum memory in MB
- Target
Memory intBuffer - 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 DoubleMB - Maximum memory in MB
- minimum
Memory DoubleMB - Minimum memory in MB
- target
Memory IntegerBuffer - 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 numberMB - Maximum memory in MB
- minimum
Memory numberMB - Minimum memory in MB
- target
Memory numberBuffer - 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_ floatmb - Maximum memory in MB
- minimum_
memory_ floatmb - Minimum memory in MB
- target_
memory_ intbuffer - 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 NumberMB - Maximum memory in MB
- minimum
Memory NumberMB - Minimum memory in MB
- target
Memory NumberBuffer - 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.
VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponse, VirtualMachineInstancePropertiesHardwareProfileDynamicMemoryConfigResponseArgs
- Maximum
Memory doubleMB - Maximum memory in MB
- Minimum
Memory doubleMB - Minimum memory in MB
- Target
Memory intBuffer - 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 float64MB - Maximum memory in MB
- Minimum
Memory float64MB - Minimum memory in MB
- Target
Memory intBuffer - 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 DoubleMB - Maximum memory in MB
- minimum
Memory DoubleMB - Minimum memory in MB
- target
Memory IntegerBuffer - 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 numberMB - Maximum memory in MB
- minimum
Memory numberMB - Minimum memory in MB
- target
Memory numberBuffer - 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_ floatmb - Maximum memory in MB
- minimum_
memory_ floatmb - Minimum memory in MB
- target_
memory_ intbuffer - 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 NumberMB - Maximum memory in MB
- minimum
Memory NumberMB - Minimum memory in MB
- target
Memory NumberBuffer - 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.
VirtualMachineInstancePropertiesHardwareProfileResponse, VirtualMachineInstancePropertiesHardwareProfileResponseArgs
- Dynamic
Memory Pulumi.Config Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Hardware Profile Dynamic Memory Config Response - Dynamic memory config
- Memory
MB double - RAM in MB for the virtual machine instance
- Processors int
- number of processors for the virtual machine instance
- Virtual
Machine List<Pulumi.GPUs Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Hardware Profile Virtual Machine GPUResponse> - virtualMachineGPUs - list of gpus to be attached to the virtual machine instance
- Vm
Size string - Enum of VM Sizes
- Dynamic
Memory VirtualConfig Machine Instance Properties Hardware Profile Dynamic Memory Config Response - Dynamic memory config
- Memory
MB float64 - RAM in MB for the virtual machine instance
- Processors int
- number of processors for the virtual machine instance
- Virtual
Machine []VirtualGPUs Machine Instance Properties Hardware Profile Virtual Machine GPUResponse - virtualMachineGPUs - list of gpus to be attached to the virtual machine instance
- Vm
Size string - Enum of VM Sizes
- dynamic
Memory VirtualConfig Machine Instance Properties Hardware Profile Dynamic Memory Config Response - Dynamic memory config
- memory
MB Double - RAM in MB for the virtual machine instance
- processors Integer
- number of processors for the virtual machine instance
- virtual
Machine List<VirtualGPUs Machine Instance Properties Hardware Profile Virtual Machine GPUResponse> - virtualMachineGPUs - list of gpus to be attached to the virtual machine instance
- vm
Size String - Enum of VM Sizes
- dynamic
Memory VirtualConfig Machine Instance Properties Hardware Profile Dynamic Memory Config Response - Dynamic memory config
- memory
MB number - RAM in MB for the virtual machine instance
- processors number
- number of processors for the virtual machine instance
- virtual
Machine VirtualGPUs Machine Instance Properties Hardware Profile Virtual Machine GPUResponse[] - virtualMachineGPUs - list of gpus to be attached to the virtual machine instance
- vm
Size string - Enum of VM Sizes
- dynamic_
memory_ Virtualconfig Machine Instance Properties Hardware Profile Dynamic Memory Config Response - Dynamic memory config
- memory_
mb float - RAM in MB for the virtual machine instance
- processors int
- number of processors for the virtual machine instance
- virtual_
machine_ Sequence[Virtualgpus Machine Instance Properties Hardware Profile Virtual Machine GPUResponse] - virtualMachineGPUs - list of gpus to be attached to the virtual machine instance
- vm_
size str - Enum of VM Sizes
- dynamic
Memory Property MapConfig - Dynamic memory config
- memory
MB Number - RAM in MB for the virtual machine instance
- processors Number
- number of processors for the virtual machine instance
- virtual
Machine List<Property Map>GPUs - virtualMachineGPUs - list of gpus to be attached to the virtual machine instance
- vm
Size String - Enum of VM Sizes
VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPU, VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUArgs
- Assignment
Type string | Pulumi.Azure Native. Azure Stack HCI. Gpu Assignment Type Enum - GPU assignment type
- Gpu
Name string - Name of the GPU
- Partition
Size doubleMB - Size of gpu partition in MB for GPU-P
- Assignment
Type string | GpuAssignment Type Enum - GPU assignment type
- Gpu
Name string - Name of the GPU
- Partition
Size float64MB - Size of gpu partition in MB for GPU-P
- assignment
Type String | GpuAssignment Type Enum - GPU assignment type
- gpu
Name String - Name of the GPU
- partition
Size DoubleMB - Size of gpu partition in MB for GPU-P
- assignment
Type string | GpuAssignment Type Enum - GPU assignment type
- gpu
Name string - Name of the GPU
- partition
Size numberMB - Size of gpu partition in MB for GPU-P
- assignment_
type str | GpuAssignment Type Enum - GPU assignment type
- gpu_
name str - Name of the GPU
- partition_
size_ floatmb - Size of gpu partition in MB for GPU-P
- assignment
Type String | "GpuDDA" | "Gpu P" - GPU assignment type
- gpu
Name String - Name of the GPU
- partition
Size NumberMB - Size of gpu partition in MB for GPU-P
VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponse, VirtualMachineInstancePropertiesHardwareProfileVirtualMachineGPUResponseArgs
- Assignment
Type string - GPU assignment type
- Gpu
Name string - Name of the GPU
- Partition
Size doubleMB - Size of gpu partition in MB for GPU-P
- Assignment
Type string - GPU assignment type
- Gpu
Name string - Name of the GPU
- Partition
Size float64MB - Size of gpu partition in MB for GPU-P
- assignment
Type String - GPU assignment type
- gpu
Name String - Name of the GPU
- partition
Size DoubleMB - Size of gpu partition in MB for GPU-P
- assignment
Type string - GPU assignment type
- gpu
Name string - Name of the GPU
- partition
Size numberMB - Size of gpu partition in MB for GPU-P
- assignment_
type str - GPU assignment type
- gpu_
name str - Name of the GPU
- partition_
size_ floatmb - Size of gpu partition in MB for GPU-P
- assignment
Type String - GPU assignment type
- gpu
Name String - Name of the GPU
- partition
Size NumberMB - Size of gpu partition in MB for GPU-P
VirtualMachineInstancePropertiesNetworkProfile, VirtualMachineInstancePropertiesNetworkProfileArgs
- Network
Interfaces List<Pulumi.Azure Native. Azure Stack HCI. Inputs. Network Interface Arm Reference> - NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
- Network
Interfaces []NetworkInterface Arm Reference - NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
- network
Interfaces List<NetworkInterface Arm Reference> - NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
- network
Interfaces NetworkInterface Arm Reference[] - NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
- network_
interfaces Sequence[NetworkInterface Arm Reference] - NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
- network
Interfaces List<Property Map> - NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
VirtualMachineInstancePropertiesNetworkProfileResponse, VirtualMachineInstancePropertiesNetworkProfileResponseArgs
- Network
Interfaces List<Pulumi.Azure Native. Azure Stack HCI. Inputs. Network Interface Arm Reference Response> - NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
- Network
Interfaces []NetworkInterface Arm Reference Response - NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
- network
Interfaces List<NetworkInterface Arm Reference Response> - NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
- network
Interfaces NetworkInterface Arm Reference Response[] - NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
- network_
interfaces Sequence[NetworkInterface Arm Reference Response] - NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
- network
Interfaces List<Property Map> - NetworkInterfaces - list of network interfaces to be attached to the virtual machine instance
VirtualMachineInstancePropertiesOsProfile, VirtualMachineInstancePropertiesOsProfileArgs
- Admin
Password string - AdminPassword - admin password
- Admin
Username string - AdminUsername - admin username
- Computer
Name string - ComputerName - name of the compute
- Linux
Configuration Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Os Profile Linux Configuration - LinuxConfiguration - linux specific configuration values for the virtual machine instance
- Windows
Configuration Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Os Profile Windows Configuration - Windows Configuration for the virtual machine instance
- Admin
Password string - AdminPassword - admin password
- Admin
Username string - AdminUsername - admin username
- Computer
Name string - ComputerName - name of the compute
- Linux
Configuration VirtualMachine Instance Properties Os Profile Linux Configuration - LinuxConfiguration - linux specific configuration values for the virtual machine instance
- Windows
Configuration VirtualMachine Instance Properties Os Profile Windows Configuration - Windows Configuration for the virtual machine instance
- admin
Password String - AdminPassword - admin password
- admin
Username String - AdminUsername - admin username
- computer
Name String - ComputerName - name of the compute
- linux
Configuration VirtualMachine Instance Properties Os Profile Linux Configuration - LinuxConfiguration - linux specific configuration values for the virtual machine instance
- windows
Configuration VirtualMachine Instance Properties Os Profile Windows Configuration - Windows Configuration for the virtual machine instance
- admin
Password string - AdminPassword - admin password
- admin
Username string - AdminUsername - admin username
- computer
Name string - ComputerName - name of the compute
- linux
Configuration VirtualMachine Instance Properties Os Profile Linux Configuration - LinuxConfiguration - linux specific configuration values for the virtual machine instance
- windows
Configuration VirtualMachine Instance Properties Os Profile Windows Configuration - 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 VirtualMachine Instance Properties Os Profile Linux Configuration - LinuxConfiguration - linux specific configuration values for the virtual machine instance
- windows_
configuration VirtualMachine Instance Properties Os Profile Windows Configuration - Windows Configuration for the virtual machine instance
- admin
Password String - AdminPassword - admin password
- admin
Username String - AdminUsername - admin username
- computer
Name String - ComputerName - name of the compute
- linux
Configuration Property Map - LinuxConfiguration - linux specific configuration values for the virtual machine instance
- windows
Configuration Property Map - Windows Configuration for the virtual machine instance
VirtualMachineInstancePropertiesOsProfileLinuxConfiguration, VirtualMachineInstancePropertiesOsProfileLinuxConfigurationArgs
- Disable
Password boolAuthentication - DisablePasswordAuthentication - whether password authentication should be disabled
- Provision
VMAgent bool - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- Provision
VMConfig boolAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- Ssh
Pulumi.
Azure Native. Azure Stack HCI. Inputs. Ssh Configuration - Specifies the ssh key configuration for a Linux OS.
- Disable
Password boolAuthentication - DisablePasswordAuthentication - whether password authentication should be disabled
- Provision
VMAgent bool - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- Provision
VMConfig boolAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- Ssh
Ssh
Configuration - Specifies the ssh key configuration for a Linux OS.
- disable
Password BooleanAuthentication - DisablePasswordAuthentication - whether password authentication should be disabled
- provision
VMAgent Boolean - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision
VMConfig BooleanAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- ssh
Ssh
Configuration - Specifies the ssh key configuration for a Linux OS.
- disable
Password booleanAuthentication - DisablePasswordAuthentication - whether password authentication should be disabled
- provision
VMAgent boolean - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision
VMConfig booleanAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- ssh
Ssh
Configuration - Specifies the ssh key configuration for a Linux OS.
- disable_
password_ boolauthentication - DisablePasswordAuthentication - whether password authentication should be disabled
- provision_
vm_ boolagent - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision_
vm_ boolconfig_ agent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- ssh
Ssh
Configuration - Specifies the ssh key configuration for a Linux OS.
- disable
Password BooleanAuthentication - DisablePasswordAuthentication - whether password authentication should be disabled
- provision
VMAgent Boolean - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision
VMConfig BooleanAgent - 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.
VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponse, VirtualMachineInstancePropertiesOsProfileLinuxConfigurationResponseArgs
- Disable
Password boolAuthentication - DisablePasswordAuthentication - whether password authentication should be disabled
- Provision
VMAgent bool - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- Provision
VMConfig boolAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- Ssh
Pulumi.
Azure Native. Azure Stack HCI. Inputs. Ssh Configuration Response - Specifies the ssh key configuration for a Linux OS.
- Disable
Password boolAuthentication - DisablePasswordAuthentication - whether password authentication should be disabled
- Provision
VMAgent bool - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- Provision
VMConfig boolAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- Ssh
Ssh
Configuration Response - Specifies the ssh key configuration for a Linux OS.
- disable
Password BooleanAuthentication - DisablePasswordAuthentication - whether password authentication should be disabled
- provision
VMAgent Boolean - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision
VMConfig BooleanAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- ssh
Ssh
Configuration Response - Specifies the ssh key configuration for a Linux OS.
- disable
Password booleanAuthentication - DisablePasswordAuthentication - whether password authentication should be disabled
- provision
VMAgent boolean - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision
VMConfig booleanAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- ssh
Ssh
Configuration Response - Specifies the ssh key configuration for a Linux OS.
- disable_
password_ boolauthentication - DisablePasswordAuthentication - whether password authentication should be disabled
- provision_
vm_ boolagent - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision_
vm_ boolconfig_ agent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- ssh
Ssh
Configuration Response - Specifies the ssh key configuration for a Linux OS.
- disable
Password BooleanAuthentication - DisablePasswordAuthentication - whether password authentication should be disabled
- provision
VMAgent Boolean - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision
VMConfig BooleanAgent - 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.
VirtualMachineInstancePropertiesOsProfileResponse, VirtualMachineInstancePropertiesOsProfileResponseArgs
- Admin
Username string - AdminUsername - admin username
- Computer
Name string - ComputerName - name of the compute
- Linux
Configuration Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Os Profile Linux Configuration Response - LinuxConfiguration - linux specific configuration values for the virtual machine instance
- Windows
Configuration Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Os Profile Windows Configuration Response - Windows Configuration for the virtual machine instance
- Admin
Username string - AdminUsername - admin username
- Computer
Name string - ComputerName - name of the compute
- Linux
Configuration VirtualMachine Instance Properties Os Profile Linux Configuration Response - LinuxConfiguration - linux specific configuration values for the virtual machine instance
- Windows
Configuration VirtualMachine Instance Properties Os Profile Windows Configuration Response - Windows Configuration for the virtual machine instance
- admin
Username String - AdminUsername - admin username
- computer
Name String - ComputerName - name of the compute
- linux
Configuration VirtualMachine Instance Properties Os Profile Linux Configuration Response - LinuxConfiguration - linux specific configuration values for the virtual machine instance
- windows
Configuration VirtualMachine Instance Properties Os Profile Windows Configuration Response - Windows Configuration for the virtual machine instance
- admin
Username string - AdminUsername - admin username
- computer
Name string - ComputerName - name of the compute
- linux
Configuration VirtualMachine Instance Properties Os Profile Linux Configuration Response - LinuxConfiguration - linux specific configuration values for the virtual machine instance
- windows
Configuration VirtualMachine Instance Properties Os Profile Windows Configuration Response - Windows Configuration for the virtual machine instance
- admin_
username str - AdminUsername - admin username
- computer_
name str - ComputerName - name of the compute
- linux_
configuration VirtualMachine Instance Properties Os Profile Linux Configuration Response - LinuxConfiguration - linux specific configuration values for the virtual machine instance
- windows_
configuration VirtualMachine Instance Properties Os Profile Windows Configuration Response - Windows Configuration for the virtual machine instance
- admin
Username String - AdminUsername - admin username
- computer
Name String - ComputerName - name of the compute
- linux
Configuration Property Map - LinuxConfiguration - linux specific configuration values for the virtual machine instance
- windows
Configuration Property Map - Windows Configuration for the virtual machine instance
VirtualMachineInstancePropertiesOsProfileWindowsConfiguration, VirtualMachineInstancePropertiesOsProfileWindowsConfigurationArgs
- Enable
Automatic boolUpdates - Whether to EnableAutomaticUpdates on the machine
- Provision
VMAgent bool - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- Provision
VMConfig boolAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- Ssh
Pulumi.
Azure Native. Azure Stack HCI. Inputs. Ssh Configuration - Specifies the ssh key configuration for Windows OS.
- Time
Zone string - TimeZone for the virtual machine instance
- Enable
Automatic boolUpdates - Whether to EnableAutomaticUpdates on the machine
- Provision
VMAgent bool - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- Provision
VMConfig boolAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- Ssh
Ssh
Configuration - Specifies the ssh key configuration for Windows OS.
- Time
Zone string - TimeZone for the virtual machine instance
- enable
Automatic BooleanUpdates - Whether to EnableAutomaticUpdates on the machine
- provision
VMAgent Boolean - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision
VMConfig BooleanAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- ssh
Ssh
Configuration - Specifies the ssh key configuration for Windows OS.
- time
Zone String - TimeZone for the virtual machine instance
- enable
Automatic booleanUpdates - Whether to EnableAutomaticUpdates on the machine
- provision
VMAgent boolean - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision
VMConfig booleanAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- ssh
Ssh
Configuration - Specifies the ssh key configuration for Windows OS.
- time
Zone string - TimeZone for the virtual machine instance
- enable_
automatic_ boolupdates - Whether to EnableAutomaticUpdates on the machine
- provision_
vm_ boolagent - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision_
vm_ boolconfig_ agent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- ssh
Ssh
Configuration - Specifies the ssh key configuration for Windows OS.
- time_
zone str - TimeZone for the virtual machine instance
- enable
Automatic BooleanUpdates - Whether to EnableAutomaticUpdates on the machine
- provision
VMAgent Boolean - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision
VMConfig BooleanAgent - 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.
- time
Zone String - TimeZone for the virtual machine instance
VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponse, VirtualMachineInstancePropertiesOsProfileWindowsConfigurationResponseArgs
- Enable
Automatic boolUpdates - Whether to EnableAutomaticUpdates on the machine
- Provision
VMAgent bool - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- Provision
VMConfig boolAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- Ssh
Pulumi.
Azure Native. Azure Stack HCI. Inputs. Ssh Configuration Response - Specifies the ssh key configuration for Windows OS.
- Time
Zone string - TimeZone for the virtual machine instance
- Enable
Automatic boolUpdates - Whether to EnableAutomaticUpdates on the machine
- Provision
VMAgent bool - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- Provision
VMConfig boolAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- Ssh
Ssh
Configuration Response - Specifies the ssh key configuration for Windows OS.
- Time
Zone string - TimeZone for the virtual machine instance
- enable
Automatic BooleanUpdates - Whether to EnableAutomaticUpdates on the machine
- provision
VMAgent Boolean - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision
VMConfig BooleanAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- ssh
Ssh
Configuration Response - Specifies the ssh key configuration for Windows OS.
- time
Zone String - TimeZone for the virtual machine instance
- enable
Automatic booleanUpdates - Whether to EnableAutomaticUpdates on the machine
- provision
VMAgent boolean - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision
VMConfig booleanAgent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- ssh
Ssh
Configuration Response - Specifies the ssh key configuration for Windows OS.
- time
Zone string - TimeZone for the virtual machine instance
- enable_
automatic_ boolupdates - Whether to EnableAutomaticUpdates on the machine
- provision_
vm_ boolagent - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision_
vm_ boolconfig_ agent - Used to indicate whether the VM Config Agent should be installed during the virtual machine creation process.
- ssh
Ssh
Configuration Response - Specifies the ssh key configuration for Windows OS.
- time_
zone str - TimeZone for the virtual machine instance
- enable
Automatic BooleanUpdates - Whether to EnableAutomaticUpdates on the machine
- provision
VMAgent Boolean - Used to indicate whether Arc for Servers agent onboarding should be triggered during the virtual machine instance creation process.
- provision
VMConfig BooleanAgent - 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.
- time
Zone String - TimeZone for the virtual machine instance
VirtualMachineInstancePropertiesSecurityProfile, VirtualMachineInstancePropertiesSecurityProfileArgs
- Enable
TPM bool - Enable TPM flag
- Security
Type string | Pulumi.Azure Native. Azure Stack HCI. Security Types - Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
- Uefi
Settings Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Security Profile Uefi Settings - Uefi settings of the virtual machine instance
- Enable
TPM bool - Enable TPM flag
- Security
Type string | SecurityTypes - Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
- Uefi
Settings VirtualMachine Instance Properties Security Profile Uefi Settings - Uefi settings of the virtual machine instance
- enable
TPM Boolean - Enable TPM flag
- security
Type String | SecurityTypes - Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
- uefi
Settings VirtualMachine Instance Properties Security Profile Uefi Settings - Uefi settings of the virtual machine instance
- enable
TPM boolean - Enable TPM flag
- security
Type string | SecurityTypes - Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
- uefi
Settings VirtualMachine Instance Properties Security Profile Uefi Settings - Uefi settings of the virtual machine instance
- enable_
tpm bool - Enable TPM flag
- 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 VirtualMachine Instance Properties Security Profile Uefi Settings - Uefi settings of the virtual machine instance
- enable
TPM Boolean - Enable TPM flag
- security
Type String | "TrustedLaunch" | "Confidential VM" - Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
- uefi
Settings Property Map - Uefi settings of the virtual machine instance
VirtualMachineInstancePropertiesSecurityProfileResponse, VirtualMachineInstancePropertiesSecurityProfileResponseArgs
- Enable
TPM bool - Enable TPM flag
- Security
Type string - Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
- Uefi
Settings Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Security Profile Uefi Settings Response - Uefi settings of the virtual machine instance
- Enable
TPM bool - Enable TPM flag
- Security
Type string - Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
- Uefi
Settings VirtualMachine Instance Properties Security Profile Uefi Settings Response - Uefi settings of the virtual machine instance
- enable
TPM Boolean - Enable TPM flag
- security
Type String - Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
- uefi
Settings VirtualMachine Instance Properties Security Profile Uefi Settings Response - Uefi settings of the virtual machine instance
- enable
TPM boolean - Enable TPM flag
- security
Type string - Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
- uefi
Settings VirtualMachine Instance Properties Security Profile Uefi Settings Response - Uefi settings of the virtual machine instance
- enable_
tpm bool - Enable TPM flag
- security_
type str - Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
- uefi_
settings VirtualMachine Instance Properties Security Profile Uefi Settings Response - Uefi settings of the virtual machine instance
- enable
TPM Boolean - Enable TPM flag
- security
Type String - Specifies the SecurityType of the virtual machine. EnableTPM and SecureBootEnabled must be set to true for SecurityType to function.
- uefi
Settings Property Map - Uefi settings of the virtual machine instance
VirtualMachineInstancePropertiesSecurityProfileUefiSettings, VirtualMachineInstancePropertiesSecurityProfileUefiSettingsArgs
- Secure
Boot boolEnabled - Specifies whether secure boot should be enabled on the virtual machine instance.
- Secure
Boot boolEnabled - Specifies whether secure boot should be enabled on the virtual machine instance.
- secure
Boot BooleanEnabled - Specifies whether secure boot should be enabled on the virtual machine instance.
- secure
Boot booleanEnabled - Specifies whether secure boot should be enabled on the virtual machine instance.
- secure_
boot_ boolenabled - Specifies whether secure boot should be enabled on the virtual machine instance.
- secure
Boot BooleanEnabled - Specifies whether secure boot should be enabled on the virtual machine instance.
VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponse, VirtualMachineInstancePropertiesSecurityProfileUefiSettingsResponseArgs
- Secure
Boot boolEnabled - Specifies whether secure boot should be enabled on the virtual machine instance.
- Secure
Boot boolEnabled - Specifies whether secure boot should be enabled on the virtual machine instance.
- secure
Boot BooleanEnabled - Specifies whether secure boot should be enabled on the virtual machine instance.
- secure
Boot booleanEnabled - Specifies whether secure boot should be enabled on the virtual machine instance.
- secure_
boot_ boolenabled - Specifies whether secure boot should be enabled on the virtual machine instance.
- secure
Boot BooleanEnabled - Specifies whether secure boot should be enabled on the virtual machine instance.
VirtualMachineInstancePropertiesStorageProfile, VirtualMachineInstancePropertiesStorageProfileArgs
- Data
Disks List<Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Hard Disk Arm Reference> - adds data disks to the virtual machine instance
- Image
Reference Pulumi.Azure Native. Azure Stack HCI. Inputs. Image Arm Reference - Which Image to use for the virtual machine instance
- Os
Disk Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Storage Profile Os Disk - VHD to attach as OS disk
- Vm
Config stringStorage Path Id - Id of the storage container that hosts the VM configuration file
- Data
Disks []VirtualHard Disk Arm Reference - adds data disks to the virtual machine instance
- Image
Reference ImageArm Reference - Which Image to use for the virtual machine instance
- Os
Disk VirtualMachine Instance Properties Storage Profile Os Disk - VHD to attach as OS disk
- Vm
Config stringStorage Path Id - Id of the storage container that hosts the VM configuration file
- data
Disks List<VirtualHard Disk Arm Reference> - adds data disks to the virtual machine instance
- image
Reference ImageArm Reference - Which Image to use for the virtual machine instance
- os
Disk VirtualMachine Instance Properties Storage Profile Os Disk - VHD to attach as OS disk
- vm
Config StringStorage Path Id - Id of the storage container that hosts the VM configuration file
- data
Disks VirtualHard Disk Arm Reference[] - adds data disks to the virtual machine instance
- image
Reference ImageArm Reference - Which Image to use for the virtual machine instance
- os
Disk VirtualMachine Instance Properties Storage Profile Os Disk - VHD to attach as OS disk
- vm
Config stringStorage Path Id - Id of the storage container that hosts the VM configuration file
- data_
disks Sequence[VirtualHard Disk Arm Reference] - adds data disks to the virtual machine instance
- image_
reference ImageArm Reference - Which Image to use for the virtual machine instance
- os_
disk VirtualMachine Instance Properties Storage Profile Os Disk - VHD to attach as OS disk
- vm_
config_ strstorage_ path_ id - Id of the storage container that hosts the VM configuration file
- data
Disks List<Property Map> - adds data disks to the virtual machine instance
- image
Reference Property Map - Which Image to use for the virtual machine instance
- os
Disk Property Map - VHD to attach as OS disk
- vm
Config StringStorage Path Id - Id of the storage container that hosts the VM configuration file
VirtualMachineInstancePropertiesStorageProfileOsDisk, VirtualMachineInstancePropertiesStorageProfileOsDiskArgs
- Id string
- The ARM ID for a Virtual Hard Disk.
- Managed
Disk Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Managed Disk Parameters - The managed disk parameters.
- Os
Type string | Pulumi.Azure Native. Azure Stack HCI. Operating System Types - 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
- The ARM ID for a Virtual Hard Disk.
- Managed
Disk VirtualMachine Instance Managed Disk Parameters - The managed disk parameters.
- Os
Type string | OperatingSystem Types - 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
- The ARM ID for a Virtual Hard Disk.
- managed
Disk VirtualMachine Instance Managed Disk Parameters - The managed disk parameters.
- os
Type String | OperatingSystem Types - 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
- The ARM ID for a Virtual Hard Disk.
- managed
Disk VirtualMachine Instance Managed Disk Parameters - The managed disk parameters.
- os
Type string | OperatingSystem Types - 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
- The ARM ID for a Virtual Hard Disk.
- managed_
disk VirtualMachine Instance Managed Disk Parameters - The managed disk parameters.
- os_
type str | OperatingSystem Types - 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
- The ARM ID for a Virtual Hard Disk.
- managed
Disk Property Map - The managed disk parameters.
- os
Type String | "Windows" | "Linux" - 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.
VirtualMachineInstancePropertiesStorageProfileOsDiskResponse, VirtualMachineInstancePropertiesStorageProfileOsDiskResponseArgs
- Id string
- The ARM ID for a Virtual Hard Disk.
- Managed
Disk Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Managed Disk Parameters Response - The managed disk parameters.
- Os
Type 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
- The ARM ID for a Virtual Hard Disk.
- Managed
Disk VirtualMachine Instance Managed Disk Parameters Response - The managed disk parameters.
- Os
Type 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
- The ARM ID for a Virtual Hard Disk.
- managed
Disk VirtualMachine Instance Managed Disk Parameters Response - The managed disk parameters.
- os
Type 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
- The ARM ID for a Virtual Hard Disk.
- managed
Disk VirtualMachine Instance Managed Disk Parameters Response - The managed disk parameters.
- os
Type 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
- The ARM ID for a Virtual Hard Disk.
- managed_
disk VirtualMachine Instance Managed Disk Parameters Response - The managed disk parameters.
- 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
- The ARM ID for a Virtual Hard Disk.
- managed
Disk Property Map - The managed disk parameters.
- os
Type 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.
VirtualMachineInstancePropertiesStorageProfileResponse, VirtualMachineInstancePropertiesStorageProfileResponseArgs
- Data
Disks List<Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Hard Disk Arm Reference Response> - adds data disks to the virtual machine instance
- Image
Reference Pulumi.Azure Native. Azure Stack HCI. Inputs. Image Arm Reference Response - Which Image to use for the virtual machine instance
- Os
Disk Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Properties Storage Profile Os Disk Response - VHD to attach as OS disk
- Vm
Config stringStorage Path Id - Id of the storage container that hosts the VM configuration file
- Data
Disks []VirtualHard Disk Arm Reference Response - adds data disks to the virtual machine instance
- Image
Reference ImageArm Reference Response - Which Image to use for the virtual machine instance
- Os
Disk VirtualMachine Instance Properties Storage Profile Os Disk Response - VHD to attach as OS disk
- Vm
Config stringStorage Path Id - Id of the storage container that hosts the VM configuration file
- data
Disks List<VirtualHard Disk Arm Reference Response> - adds data disks to the virtual machine instance
- image
Reference ImageArm Reference Response - Which Image to use for the virtual machine instance
- os
Disk VirtualMachine Instance Properties Storage Profile Os Disk Response - VHD to attach as OS disk
- vm
Config StringStorage Path Id - Id of the storage container that hosts the VM configuration file
- data
Disks VirtualHard Disk Arm Reference Response[] - adds data disks to the virtual machine instance
- image
Reference ImageArm Reference Response - Which Image to use for the virtual machine instance
- os
Disk VirtualMachine Instance Properties Storage Profile Os Disk Response - VHD to attach as OS disk
- vm
Config stringStorage Path Id - Id of the storage container that hosts the VM configuration file
- data_
disks Sequence[VirtualHard Disk Arm Reference Response] - adds data disks to the virtual machine instance
- image_
reference ImageArm Reference Response - Which Image to use for the virtual machine instance
- os_
disk VirtualMachine Instance Properties Storage Profile Os Disk Response - VHD to attach as OS disk
- vm_
config_ strstorage_ path_ id - Id of the storage container that hosts the VM configuration file
- data
Disks List<Property Map> - adds data disks to the virtual machine instance
- image
Reference Property Map - Which Image to use for the virtual machine instance
- os
Disk Property Map - VHD to attach as OS disk
- vm
Config StringStorage Path Id - Id of the storage container that hosts the VM configuration file
VirtualMachineInstanceStatusProvisioningStatusResponse, VirtualMachineInstanceStatusProvisioningStatusResponseArgs
- Status string
- The status of the operation performed on the virtual machine instance [Succeeded, Failed, InProgress]
- Operation
Id 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 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 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 string - 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]
- operation_
id str - 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 String - The ID of the operation performed on the virtual machine instance
VirtualMachineInstanceStatusResponse, VirtualMachineInstanceStatusResponseArgs
- Error
Code string - VirtualMachine provisioning error code
- Error
Message string - Descriptive error message
- Power
State string - The power state of the virtual machine instance
- Provisioning
Status Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Instance Status Provisioning Status Response - Provisioning status of the virtual machine instance
- Error
Code string - VirtualMachine provisioning error code
- Error
Message string - Descriptive error message
- Power
State string - The power state of the virtual machine instance
- Provisioning
Status VirtualMachine Instance Status Provisioning Status Response - Provisioning status of the virtual machine instance
- error
Code String - VirtualMachine provisioning error code
- error
Message String - Descriptive error message
- power
State String - The power state of the virtual machine instance
- provisioning
Status VirtualMachine Instance Status Provisioning Status Response - Provisioning status of the virtual machine instance
- error
Code string - VirtualMachine provisioning error code
- error
Message string - Descriptive error message
- power
State string - The power state of the virtual machine instance
- provisioning
Status VirtualMachine Instance Status Provisioning Status Response - Provisioning status of the virtual machine instance
- 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 VirtualMachine Instance Status Provisioning Status Response - Provisioning status of the virtual machine instance
- error
Code String - VirtualMachine provisioning error code
- error
Message String - Descriptive error message
- power
State String - The power state of the virtual machine instance
- provisioning
Status Property Map - Provisioning status of the virtual machine instance
VirtualMachineInstanceViewResponse, VirtualMachineInstanceViewResponseArgs
- Vm
Agent Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Machine Config Agent Instance View Response - The VM Config Agent running on the virtual machine.
- Vm
Agent VirtualMachine Config Agent Instance View Response - The VM Config Agent running on the virtual machine.
- vm
Agent VirtualMachine Config Agent Instance View Response - The VM Config Agent running on the virtual machine.
- vm
Agent VirtualMachine Config Agent Instance View Response - The VM Config Agent running on the virtual machine.
- vm_
agent VirtualMachine Config Agent Instance View Response - The VM Config Agent running on the virtual machine.
- vm
Agent Property Map - The VM Config Agent running on the virtual machine.
VmSizeEnum, VmSizeEnumArgs
- Default
- DefaultDefault virtual machine size
- Standard_A2_
v2 - Standard_A2_v2Standard A2 v2 virtual machine size
- Standard_A4_
v2 - Standard_A4_v2Standard A4 v2 virtual machine size
- Standard_D2s_
v3 - Standard_D2s_v3Standard D2s v3 virtual machine size
- Standard_D4s_
v3 - Standard_D4s_v3Standard D4s v3 virtual machine size
- Standard_D8s_
v3 - Standard_D8s_v3Standard D8s v3 virtual machine size
- Standard_D16s_
v3 - Standard_D16s_v3Standard D16s v3 virtual machine size
- Standard_D32s_
v3 - Standard_D32s_v3Standard D32s v3 virtual machine size
- Standard_DS2_
v2 - Standard_DS2_v2Standard DS2 v2 virtual machine size
- Standard_DS3_
v2 - Standard_DS3_v2Standard DS3 v2 virtual machine size
- Standard_DS4_
v2 - Standard_DS4_v2Standard DS4 v2 virtual machine size
- Standard_DS5_
v2 - Standard_DS5_v2Standard DS5 v2 virtual machine size
- Standard_DS13_
v2 - Standard_DS13_v2Standard DS13 v2 virtual machine size
- Standard_K8S_
v1 - Standard_K8S_v1Standard K8S v1 virtual machine size
- Standard_K8S2_
v1 - Standard_K8S2_v1Standard K8S2 v1 virtual machine size
- Standard_K8S3_
v1 - Standard_K8S3_v1Standard K8S3 v1 virtual machine size
- Standard_K8S4_
v1 - Standard_K8S4_v1Standard K8S4 v1 virtual machine size
- Standard_NK6
- Standard_NK6Standard NK6 virtual machine size
- Standard_NK12
- Standard_NK12Standard NK12 virtual machine size
- Standard_NV6
- Standard_NV6Standard NV6 virtual machine size
- Standard_NV12
- Standard_NV12Standard NV12 virtual machine size
- Standard_K8S5_
v1 - Standard_K8S5_v1Standard K8S5 v1 virtual machine size
- Custom
- CustomCustom virtual machine size
- Vm
Size Enum Default - DefaultDefault virtual machine size
- Vm
Size Enum_Standard_A2_ v2 - Standard_A2_v2Standard A2 v2 virtual machine size
- Vm
Size Enum_Standard_A4_ v2 - Standard_A4_v2Standard A4 v2 virtual machine size
- Vm
Size Enum_Standard_D2s_ v3 - Standard_D2s_v3Standard D2s v3 virtual machine size
- Vm
Size Enum_Standard_D4s_ v3 - Standard_D4s_v3Standard D4s v3 virtual machine size
- Vm
Size Enum_Standard_D8s_ v3 - Standard_D8s_v3Standard D8s v3 virtual machine size
- Vm
Size Enum_Standard_D16s_ v3 - Standard_D16s_v3Standard D16s v3 virtual machine size
- Vm
Size Enum_Standard_D32s_ v3 - Standard_D32s_v3Standard D32s v3 virtual machine size
- Vm
Size Enum_Standard_DS2_ v2 - Standard_DS2_v2Standard DS2 v2 virtual machine size
- Vm
Size Enum_Standard_DS3_ v2 - Standard_DS3_v2Standard DS3 v2 virtual machine size
- Vm
Size Enum_Standard_DS4_ v2 - Standard_DS4_v2Standard DS4 v2 virtual machine size
- Vm
Size Enum_Standard_DS5_ v2 - Standard_DS5_v2Standard DS5 v2 virtual machine size
- Vm
Size Enum_Standard_DS13_ v2 - Standard_DS13_v2Standard DS13 v2 virtual machine size
- Vm
Size Enum_Standard_K8S_ v1 - Standard_K8S_v1Standard K8S v1 virtual machine size
- Vm
Size Enum_Standard_K8S2_ v1 - Standard_K8S2_v1Standard K8S2 v1 virtual machine size
- Vm
Size Enum_Standard_K8S3_ v1 - Standard_K8S3_v1Standard K8S3 v1 virtual machine size
- Vm
Size Enum_Standard_K8S4_ v1 - Standard_K8S4_v1Standard K8S4 v1 virtual machine size
- Vm
Size Enum_Standard_NK6 - Standard_NK6Standard NK6 virtual machine size
- Vm
Size Enum_Standard_NK12 - Standard_NK12Standard NK12 virtual machine size
- Vm
Size Enum_Standard_NV6 - Standard_NV6Standard NV6 virtual machine size
- Vm
Size Enum_Standard_NV12 - Standard_NV12Standard NV12 virtual machine size
- Vm
Size Enum_Standard_K8S5_ v1 - Standard_K8S5_v1Standard K8S5 v1 virtual machine size
- Vm
Size Enum Custom - CustomCustom virtual machine size
- Default
- DefaultDefault virtual machine size
- Standard_A2_
v2 - Standard_A2_v2Standard A2 v2 virtual machine size
- Standard_A4_
v2 - Standard_A4_v2Standard A4 v2 virtual machine size
- Standard_D2s_
v3 - Standard_D2s_v3Standard D2s v3 virtual machine size
- Standard_D4s_
v3 - Standard_D4s_v3Standard D4s v3 virtual machine size
- Standard_D8s_
v3 - Standard_D8s_v3Standard D8s v3 virtual machine size
- Standard_D16s_
v3 - Standard_D16s_v3Standard D16s v3 virtual machine size
- Standard_D32s_
v3 - Standard_D32s_v3Standard D32s v3 virtual machine size
- Standard_DS2_
v2 - Standard_DS2_v2Standard DS2 v2 virtual machine size
- Standard_DS3_
v2 - Standard_DS3_v2Standard DS3 v2 virtual machine size
- Standard_DS4_
v2 - Standard_DS4_v2Standard DS4 v2 virtual machine size
- Standard_DS5_
v2 - Standard_DS5_v2Standard DS5 v2 virtual machine size
- Standard_DS13_
v2 - Standard_DS13_v2Standard DS13 v2 virtual machine size
- Standard_K8S_
v1 - Standard_K8S_v1Standard K8S v1 virtual machine size
- Standard_K8S2_
v1 - Standard_K8S2_v1Standard K8S2 v1 virtual machine size
- Standard_K8S3_
v1 - Standard_K8S3_v1Standard K8S3 v1 virtual machine size
- Standard_K8S4_
v1 - Standard_K8S4_v1Standard K8S4 v1 virtual machine size
- Standard_NK6
- Standard_NK6Standard NK6 virtual machine size
- Standard_NK12
- Standard_NK12Standard NK12 virtual machine size
- Standard_NV6
- Standard_NV6Standard NV6 virtual machine size
- Standard_NV12
- Standard_NV12Standard NV12 virtual machine size
- Standard_K8S5_
v1 - Standard_K8S5_v1Standard K8S5 v1 virtual machine size
- Custom
- CustomCustom virtual machine size
- Default
- DefaultDefault virtual machine size
- Standard_A2_
v2 - Standard_A2_v2Standard A2 v2 virtual machine size
- Standard_A4_
v2 - Standard_A4_v2Standard A4 v2 virtual machine size
- Standard_D2s_
v3 - Standard_D2s_v3Standard D2s v3 virtual machine size
- Standard_D4s_
v3 - Standard_D4s_v3Standard D4s v3 virtual machine size
- Standard_D8s_
v3 - Standard_D8s_v3Standard D8s v3 virtual machine size
- Standard_D16s_
v3 - Standard_D16s_v3Standard D16s v3 virtual machine size
- Standard_D32s_
v3 - Standard_D32s_v3Standard D32s v3 virtual machine size
- Standard_DS2_
v2 - Standard_DS2_v2Standard DS2 v2 virtual machine size
- Standard_DS3_
v2 - Standard_DS3_v2Standard DS3 v2 virtual machine size
- Standard_DS4_
v2 - Standard_DS4_v2Standard DS4 v2 virtual machine size
- Standard_DS5_
v2 - Standard_DS5_v2Standard DS5 v2 virtual machine size
- Standard_DS13_
v2 - Standard_DS13_v2Standard DS13 v2 virtual machine size
- Standard_K8S_
v1 - Standard_K8S_v1Standard K8S v1 virtual machine size
- Standard_K8S2_
v1 - Standard_K8S2_v1Standard K8S2 v1 virtual machine size
- Standard_K8S3_
v1 - Standard_K8S3_v1Standard K8S3 v1 virtual machine size
- Standard_K8S4_
v1 - Standard_K8S4_v1Standard K8S4 v1 virtual machine size
- Standard_NK6
- Standard_NK6Standard NK6 virtual machine size
- Standard_NK12
- Standard_NK12Standard NK12 virtual machine size
- Standard_NV6
- Standard_NV6Standard NV6 virtual machine size
- Standard_NV12
- Standard_NV12Standard NV12 virtual machine size
- Standard_K8S5_
v1 - Standard_K8S5_v1Standard K8S5 v1 virtual machine size
- Custom
- CustomCustom virtual machine size
- DEFAULT
- DefaultDefault virtual machine size
- STANDARD_A2_V2
- Standard_A2_v2Standard A2 v2 virtual machine size
- STANDARD_A4_V2
- Standard_A4_v2Standard A4 v2 virtual machine size
- STANDARD_D2S_V3
- Standard_D2s_v3Standard D2s v3 virtual machine size
- STANDARD_D4S_V3
- Standard_D4s_v3Standard D4s v3 virtual machine size
- STANDARD_D8S_V3
- Standard_D8s_v3Standard D8s v3 virtual machine size
- STANDARD_D16S_V3
- Standard_D16s_v3Standard D16s v3 virtual machine size
- STANDARD_D32S_V3
- Standard_D32s_v3Standard D32s v3 virtual machine size
- STANDARD_DS2_V2
- Standard_DS2_v2Standard DS2 v2 virtual machine size
- STANDARD_DS3_V2
- Standard_DS3_v2Standard DS3 v2 virtual machine size
- STANDARD_DS4_V2
- Standard_DS4_v2Standard DS4 v2 virtual machine size
- STANDARD_DS5_V2
- Standard_DS5_v2Standard DS5 v2 virtual machine size
- STANDARD_DS13_V2
- Standard_DS13_v2Standard DS13 v2 virtual machine size
- STANDARD_K8_S_V1
- Standard_K8S_v1Standard K8S v1 virtual machine size
- STANDARD_K8_S2_V1
- Standard_K8S2_v1Standard K8S2 v1 virtual machine size
- STANDARD_K8_S3_V1
- Standard_K8S3_v1Standard K8S3 v1 virtual machine size
- STANDARD_K8_S4_V1
- Standard_K8S4_v1Standard K8S4 v1 virtual machine size
- STANDARD_NK6
- Standard_NK6Standard NK6 virtual machine size
- STANDARD_NK12
- Standard_NK12Standard NK12 virtual machine size
- STANDARD_NV6
- Standard_NV6Standard NV6 virtual machine size
- STANDARD_NV12
- Standard_NV12Standard NV12 virtual machine size
- STANDARD_K8_S5_V1
- Standard_K8S5_v1Standard K8S5 v1 virtual machine size
- CUSTOM
- CustomCustom virtual machine size
- "Default"
- DefaultDefault virtual machine size
- "Standard_A2_
v2" - Standard_A2_v2Standard A2 v2 virtual machine size
- "Standard_A4_
v2" - Standard_A4_v2Standard A4 v2 virtual machine size
- "Standard_D2s_
v3" - Standard_D2s_v3Standard D2s v3 virtual machine size
- "Standard_D4s_
v3" - Standard_D4s_v3Standard D4s v3 virtual machine size
- "Standard_D8s_
v3" - Standard_D8s_v3Standard D8s v3 virtual machine size
- "Standard_D16s_
v3" - Standard_D16s_v3Standard D16s v3 virtual machine size
- "Standard_D32s_
v3" - Standard_D32s_v3Standard D32s v3 virtual machine size
- "Standard_DS2_
v2" - Standard_DS2_v2Standard DS2 v2 virtual machine size
- "Standard_DS3_
v2" - Standard_DS3_v2Standard DS3 v2 virtual machine size
- "Standard_DS4_
v2" - Standard_DS4_v2Standard DS4 v2 virtual machine size
- "Standard_DS5_
v2" - Standard_DS5_v2Standard DS5 v2 virtual machine size
- "Standard_DS13_
v2" - Standard_DS13_v2Standard DS13 v2 virtual machine size
- "Standard_K8S_
v1" - Standard_K8S_v1Standard K8S v1 virtual machine size
- "Standard_K8S2_
v1" - Standard_K8S2_v1Standard K8S2 v1 virtual machine size
- "Standard_K8S3_
v1" - Standard_K8S3_v1Standard K8S3 v1 virtual machine size
- "Standard_K8S4_
v1" - Standard_K8S4_v1Standard K8S4 v1 virtual machine size
- "Standard_NK6"
- Standard_NK6Standard NK6 virtual machine size
- "Standard_NK12"
- Standard_NK12Standard NK12 virtual machine size
- "Standard_NV6"
- Standard_NV6Standard NV6 virtual machine size
- "Standard_NV12"
- Standard_NV12Standard NV12 virtual machine size
- "Standard_K8S5_
v1" - Standard_K8S5_v1Standard K8S5 v1 virtual machine size
- "Custom"
- CustomCustom virtual machine size
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