你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Get-AzSecuritySolution
获取安全解决方案
语法
Get-AzSecuritySolution
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzSecuritySolution
-ResourceGroupName <String>
-Name <String>
-Location <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzSecuritySolution
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
说明
获取安全解决方案
示例
示例 1
Get-AzSecuritySolution
Id : /subscriptions/67bc604b-54b2-4c78-a7ba-72504920a319/resourceGroups/QualysLICTest/providers/Microsoft.Security/locations/centralus/securitySolutions/QualysTest
Name : QualysLICTest
provisioningState : Succeeded
template : qualys.qualysAgent
SecurityFamily : Va
protectionStatus : Good
Id : /subscriptions/67bc604b-54b2-4c78-a7ba-72504920a319/resourceGroups/OfriWafTest/providers/MicrosoftSecurity/locations/centralus/securitySolutions/WafTest
Name : WafTest
provisioningState : Succeeded
template : Microsoft.ApplicationGateway-ARM
SecurityFamily : SaasWaf
protectionStatus : Good
获取订阅中的所有“获取安全解决方案”
参数
-DefaultProfile
用于与 Azure 通信的凭据、帐户、租户和订阅。
类型: | IAzureContextContainer |
别名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
默认值: | None |
必需: | False |
接受管道输入: | False |
接受通配符: | False |
-Location
位置。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-Name
资源名称。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-ResourceGroupName
资源组名称。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | False |
接受通配符: | False |
-ResourceId
要调用其上的命令的安全资源的 ID。
类型: | String |
Position: | Named |
默认值: | None |
必需: | True |
接受管道输入: | True |
接受通配符: | False |