DataDiskConfiguration.LogicalDiskSizeInGB 属性
Optional. Specifies the size, in GB, of an empty VHD to be attached to the virtual machine. The VHD can be created as part of disk attach or create virtual machine calls by specifying the value for this property. Azure creates the empty VHD based on size preference and attaches the newly created VHD to the virtual machine.
命名空间: Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageListResponse
程序集: Microsoft.WindowsAzure.Management.Compute(在 Microsoft.WindowsAzure.Management.Compute.dll 中)
使用
用法
Dim instance As DataDiskConfiguration
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
目标平台
另请参阅
参考
DataDiskConfiguration 类
DataDiskConfiguration 成员
Microsoft.WindowsAzure.Management.Compute.Models.VirtualMachineVMImageListResponse 命名空间