ArmResourceGraphModelFactory.FacetError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.