Class ValidationExecutionPlanProperties
java.lang.Object
com.azure.resourcemanager.platformvalidation.models.ValidationExecutionPlanProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ValidationExecutionPlanProperties>
public final class ValidationExecutionPlanProperties
extends Object
implements com.azure.json.JsonSerializable<ValidationExecutionPlanProperties>
Validation Test Execution Plan properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ValidationExecutionPlanProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description of the resource.com.azure.core.management.exception.ManagementErrorerror()Get the error property: Error details.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ValidationExecutionPlanProperties from the JsonReader.Get the planConfigurationJson property: Entire execution plan configuration/manifest json.Get the planConfigurationUri property: URI where the configuration of the execution plan is defined.Get the provisioningState property: The provisioning state of the resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withDescription(String description) Set the description property: The description of the resource.withPlanConfigurationJson(String planConfigurationJson) Set the planConfigurationJson property: Entire execution plan configuration/manifest json.withPlanConfigurationUri(String planConfigurationUri) Set the planConfigurationUri property: URI where the configuration of the execution plan is defined.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ValidationExecutionPlanProperties
public ValidationExecutionPlanProperties()Creates an instance of ValidationExecutionPlanProperties class.
-
-
Method Details
-
description
Get the description property: The description of the resource.- Returns:
- the description value.
-
withDescription
Set the description property: The description of the resource.- Parameters:
description- the description value to set.- Returns:
- the ValidationExecutionPlanProperties object itself.
-
planConfigurationUri
Get the planConfigurationUri property: URI where the configuration of the execution plan is defined. Either this property or `planConfigurationJson` is mandatory while creating; they are mutually exclusive. This must be a plain, non-SAS reference (no embedded credentials, tokens, or query-string secrets); the service reads the referenced content using its managed identity. This value is returned as-is in get responses, so it must not contain credentials or other secrets.- Returns:
- the planConfigurationUri value.
-
withPlanConfigurationUri
Set the planConfigurationUri property: URI where the configuration of the execution plan is defined. Either this property or `planConfigurationJson` is mandatory while creating; they are mutually exclusive. This must be a plain, non-SAS reference (no embedded credentials, tokens, or query-string secrets); the service reads the referenced content using its managed identity. This value is returned as-is in get responses, so it must not contain credentials or other secrets.- Parameters:
planConfigurationUri- the planConfigurationUri value to set.- Returns:
- the ValidationExecutionPlanProperties object itself.
-
planConfigurationJson
Get the planConfigurationJson property: Entire execution plan configuration/manifest json. Either this property or `planConfigurationUri` is mandatory while creating; they are mutually exclusive. In get, always return the entire json configuration. This value is returned as-is in get responses, so it must not contain credentials or other secrets.- Returns:
- the planConfigurationJson value.
-
withPlanConfigurationJson
Set the planConfigurationJson property: Entire execution plan configuration/manifest json. Either this property or `planConfigurationUri` is mandatory while creating; they are mutually exclusive. In get, always return the entire json configuration. This value is returned as-is in get responses, so it must not contain credentials or other secrets.- Parameters:
planConfigurationJson- the planConfigurationJson value to set.- Returns:
- the ValidationExecutionPlanProperties object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the resource.- Returns:
- the provisioningState value.
-
error
public com.azure.core.management.exception.ManagementError error()Get the error property: Error details. Populated when provisioningState is Failed or Canceled.- Returns:
- the error value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ValidationExecutionPlanProperties>- Throws:
IOException
-
fromJson
public static ValidationExecutionPlanProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ValidationExecutionPlanProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ValidationExecutionPlanProperties 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 ValidationExecutionPlanProperties.
-