azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.a...

30 строки
2.2 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.avs.models.ScriptExecution.DefinitionStages.WithFailureReason"
fullName: "com.azure.resourcemanager.avs.models.ScriptExecution.DefinitionStages.WithFailureReason"
name: "ScriptExecution.DefinitionStages.WithFailureReason"
nameWithType: "ScriptExecution.DefinitionStages.WithFailureReason"
summary: "The stage of the Script<wbr>Execution definition allowing to specify failure<wbr>Reason."
syntax: "public static interface **ScriptExecution.DefinitionStages.WithFailureReason**"
methods:
- uid: "com.azure.resourcemanager.avs.models.ScriptExecution.DefinitionStages.WithFailureReason.withFailureReason(java.lang.String)"
fullName: "com.azure.resourcemanager.avs.models.ScriptExecution.DefinitionStages.WithFailureReason.withFailureReason(String failureReason)"
name: "withFailureReason(String failureReason)"
nameWithType: "ScriptExecution.DefinitionStages.WithFailureReason.withFailureReason(String failureReason)"
summary: "Specifies the failure<wbr>Reason property: Error message if the script was able to run, but if the script itself had errors or powershell threw an exception."
modifiers:
- "abstract"
parameters:
- description: "Error message if the script was able to run, but if the script itself had\n errors or powershell threw an exception."
name: "failureReason"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract ScriptExecution.DefinitionStages.WithCreate withFailureReason(String failureReason)"
desc: "Specifies the failureReason property: Error message if the script was able to run, but if the script itself had errors or powershell threw an exception."
returns:
description: "the next definition stage."
type: "<xref href=\"com.azure.resourcemanager.avs.models.ScriptExecution.DefinitionStages.WithCreate?alt=com.azure.resourcemanager.avs.models.ScriptExecution.DefinitionStages.WithCreate&text=WithCreate\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "The stage of the ScriptExecution definition allowing to specify failureReason."
metadata: {}
package: "com.azure.resourcemanager.avs.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-avs:1.2.0