New-AzApiManagementSslSetting

Creates an instance of PsApiManagementSslSetting

Syntax

New-AzApiManagementSslSetting
   [-FrontendProtocol <Hashtable>]
   [-BackendProtocol <Hashtable>]
   [-CipherSuite <Hashtable>]
   [-ServerProtocol <Hashtable>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Helper command to create an instance of PsApiManagementSslSetting. This command is to be used with New-AzApiManagement command.

Examples

Example 1: Create an SSL Setting to enable TLS 1.0 on both Backend and Frontend

$enableTls=@{"Tls10" = "True"}
New-AzApiManagementSslSetting -FrontendProtocol $enableTls -BackendProtocol $enableTls

FrontendProtocols BackendProtocols CipherSuites ServerProtocols
----------------- ---------------- ------------ ---------------
{Tls10}           {Tls10}

Create an new instance of PsApiManagementSslSetting to Enable TLSv 1.0 in both Frontend (between client and APIM) and Backend (between APIM and Backend) of ApiManagement Gateway.

Parameters

-BackendProtocol

Backend Security protocol settings. This parameter is optional. The valid Protocol Settings are Tls11 - Tls 1.1 Tls10 - Tls 1.0 Ssl30 - SSL 3.0

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

-CipherSuite

Ssl cipher suites settings in the specified order. This parameter is optional. The valid Settings are TripleDes168 - Enable / Disable Tripe Des 168

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

-DefaultProfile

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

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FrontendProtocol

Frontend Security protocols settings. This parameter is optional. The valid Protocol Settings are Tls11 - Tls 1.1 Tls10 - Tls 1.0 Ssl30 - SSL 3.0

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

-ServerProtocol

Server protocol settings like Http2. This parameter is optional. The valid Settings are Http2 - Enable Http 2.0

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

Inputs

None

Outputs

Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagementSslSettings