Struct ResourceSelectorKind
- Namespace
- Azure.ResourceManager.Resources.Models
- Assembly
- Azure.ResourceManager.dll
The selector kind.
public readonly struct ResourceSelectorKind : IEquatable<ResourceSelectorKind>
- Implements
- Inherited Members
Constructors
ResourceSelectorKind(string)
Initializes a new instance of ResourceSelectorKind.
public ResourceSelectorKind(string value)
Parameters
value
string
Exceptions
- ArgumentNullException
value
is null.
Properties
PolicyDefinitionReferenceId
The selector kind to filter policies by the policy definition reference ID.
public static ResourceSelectorKind PolicyDefinitionReferenceId { get; }
Property Value
ResourceLocation
The selector kind to filter policies by the resource location.
public static ResourceSelectorKind ResourceLocation { get; }
Property Value
ResourceType
The selector kind to filter policies by the resource type.
public static ResourceSelectorKind ResourceType { get; }
Property Value
ResourceWithoutLocation
The selector kind to filter policies by the resource without location.
public static ResourceSelectorKind ResourceWithoutLocation { get; }
Property Value
Methods
Equals(ResourceSelectorKind)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ResourceSelectorKind other)
Parameters
other
ResourceSelectorKindAn object to compare with this object.
Returns
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
Operators
operator ==(ResourceSelectorKind, ResourceSelectorKind)
Determines if two ResourceSelectorKind values are the same.
public static bool operator ==(ResourceSelectorKind left, ResourceSelectorKind right)
Parameters
left
ResourceSelectorKindright
ResourceSelectorKind
Returns
implicit operator ResourceSelectorKind(string)
Converts a string to a ResourceSelectorKind.
public static implicit operator ResourceSelectorKind(string value)
Parameters
value
string
Returns
operator !=(ResourceSelectorKind, ResourceSelectorKind)
Determines if two ResourceSelectorKind values are not the same.
public static bool operator !=(ResourceSelectorKind left, ResourceSelectorKind right)
Parameters
left
ResourceSelectorKindright
ResourceSelectorKind