你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CustomPersistentDiskResource 类
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. CustomPersistentDiskResource
- com.
public final class CustomPersistentDiskResource
自定义永久性磁盘资源有效负载。
构造函数摘要
构造函数 | 说明 | |
---|---|---|
CustomPersistentDiskResource() |
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
Custom |
customPersistentDiskProperties()
获取自定义 |
String |
storageId()
获取存储 |
void |
validate()
验证实例。 |
Custom |
withCustomPersistentDiskProperties(CustomPersistentDiskProperties customPersistentDiskProperties)
设置自定义 |
Custom |
withStorageId(String storageId)
设置存储 |
方法继承自 java.lang.Object
构造函数详细信息
CustomPersistentDiskResource
public CustomPersistentDiskResource()
方法详细信息
customPersistentDiskProperties
public CustomPersistentDiskProperties customPersistentDiskProperties()
获取 customPersistentDiskProperties 属性:自定义永久性磁盘资源有效负载的属性。
Returns:
storageId
public String storageId()
获取 storageId 属性:Azure Spring Apps 存储资源的资源 ID。
Returns:
validate
public void validate()
验证实例。
withCustomPersistentDiskProperties
public CustomPersistentDiskResource withCustomPersistentDiskProperties(CustomPersistentDiskProperties customPersistentDiskProperties)
设置 customPersistentDiskProperties 属性:自定义永久性磁盘资源有效负载的属性。
Parameters:
Returns:
withStorageId
public CustomPersistentDiskResource withStorageId(String storageId)
设置 storageId 属性:Azure Spring Apps 存储资源的资源 ID。
Parameters:
Returns: