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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET