Remove-AzApplicationGatewaySslProfilePolicy
從 Azure 應用程式閘道 SSL 設定檔移除 SSL 原則。
語法
Default (預設值)
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 變數中。 第二個命令獲取名為 Profile01 的 SSL 配置檔案$AppGw並將其儲存在 $profile 變數中。 最後一個命令會移除儲存在$profile中的 SSL 設定檔的 SSL 原則。
參數
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
參數屬性
| 類型: | IAzureContextContainer |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
| 別名: | AzContext, AzureRmContext, AzureCredential |
參數集
(All)
| Position: | Named |
| 必要: | False |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
-SslProfile
applicationGateway SSL 設定檔
參數屬性
| 類型: | PSApplicationGatewaySslProfile |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
(All)
| Position: | Named |
| 必要: | True |
| 來自管線的值: | True |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
CommonParameters
此 Cmdlet 支援常見參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。