CustomPersistentDiskResource Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. CustomPersistentDiskResource
- com.
Implements
public final class CustomPersistentDiskResource
implements JsonSerializable<CustomPersistentDiskResource>
Custom persistent disk resource payload.
Constructor Summary
Constructor | Description |
---|---|
CustomPersistentDiskResource() |
Creates an instance of Custom |
Method Summary
Modifier and Type | Method and Description |
---|---|
Custom |
customPersistentDiskProperties()
Get the custom |
static
Custom |
fromJson(JsonReader jsonReader)
Reads an instance of Custom |
String |
storageId()
Get the storage |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Custom |
withCustomPersistentDiskProperties(CustomPersistentDiskProperties customPersistentDiskProperties)
Set the custom |
Custom |
withStorageId(String storageId)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
CustomPersistentDiskResource
public CustomPersistentDiskResource()
Creates an instance of CustomPersistentDiskResource class.
Method Details
customPersistentDiskProperties
public CustomPersistentDiskProperties customPersistentDiskProperties()
Get the customPersistentDiskProperties property: Properties of the custom persistent disk resource payload.
Returns:
fromJson
public static CustomPersistentDiskResource fromJson(JsonReader jsonReader)
Reads an instance of CustomPersistentDiskResource from the JsonReader.
Parameters:
Returns:
Throws:
storageId
public String storageId()
Get the storageId property: The resource id of Azure Spring Apps Storage resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
withCustomPersistentDiskProperties
public CustomPersistentDiskResource withCustomPersistentDiskProperties(CustomPersistentDiskProperties customPersistentDiskProperties)
Set the customPersistentDiskProperties property: Properties of the custom persistent disk resource payload.
Parameters:
Returns:
withStorageId
public CustomPersistentDiskResource withStorageId(String storageId)
Set the storageId property: The resource id of Azure Spring Apps Storage resource.
Parameters:
Returns:
Applies to
Azure SDK for Java