Remove-AzApplicationGatewaySslProfilePolicy
從 Azure 應用程式閘道 SSL 設定檔案中移除 SSL 原則。
Syntax
Remove-AzApplicationGatewaySslProfilePolicy
-SslProfile <PSApplicationGatewaySslProfile>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Remove-AzApplicationGatewaySslProfilePolicy Cmdlet 會從 Azure 應用程式閘道 SSL 配置檔中移除 SSL 原則。
範例
範例 1
$AppGW = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$profile = Get-AzApplicationGatewaySslProfile -Name "Profile01" -ApplicationGateway $AppGw
$profile = Remove-AzApplicationGatewaySslProfilePolicy -SslProfile $profile
第一個命令會在名為 ResourceGroup01 的資源群組中取得名為 ApplicationGateway01 的應用程式閘道,並將它儲存在$AppGw變數中。 第二個命令會針對 $AppGw 取得名為 Profile01 的 SSL 配置檔,並將它儲存在 $profile 變數中。 最後一個命令會移除儲存在 $profile 之 ssl 配置檔的 ssl 原則。
參數
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SslProfile
applicationGateway SSL 配置檔
Type: | PSApplicationGatewaySslProfile |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
輸入
PSApplicationGatewaySslProfile
輸出
PSApplicationGatewaySslProfile
相關連結
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應