Class ManagedClusterStorageProfile
java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterStorageProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedClusterStorageProfile>
public final class ManagedClusterStorageProfile
extends Object
implements com.azure.json.JsonSerializable<ManagedClusterStorageProfile>
Storage profile for the container service cluster.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterStorageProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the blobCsiDriver property: AzureBlob CSI Driver settings for the storage profile.Get the diskCsiDriver property: AzureDisk CSI Driver settings for the storage profile.Get the fileCsiDriver property: AzureFile CSI Driver settings for the storage profile.static ManagedClusterStorageProfilefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedClusterStorageProfile from the JsonReader.Get the snapshotController property: Snapshot Controller settings for the storage profile.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withBlobCsiDriver(ManagedClusterStorageProfileBlobCsiDriver blobCsiDriver) Set the blobCsiDriver property: AzureBlob CSI Driver settings for the storage profile.withDiskCsiDriver(ManagedClusterStorageProfileDiskCsiDriver diskCsiDriver) Set the diskCsiDriver property: AzureDisk CSI Driver settings for the storage profile.withFileCsiDriver(ManagedClusterStorageProfileFileCsiDriver fileCsiDriver) Set the fileCsiDriver property: AzureFile CSI Driver settings for the storage profile.withSnapshotController(ManagedClusterStorageProfileSnapshotController snapshotController) Set the snapshotController property: Snapshot Controller settings for the storage profile.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ManagedClusterStorageProfile
public ManagedClusterStorageProfile()Creates an instance of ManagedClusterStorageProfile class.
-
-
Method Details
-
diskCsiDriver
Get the diskCsiDriver property: AzureDisk CSI Driver settings for the storage profile.- Returns:
- the diskCsiDriver value.
-
withDiskCsiDriver
public ManagedClusterStorageProfile withDiskCsiDriver(ManagedClusterStorageProfileDiskCsiDriver diskCsiDriver) Set the diskCsiDriver property: AzureDisk CSI Driver settings for the storage profile.- Parameters:
diskCsiDriver- the diskCsiDriver value to set.- Returns:
- the ManagedClusterStorageProfile object itself.
-
fileCsiDriver
Get the fileCsiDriver property: AzureFile CSI Driver settings for the storage profile.- Returns:
- the fileCsiDriver value.
-
withFileCsiDriver
public ManagedClusterStorageProfile withFileCsiDriver(ManagedClusterStorageProfileFileCsiDriver fileCsiDriver) Set the fileCsiDriver property: AzureFile CSI Driver settings for the storage profile.- Parameters:
fileCsiDriver- the fileCsiDriver value to set.- Returns:
- the ManagedClusterStorageProfile object itself.
-
snapshotController
Get the snapshotController property: Snapshot Controller settings for the storage profile.- Returns:
- the snapshotController value.
-
withSnapshotController
public ManagedClusterStorageProfile withSnapshotController(ManagedClusterStorageProfileSnapshotController snapshotController) Set the snapshotController property: Snapshot Controller settings for the storage profile.- Parameters:
snapshotController- the snapshotController value to set.- Returns:
- the ManagedClusterStorageProfile object itself.
-
blobCsiDriver
Get the blobCsiDriver property: AzureBlob CSI Driver settings for the storage profile.- Returns:
- the blobCsiDriver value.
-
withBlobCsiDriver
public ManagedClusterStorageProfile withBlobCsiDriver(ManagedClusterStorageProfileBlobCsiDriver blobCsiDriver) Set the blobCsiDriver property: AzureBlob CSI Driver settings for the storage profile.- Parameters:
blobCsiDriver- the blobCsiDriver value to set.- Returns:
- the ManagedClusterStorageProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ManagedClusterStorageProfile>- Throws:
IOException
-
fromJson
public static ManagedClusterStorageProfile fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ManagedClusterStorageProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ManagedClusterStorageProfile if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ManagedClusterStorageProfile.
-