Class VnetValidationTestFailure
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.models.VnetValidationTestFailure
A class that describes a test that failed during NSG and UDR validation.
-
Constructor Summary
-
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.void
validate()
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
kind
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
VnetValidationTestFailure
public VnetValidationTestFailure()
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in 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:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-