VnetValidationTestFailure Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appservice. models. ProxyOnlyResource - com.
azure. resourcemanager. appservice. models. VnetValidationTestFailure
- com.
- com.
- com.
public final class VnetValidationTestFailure
extends ProxyOnlyResource
A class that describes a test that failed during NSG and UDR validation.
Constructor Summary
Constructor | Description |
---|---|
VnetValidationTestFailure() |
Creates an instance of Vnet |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
details()
Get the details property: The details of what caused the failure, e. |
static
Vnet |
fromJson(JsonReader jsonReader)
Reads an instance of Vnet |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
String |
testName()
Get the test |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Vnet |
withDetails(String details)
Set the details property: The details of what caused the failure, e. |
Vnet |
withKind(String kind)
Set the kind property: Kind of resource. |
Vnet |
withTestName(String testName)
Set the test |
Methods inherited from ProxyOnlyResource
Methods inherited from java.lang.Object
Constructor Details
VnetValidationTestFailure
public VnetValidationTestFailure()
Creates an instance of VnetValidationTestFailure class.
Method Details
details
public String details()
Get the details property: The details of what caused the failure, e.g. the blocking rule name, etc.
Returns:
fromJson
public static VnetValidationTestFailure fromJson(JsonReader jsonReader)
Reads an instance of VnetValidationTestFailure from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
VnetValidationTestFailure.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VnetValidationTestFailure.name()Returns:
testName
public String testName()
Get the testName property: The name of the test that failed.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VnetValidationTestFailure.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
VnetValidationTestFailure.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
VnetValidationTestFailure.validate()withDetails
public VnetValidationTestFailure withDetails(String details)
Set the details property: The details of what caused the failure, e.g. the blocking rule name, etc.
Parameters:
Returns:
withKind
public VnetValidationTestFailure withKind(String kind)
Set the kind property: Kind of resource.
Overrides:
VnetValidationTestFailure.withKind(String kind)Parameters:
withTestName
public VnetValidationTestFailure withTestName(String testName)
Set the testName property: The name of the test that failed.
Parameters:
Returns:
Applies to
Azure SDK for Java