다음을 통해 공유


VirtualMachineImageResource Constructors

Definition

Overloads

VirtualMachineImageResource()

Initializes a new instance of the VirtualMachineImageResource class.

VirtualMachineImageResource(String, String, String, IDictionary<String,String>, ExtendedLocation)

Initializes a new instance of the VirtualMachineImageResource class.

VirtualMachineImageResource()

Initializes a new instance of the VirtualMachineImageResource class.

public VirtualMachineImageResource ();
Public Sub New ()

Applies to

VirtualMachineImageResource(String, String, String, IDictionary<String,String>, ExtendedLocation)

Initializes a new instance of the VirtualMachineImageResource class.

public VirtualMachineImageResource (string name, string location, string id = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Compute.Models.ExtendedLocation extendedLocation = default);
new Microsoft.Azure.Management.Compute.Models.VirtualMachineImageResource : string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Compute.Models.ExtendedLocation -> Microsoft.Azure.Management.Compute.Models.VirtualMachineImageResource
Public Sub New (name As String, location As String, Optional id As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing)

Parameters

name
String

The name of the resource.

location
String

The supported Azure location of the resource.

id
String

Resource Id

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.

extendedLocation
ExtendedLocation

The extended location of the Virtual Machine.

Applies to