你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CustomPersistentDiskProperties 类
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. CustomPersistentDiskProperties
- com.
public class CustomPersistentDiskProperties
自定义永久性磁盘资源有效负载。
构造函数摘要
构造函数 | 说明 | |
---|---|---|
CustomPersistentDiskProperties() |
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
List<String> |
mountOptions()
获取装载 |
String |
mountPath()
获取装载 |
Boolean |
readOnly()
获取只读 |
void |
validate()
验证 实例。 |
Custom |
withMountOptions(List<String> mountOptions)
设置装载 |
Custom |
withMountPath(String mountPath)
设置装载 |
Custom |
withReadOnly(Boolean readOnly)
设置只读 |
方法继承自 java.lang.Object
构造函数详细信息
CustomPersistentDiskProperties
public CustomPersistentDiskProperties()
方法详细信息
mountOptions
public List
获取 mountOptions 属性:这些是永久性磁盘的装载选项。
Returns:
mountPath
public String mountPath()
获取 mountPath 属性:永久性磁盘的装载路径。
Returns:
readOnly
public Boolean readOnly()
获取 readOnly 属性:指示永久性磁盘是否为 readOnly 磁盘。
Returns:
validate
public void validate()
验证 实例。
withMountOptions
public CustomPersistentDiskProperties withMountOptions(List
设置 mountOptions 属性:这些是永久性磁盘的装载选项。
Parameters:
Returns:
withMountPath
public CustomPersistentDiskProperties withMountPath(String mountPath)
设置 mountPath 属性:永久性磁盘的装载路径。
Parameters:
Returns:
withReadOnly
public CustomPersistentDiskProperties withReadOnly(Boolean readOnly)
设置 readOnly 属性:指示永久性磁盘是否为 readOnly 磁盘。
Parameters:
Returns: