Udostępnij za pośrednictwem


VirtualMachineImageInner Constructors

Definition

Overloads

VirtualMachineImageInner()

Initializes a new instance of the VirtualMachineImageInner class.

VirtualMachineImageInner(String, String, String, IDictionary<String, String>, PurchasePlan, OSDiskImage, IList<DataDiskImage>, AutomaticOSUpgradeProperties, HyperVGenerationTypes, DisallowedConfiguration)

Initializes a new instance of the VirtualMachineImageInner class.

VirtualMachineImageInner()

Initializes a new instance of the VirtualMachineImageInner class.

public VirtualMachineImageInner ();
Public Sub New ()

Applies to

VirtualMachineImageInner(String, String, String, IDictionary<String, String>, PurchasePlan, OSDiskImage, IList<DataDiskImage>, AutomaticOSUpgradeProperties, HyperVGenerationTypes, DisallowedConfiguration)

Initializes a new instance of the VirtualMachineImageInner class.

public VirtualMachineImageInner (string name, string location, string id = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Fluent.Models.PurchasePlan plan = default, Microsoft.Azure.Management.Compute.Fluent.Models.OSDiskImage osDiskImage = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.DataDiskImage> dataDiskImages = default, Microsoft.Azure.Management.Compute.Fluent.Models.AutomaticOSUpgradeProperties automaticOSUpgradeProperties = default, Microsoft.Azure.Management.Compute.Fluent.Models.HyperVGenerationTypes hyperVGeneration = default, Microsoft.Azure.Management.Compute.Fluent.Models.DisallowedConfiguration disallowed = default);
new Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineImageInner : string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Fluent.Models.PurchasePlan * Microsoft.Azure.Management.Compute.Fluent.Models.OSDiskImage * System.Collections.Generic.IList<Microsoft.Azure.Management.Compute.Fluent.Models.DataDiskImage> * Microsoft.Azure.Management.Compute.Fluent.Models.AutomaticOSUpgradeProperties * Microsoft.Azure.Management.Compute.Fluent.Models.HyperVGenerationTypes * Microsoft.Azure.Management.Compute.Fluent.Models.DisallowedConfiguration -> Microsoft.Azure.Management.Compute.Fluent.Models.VirtualMachineImageInner
Public Sub New (name As String, location As String, Optional id As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional plan As PurchasePlan = Nothing, Optional osDiskImage As OSDiskImage = Nothing, Optional dataDiskImages As IList(Of DataDiskImage) = Nothing, Optional automaticOSUpgradeProperties As AutomaticOSUpgradeProperties = Nothing, Optional hyperVGeneration As HyperVGenerationTypes = Nothing, Optional disallowed As DisallowedConfiguration = Nothing)

Parameters

name
String

The name of the resource.

location
String

The supported Azure location of the resource.

id
String
tags
IDictionary<String,String>

Specifies the tags that are assigned to the virtual machine. For more information about using tags, see Using tags to organize your Azure resources.

osDiskImage
OSDiskImage
dataDiskImages
IList<DataDiskImage>
automaticOSUpgradeProperties
AutomaticOSUpgradeProperties
hyperVGeneration
HyperVGenerationTypes

Possible values include: 'V1', 'V2'

disallowed
DisallowedConfiguration

Specifies disallowed configuration for the VirtualMachine created from the image

Applies to