VirtualMachineDataDiskCreateParameters.LogicalDiskSizeInGB 属性

Optional. Specifies the size, in GB, of an empty disk to be attached to the role. The disk can be created as part of disk attach or create VM role call by specifying the value for this property. Azure creates the empty disk based on size preference and attaches the newly created disk to the Role.

命名空间: Microsoft.WindowsAzure.Management.Compute.Models
程序集: Microsoft.WindowsAzure.Management.Compute(在 Microsoft.WindowsAzure.Management.Compute.dll 中)

使用

用法
Dim instance As VirtualMachineDataDiskCreateParameters
Dim value As Integer

value = instance.LogicalDiskSizeInGB

instance.LogicalDiskSizeInGB = value

语法

声明
Public Property LogicalDiskSizeInGB As Integer
public int LogicalDiskSizeInGB { get; set; }
public:
property int LogicalDiskSizeInGB {
    int get ();
    void set (int value);
}
/** @property */
public int get_LogicalDiskSizeInGB ()

/** @property */
public void set_LogicalDiskSizeInGB (int value)
public function get LogicalDiskSizeInGB () : int

public function set LogicalDiskSizeInGB (value : int)

线程安全

此类型的所有公开静态(在 Visual Basic 中为共享)成员均为线程安全型成员。但不保证所有实例成员都是线程安全的。

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

VirtualMachineDataDiskCreateParameters 类
VirtualMachineDataDiskCreateParameters 成员
Microsoft.WindowsAzure.Management.Compute.Models 命名空间