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

CustomPersistentDiskProperties 类

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.CustomPersistentDiskProperties

public class CustomPersistentDiskProperties

自定义永久性磁盘资源有效负载。

构造函数摘要

构造函数 说明
CustomPersistentDiskProperties()

方法摘要

修饰符和类型 方法和描述
List<String> mountOptions()

获取装载选项属性:这些是永久性磁盘的装载选项。

String mountPath()

获取装载路径属性:永久性磁盘的装载路径。

Boolean readOnly()

获取只读属性:指示永久性磁盘是否为只读磁盘。

void validate()

验证 实例。

CustomPersistentDiskProperties withMountOptions(List<String> mountOptions)

设置装载选项属性:这些是永久性磁盘的装载选项。

CustomPersistentDiskProperties withMountPath(String mountPath)

设置装载路径属性:永久性磁盘的装载路径。

CustomPersistentDiskProperties withReadOnly(Boolean readOnly)

设置只读属性:指示永久性磁盘是否为只读磁盘。

方法继承自 java.lang.Object

构造函数详细信息

CustomPersistentDiskProperties

public CustomPersistentDiskProperties()

方法详细信息

mountOptions

public List mountOptions()

获取 mountOptions 属性:这些是永久性磁盘的装载选项。

Returns:

mountOptions 值。

mountPath

public String mountPath()

获取 mountPath 属性:永久性磁盘的装载路径。

Returns:

mountPath 值。

readOnly

public Boolean readOnly()

获取 readOnly 属性:指示永久性磁盘是否为 readOnly 磁盘。

Returns:

readOnly 值。

validate

public void validate()

验证 实例。

withMountOptions

public CustomPersistentDiskProperties withMountOptions(List mountOptions)

设置 mountOptions 属性:这些是永久性磁盘的装载选项。

Parameters:

mountOptions - 要设置的 mountOptions 值。

Returns:

CustomPersistentDiskProperties 对象本身。

withMountPath

public CustomPersistentDiskProperties withMountPath(String mountPath)

设置 mountPath 属性:永久性磁盘的装载路径。

Parameters:

mountPath - 要设置的 mountPath 值。

Returns:

CustomPersistentDiskProperties 对象本身。

withReadOnly

public CustomPersistentDiskProperties withReadOnly(Boolean readOnly)

设置 readOnly 属性:指示永久性磁盘是否为 readOnly 磁盘。

Parameters:

readOnly - 要设置的 readOnly 值。

Returns:

CustomPersistentDiskProperties 对象本身。

适用于