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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure PowerShell