ArmResourceGraphModelFactory.FacetError Method

Definition

Initializes a new instance of FacetError.

public static Azure.ResourceManager.ResourceGraph.Models.FacetError FacetError (string expression = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ResourceGraph.Models.FacetErrorDetails> errors = default);
static member FacetError : string * seq<Azure.ResourceManager.ResourceGraph.Models.FacetErrorDetails> -> Azure.ResourceManager.ResourceGraph.Models.FacetError
Public Shared Function FacetError (Optional expression As String = Nothing, Optional errors As IEnumerable(Of FacetErrorDetails) = Nothing) As FacetError

Parameters

expression
String

Facet expression, same as in the corresponding facet request.

errors
IEnumerable<FacetErrorDetails>

An array containing detected facet errors with details.

Returns

A new FacetError instance for mocking.

Applies to