Table of Contents

Struct PolicyOverrideKind

Namespace
Azure.ResourceManager.Resources.Models
Assembly
Azure.ResourceManager.dll

The override kind.

public readonly struct PolicyOverrideKind : IEquatable<PolicyOverrideKind>
Implements
Inherited Members

Constructors

PolicyOverrideKind(string)

Initializes a new instance of PolicyOverrideKind.

public PolicyOverrideKind(string value)

Parameters

value string

Exceptions

ArgumentNullException

value is null.

Properties

PolicyEffect

It will override the policy effect type.

public static PolicyOverrideKind PolicyEffect { get; }

Property Value

PolicyOverrideKind

Methods

Equals(PolicyOverrideKind)

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

public bool Equals(PolicyOverrideKind other)

Parameters

other PolicyOverrideKind

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 ==(PolicyOverrideKind, PolicyOverrideKind)

Determines if two PolicyOverrideKind values are the same.

public static bool operator ==(PolicyOverrideKind left, PolicyOverrideKind right)

Parameters

left PolicyOverrideKind
right PolicyOverrideKind

Returns

bool

implicit operator PolicyOverrideKind(string)

Converts a string to a PolicyOverrideKind.

public static implicit operator PolicyOverrideKind(string value)

Parameters

value string

Returns

PolicyOverrideKind

operator !=(PolicyOverrideKind, PolicyOverrideKind)

Determines if two PolicyOverrideKind values are not the same.

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

Parameters

left PolicyOverrideKind
right PolicyOverrideKind

Returns

bool