Megosztás a következőn keresztül:


ArmCdnModelFactory.FrontDoorSecurityPolicyData Method

Definition

Initializes a new instance of FrontDoorSecurityPolicyData.

public static Azure.ResourceManager.Cdn.FrontDoorSecurityPolicyData FrontDoorSecurityPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState? provisioningState = default, Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus? deploymentStatus = default, string profileName = default, Azure.ResourceManager.Cdn.Models.SecurityPolicyProperties properties = default);
static member FrontDoorSecurityPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorProvisioningState> * Nullable<Azure.ResourceManager.Cdn.Models.FrontDoorDeploymentStatus> * string * Azure.ResourceManager.Cdn.Models.SecurityPolicyProperties -> Azure.ResourceManager.Cdn.FrontDoorSecurityPolicyData
Public Shared Function FrontDoorSecurityPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of FrontDoorProvisioningState) = Nothing, Optional deploymentStatus As Nullable(Of FrontDoorDeploymentStatus) = Nothing, Optional profileName As String = Nothing, Optional properties As SecurityPolicyProperties = Nothing) As FrontDoorSecurityPolicyData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<FrontDoorProvisioningState>

Provisioning status.

profileName
String

The name of the profile which holds the security policy.

properties
SecurityPolicyProperties

object which contains security policy parameters Please note SecurityPolicyProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SecurityPolicyWebApplicationFirewall.

Returns

A new FrontDoorSecurityPolicyData instance for mocking.

Applies to