Class EnvironmentDefinition
java.lang.Object
com.azure.developer.devcenter.models.EnvironmentDefinition
- All Implemented Interfaces:
com.azure.json.JsonSerializable<EnvironmentDefinition>
public final class EnvironmentDefinition
extends Object
implements com.azure.json.JsonSerializable<EnvironmentDefinition>
An environment definition.
-
Method Summary
Modifier and TypeMethodDescriptionstatic EnvironmentDefinitionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of EnvironmentDefinition from the JsonReader.Get the catalogName property: Name of the catalog.Get the description property: A short description of the environment definition.getId()Get the id property: The ID of the environment definition.getName()Get the name property: Name of the environment definition.Get the parameters property: Input parameters passed to an environment.Get the parametersSchema property: JSON schema defining the parameters object passed to an environment.Get the templatePath property: Path to the Environment Definition entrypoint file.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getId
Get the id property: The ID of the environment definition.- Returns:
- the id value.
-
getName
Get the name property: Name of the environment definition.- Returns:
- the name value.
-
getCatalogName
Get the catalogName property: Name of the catalog.- Returns:
- the catalogName value.
-
getDescription
Get the description property: A short description of the environment definition.- Returns:
- the description value.
-
getParameters
Get the parameters property: Input parameters passed to an environment.- Returns:
- the parameters value.
-
getParametersSchema
Get the parametersSchema property: JSON schema defining the parameters object passed to an environment.- Returns:
- the parametersSchema value.
-
getTemplatePath
Get the templatePath property: Path to the Environment Definition entrypoint file.- Returns:
- the templatePath value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<EnvironmentDefinition>- Throws:
IOException
-
fromJson
public static EnvironmentDefinition fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of EnvironmentDefinition from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of EnvironmentDefinition if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the EnvironmentDefinition.
-