RecommendedActionImplementationInfo Class

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

Implements

public final class RecommendedActionImplementationInfo
implements JsonSerializable<RecommendedActionImplementationInfo>

Contains information for manual implementation for an Azure SQL Database, Server or Elastic Pool Recommended Action.

Method Summary

Modifier and Type Method and Description
static RecommendedActionImplementationInfo fromJson(JsonReader jsonReader)

Reads an instance of RecommendedActionImplementationInfo from the JsonReader.

ImplementationMethod method()

Get the method property: Gets the method in which this recommended action can be manually implemented.

String script()

Get the script property: Gets the manual implementation script.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static RecommendedActionImplementationInfo fromJson(JsonReader jsonReader)

Reads an instance of RecommendedActionImplementationInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

method

public ImplementationMethod method()

Get the method property: Gets the method in which this recommended action can be manually implemented. e.g., TSql, AzurePowerShell.

Returns:

the method value.

script

public String script()

Get the script property: Gets the manual implementation script. e.g., T-SQL script that could be executed on the database.

Returns:

the script value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to