你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ManagedClusterStorageProfileDiskCsiDriver Class

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

Implements

public final class ManagedClusterStorageProfileDiskCsiDriver
implements JsonSerializable<ManagedClusterStorageProfileDiskCsiDriver>

AzureDisk CSI Driver settings for the storage profile.

Constructor Summary

Constructor Description
ManagedClusterStorageProfileDiskCsiDriver()

Creates an instance of ManagedClusterStorageProfileDiskCsiDriver class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

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

static ManagedClusterStorageProfileDiskCsiDriver fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterStorageProfileDiskCsiDriver from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterStorageProfileDiskCsiDriver withEnabled(Boolean enabled)

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

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterStorageProfileDiskCsiDriver

public ManagedClusterStorageProfileDiskCsiDriver()

Creates an instance of ManagedClusterStorageProfileDiskCsiDriver class.

Method Details

enabled

public Boolean enabled()

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

Returns:

the enabled value.

fromJson

public static ManagedClusterStorageProfileDiskCsiDriver fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterStorageProfileDiskCsiDriver from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnabled

public ManagedClusterStorageProfileDiskCsiDriver withEnabled(Boolean enabled)

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

Parameters:

enabled - the enabled value to set.

Returns:

the ManagedClusterStorageProfileDiskCsiDriver object itself.

Applies to