Remove-AzApplicationGatewaySslProfile

從應用程式閘道移除 ssl 設定檔。

Syntax

Remove-AzApplicationGatewaySslProfile
      -Name <String>
      -ApplicationGateway <PSApplicationGateway>
      [-DefaultProfile <IAzureContextContainer>]
      [<CommonParameters>]

Description

Remove-AzApplicationGatewaySslProfile Cmdlet 會從應用程式閘道移除 ssl 配置檔。

範例

範例 1

$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
Remove-AzApplicationGatewaySslProfile -ApplicationGateway $AppGw -Name "SslProfile01"
Set-AzApplicationGateway -ApplicationGateway $AppGw

第一個命令會取得名為 ApplicationGateway01 的應用程式閘道,該閘道屬於名為 ResourceGroup01 的資源群組,並將它儲存在$AppGw變數中。 第二個命令會從儲存在 $AppGw 的應用程式閘道中移除名為 SslProfile01 的 ssl 設定檔。 最後一個命令會更新應用程式閘道。

參數

-ApplicationGateway

applicationGateway

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

-DefaultProfile

用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。

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

-Name

ssl 設定檔的名稱

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

輸入

PSApplicationGateway

輸出

PSApplicationGateway