Editar

Compartilhar via


New-AzFrontDoorCdnProfileUpgradeParametersObject

Create an in-memory object for ProfileUpgradeParameters.

Syntax

New-AzFrontDoorCdnProfileUpgradeParametersObject
   -WafMappingList <IProfileChangeSkuWafMapping[]>
   [<CommonParameters>]

Description

Create an in-memory object for ProfileUpgradeParameters.

Examples

Example 1: Create an in-memory object for ProfileUpgradeParameters.

$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName policyName -ChangeToWafPolicyId toWafPolicyId
New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf1

WafMappingList
--------------
{{…

Create an in-memory object for ProfileUpgradeParameters.

Example 2: Create an in-memory object for ProfileUpgradeParameters, show the details of the object.

$waf1 = New-AzFrontDoorCdnProfileChangeSkuWafMappingObject -SecurityPolicyName policyName -ChangeToWafPolicyId toWafPolicyId
$upgrade = New-AzFrontDoorCdnProfileUpgradeParametersObject -WafMappingList $waf1  
$upgrade.ToString()

{
  "wafMappingList": [
    {
      "changeToWafPolicy": {
        "id": "toWafPolicyId"
      },
      "securityPolicyName": "policyName"
    }
  ]
}

Create an in-memory object for ProfileUpgradeParameters, show the details of the object.

Parameters

-WafMappingList

Web Application Firewall (WAF) and security policy mapping for the profile upgrade. To construct, see NOTES section for WAFMAPPINGLIST properties and create a hash table.

Type:IProfileChangeSkuWafMapping[]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

ProfileUpgradeParameters