Condividi tramite


VnetValidationTestFailure Class

public final class VnetValidationTestFailure
extends ProxyOnlyResource

A class that describes a test that failed during NSG and UDR validation.

Method Summary

Modifier and Type Method and Description
String details()

Get the details property: The details of what caused the failure, e.g.

static VnetValidationTestFailure fromJson(JsonReader jsonReader)

Reads an instance of VnetValidationTestFailure from the JsonReader.

String id()

Get the id property: Resource Id.

String name()

Get the name property: Resource Name.

String testName()

Get the testName property: The name of the test that failed.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

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:

the details value.

fromJson

public static VnetValidationTestFailure fromJson(JsonReader jsonReader)

Reads an instance of VnetValidationTestFailure from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VnetValidationTestFailure 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 VnetValidationTestFailure.

id

public String id()

Get the id property: Resource Id.

Overrides:

VnetValidationTestFailure.id()

Returns:

the id value.

name

public String name()

Get the name property: Resource Name.

Overrides:

VnetValidationTestFailure.name()

Returns:

the name value.

testName

public String testName()

Get the testName property: The name of the test that failed.

Returns:

the testName value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VnetValidationTestFailure.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Overrides:

VnetValidationTestFailure.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

VnetValidationTestFailure.validate()

Applies to