Share via


VnetValidationTestFailure Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.VnetValidationTestFailureTypeConverter))]
public class VnetValidationTestFailure : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IVnetValidationTestFailure, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.VnetValidationTestFailureTypeConverter))>]
type VnetValidationTestFailure = class
    interface IVnetValidationTestFailure
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class VnetValidationTestFailure
Implements IValidates, IVnetValidationTestFailure
Inheritance
VnetValidationTestFailure
Attributes
Implements

Constructors

VnetValidationTestFailure()

Creates an new VnetValidationTestFailure instance.

Properties

Detail

The details of what caused the failure, e.g. the blocking rule name, etc.

Id

Resource Id.

Kind

Kind of resource.

Name

Resource Name.

TestName

The name of the test that failed.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VnetValidationTestFailure.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VnetValidationTestFailure.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20231201.IVnetValidationTestFailure.

FromJsonString(String)

Creates a new instance of VnetValidationTestFailure, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VnetValidationTestFailure into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to