你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SecurityPolicy Class

Definition

SecurityPolicy association for AzureFrontDoor profile

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.SecurityPolicyTypeConverter))]
public class SecurityPolicy : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.ISecurityPolicy, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IHeaderSerializable, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.SecurityPolicyTypeConverter))>]
type SecurityPolicy = class
    interface ISecurityPolicy
    interface IJsonSerializable
    interface IResource
    interface IValidates
    interface IHeaderSerializable
Public Class SecurityPolicy
Implements IHeaderSerializable, ISecurityPolicy, IValidates
Inheritance
SecurityPolicy
Attributes
Implements

Constructors

SecurityPolicy()

Creates an new SecurityPolicy instance.

Properties

DeploymentStatus
Id

Resource ID.

Location
Name

Resource name.

Parameter

object which contains security policy parameters

ProfileName

The name of the profile which holds the security policy.

ProvisioningState

Provisioning status

ResourceGroupName

Gets the resource group name

SystemData

Read only system data

SystemDataCreatedAt

The timestamp of resource creation (UTC)

SystemDataCreatedBy

An identifier for the identity that created the resource

SystemDataCreatedByType

The type of identity that created the resource

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

An identifier for the identity that last modified the resource

SystemDataLastModifiedByType

The type of identity that last modified the resource

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SecurityPolicy.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SecurityPolicy.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.ISecurityPolicy.

FromJsonString(String)

Creates a new instance of SecurityPolicy, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SecurityPolicy into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Explicit Interface Implementations

IHeaderSerializable.ReadHeaders(HttpResponseHeaders)

Applies to