ManagedInstanceOperationParametersPair Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.ManagedInstanceOperationParametersPair

Implements

public final class ManagedInstanceOperationParametersPair
implements JsonSerializable<ManagedInstanceOperationParametersPair>

The parameters of a managed instance operation.

Method Summary

Modifier and Type Method and Description
UpsertManagedServerOperationParameters currentParameters()

Get the currentParameters property: The current parameters.

static ManagedInstanceOperationParametersPair fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstanceOperationParametersPair from the JsonReader.

UpsertManagedServerOperationParameters requestedParameters()

Get the requestedParameters property: The requested parameters.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

currentParameters

public UpsertManagedServerOperationParameters currentParameters()

Get the currentParameters property: The current parameters.

Returns:

the currentParameters value.

fromJson

public static ManagedInstanceOperationParametersPair fromJson(JsonReader jsonReader)

Reads an instance of ManagedInstanceOperationParametersPair from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

requestedParameters

public UpsertManagedServerOperationParameters requestedParameters()

Get the requestedParameters property: The requested parameters.

Returns:

the requestedParameters value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to