Show / Hide Table of Contents

Class VirtualMachineArgs

Inheritance
System.Object
InputArgs
ResourceArgs
VirtualMachineArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Compute
Assembly: Pulumi.Azure.dll
Syntax
public sealed class VirtualMachineArgs : ResourceArgs

Constructors

View Source

VirtualMachineArgs()

Declaration
public VirtualMachineArgs()

Properties

View Source

AdditionalCapabilities

A additional_capabilities block.

Declaration
public Input<VirtualMachineAdditionalCapabilitiesArgs> AdditionalCapabilities { get; set; }
Property Value
Type Description
Input<VirtualMachineAdditionalCapabilitiesArgs>
View Source

AvailabilitySetId

The ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.

Declaration
public Input<string> AvailabilitySetId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

BootDiagnostics

A boot_diagnostics block.

Declaration
public Input<VirtualMachineBootDiagnosticsArgs> BootDiagnostics { get; set; }
Property Value
Type Description
Input<VirtualMachineBootDiagnosticsArgs>
View Source

DeleteDataDisksOnTermination

Should the Data Disks (either the Managed Disks / VHD Blobs) be deleted when the Virtual Machine is destroyed? Defaults to false.

Declaration
public Input<bool> DeleteDataDisksOnTermination { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

DeleteOsDiskOnTermination

Should the OS Disk (either the Managed Disk / VHD Blob) be deleted when the Virtual Machine is destroyed? Defaults to false.

Declaration
public Input<bool> DeleteOsDiskOnTermination { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Identity

A identity block.

Declaration
public Input<VirtualMachineIdentityArgs> Identity { get; set; }
Property Value
Type Description
Input<VirtualMachineIdentityArgs>
View Source

LicenseType

Specifies the BYOL Type for this Virtual Machine. This is only applicable to Windows Virtual Machines. Possible values are Windows_Client and Windows_Server.

Declaration
public Input<string> LicenseType { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Location

Specifies the Azure Region where the Virtual Machine exists. Changing this forces a new resource to be created.

Declaration
public Input<string> Location { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Name

Specifies the name of the Virtual Machine. Changing this forces a new resource to be created.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

NetworkInterfaceIds

A list of Network Interface ID's which should be associated with the Virtual Machine.

Declaration
public InputList<string> NetworkInterfaceIds { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

OsProfile

An os_profile block. Required when create_option in the storage_os_disk block is set to FromImage.

Declaration
public Input<VirtualMachineOsProfileArgs> OsProfile { get; set; }
Property Value
Type Description
Input<VirtualMachineOsProfileArgs>
View Source

OsProfileLinuxConfig

A os_profile_linux_config block.

Declaration
public Input<VirtualMachineOsProfileLinuxConfigArgs> OsProfileLinuxConfig { get; set; }
Property Value
Type Description
Input<VirtualMachineOsProfileLinuxConfigArgs>
View Source

OsProfileSecrets

One or more os_profile_secrets blocks.

Declaration
public InputList<VirtualMachineOsProfileSecretArgs> OsProfileSecrets { get; set; }
Property Value
Type Description
InputList<VirtualMachineOsProfileSecretArgs>
View Source

OsProfileWindowsConfig

A os_profile_windows_config block.

Declaration
public Input<VirtualMachineOsProfileWindowsConfigArgs> OsProfileWindowsConfig { get; set; }
Property Value
Type Description
Input<VirtualMachineOsProfileWindowsConfigArgs>
View Source

Plan

A plan block.

Declaration
public Input<VirtualMachinePlanArgs> Plan { get; set; }
Property Value
Type Description
Input<VirtualMachinePlanArgs>
View Source

PrimaryNetworkInterfaceId

The ID of the Network Interface (which must be attached to the Virtual Machine) which should be the Primary Network Interface for this Virtual Machine.

Declaration
public Input<string> PrimaryNetworkInterfaceId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ProximityPlacementGroupId

The ID of the Proximity Placement Group to which this Virtual Machine should be assigned. Changing this forces a new resource to be created

Declaration
public Input<string> ProximityPlacementGroupId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ResourceGroupName

Specifies the name of the Resource Group in which the Virtual Machine should exist. Changing this forces a new resource to be created.

Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

StorageDataDisks

One or more storage_data_disk blocks.

Declaration
public InputList<VirtualMachineStorageDataDiskArgs> StorageDataDisks { get; set; }
Property Value
Type Description
InputList<VirtualMachineStorageDataDiskArgs>
View Source

StorageImageReference

A storage_image_reference block.

Declaration
public Input<VirtualMachineStorageImageReferenceArgs> StorageImageReference { get; set; }
Property Value
Type Description
Input<VirtualMachineStorageImageReferenceArgs>
View Source

StorageOsDisk

A storage_os_disk block.

Declaration
public Input<VirtualMachineStorageOsDiskArgs> StorageOsDisk { get; set; }
Property Value
Type Description
Input<VirtualMachineStorageOsDiskArgs>
View Source

Tags

A mapping of tags to assign to the Virtual Machine.

Declaration
public InputMap<string> Tags { get; set; }
Property Value
Type Description
InputMap<System.String>
View Source

VmSize

Specifies the size of the Virtual Machine.

Declaration
public Input<string> VmSize { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Zones

A list of a single item of the Availability Zone which the Virtual Machine should be allocated in.

Declaration
public Input<string> Zones { get; set; }
Property Value
Type Description
Input<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.