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 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

      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

      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

      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.