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

Name Description
PolicyMode(String)

Initializes a new instance of PolicyMode.

Properties

Name Description
Detection

Gets the Detection.

Prevention

Gets the Prevention.

Methods

Name Description
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

Name Description
Equality(PolicyMode, PolicyMode)

Determines if two PolicyMode values are the same.

Implicit(String to Nullable<PolicyMode>)
Implicit(String to PolicyMode)

Converts a string to a PolicyMode.

Inequality(PolicyMode, PolicyMode)

Determines if two PolicyMode values are not the same.

Applies to