New-AzIotSecuritySolutionRecommendationConfigurationObject
Create new recommendation configuration for iot security solution
Syntax
New-AzIotSecuritySolutionRecommendationConfigurationObject
-RecommendationType <String>
-Enabled <Boolean>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The AzIotSecuritySolutionRecommendationConfigurationObject creates a new recommendation configuration object for iot security solution. This way the status of a recommendation is configured, whether it is enabled or disabled.
Examples
Example 1
New-AzIotSecuritySolutionRecommendationConfigurationObject -RecommendationType "IoT_ACRAuthentication" -Enabled $false
RecommendationType: "IoT_ACRAuthentication"
Name: "Service prinicpal not used with ACR repository"
Status: "Disabled"
Create new recommendation configuration for recommendation type "IoT_ACRAuthentication" with status set to disable
Parameters
-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 |
-Enabled
Status .
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RecommendationType
Recommendation type.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell