< Back

New-AzureRmApplicationGatewaySslPolicy

Tue Jan 29, 2019 9:55 pm

NAME New-AzureRmApplicationGatewaySslPolicy



SYNOPSIS

Creates an SSL policy for an application gateway.





SYNTAX

New-AzureRmApplicationGatewaySslPolicy [-CipherSuite <System.Collections.Generic.List`1[System.String]>] [-DefaultProfile

<IAzureContextContainer>] [-DisabledSslProtocols {TLSv1_0 | TLSv1_1 | TLSv1_2}] [-MinProtocolVersion {TLSv1_0 | TLSv1_1 | TLSv1_2}] [-PolicyName

<String>] [-PolicyType {Predefined | Custom}] [-Confirm] [-WhatIf] [<CommonParameters>]





DESCRIPTION

The New-AzureRmApplicationGatewaySslPolicy cmdlet creates an SSL policy for an application gateway.





PARAMETERS

-CipherSuite <System.Collections.Generic.List`1[System.String]>

Ssl cipher suites to be enabled in the specified order to application gateway



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-DisabledSslProtocols <System.Collections.Generic.List`1[System.String]>

Specifies which protocols are disabled. The acceptable values for this parameter are:



- TLSv1_0



- TLSv1_1



- TLSv1_2



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-MinProtocolVersion <String>

Minimum version of Ssl protocol to be supported on application gateway



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PolicyName <String>

Name of Ssl predefined policy



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PolicyType <String>

Type of Ssl Policy



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String







OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSApplicationGatewaySslPolicy







NOTES





* Keywords: azure, azurerm, arm, resource, management, manager, network, networking



1:



PS C:\\>$sslPolicy = New-AzureRmApplicationGatewaySslPolicy -PolicyType Custom -MinProtocolVersion TLSv1_1 -CipherSuite

"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA",

"TLS_RSA_WITH_AES_128_GCM_SHA256"



This command creates a custom policy.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ysslpolicy

Get-AzureRmApplicationGatewaySslPolicy

Set-AzureRmApplicationGatewaySslPolicy