FileShareConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.workloadssapvirtualinstance.models.FileShareConfiguration

Implements

public class FileShareConfiguration
implements JsonSerializable<FileShareConfiguration>

File Share configuration details, populated with information on storage configuration mounted on the VIS. The createAndMount option is selected in case of missing input.

Constructor Summary

Constructor Description
FileShareConfiguration()

Creates an instance of FileShareConfiguration class.

Method Summary

Modifier and Type Method and Description
FileShareConfigurationType configurationType()

Get the configurationType property: The type of file share config, eg: Mount/CreateAndMount/Skip.

static FileShareConfiguration fromJson(JsonReader jsonReader)

Reads an instance of FileShareConfiguration from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

FileShareConfiguration

public FileShareConfiguration()

Creates an instance of FileShareConfiguration class.

Method Details

configurationType

public FileShareConfigurationType configurationType()

Get the configurationType property: The type of file share config, eg: Mount/CreateAndMount/Skip.

Returns:

the configurationType value.

fromJson

public static FileShareConfiguration fromJson(JsonReader jsonReader)

Reads an instance of FileShareConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to