Class VnetValidationTestFailure
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.models.VnetValidationTestFailure
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
A class that describes a test that failed during NSG and UDR validation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VnetValidationTestFailure class. -
Method Summary
Modifier and TypeMethodDescriptiondetails()Get the details property: The details of what caused the failure, e.g.testName()Get the testName property: The name of the test that failed.voidvalidate()Validates the instance.withDetails(String details) Set the details property: The details of what caused the failure, e.g.Set the kind property: Kind of resource.withTestName(String testName) Set the testName property: The name of the test that failed.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kindMethods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
VnetValidationTestFailure
public VnetValidationTestFailure()Creates an instance of VnetValidationTestFailure class.
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
testName
Get the testName property: The name of the test that failed.- Returns:
- the testName value.
-
withTestName
Set the testName property: The name of the test that failed.- Parameters:
testName- the testName value to set.- Returns:
- the VnetValidationTestFailure object itself.
-
details
Get the details property: The details of what caused the failure, e.g. the blocking rule name, etc.- Returns:
- the details value.
-
withDetails
Set the details property: The details of what caused the failure, e.g. the blocking rule name, etc.- Parameters:
details- the details value to set.- Returns:
- the VnetValidationTestFailure object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-