Set-​Azure​Rm​Application​Gateway​Ssl​Policy

Modifies the SSL policy of an application gateway.

Syntax

Set-AzureRmApplicationGatewaySslPolicy
   -ApplicationGateway <PSApplicationGateway>
   [-CipherSuite <System.Collections.Generic.List`1[System.String]>]
   [-DisabledSslProtocols <System.Collections.Generic.List`1[System.String]>]
   [-MinProtocolVersion <String>]
   [-PolicyName <String>]
   [-PolicyType <String>]
   [-Confirm]
   [-WhatIf]
   [<CommonParameters>]

Description

The Set-AzureRmApplicationGatewaySslPolicy cmdlet modifies the SSL policy of an application gateway.

Examples

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.

Required Parameters

-ApplicationGateway

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

Type:PSApplicationGateway
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-CipherSuite

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

Type:System.Collections.Generic.List`1[System.String]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DisabledSslProtocols

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

  • TLSv1_0
  • TLSv1_1
  • TLSv1_2
Type:System.Collections.Generic.List`1[System.String]
Parameter Sets:TLSv1_0, TLSv1_1, TLSv1_2
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-MinProtocolVersion

Minimum version of Ssl protocol to be supported on application gateway

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PolicyName

Name of Ssl predefined policy

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PolicyType

Type of Ssl Policy

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

System.String

Outputs

Microsoft.Azure.Commands.Network.Models.PSApplicationGateway

Notes

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