ManagedClusterStorageProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.ManagedClusterStorageProfile

Implements

public final class ManagedClusterStorageProfile
implements JsonSerializable<ManagedClusterStorageProfile>

Storage profile for the container service cluster.

Constructor Summary

Constructor Description
ManagedClusterStorageProfile()

Creates an instance of ManagedClusterStorageProfile class.

Method Summary

Modifier and Type Method and Description
ManagedClusterStorageProfileBlobCsiDriver blobCsiDriver()

Get the blobCsiDriver property: AzureBlob CSI Driver settings for the storage profile.

ManagedClusterStorageProfileDiskCsiDriver diskCsiDriver()

Get the diskCsiDriver property: AzureDisk CSI Driver settings for the storage profile.

ManagedClusterStorageProfileFileCsiDriver fileCsiDriver()

Get the fileCsiDriver property: AzureFile CSI Driver settings for the storage profile.

static ManagedClusterStorageProfile fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterStorageProfile from the JsonReader.

ManagedClusterStorageProfileSnapshotController snapshotController()

Get the snapshotController property: Snapshot Controller settings for the storage profile.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterStorageProfile withBlobCsiDriver(ManagedClusterStorageProfileBlobCsiDriver blobCsiDriver)

Set the blobCsiDriver property: AzureBlob CSI Driver settings for the storage profile.

ManagedClusterStorageProfile withDiskCsiDriver(ManagedClusterStorageProfileDiskCsiDriver diskCsiDriver)

Set the diskCsiDriver property: AzureDisk CSI Driver settings for the storage profile.

ManagedClusterStorageProfile withFileCsiDriver(ManagedClusterStorageProfileFileCsiDriver fileCsiDriver)

Set the fileCsiDriver property: AzureFile CSI Driver settings for the storage profile.

ManagedClusterStorageProfile withSnapshotController(ManagedClusterStorageProfileSnapshotController snapshotController)

Set the snapshotController property: Snapshot Controller settings for the storage profile.

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterStorageProfile

public ManagedClusterStorageProfile()

Creates an instance of ManagedClusterStorageProfile class.

Method Details

blobCsiDriver

public ManagedClusterStorageProfileBlobCsiDriver blobCsiDriver()

Get the blobCsiDriver property: AzureBlob CSI Driver settings for the storage profile.

Returns:

the blobCsiDriver value.

diskCsiDriver

public ManagedClusterStorageProfileDiskCsiDriver diskCsiDriver()

Get the diskCsiDriver property: AzureDisk CSI Driver settings for the storage profile.

Returns:

the diskCsiDriver value.

fileCsiDriver

public ManagedClusterStorageProfileFileCsiDriver fileCsiDriver()

Get the fileCsiDriver property: AzureFile CSI Driver settings for the storage profile.

Returns:

the fileCsiDriver value.

fromJson

public static ManagedClusterStorageProfile fromJson(JsonReader jsonReader)

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.

snapshotController

public ManagedClusterStorageProfileSnapshotController snapshotController()

Get the snapshotController property: Snapshot Controller settings for the storage profile.

Returns:

the snapshotController value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

Applies to