你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmAppPlatformModelFactory.AppPersistentDisk 方法

定义

初始化 AppPersistentDisk 的新实例。

public static Azure.ResourceManager.AppPlatform.Models.AppPersistentDisk AppPersistentDisk (int? sizeInGB = default, int? usedInGB = default, string mountPath = default);
static member AppPersistentDisk : Nullable<int> * Nullable<int> * string -> Azure.ResourceManager.AppPlatform.Models.AppPersistentDisk
Public Shared Function AppPersistentDisk (Optional sizeInGB As Nullable(Of Integer) = Nothing, Optional usedInGB As Nullable(Of Integer) = Nothing, Optional mountPath As String = Nothing) As AppPersistentDisk

参数

sizeInGB
Nullable<Int32>

永久性磁盘的大小(以 GB 为单位)。

usedInGB
Nullable<Int32>

已用永久性磁盘的大小(以 GB 为单位)。

mountPath
String

永久性磁盘的装载路径。

返回

用于模拟的新 AppPersistentDisk 实例。

适用于