Language

PolicyExemptionUpdate.ResourceSelector Property

Definition

The resource selectors, exposed with their pre-migration element type IResourceSelectorAutoGenerated (the emitter renamed the element type to IResourceSelector). The generated flattened property is renamed to ResourceSelectorRaw (see tspconfig.yaml) so this back-compatible accessor owns the ResourceSelector name. Because List<A> is not assignable to List<B> even when the element types are compatible, the list is projected; the underlying elements are the same concrete ResourceSelector instances.

[Microsoft.Azure.PowerShell.Cmdlets.Policy.Origin(Microsoft.Azure.PowerShell.Cmdlets.Policy.PropertyOrigin.Inlined)]
public System.Collections.Generic.List<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IResourceSelector> ResourceSelector { get; set; }
public System.Collections.Generic.List<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IResourceSelectorAutoGenerated> ResourceSelector { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.Policy.Origin(Microsoft.Azure.PowerShell.Cmdlets.Policy.PropertyOrigin.Inlined)>]
member this.ResourceSelector : System.Collections.Generic.List<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IResourceSelector> with get, set
member this.ResourceSelector : System.Collections.Generic.List<Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IResourceSelectorAutoGenerated> with get, set
Public Property ResourceSelector As List(Of IResourceSelector)
Public Property ResourceSelector As List(Of IResourceSelectorAutoGenerated)

Property Value

Implements

Attributes

Applies to