CloudServicesNetworkStorageOptionsPatch Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. CloudServicesNetworkStorageOptionsPatch
- com.
Implements
public final class CloudServicesNetworkStorageOptionsPatch
implements JsonSerializable<CloudServicesNetworkStorageOptionsPatch>
CloudServicesNetworkStorageOptionsPatch represents the patchable storage options for the cloud services network.
Constructor Summary
| Constructor | Description |
|---|---|
| CloudServicesNetworkStorageOptionsPatch() |
Creates an instance of Cloud |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Cloud |
fromJson(JsonReader jsonReader)
Reads an instance of Cloud |
|
Cloud |
mode()
Get the mode property: The indicator to enable shared storage on the cloud services network. |
| Long |
sizeMiB()
Get the size |
| String |
storageApplianceId()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Cloud |
withMode(CloudServicesNetworkStorageMode mode)
Set the mode property: The indicator to enable shared storage on the cloud services network. |
|
Cloud |
withSizeMiB(Long sizeMiB)
Set the size |
|
Cloud |
withStorageApplianceId(String storageApplianceId)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
CloudServicesNetworkStorageOptionsPatch
public CloudServicesNetworkStorageOptionsPatch()
Creates an instance of CloudServicesNetworkStorageOptionsPatch class.
Method Details
fromJson
public static CloudServicesNetworkStorageOptionsPatch fromJson(JsonReader jsonReader)
Reads an instance of CloudServicesNetworkStorageOptionsPatch from the JsonReader.
Parameters:
Returns:
Throws:
mode
public CloudServicesNetworkStorageMode mode()
Get the mode property: The indicator to enable shared storage on the cloud services network.
Returns:
sizeMiB
public Long sizeMiB()
Get the sizeMiB property: The requested storage allocation for the volume in Mebibytes.
Returns:
storageApplianceId
public String storageApplianceId()
Get the storageApplianceId property: The resource ID of the storage appliance that hosts the storage.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMode
public CloudServicesNetworkStorageOptionsPatch withMode(CloudServicesNetworkStorageMode mode)
Set the mode property: The indicator to enable shared storage on the cloud services network.
Parameters:
Returns:
withSizeMiB
public CloudServicesNetworkStorageOptionsPatch withSizeMiB(Long sizeMiB)
Set the sizeMiB property: The requested storage allocation for the volume in Mebibytes.
Parameters:
Returns:
withStorageApplianceId
public CloudServicesNetworkStorageOptionsPatch withStorageApplianceId(String storageApplianceId)
Set the storageApplianceId property: The resource ID of the storage appliance that hosts the storage.
Parameters:
Returns: