Skip to content

Latest commit

 

History

History
184 lines (140 loc) · 4.21 KB

New-AzApplicationGatewaySslPolicy.md

File metadata and controls

184 lines (140 loc) · 4.21 KB
external help file Module Name ms.assetid online version schema
Microsoft.Azure.PowerShell.Cmdlets.Network.dll-Help.xml
Az.Network
98FA4E95-CAC5-4FBD-AA84-113BE9ED7FEA
2.0.0

New-AzApplicationGatewaySslPolicy

SYNOPSIS

Creates an SSL policy for an application gateway.

SYNTAX

New-AzApplicationGatewaySslPolicy [-DisabledSslProtocols <String[]>] [-PolicyType <String>]
 [-PolicyName <String>] [-CipherSuite <String[]>] [-MinProtocolVersion <String>]
 [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

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

EXAMPLES

Example 1

$sslPolicy = New-AzApplicationGatewaySslPolicy -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.

PARAMETERS

-CipherSuite

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

Type: System.String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DefaultProfile

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

Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential

Required: False
Position: Named
Default value: None
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.String[]
Parameter Sets: (All)
Aliases:
Accepted values: TLSv1_0, TLSv1_1, TLSv1_2, TLSv1_3

Required: False
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: System.String
Parameter Sets: (All)
Aliases:
Accepted values: TLSv1_0, TLSv1_1, TLSv1_2, TLSv1_3

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PolicyName

Name of Ssl predefined policy

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-PolicyType

Type of Ssl Policy

Type: System.String
Parameter Sets: (All)
Aliases:
Accepted values: Predefined, Custom, CustomV2

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

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

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSApplicationGatewaySslPolicy

NOTES

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

RELATED LINKS

Get-AzApplicationGatewaySslPolicy

Set-AzApplicationGatewaySslPolicy