CloudServicesNetworkStorageOptions Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. CloudServicesNetworkStorageOptions
- com.
Implements
public final class CloudServicesNetworkStorageOptions
implements JsonSerializable<CloudServicesNetworkStorageOptions>
CloudServicesNetworkStorageOptions represents the storage options for the cloud services network.
Constructor Summary
| Constructor | Description |
|---|---|
| CloudServicesNetworkStorageOptions() |
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
CloudServicesNetworkStorageOptions
public CloudServicesNetworkStorageOptions()
Creates an instance of CloudServicesNetworkStorageOptions class.
Method Details
fromJson
public static CloudServicesNetworkStorageOptions fromJson(JsonReader jsonReader)
Reads an instance of CloudServicesNetworkStorageOptions 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. If not specified, the allocation will align with the standard storage enablement.
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 CloudServicesNetworkStorageOptions withMode(CloudServicesNetworkStorageMode mode)
Set the mode property: The indicator to enable shared storage on the cloud services network. If not specified, the allocation will align with the standard storage enablement.
Parameters:
Returns:
withSizeMiB
public CloudServicesNetworkStorageOptions withSizeMiB(Long sizeMiB)
Set the sizeMiB property: The requested storage allocation for the volume in Mebibytes.
Parameters:
Returns:
withStorageApplianceId
public CloudServicesNetworkStorageOptions withStorageApplianceId(String storageApplianceId)
Set the storageApplianceId property: The resource ID of the storage appliance that hosts the storage.
Parameters:
Returns: