< Back

Set-AzureRmApplicationGatewaySslPolicy

Tue Jan 29, 2019 9:58 pm

NAME Set-AzureRmApplicationGatewaySslPolicy



SYNOPSIS

Modifies the SSL policy of an application gateway.





SYNTAX

Set-AzureRmApplicationGatewaySslPolicy -ApplicationGateway <PSApplicationGateway> [-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 Set-AzureRmApplicationGatewaySslPolicy cmdlet modifies the SSL policy of an application gateway.





PARAMETERS

-ApplicationGateway <PSApplicationGateway>

Specifies the application gateway of the SSL policy that this cmdlet modifies.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-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.PSApplicationGateway







NOTES





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



1:



PS C:\\>$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"

PS C:\\> $AppGw = Set-AzureRmApplicationGatewaySslPolicy -ApplicationGateway $getgw -PolicyType Predefined -PolicyName AppGwSslPolicy20170401



The first command gets the application gateway named ApplicationGateway01 and stores it in the $AppGw variable.



This second command modifies the ssl policy to a policy type Predefined and policy name AppGwSslPolicy20170401.







RELATED LINKS

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

Get-AzureRmApplicationGatewaySslPolicy

New-AzureRmApplicationGatewaySslPolicy