Edit

Share via


New-AzIotSecuritySolutionRecommendationConfigurationObject

Create new recommendation configuration for iot security solution

Syntax

Default (Default)

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.

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Enabled

Status .

Parameter properties

Type:Boolean
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-RecommendationType

Recommendation type.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

PSRecommendationConfiguration