Table of Contents

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

ResourceSelectorKind

ResourceLocation

The selector kind to filter policies by the resource location.

public static ResourceSelectorKind ResourceLocation { get; }

Property Value

ResourceSelectorKind

ResourceType

The selector kind to filter policies by the resource type.

public static ResourceSelectorKind ResourceType { get; }

Property Value

ResourceSelectorKind

ResourceWithoutLocation

The selector kind to filter policies by the resource without location.

public static ResourceSelectorKind ResourceWithoutLocation { get; }

Property Value

ResourceSelectorKind

Methods

Equals(ResourceSelectorKind)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(ResourceSelectorKind other)

Parameters

other ResourceSelectorKind

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

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 ResourceSelectorKind
right ResourceSelectorKind

Returns

bool

implicit operator ResourceSelectorKind(string)

Converts a string to a ResourceSelectorKind.

public static implicit operator ResourceSelectorKind(string value)

Parameters

value string

Returns

ResourceSelectorKind

operator !=(ResourceSelectorKind, ResourceSelectorKind)

Determines if two ResourceSelectorKind values are not the same.

public static bool operator !=(ResourceSelectorKind left, ResourceSelectorKind right)

Parameters

left ResourceSelectorKind
right ResourceSelectorKind

Returns

bool