ArmResourcesPolicyModelFactory.PolicyResourceSelector 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.
The resource selector to filter policies by resource properties.
public static Azure.ResourceManager.Resources.Policy.Models.PolicyResourceSelector PolicyResourceSelector(string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Policy.Models.PolicySelector> selectors = default);
static member PolicyResourceSelector : string * seq<Azure.ResourceManager.Resources.Policy.Models.PolicySelector> -> Azure.ResourceManager.Resources.Policy.Models.PolicyResourceSelector
Public Shared Function PolicyResourceSelector (Optional name As String = Nothing, Optional selectors As IEnumerable(Of PolicySelector) = Nothing) As PolicyResourceSelector
Parameters
- name
- String
The name of the resource selector.
- selectors
- IEnumerable<PolicySelector>
The list of the selector expressions.
Returns
A new PolicyResourceSelector instance for mocking.