Share via


VirtualMachineImageGetResponse.RecommendedVMSize Property

Gets or sets a VirtualMachineRoleSize value that specifies the size to use for the Virtual Machine that is created from the operating system image.

Namespace: Microsoft.WindowsAzure.Management.Compute.Models
Assembly: Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Usage

'Usage
Dim instance As VirtualMachineImageGetResponse
Dim value As VirtualMachineRoleSize

value = instance.RecommendedVMSize

instance.RecommendedVMSize = value

Syntax

'Declaration
Public Property RecommendedVMSize As VirtualMachineRoleSize
public VirtualMachineRoleSize RecommendedVMSize { get; set; }
public:
property VirtualMachineRoleSize RecommendedVMSize {
    VirtualMachineRoleSize get ();
    void set (VirtualMachineRoleSize value);
}
/** @property */
public VirtualMachineRoleSize get_RecommendedVMSize ()

/** @property */
public void set_RecommendedVMSize (VirtualMachineRoleSize value)
public function get RecommendedVMSize () : VirtualMachineRoleSize

public function set RecommendedVMSize (value : VirtualMachineRoleSize)

Property Value

A VirtualMachineRoleSize value.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

VirtualMachineImageGetResponse Class
VirtualMachineImageGetResponse Members
Microsoft.WindowsAzure.Management.Compute.Models Namespace