Share via


PolicyMode Struct

Definition

Describes if it is in detection mode or prevention mode at policy level.

public readonly struct PolicyMode : IEquatable<Azure.ResourceManager.Cdn.Models.PolicyMode>
type PolicyMode = struct
Public Structure PolicyMode
Implements IEquatable(Of PolicyMode)
Inheritance
PolicyMode
Implements

Constructors

PolicyMode(String)

Initializes a new instance of PolicyMode.

Properties

Detection

Detection.

Prevention

Prevention.

Methods

Equals(PolicyMode)

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

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(PolicyMode, PolicyMode)

Determines if two PolicyMode values are the same.

Implicit(String to PolicyMode)

Converts a string to a PolicyMode.

Inequality(PolicyMode, PolicyMode)

Determines if two PolicyMode values are not the same.

Applies to