Share via


VirtualMachineGetResponse.RoleSize Property

Gets or sets a VirtualMachineRoleSize value that specifies the size of the Virtual Machine.

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

Usage

'Usage
Dim instance As VirtualMachineGetResponse
Dim value As String

value = instance.RoleSize

instance.RoleSize = value

Syntax

'Declaration
Public Property RoleSize As String
public string RoleSize { get; set; }
public:
property String^ RoleSize {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_RoleSize ()

/** @property */
public void set_RoleSize (String value)
public function get RoleSize () : String

public function set RoleSize (value : String)

Property Value

A VirtualMachineRoleSize value.

Remarks

For more information about Virtual Machine sizes, see Virtual Machine and Cloud Service Sizes for Microsoft Azure

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

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