Dela via


PortalSettingsCspMode Struct

Definition

The mode of the developer portal Content Security Policy (CSP).

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

Constructors

PortalSettingsCspMode(String)

Initializes a new instance of PortalSettingsCspMode.

Properties

Disabled

The browser will not apply the origin restrictions.

Enabled

The browser will block requests not matching allowed origins.

ReportOnly

The browser will report requests not matching allowed origins without blocking them.

Methods

Equals(PortalSettingsCspMode)

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(PortalSettingsCspMode, PortalSettingsCspMode)

Determines if two PortalSettingsCspMode values are the same.

Implicit(String to PortalSettingsCspMode)

Converts a string to a PortalSettingsCspMode.

Inequality(PortalSettingsCspMode, PortalSettingsCspMode)

Determines if two PortalSettingsCspMode values are not the same.

Applies to