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

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

provisioningState
Nullable<FrontDoorProvisioningState>

Provisioning status.

deploymentStatus
Nullable<FrontDoorDeploymentStatus>

Gets the DeploymentStatus.

profileName
String

The name of the profile which holds the security policy.

properties
SecurityPolicyProperties

object which contains security policy parameters.

Returns

A new FrontDoorSecurityPolicyData instance for mocking.

Applies to