azure-native.networkcloud.VirtualMachine
Explore with Pulumi AI
API Version: 2022-12-12-preview.
Example Usage
Create or update virtual machine
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var virtualMachine = new AzureNative.NetworkCloud.VirtualMachine("virtualMachine", new()
{
AdminUsername = "username",
BootMethod = "UEFI",
CloudServicesNetworkAttachment = new AzureNative.NetworkCloud.Inputs.NetworkAttachmentArgs
{
AttachedNetworkId = "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
IpAllocationMethod = "Dynamic",
},
CpuCores = 2,
ExtendedLocation = new AzureNative.NetworkCloud.Inputs.ExtendedLocationArgs
{
Name = "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
Type = "CustomLocation",
},
Location = "location",
MemorySizeGB = 8,
NetworkAttachments = new[]
{
new AzureNative.NetworkCloud.Inputs.NetworkAttachmentArgs
{
AttachedNetworkId = "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
DefaultGateway = "True",
IpAllocationMethod = "Dynamic",
Ipv4Address = "198.51.100.1",
Ipv6Address = "2001:0db8:0000:0000:0000:0000:0000:0000",
NetworkAttachmentName = "netAttachName01",
},
},
NetworkData = "bmV0d29ya0RhdGVTYW1wbGU=",
PlacementHints = new[]
{
new AzureNative.NetworkCloud.Inputs.VirtualMachinePlacementHintArgs
{
HintType = "Affinity",
ResourceId = "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
SchedulingExecution = "Hard",
Scope = "",
},
},
ResourceGroupName = "resourceGroupName",
SshPublicKeys = new[]
{
new AzureNative.NetworkCloud.Inputs.SshPublicKeyArgs
{
KeyData = "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
},
},
StorageProfile = new AzureNative.NetworkCloud.Inputs.StorageProfileArgs
{
OsDisk = new AzureNative.NetworkCloud.Inputs.OsDiskArgs
{
CreateOption = "Ephemeral",
DeleteOption = "Delete",
DiskSizeGB = 120,
},
VolumeAttachments = new[]
{
"/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName",
},
},
Tags =
{
{ "key1", "myvalue1" },
{ "key2", "myvalue2" },
},
UserData = "dXNlckRhdGVTYW1wbGU=",
VirtualMachineName = "virtualMachineName",
VmDeviceModel = "T2",
VmImage = "myacr.azurecr.io/foobar:latest",
VmImageRepositoryCredentials = new AzureNative.NetworkCloud.Inputs.ImageRepositoryCredentialsArgs
{
Password = "{password}",
RegistryUrl = "myacr.azurecr.io",
Username = "myuser",
},
});
});
package main
import (
networkcloud "github.com/pulumi/pulumi-azure-native-sdk/networkcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := networkcloud.NewVirtualMachine(ctx, "virtualMachine", &networkcloud.VirtualMachineArgs{
AdminUsername: pulumi.String("username"),
BootMethod: pulumi.String("UEFI"),
CloudServicesNetworkAttachment: &networkcloud.NetworkAttachmentArgs{
AttachedNetworkId: pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName"),
IpAllocationMethod: pulumi.String("Dynamic"),
},
CpuCores: pulumi.Float64(2),
ExtendedLocation: &networkcloud.ExtendedLocationArgs{
Name: pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"),
Type: pulumi.String("CustomLocation"),
},
Location: pulumi.String("location"),
MemorySizeGB: pulumi.Float64(8),
NetworkAttachments: []networkcloud.NetworkAttachmentArgs{
{
AttachedNetworkId: pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName"),
DefaultGateway: pulumi.String("True"),
IpAllocationMethod: pulumi.String("Dynamic"),
Ipv4Address: pulumi.String("198.51.100.1"),
Ipv6Address: pulumi.String("2001:0db8:0000:0000:0000:0000:0000:0000"),
NetworkAttachmentName: pulumi.String("netAttachName01"),
},
},
NetworkData: pulumi.String("bmV0d29ya0RhdGVTYW1wbGU="),
PlacementHints: []networkcloud.VirtualMachinePlacementHintArgs{
{
HintType: pulumi.String("Affinity"),
ResourceId: pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName"),
SchedulingExecution: pulumi.String("Hard"),
Scope: pulumi.String(""),
},
},
ResourceGroupName: pulumi.String("resourceGroupName"),
SshPublicKeys: []networkcloud.SshPublicKeyArgs{
{
KeyData: pulumi.String("ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"),
},
},
StorageProfile: networkcloud.StorageProfileResponse{
OsDisk: &networkcloud.OsDiskArgs{
CreateOption: pulumi.String("Ephemeral"),
DeleteOption: pulumi.String("Delete"),
DiskSizeGB: pulumi.Float64(120),
},
VolumeAttachments: pulumi.StringArray{
pulumi.String("/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"),
},
},
Tags: pulumi.StringMap{
"key1": pulumi.String("myvalue1"),
"key2": pulumi.String("myvalue2"),
},
UserData: pulumi.String("dXNlckRhdGVTYW1wbGU="),
VirtualMachineName: pulumi.String("virtualMachineName"),
VmDeviceModel: pulumi.String("T2"),
VmImage: pulumi.String("myacr.azurecr.io/foobar:latest"),
VmImageRepositoryCredentials: &networkcloud.ImageRepositoryCredentialsArgs{
Password: pulumi.String("{password}"),
RegistryUrl: pulumi.String("myacr.azurecr.io"),
Username: pulumi.String("myuser"),
},
})
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.networkcloud.VirtualMachine;
import com.pulumi.azurenative.networkcloud.VirtualMachineArgs;
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 virtualMachine = new VirtualMachine("virtualMachine", VirtualMachineArgs.builder()
.adminUsername("username")
.bootMethod("UEFI")
.cloudServicesNetworkAttachment(Map.ofEntries(
Map.entry("attachedNetworkId", "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName"),
Map.entry("ipAllocationMethod", "Dynamic")
))
.cpuCores(2)
.extendedLocation(Map.ofEntries(
Map.entry("name", "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName"),
Map.entry("type", "CustomLocation")
))
.location("location")
.memorySizeGB(8)
.networkAttachments(Map.ofEntries(
Map.entry("attachedNetworkId", "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName"),
Map.entry("defaultGateway", "True"),
Map.entry("ipAllocationMethod", "Dynamic"),
Map.entry("ipv4Address", "198.51.100.1"),
Map.entry("ipv6Address", "2001:0db8:0000:0000:0000:0000:0000:0000"),
Map.entry("networkAttachmentName", "netAttachName01")
))
.networkData("bmV0d29ya0RhdGVTYW1wbGU=")
.placementHints(Map.ofEntries(
Map.entry("hintType", "Affinity"),
Map.entry("resourceId", "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName"),
Map.entry("schedulingExecution", "Hard"),
Map.entry("scope", "")
))
.resourceGroupName("resourceGroupName")
.sshPublicKeys(Map.of("keyData", "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm"))
.storageProfile(Map.ofEntries(
Map.entry("osDisk", Map.ofEntries(
Map.entry("createOption", "Ephemeral"),
Map.entry("deleteOption", "Delete"),
Map.entry("diskSizeGB", 120)
)),
Map.entry("volumeAttachments", "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName")
))
.tags(Map.ofEntries(
Map.entry("key1", "myvalue1"),
Map.entry("key2", "myvalue2")
))
.userData("dXNlckRhdGVTYW1wbGU=")
.virtualMachineName("virtualMachineName")
.vmDeviceModel("T2")
.vmImage("myacr.azurecr.io/foobar:latest")
.vmImageRepositoryCredentials(Map.ofEntries(
Map.entry("password", "{password}"),
Map.entry("registryUrl", "myacr.azurecr.io"),
Map.entry("username", "myuser")
))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
virtual_machine = azure_native.networkcloud.VirtualMachine("virtualMachine",
admin_username="username",
boot_method="UEFI",
cloud_services_network_attachment=azure_native.networkcloud.NetworkAttachmentArgs(
attached_network_id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
ip_allocation_method="Dynamic",
),
cpu_cores=2,
extended_location=azure_native.networkcloud.ExtendedLocationArgs(
name="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
type="CustomLocation",
),
location="location",
memory_size_gb=8,
network_attachments=[azure_native.networkcloud.NetworkAttachmentArgs(
attached_network_id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
default_gateway="True",
ip_allocation_method="Dynamic",
ipv4_address="198.51.100.1",
ipv6_address="2001:0db8:0000:0000:0000:0000:0000:0000",
network_attachment_name="netAttachName01",
)],
network_data="bmV0d29ya0RhdGVTYW1wbGU=",
placement_hints=[azure_native.networkcloud.VirtualMachinePlacementHintArgs(
hint_type="Affinity",
resource_id="/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
scheduling_execution="Hard",
scope="",
)],
resource_group_name="resourceGroupName",
ssh_public_keys=[azure_native.networkcloud.SshPublicKeyArgs(
key_data="ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
)],
storage_profile=azure_native.networkcloud.StorageProfileResponseArgs(
os_disk=azure_native.networkcloud.OsDiskArgs(
create_option="Ephemeral",
delete_option="Delete",
disk_size_gb=120,
),
volume_attachments=["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"],
),
tags={
"key1": "myvalue1",
"key2": "myvalue2",
},
user_data="dXNlckRhdGVTYW1wbGU=",
virtual_machine_name="virtualMachineName",
vm_device_model="T2",
vm_image="myacr.azurecr.io/foobar:latest",
vm_image_repository_credentials=azure_native.networkcloud.ImageRepositoryCredentialsArgs(
password="{password}",
registry_url="myacr.azurecr.io",
username="myuser",
))
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualMachine = new azure_native.networkcloud.VirtualMachine("virtualMachine", {
adminUsername: "username",
bootMethod: "UEFI",
cloudServicesNetworkAttachment: {
attachedNetworkId: "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName",
ipAllocationMethod: "Dynamic",
},
cpuCores: 2,
extendedLocation: {
name: "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName",
type: "CustomLocation",
},
location: "location",
memorySizeGB: 8,
networkAttachments: [{
attachedNetworkId: "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName",
defaultGateway: "True",
ipAllocationMethod: "Dynamic",
ipv4Address: "198.51.100.1",
ipv6Address: "2001:0db8:0000:0000:0000:0000:0000:0000",
networkAttachmentName: "netAttachName01",
}],
networkData: "bmV0d29ya0RhdGVTYW1wbGU=",
placementHints: [{
hintType: "Affinity",
resourceId: "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName",
schedulingExecution: "Hard",
scope: "",
}],
resourceGroupName: "resourceGroupName",
sshPublicKeys: [{
keyData: "ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm",
}],
storageProfile: {
osDisk: {
createOption: "Ephemeral",
deleteOption: "Delete",
diskSizeGB: 120,
},
volumeAttachments: ["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName"],
},
tags: {
key1: "myvalue1",
key2: "myvalue2",
},
userData: "dXNlckRhdGVTYW1wbGU=",
virtualMachineName: "virtualMachineName",
vmDeviceModel: "T2",
vmImage: "myacr.azurecr.io/foobar:latest",
vmImageRepositoryCredentials: {
password: "{password}",
registryUrl: "myacr.azurecr.io",
username: "myuser",
},
});
resources:
virtualMachine:
type: azure-native:networkcloud:VirtualMachine
properties:
adminUsername: username
bootMethod: UEFI
cloudServicesNetworkAttachment:
attachedNetworkId: /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/cloudServicesNetworks/cloudServicesNetworkName
ipAllocationMethod: Dynamic
cpuCores: 2
extendedLocation:
name: /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ExtendedLocation/customLocations/clusterExtendedLocationName
type: CustomLocation
location: location
memorySizeGB: 8
networkAttachments:
- attachedNetworkId: /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/l3Networks/l3NetworkName
defaultGateway: True
ipAllocationMethod: Dynamic
ipv4Address: 198.51.100.1
ipv6Address: 2001:0db8:0000:0000:0000:0000:0000:0000
networkAttachmentName: netAttachName01
networkData: bmV0d29ya0RhdGVTYW1wbGU=
placementHints:
- hintType: Affinity
resourceId: /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/racks/rackName
schedulingExecution: Hard
scope:
resourceGroupName: resourceGroupName
sshPublicKeys:
- keyData: ssh-rsa AAtsE3njSONzDYRIZv/WLjVuMfrUSByHp+jfaaOLHTIIB4fJvo6dQUZxE20w2iDHV3tEkmnTo84eba97VMueQD6OzJPEyWZMRpz8UYWOd0IXeRqiFu1lawNblZhwNT/ojNZfpB3af/YDzwQCZgTcTRyNNhL4o/blKUmug0daSsSXISTRnIDpcf5qytjs1Xo+yYyJMvzLL59mhAyb3p/cD+Y3/s3WhAx+l0XOKpzXnblrv9d3q4c2tWmm/SyFqthaqd0= admin@vm
storageProfile:
osDisk:
createOption: Ephemeral
deleteOption: Delete
diskSizeGB: 120
volumeAttachments:
- /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/volumes/volumeName
tags:
key1: myvalue1
key2: myvalue2
userData: dXNlckRhdGVTYW1wbGU=
virtualMachineName: virtualMachineName
vmDeviceModel: T2
vmImage: myacr.azurecr.io/foobar:latest
vmImageRepositoryCredentials:
password: '{password}'
registryUrl: myacr.azurecr.io
username: myuser
Create VirtualMachine Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualMachine(name: string, args: VirtualMachineArgs, opts?: CustomResourceOptions);
@overload
def VirtualMachine(resource_name: str,
args: VirtualMachineArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualMachine(resource_name: str,
opts: Optional[ResourceOptions] = None,
admin_username: Optional[str] = None,
vm_image: Optional[str] = None,
cloud_services_network_attachment: Optional[NetworkAttachmentArgs] = None,
cpu_cores: Optional[float] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
storage_profile: Optional[StorageProfileArgs] = None,
resource_group_name: Optional[str] = None,
memory_size_gb: Optional[float] = None,
placement_hints: Optional[Sequence[VirtualMachinePlacementHintArgs]] = None,
network_data: Optional[str] = None,
network_attachments: Optional[Sequence[NetworkAttachmentArgs]] = None,
location: Optional[str] = None,
ssh_public_keys: Optional[Sequence[SshPublicKeyArgs]] = None,
isolate_emulator_thread: Optional[Union[str, VirtualMachineIsolateEmulatorThread]] = None,
tags: Optional[Mapping[str, str]] = None,
user_data: Optional[str] = None,
virtio_interface: Optional[Union[str, VirtualMachineVirtioInterfaceType]] = None,
virtual_machine_name: Optional[str] = None,
vm_device_model: Optional[Union[str, VirtualMachineDeviceModelType]] = None,
boot_method: Optional[Union[str, VirtualMachineBootMethod]] = None,
vm_image_repository_credentials: Optional[ImageRepositoryCredentialsArgs] = None)
func NewVirtualMachine(ctx *Context, name string, args VirtualMachineArgs, opts ...ResourceOption) (*VirtualMachine, error)
public VirtualMachine(string name, VirtualMachineArgs args, CustomResourceOptions? opts = null)
public VirtualMachine(String name, VirtualMachineArgs args)
public VirtualMachine(String name, VirtualMachineArgs args, CustomResourceOptions options)
type: azure-native:networkcloud:VirtualMachine
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 VirtualMachineArgs
- 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 VirtualMachineArgs
- 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 VirtualMachineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualMachineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualMachineArgs
- 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 examplevirtualMachineResourceResourceFromNetworkcloud = new AzureNative.Networkcloud.VirtualMachine("examplevirtualMachineResourceResourceFromNetworkcloud", new()
{
AdminUsername = "string",
VmImage = "string",
CloudServicesNetworkAttachment =
{
{ "attachedNetworkId", "string" },
{ "ipAllocationMethod", "string" },
{ "defaultGateway", "string" },
{ "ipv4Address", "string" },
{ "ipv6Address", "string" },
{ "networkAttachmentName", "string" },
},
CpuCores = 0,
ExtendedLocation =
{
{ "name", "string" },
{ "type", "string" },
},
StorageProfile =
{
{ "osDisk",
{
{ "diskSizeGB", 0 },
{ "createOption", "string" },
{ "deleteOption", "string" },
} },
{ "volumeAttachments", new[]
{
"string",
} },
},
ResourceGroupName = "string",
MemorySizeGB = 0,
PlacementHints = new[]
{
{
{ "hintType", "string" },
{ "resourceId", "string" },
{ "schedulingExecution", "string" },
{ "scope", "string" },
},
},
NetworkData = "string",
NetworkAttachments = new[]
{
{
{ "attachedNetworkId", "string" },
{ "ipAllocationMethod", "string" },
{ "defaultGateway", "string" },
{ "ipv4Address", "string" },
{ "ipv6Address", "string" },
{ "networkAttachmentName", "string" },
},
},
Location = "string",
SshPublicKeys = new[]
{
{
{ "keyData", "string" },
},
},
IsolateEmulatorThread = "string",
Tags =
{
{ "string", "string" },
},
UserData = "string",
VirtioInterface = "string",
VirtualMachineName = "string",
VmDeviceModel = "string",
BootMethod = "string",
VmImageRepositoryCredentials =
{
{ "password", "string" },
{ "registryUrl", "string" },
{ "username", "string" },
},
});
example, err := networkcloud.NewVirtualMachine(ctx, "examplevirtualMachineResourceResourceFromNetworkcloud", &networkcloud.VirtualMachineArgs{
AdminUsername: "string",
VmImage: "string",
CloudServicesNetworkAttachment: map[string]interface{}{
"attachedNetworkId": "string",
"ipAllocationMethod": "string",
"defaultGateway": "string",
"ipv4Address": "string",
"ipv6Address": "string",
"networkAttachmentName": "string",
},
CpuCores: 0,
ExtendedLocation: map[string]interface{}{
"name": "string",
"type": "string",
},
StorageProfile: map[string]interface{}{
"osDisk": map[string]interface{}{
"diskSizeGB": 0,
"createOption": "string",
"deleteOption": "string",
},
"volumeAttachments": []string{
"string",
},
},
ResourceGroupName: "string",
MemorySizeGB: 0,
PlacementHints: []map[string]interface{}{
map[string]interface{}{
"hintType": "string",
"resourceId": "string",
"schedulingExecution": "string",
"scope": "string",
},
},
NetworkData: "string",
NetworkAttachments: []map[string]interface{}{
map[string]interface{}{
"attachedNetworkId": "string",
"ipAllocationMethod": "string",
"defaultGateway": "string",
"ipv4Address": "string",
"ipv6Address": "string",
"networkAttachmentName": "string",
},
},
Location: "string",
SshPublicKeys: []map[string]interface{}{
map[string]interface{}{
"keyData": "string",
},
},
IsolateEmulatorThread: "string",
Tags: map[string]interface{}{
"string": "string",
},
UserData: "string",
VirtioInterface: "string",
VirtualMachineName: "string",
VmDeviceModel: "string",
BootMethod: "string",
VmImageRepositoryCredentials: map[string]interface{}{
"password": "string",
"registryUrl": "string",
"username": "string",
},
})
var examplevirtualMachineResourceResourceFromNetworkcloud = new VirtualMachine("examplevirtualMachineResourceResourceFromNetworkcloud", VirtualMachineArgs.builder()
.adminUsername("string")
.vmImage("string")
.cloudServicesNetworkAttachment(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.cpuCores(0)
.extendedLocation(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.storageProfile(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.memorySizeGB(0)
.placementHints(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.networkData("string")
.networkAttachments(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.location("string")
.sshPublicKeys(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.isolateEmulatorThread("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.userData("string")
.virtioInterface("string")
.virtualMachineName("string")
.vmDeviceModel("string")
.bootMethod("string")
.vmImageRepositoryCredentials(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
examplevirtual_machine_resource_resource_from_networkcloud = azure_native.networkcloud.VirtualMachine("examplevirtualMachineResourceResourceFromNetworkcloud",
admin_username=string,
vm_image=string,
cloud_services_network_attachment={
attachedNetworkId: string,
ipAllocationMethod: string,
defaultGateway: string,
ipv4Address: string,
ipv6Address: string,
networkAttachmentName: string,
},
cpu_cores=0,
extended_location={
name: string,
type: string,
},
storage_profile={
osDisk: {
diskSizeGB: 0,
createOption: string,
deleteOption: string,
},
volumeAttachments: [string],
},
resource_group_name=string,
memory_size_gb=0,
placement_hints=[{
hintType: string,
resourceId: string,
schedulingExecution: string,
scope: string,
}],
network_data=string,
network_attachments=[{
attachedNetworkId: string,
ipAllocationMethod: string,
defaultGateway: string,
ipv4Address: string,
ipv6Address: string,
networkAttachmentName: string,
}],
location=string,
ssh_public_keys=[{
keyData: string,
}],
isolate_emulator_thread=string,
tags={
string: string,
},
user_data=string,
virtio_interface=string,
virtual_machine_name=string,
vm_device_model=string,
boot_method=string,
vm_image_repository_credentials={
password: string,
registryUrl: string,
username: string,
})
const examplevirtualMachineResourceResourceFromNetworkcloud = new azure_native.networkcloud.VirtualMachine("examplevirtualMachineResourceResourceFromNetworkcloud", {
adminUsername: "string",
vmImage: "string",
cloudServicesNetworkAttachment: {
attachedNetworkId: "string",
ipAllocationMethod: "string",
defaultGateway: "string",
ipv4Address: "string",
ipv6Address: "string",
networkAttachmentName: "string",
},
cpuCores: 0,
extendedLocation: {
name: "string",
type: "string",
},
storageProfile: {
osDisk: {
diskSizeGB: 0,
createOption: "string",
deleteOption: "string",
},
volumeAttachments: ["string"],
},
resourceGroupName: "string",
memorySizeGB: 0,
placementHints: [{
hintType: "string",
resourceId: "string",
schedulingExecution: "string",
scope: "string",
}],
networkData: "string",
networkAttachments: [{
attachedNetworkId: "string",
ipAllocationMethod: "string",
defaultGateway: "string",
ipv4Address: "string",
ipv6Address: "string",
networkAttachmentName: "string",
}],
location: "string",
sshPublicKeys: [{
keyData: "string",
}],
isolateEmulatorThread: "string",
tags: {
string: "string",
},
userData: "string",
virtioInterface: "string",
virtualMachineName: "string",
vmDeviceModel: "string",
bootMethod: "string",
vmImageRepositoryCredentials: {
password: "string",
registryUrl: "string",
username: "string",
},
});
type: azure-native:networkcloud:VirtualMachine
properties:
adminUsername: string
bootMethod: string
cloudServicesNetworkAttachment:
attachedNetworkId: string
defaultGateway: string
ipAllocationMethod: string
ipv4Address: string
ipv6Address: string
networkAttachmentName: string
cpuCores: 0
extendedLocation:
name: string
type: string
isolateEmulatorThread: string
location: string
memorySizeGB: 0
networkAttachments:
- attachedNetworkId: string
defaultGateway: string
ipAllocationMethod: string
ipv4Address: string
ipv6Address: string
networkAttachmentName: string
networkData: string
placementHints:
- hintType: string
resourceId: string
schedulingExecution: string
scope: string
resourceGroupName: string
sshPublicKeys:
- keyData: string
storageProfile:
osDisk:
createOption: string
deleteOption: string
diskSizeGB: 0
volumeAttachments:
- string
tags:
string: string
userData: string
virtioInterface: string
virtualMachineName: string
vmDeviceModel: string
vmImage: string
vmImageRepositoryCredentials:
password: string
registryUrl: string
username: string
VirtualMachine 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 VirtualMachine resource accepts the following input properties:
- Admin
Username string - The name of the administrator to which the ssh public keys will be added into the authorized keys.
- Cloud
Services Pulumi.Network Attachment Azure Native. Network Cloud. Inputs. Network Attachment - The cloud service network that provides platform-level services for the virtual machine.
- Cpu
Cores double - The number of CPU cores in the virtual machine.
- Extended
Location Pulumi.Azure Native. Network Cloud. Inputs. Extended Location - The extended location of the cluster associated with the resource.
- Memory
Size doubleGB - The memory size of the virtual machine in GB.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Storage
Profile Pulumi.Azure Native. Network Cloud. Inputs. Storage Profile - The storage profile that specifies size and other parameters about the disks related to the virtual machine.
- Vm
Image string - The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
- Boot
Method string | Pulumi.Azure Native. Network Cloud. Virtual Machine Boot Method - Selects the boot method for the virtual machine.
- Isolate
Emulator string | Pulumi.Thread Azure Native. Network Cloud. Virtual Machine Isolate Emulator Thread - Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
- Location string
- The geo-location where the resource lives
- Network
Attachments List<Pulumi.Azure Native. Network Cloud. Inputs. Network Attachment> - The list of network attachments to the virtual machine.
- Network
Data string - The Base64 encoded cloud-init network data.
- Placement
Hints List<Pulumi.Azure Native. Network Cloud. Inputs. Virtual Machine Placement Hint> - The scheduling hints for the virtual machine.
- Ssh
Public List<Pulumi.Keys Azure Native. Network Cloud. Inputs. Ssh Public Key> - The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
- Dictionary<string, string>
- Resource tags.
- User
Data string - The Base64 encoded cloud-init user data.
- Virtio
Interface string | Pulumi.Azure Native. Network Cloud. Virtual Machine Virtio Interface Type - Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- Virtual
Machine stringName - The name of the virtual machine.
- Vm
Device string | Pulumi.Model Azure Native. Network Cloud. Virtual Machine Device Model Type - The type of the device model to use.
- Vm
Image Pulumi.Repository Credentials Azure Native. Network Cloud. Inputs. Image Repository Credentials - The credentials used to login to the image repository that has access to the specified image.
- Admin
Username string - The name of the administrator to which the ssh public keys will be added into the authorized keys.
- Cloud
Services NetworkNetwork Attachment Attachment Args - The cloud service network that provides platform-level services for the virtual machine.
- Cpu
Cores float64 - The number of CPU cores in the virtual machine.
- Extended
Location ExtendedLocation Args - The extended location of the cluster associated with the resource.
- Memory
Size float64GB - The memory size of the virtual machine in GB.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Storage
Profile StorageProfile Args - The storage profile that specifies size and other parameters about the disks related to the virtual machine.
- Vm
Image string - The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
- Boot
Method string | VirtualMachine Boot Method - Selects the boot method for the virtual machine.
- Isolate
Emulator string | VirtualThread Machine Isolate Emulator Thread - Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
- Location string
- The geo-location where the resource lives
- Network
Attachments []NetworkAttachment Args - The list of network attachments to the virtual machine.
- Network
Data string - The Base64 encoded cloud-init network data.
- Placement
Hints []VirtualMachine Placement Hint Args - The scheduling hints for the virtual machine.
- Ssh
Public []SshKeys Public Key Args - The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
- map[string]string
- Resource tags.
- User
Data string - The Base64 encoded cloud-init user data.
- Virtio
Interface string | VirtualMachine Virtio Interface Type - Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- Virtual
Machine stringName - The name of the virtual machine.
- Vm
Device string | VirtualModel Machine Device Model Type - The type of the device model to use.
- Vm
Image ImageRepository Credentials Repository Credentials Args - The credentials used to login to the image repository that has access to the specified image.
- admin
Username String - The name of the administrator to which the ssh public keys will be added into the authorized keys.
- cloud
Services NetworkNetwork Attachment Attachment - The cloud service network that provides platform-level services for the virtual machine.
- cpu
Cores Double - The number of CPU cores in the virtual machine.
- extended
Location ExtendedLocation - The extended location of the cluster associated with the resource.
- memory
Size DoubleGB - The memory size of the virtual machine in GB.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- storage
Profile StorageProfile - The storage profile that specifies size and other parameters about the disks related to the virtual machine.
- vm
Image String - The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
- boot
Method String | VirtualMachine Boot Method - Selects the boot method for the virtual machine.
- isolate
Emulator String | VirtualThread Machine Isolate Emulator Thread - Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
- location String
- The geo-location where the resource lives
- network
Attachments List<NetworkAttachment> - The list of network attachments to the virtual machine.
- network
Data String - The Base64 encoded cloud-init network data.
- placement
Hints List<VirtualMachine Placement Hint> - The scheduling hints for the virtual machine.
- ssh
Public List<SshKeys Public Key> - The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
- Map<String,String>
- Resource tags.
- user
Data String - The Base64 encoded cloud-init user data.
- virtio
Interface String | VirtualMachine Virtio Interface Type - Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- virtual
Machine StringName - The name of the virtual machine.
- vm
Device String | VirtualModel Machine Device Model Type - The type of the device model to use.
- vm
Image ImageRepository Credentials Repository Credentials - The credentials used to login to the image repository that has access to the specified image.
- admin
Username string - The name of the administrator to which the ssh public keys will be added into the authorized keys.
- cloud
Services NetworkNetwork Attachment Attachment - The cloud service network that provides platform-level services for the virtual machine.
- cpu
Cores number - The number of CPU cores in the virtual machine.
- extended
Location ExtendedLocation - The extended location of the cluster associated with the resource.
- memory
Size numberGB - The memory size of the virtual machine in GB.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- storage
Profile StorageProfile - The storage profile that specifies size and other parameters about the disks related to the virtual machine.
- vm
Image string - The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
- boot
Method string | VirtualMachine Boot Method - Selects the boot method for the virtual machine.
- isolate
Emulator string | VirtualThread Machine Isolate Emulator Thread - Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
- location string
- The geo-location where the resource lives
- network
Attachments NetworkAttachment[] - The list of network attachments to the virtual machine.
- network
Data string - The Base64 encoded cloud-init network data.
- placement
Hints VirtualMachine Placement Hint[] - The scheduling hints for the virtual machine.
- ssh
Public SshKeys Public Key[] - The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
- {[key: string]: string}
- Resource tags.
- user
Data string - The Base64 encoded cloud-init user data.
- virtio
Interface string | VirtualMachine Virtio Interface Type - Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- virtual
Machine stringName - The name of the virtual machine.
- vm
Device string | VirtualModel Machine Device Model Type - The type of the device model to use.
- vm
Image ImageRepository Credentials Repository Credentials - The credentials used to login to the image repository that has access to the specified image.
- admin_
username str - The name of the administrator to which the ssh public keys will be added into the authorized keys.
- cloud_
services_ Networknetwork_ attachment Attachment Args - The cloud service network that provides platform-level services for the virtual machine.
- cpu_
cores float - The number of CPU cores in the virtual machine.
- extended_
location ExtendedLocation Args - The extended location of the cluster associated with the resource.
- memory_
size_ floatgb - The memory size of the virtual machine in GB.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- storage_
profile StorageProfile Args - The storage profile that specifies size and other parameters about the disks related to the virtual machine.
- vm_
image str - The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
- boot_
method str | VirtualMachine Boot Method - Selects the boot method for the virtual machine.
- isolate_
emulator_ str | Virtualthread Machine Isolate Emulator Thread - Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
- location str
- The geo-location where the resource lives
- network_
attachments Sequence[NetworkAttachment Args] - The list of network attachments to the virtual machine.
- network_
data str - The Base64 encoded cloud-init network data.
- placement_
hints Sequence[VirtualMachine Placement Hint Args] - The scheduling hints for the virtual machine.
- ssh_
public_ Sequence[Sshkeys Public Key Args] - The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
- Mapping[str, str]
- Resource tags.
- user_
data str - The Base64 encoded cloud-init user data.
- virtio_
interface str | VirtualMachine Virtio Interface Type - Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- virtual_
machine_ strname - The name of the virtual machine.
- vm_
device_ str | Virtualmodel Machine Device Model Type - The type of the device model to use.
- vm_
image_ Imagerepository_ credentials Repository Credentials Args - The credentials used to login to the image repository that has access to the specified image.
- admin
Username String - The name of the administrator to which the ssh public keys will be added into the authorized keys.
- cloud
Services Property MapNetwork Attachment - The cloud service network that provides platform-level services for the virtual machine.
- cpu
Cores Number - The number of CPU cores in the virtual machine.
- extended
Location Property Map - The extended location of the cluster associated with the resource.
- memory
Size NumberGB - The memory size of the virtual machine in GB.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- storage
Profile Property Map - The storage profile that specifies size and other parameters about the disks related to the virtual machine.
- vm
Image String - The virtual machine image that is currently provisioned to the OS disk, using the full url and tag notation used to pull the image.
- boot
Method String | "UEFI" | "BIOS" - Selects the boot method for the virtual machine.
- isolate
Emulator String | "True" | "False"Thread - Field Deprecated, the value will be ignored if provided. The indicator of whether one of the specified CPU cores is isolated to run the emulator thread for this virtual machine.
- location String
- The geo-location where the resource lives
- network
Attachments List<Property Map> - The list of network attachments to the virtual machine.
- network
Data String - The Base64 encoded cloud-init network data.
- placement
Hints List<Property Map> - The scheduling hints for the virtual machine.
- ssh
Public List<Property Map>Keys - The list of ssh public keys. Each key will be added to the virtual machine using the cloud-init ssh_authorized_keys mechanism for the adminUsername.
- Map<String>
- Resource tags.
- user
Data String - The Base64 encoded cloud-init user data.
- virtio
Interface String | "Modern" | "Transitional" - Field Deprecated, use virtualizationModel instead. The type of the virtio interface.
- virtual
Machine StringName - The name of the virtual machine.
- vm
Device String | "T1" | "T2"Model - The type of the device model to use.
- vm
Image Property MapRepository Credentials - The credentials used to login to the image repository that has access to the specified image.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualMachine resource produces the following output properties:
- Bare
Metal stringMachine Id - The resource ID of the bare metal machine the virtual machine has landed to.
- Cluster
Id string - The resource ID of the cluster the virtual machine is created for.
- Detailed
Status string - The more detailed status of the virtual machine.
- Detailed
Status stringMessage - The descriptive message about the current detailed status.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Power
State string - The power state of the virtual machine.
- Provisioning
State string - The provisioning state of the virtual machine.
- System
Data Pulumi.Azure Native. Network Cloud. 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"
- Volumes List<string>
- The resource IDs of volumes that are attached to the virtual machine.
- Bare
Metal stringMachine Id - The resource ID of the bare metal machine the virtual machine has landed to.
- Cluster
Id string - The resource ID of the cluster the virtual machine is created for.
- Detailed
Status string - The more detailed status of the virtual machine.
- Detailed
Status stringMessage - The descriptive message about the current detailed status.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Power
State string - The power state of the virtual machine.
- Provisioning
State string - The provisioning state of the virtual machine.
- 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"
- Volumes []string
- The resource IDs of volumes that are attached to the virtual machine.
- bare
Metal StringMachine Id - The resource ID of the bare metal machine the virtual machine has landed to.
- cluster
Id String - The resource ID of the cluster the virtual machine is created for.
- detailed
Status String - The more detailed status of the virtual machine.
- detailed
Status StringMessage - The descriptive message about the current detailed status.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- power
State String - The power state of the virtual machine.
- provisioning
State String - The provisioning state of the virtual machine.
- 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"
- volumes List<String>
- The resource IDs of volumes that are attached to the virtual machine.
- bare
Metal stringMachine Id - The resource ID of the bare metal machine the virtual machine has landed to.
- cluster
Id string - The resource ID of the cluster the virtual machine is created for.
- detailed
Status string - The more detailed status of the virtual machine.
- detailed
Status stringMessage - The descriptive message about the current detailed status.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- power
State string - The power state of the virtual machine.
- provisioning
State string - The provisioning state of the virtual machine.
- 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"
- volumes string[]
- The resource IDs of volumes that are attached to the virtual machine.
- bare_
metal_ strmachine_ id - The resource ID of the bare metal machine the virtual machine has landed to.
- cluster_
id str - The resource ID of the cluster the virtual machine is created for.
- detailed_
status str - The more detailed status of the virtual machine.
- detailed_
status_ strmessage - The descriptive message about the current detailed status.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- power_
state str - The power state of the virtual machine.
- provisioning_
state str - The provisioning state of the virtual machine.
- 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"
- volumes Sequence[str]
- The resource IDs of volumes that are attached to the virtual machine.
- bare
Metal StringMachine Id - The resource ID of the bare metal machine the virtual machine has landed to.
- cluster
Id String - The resource ID of the cluster the virtual machine is created for.
- detailed
Status String - The more detailed status of the virtual machine.
- detailed
Status StringMessage - The descriptive message about the current detailed status.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- power
State String - The power state of the virtual machine.
- provisioning
State String - The provisioning state of the virtual machine.
- 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"
- volumes List<String>
- The resource IDs of volumes that are attached to the virtual machine.
Supporting Types
DefaultGateway, DefaultGatewayArgs
- True
- True
- False
- False
- Default
Gateway True - True
- Default
Gateway False - False
- True
- True
- False
- False
- True
- True
- False
- False
- TRUE
- True
- FALSE
- False
- "True"
- True
- "False"
- False
ExtendedLocation, ExtendedLocationArgs
ExtendedLocationResponse, ExtendedLocationResponseArgs
ImageRepositoryCredentials, ImageRepositoryCredentialsArgs
- Password string
- The password or token used to access an image in the target repository.
- Registry
Url string - The URL of the authentication server used to validate the repository credentials.
- Username string
- The username used to access an image in the target repository.
- Password string
- The password or token used to access an image in the target repository.
- Registry
Url string - The URL of the authentication server used to validate the repository credentials.
- Username string
- The username used to access an image in the target repository.
- password String
- The password or token used to access an image in the target repository.
- registry
Url String - The URL of the authentication server used to validate the repository credentials.
- username String
- The username used to access an image in the target repository.
- password string
- The password or token used to access an image in the target repository.
- registry
Url string - The URL of the authentication server used to validate the repository credentials.
- username string
- The username used to access an image in the target repository.
- password str
- The password or token used to access an image in the target repository.
- registry_
url str - The URL of the authentication server used to validate the repository credentials.
- username str
- The username used to access an image in the target repository.
- password String
- The password or token used to access an image in the target repository.
- registry
Url String - The URL of the authentication server used to validate the repository credentials.
- username String
- The username used to access an image in the target repository.
ImageRepositoryCredentialsResponse, ImageRepositoryCredentialsResponseArgs
- Password string
- The password or token used to access an image in the target repository.
- Registry
Url string - The URL of the authentication server used to validate the repository credentials.
- Username string
- The username used to access an image in the target repository.
- Password string
- The password or token used to access an image in the target repository.
- Registry
Url string - The URL of the authentication server used to validate the repository credentials.
- Username string
- The username used to access an image in the target repository.
- password String
- The password or token used to access an image in the target repository.
- registry
Url String - The URL of the authentication server used to validate the repository credentials.
- username String
- The username used to access an image in the target repository.
- password string
- The password or token used to access an image in the target repository.
- registry
Url string - The URL of the authentication server used to validate the repository credentials.
- username string
- The username used to access an image in the target repository.
- password str
- The password or token used to access an image in the target repository.
- registry_
url str - The URL of the authentication server used to validate the repository credentials.
- username str
- The username used to access an image in the target repository.
- password String
- The password or token used to access an image in the target repository.
- registry
Url String - The URL of the authentication server used to validate the repository credentials.
- username String
- The username used to access an image in the target repository.
NetworkAttachment, NetworkAttachmentArgs
- Attached
Network stringId - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- Ip
Allocation string | Pulumi.Method Azure Native. Network Cloud. Virtual Machine IPAllocation Method - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- Default
Gateway string | Pulumi.Azure Native. Network Cloud. Default Gateway - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- Ipv4Address string
The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- Ipv6Address string
The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- Network
Attachment stringName - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
- Attached
Network stringId - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- Ip
Allocation string | VirtualMethod Machine IPAllocation Method - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- Default
Gateway string | DefaultGateway - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- Ipv4Address string
The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- Ipv6Address string
The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- Network
Attachment stringName - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
- attached
Network StringId - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ip
Allocation String | VirtualMethod Machine IPAllocation Method - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- default
Gateway String | DefaultGateway - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- ipv4Address String
The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- ipv6Address String
The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- network
Attachment StringName - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
- attached
Network stringId - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ip
Allocation string | VirtualMethod Machine IPAllocation Method - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- default
Gateway string | DefaultGateway - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- ipv4Address string
The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- ipv6Address string
The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- network
Attachment stringName - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
- attached_
network_ strid - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ip_
allocation_ str | Virtualmethod Machine IPAllocation Method - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- default_
gateway str | DefaultGateway - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- ipv4_
address str The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- ipv6_
address str The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- network_
attachment_ strname - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
- attached
Network StringId - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ip
Allocation String | "Dynamic" | "Static" | "Disabled"Method - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- default
Gateway String | "True" | "False" - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- ipv4Address String
The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- ipv6Address String
The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- network
Attachment StringName - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
NetworkAttachmentResponse, NetworkAttachmentResponseArgs
- Attached
Network stringId - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- Ip
Allocation stringMethod - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- Mac
Address string - The MAC address of the interface for the virtual machine that corresponds to this network attachment.
- Default
Gateway string - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- Ipv4Address string
The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- Ipv6Address string
The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- Network
Attachment stringName - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
- Attached
Network stringId - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- Ip
Allocation stringMethod - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- Mac
Address string - The MAC address of the interface for the virtual machine that corresponds to this network attachment.
- Default
Gateway string - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- Ipv4Address string
The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- Ipv6Address string
The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- Network
Attachment stringName - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
- attached
Network StringId - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ip
Allocation StringMethod - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- mac
Address String - The MAC address of the interface for the virtual machine that corresponds to this network attachment.
- default
Gateway String - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- ipv4Address String
The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- ipv6Address String
The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- network
Attachment StringName - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
- attached
Network stringId - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ip
Allocation stringMethod - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- mac
Address string - The MAC address of the interface for the virtual machine that corresponds to this network attachment.
- default
Gateway string - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- ipv4Address string
The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- ipv6Address string
The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- network
Attachment stringName - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
- attached_
network_ strid - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ip_
allocation_ strmethod - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- mac_
address str - The MAC address of the interface for the virtual machine that corresponds to this network attachment.
- default_
gateway str - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- ipv4_
address str The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- ipv6_
address str The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- network_
attachment_ strname - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
- attached
Network StringId - The resource ID of the associated network attached to the virtual machine. It can be one of cloudServicesNetwork, l3Network, l2Network or trunkedNetwork resources.
- ip
Allocation StringMethod - The IP allocation mechanism for the virtual machine. Dynamic and Static are only valid for l3Network which may also specify Disabled. Otherwise, Disabled is the only permitted value.
- mac
Address String - The MAC address of the interface for the virtual machine that corresponds to this network attachment.
- default
Gateway String - The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.
- ipv4Address String
The IPv4 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV4 or DualStack.
If IPAllocationMethod is: Static - this field must contain a user specified IPv4 address from within the subnet specified in the attached network. Dynamic - this field is read-only, but will be populated with an address from within the subnet specified in the attached network. Disabled - this field will be empty.
- ipv6Address String
The IPv6 address of the virtual machine.
This field is used only if the attached network has IPAllocationType of IPV6 or DualStack.
If IPAllocationMethod is: Static - this field must contain an IPv6 address range from within the range specified in the attached network. Dynamic - this field is read-only, but will be populated with an range from within the subnet specified in the attached network. Disabled - this field will be empty.
- network
Attachment StringName - The associated network's interface name. If specified, the network attachment name has a maximum length of 15 characters and must be unique to this virtual machine. If the user doesn’t specify this value, the default interface name of the network resource will be used. For a CloudServicesNetwork resource, this name will be ignored.
OsDisk, OsDiskArgs
- Disk
Size doubleGB - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- Create
Option string | Pulumi.Azure Native. Network Cloud. Os Disk Create Option - The strategy for creating the OS disk.
- Delete
Option string | Pulumi.Azure Native. Network Cloud. Os Disk Delete Option - The strategy for deleting the OS disk.
- Disk
Size float64GB - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- Create
Option string | OsDisk Create Option - The strategy for creating the OS disk.
- Delete
Option string | OsDisk Delete Option - The strategy for deleting the OS disk.
- disk
Size DoubleGB - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- create
Option String | OsDisk Create Option - The strategy for creating the OS disk.
- delete
Option String | OsDisk Delete Option - The strategy for deleting the OS disk.
- disk
Size numberGB - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- create
Option string | OsDisk Create Option - The strategy for creating the OS disk.
- delete
Option string | OsDisk Delete Option - The strategy for deleting the OS disk.
- disk_
size_ floatgb - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- create_
option str | OsDisk Create Option - The strategy for creating the OS disk.
- delete_
option str | OsDisk Delete Option - The strategy for deleting the OS disk.
- disk
Size NumberGB - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- create
Option String | "Ephemeral" - The strategy for creating the OS disk.
- delete
Option String | "Delete" - The strategy for deleting the OS disk.
OsDiskCreateOption, OsDiskCreateOptionArgs
- Ephemeral
- Ephemeral
- Os
Disk Create Option Ephemeral - Ephemeral
- Ephemeral
- Ephemeral
- Ephemeral
- Ephemeral
- EPHEMERAL
- Ephemeral
- "Ephemeral"
- Ephemeral
OsDiskDeleteOption, OsDiskDeleteOptionArgs
- Delete
- Delete
- Os
Disk Delete Option Delete - Delete
- Delete
- Delete
- Delete
- Delete
- DELETE
- Delete
- "Delete"
- Delete
OsDiskResponse, OsDiskResponseArgs
- Disk
Size doubleGB - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- Create
Option string - The strategy for creating the OS disk.
- Delete
Option string - The strategy for deleting the OS disk.
- Disk
Size float64GB - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- Create
Option string - The strategy for creating the OS disk.
- Delete
Option string - The strategy for deleting the OS disk.
- disk
Size DoubleGB - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- create
Option String - The strategy for creating the OS disk.
- delete
Option String - The strategy for deleting the OS disk.
- disk
Size numberGB - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- create
Option string - The strategy for creating the OS disk.
- delete
Option string - The strategy for deleting the OS disk.
- disk_
size_ floatgb - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- create_
option str - The strategy for creating the OS disk.
- delete_
option str - The strategy for deleting the OS disk.
- disk
Size NumberGB - The size of the disk in gigabytes. Required if the createOption is Ephemeral.
- create
Option String - The strategy for creating the OS disk.
- delete
Option String - The strategy for deleting the OS disk.
SshPublicKey, SshPublicKeyArgs
- Key
Data string - The public ssh key of the user.
- Key
Data string - The public ssh key of the user.
- key
Data String - The public ssh key of the user.
- key
Data string - The public ssh key of the user.
- key_
data str - The public ssh key of the user.
- key
Data String - The public ssh key of the user.
SshPublicKeyResponse, SshPublicKeyResponseArgs
- Key
Data string - The public ssh key of the user.
- Key
Data string - The public ssh key of the user.
- key
Data String - The public ssh key of the user.
- key
Data string - The public ssh key of the user.
- key_
data str - The public ssh key of the user.
- key
Data String - The public ssh key of the user.
StorageProfile, StorageProfileArgs
- Os
Disk Pulumi.Azure Native. Network Cloud. Inputs. Os Disk - The disk to use with this virtual machine.
- Volume
Attachments List<string> - The resource IDs of volumes that are requested to be attached to the virtual machine.
- Os
Disk OsDisk - The disk to use with this virtual machine.
- Volume
Attachments []string - The resource IDs of volumes that are requested to be attached to the virtual machine.
- os
Disk OsDisk - The disk to use with this virtual machine.
- volume
Attachments List<String> - The resource IDs of volumes that are requested to be attached to the virtual machine.
- os
Disk OsDisk - The disk to use with this virtual machine.
- volume
Attachments string[] - The resource IDs of volumes that are requested to be attached to the virtual machine.
- os_
disk OsDisk - The disk to use with this virtual machine.
- volume_
attachments Sequence[str] - The resource IDs of volumes that are requested to be attached to the virtual machine.
- os
Disk Property Map - The disk to use with this virtual machine.
- volume
Attachments List<String> - The resource IDs of volumes that are requested to be attached to the virtual machine.
StorageProfileResponse, StorageProfileResponseArgs
- Os
Disk Pulumi.Azure Native. Network Cloud. Inputs. Os Disk Response - The disk to use with this virtual machine.
- Volume
Attachments List<string> - The resource IDs of volumes that are requested to be attached to the virtual machine.
- Os
Disk OsDisk Response - The disk to use with this virtual machine.
- Volume
Attachments []string - The resource IDs of volumes that are requested to be attached to the virtual machine.
- os
Disk OsDisk Response - The disk to use with this virtual machine.
- volume
Attachments List<String> - The resource IDs of volumes that are requested to be attached to the virtual machine.
- os
Disk OsDisk Response - The disk to use with this virtual machine.
- volume
Attachments string[] - The resource IDs of volumes that are requested to be attached to the virtual machine.
- os_
disk OsDisk Response - The disk to use with this virtual machine.
- volume_
attachments Sequence[str] - The resource IDs of volumes that are requested to be attached to the virtual machine.
- os
Disk Property Map - The disk to use with this virtual machine.
- volume
Attachments List<String> - The resource IDs of volumes that are requested to be attached to the virtual machine.
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.
VirtualMachineBootMethod, VirtualMachineBootMethodArgs
- UEFI
- UEFI
- BIOS
- BIOS
- Virtual
Machine Boot Method UEFI - UEFI
- Virtual
Machine Boot Method BIOS - BIOS
- UEFI
- UEFI
- BIOS
- BIOS
- UEFI
- UEFI
- BIOS
- BIOS
- UEFI
- UEFI
- BIOS
- BIOS
- "UEFI"
- UEFI
- "BIOS"
- BIOS
VirtualMachineDeviceModelType, VirtualMachineDeviceModelTypeArgs
- T1
- T1
- T2
- T2
- Virtual
Machine Device Model Type T1 - T1
- Virtual
Machine Device Model Type T2 - T2
- T1
- T1
- T2
- T2
- T1
- T1
- T2
- T2
- T1
- T1
- T2
- T2
- "T1"
- T1
- "T2"
- T2
VirtualMachineIPAllocationMethod, VirtualMachineIPAllocationMethodArgs
- Dynamic
- Dynamic
- Static
- Static
- Disabled
- Disabled
- Virtual
Machine IPAllocation Method Dynamic - Dynamic
- Virtual
Machine IPAllocation Method Static - Static
- Virtual
Machine IPAllocation Method Disabled - Disabled
- Dynamic
- Dynamic
- Static
- Static
- Disabled
- Disabled
- Dynamic
- Dynamic
- Static
- Static
- Disabled
- Disabled
- DYNAMIC
- Dynamic
- STATIC
- Static
- DISABLED
- Disabled
- "Dynamic"
- Dynamic
- "Static"
- Static
- "Disabled"
- Disabled
VirtualMachineIsolateEmulatorThread, VirtualMachineIsolateEmulatorThreadArgs
- True
- True
- False
- False
- Virtual
Machine Isolate Emulator Thread True - True
- Virtual
Machine Isolate Emulator Thread False - False
- True
- True
- False
- False
- True
- True
- False
- False
- TRUE
- True
- FALSE
- False
- "True"
- True
- "False"
- False
VirtualMachinePlacementHint, VirtualMachinePlacementHintArgs
- Hint
Type string | Pulumi.Azure Native. Network Cloud. Virtual Machine Placement Hint Type - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- Resource
Id string - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- Scheduling
Execution string | Pulumi.Azure Native. Network Cloud. Virtual Machine Scheduling Execution - The indicator of whether the hint is a hard or soft requirement during scheduling.
- Scope
string | Pulumi.
Azure Native. Network Cloud. Virtual Machine Placement Hint Pod Affinity Scope - The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
- Hint
Type string | VirtualMachine Placement Hint Type - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- Resource
Id string - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- Scheduling
Execution string | VirtualMachine Scheduling Execution - The indicator of whether the hint is a hard or soft requirement during scheduling.
- Scope
string | Virtual
Machine Placement Hint Pod Affinity Scope - The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
- hint
Type String | VirtualMachine Placement Hint Type - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- resource
Id String - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- scheduling
Execution String | VirtualMachine Scheduling Execution - The indicator of whether the hint is a hard or soft requirement during scheduling.
- scope
String | Virtual
Machine Placement Hint Pod Affinity Scope - The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
- hint
Type string | VirtualMachine Placement Hint Type - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- resource
Id string - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- scheduling
Execution string | VirtualMachine Scheduling Execution - The indicator of whether the hint is a hard or soft requirement during scheduling.
- scope
string | Virtual
Machine Placement Hint Pod Affinity Scope - The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
- hint_
type str | VirtualMachine Placement Hint Type - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- resource_
id str - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- scheduling_
execution str | VirtualMachine Scheduling Execution - The indicator of whether the hint is a hard or soft requirement during scheduling.
- scope
str | Virtual
Machine Placement Hint Pod Affinity Scope - The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
- hint
Type String | "Affinity" | "AntiAffinity" - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- resource
Id String - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- scheduling
Execution String | "Hard" | "Soft" - The indicator of whether the hint is a hard or soft requirement during scheduling.
- scope String | "Rack" | "Machine"
- The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
VirtualMachinePlacementHintPodAffinityScope, VirtualMachinePlacementHintPodAffinityScopeArgs
- Rack
- Rack
- Machine
- Machine
- Virtual
Machine Placement Hint Pod Affinity Scope Rack - Rack
- Virtual
Machine Placement Hint Pod Affinity Scope Machine - Machine
- Rack
- Rack
- Machine
- Machine
- Rack
- Rack
- Machine
- Machine
- RACK
- Rack
- MACHINE
- Machine
- "Rack"
- Rack
- "Machine"
- Machine
VirtualMachinePlacementHintResponse, VirtualMachinePlacementHintResponseArgs
- Hint
Type string - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- Resource
Id string - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- Scheduling
Execution string - The indicator of whether the hint is a hard or soft requirement during scheduling.
- Scope string
- The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
- Hint
Type string - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- Resource
Id string - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- Scheduling
Execution string - The indicator of whether the hint is a hard or soft requirement during scheduling.
- Scope string
- The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
- hint
Type String - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- resource
Id String - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- scheduling
Execution String - The indicator of whether the hint is a hard or soft requirement during scheduling.
- scope String
- The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
- hint
Type string - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- resource
Id string - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- scheduling
Execution string - The indicator of whether the hint is a hard or soft requirement during scheduling.
- scope string
- The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
- hint_
type str - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- resource_
id str - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- scheduling_
execution str - The indicator of whether the hint is a hard or soft requirement during scheduling.
- scope str
- The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
- hint
Type String - The specification of whether this hint supports affinity or anti-affinity with the referenced resources.
- resource
Id String - The resource ID of the target object that the placement hints will be checked against, e.g., the bare metal node to host the virtual machine.
- scheduling
Execution String - The indicator of whether the hint is a hard or soft requirement during scheduling.
- scope String
- The scope for the virtual machine affinity or anti-affinity placement hint. It should always be "Machine" in the case of node affinity.
VirtualMachinePlacementHintType, VirtualMachinePlacementHintTypeArgs
- Affinity
- Affinity
- Anti
Affinity - AntiAffinity
- Virtual
Machine Placement Hint Type Affinity - Affinity
- Virtual
Machine Placement Hint Type Anti Affinity - AntiAffinity
- Affinity
- Affinity
- Anti
Affinity - AntiAffinity
- Affinity
- Affinity
- Anti
Affinity - AntiAffinity
- AFFINITY
- Affinity
- ANTI_AFFINITY
- AntiAffinity
- "Affinity"
- Affinity
- "Anti
Affinity" - AntiAffinity
VirtualMachineSchedulingExecution, VirtualMachineSchedulingExecutionArgs
- Hard
- Hard
- Soft
- Soft
- Virtual
Machine Scheduling Execution Hard - Hard
- Virtual
Machine Scheduling Execution Soft - Soft
- Hard
- Hard
- Soft
- Soft
- Hard
- Hard
- Soft
- Soft
- HARD
- Hard
- SOFT
- Soft
- "Hard"
- Hard
- "Soft"
- Soft
VirtualMachineVirtioInterfaceType, VirtualMachineVirtioInterfaceTypeArgs
- Modern
- Modern
- Transitional
- Transitional
- Virtual
Machine Virtio Interface Type Modern - Modern
- Virtual
Machine Virtio Interface Type Transitional - Transitional
- Modern
- Modern
- Transitional
- Transitional
- Modern
- Modern
- Transitional
- Transitional
- MODERN
- Modern
- TRANSITIONAL
- Transitional
- "Modern"
- Modern
- "Transitional"
- Transitional
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:networkcloud:VirtualMachine virtualMachineName /subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.NetworkCloud/virtualMachines/virtualMachineName
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0