ManagedClusterStorageProfileFileCsiDriver Class

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

Implements

public final class ManagedClusterStorageProfileFileCsiDriver
implements JsonSerializable<ManagedClusterStorageProfileFileCsiDriver>

AzureFile CSI Driver settings for the storage profile.

Constructor Summary

Constructor Description
ManagedClusterStorageProfileFileCsiDriver()

Creates an instance of ManagedClusterStorageProfileFileCsiDriver class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: Whether to enable AzureFile CSI Driver.

static ManagedClusterStorageProfileFileCsiDriver fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterStorageProfileFileCsiDriver from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterStorageProfileFileCsiDriver withEnabled(Boolean enabled)

Set the enabled property: Whether to enable AzureFile CSI Driver.

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterStorageProfileFileCsiDriver

public ManagedClusterStorageProfileFileCsiDriver()

Creates an instance of ManagedClusterStorageProfileFileCsiDriver class.

Method Details

enabled

public Boolean enabled()

Get the enabled property: Whether to enable AzureFile CSI Driver. The default value is true.

Returns:

the enabled value.

fromJson

public static ManagedClusterStorageProfileFileCsiDriver fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterStorageProfileFileCsiDriver from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedClusterStorageProfileFileCsiDriver 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 ManagedClusterStorageProfileFileCsiDriver.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnabled

public ManagedClusterStorageProfileFileCsiDriver withEnabled(Boolean enabled)

Set the enabled property: Whether to enable AzureFile CSI Driver. The default value is true.

Parameters:

enabled - the enabled value to set.

Returns:

the ManagedClusterStorageProfileFileCsiDriver object itself.

Applies to