次の方法で共有


New-AzIotSecuritySolutionRecommendationConfigurationObject

IoT セキュリティ ソリューションの新しい推奨事項構成を作成する

構文

New-AzIotSecuritySolutionRecommendationConfigurationObject
   -RecommendationType <String>
   -Enabled <Boolean>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

説明

AzIotSecuritySolutionRecommendationConfigurationObject は、IoT セキュリティ ソリューション用の新しい推奨事項構成オブジェクトを作成します。 このように推奨事項の状態は、有効か無効かに関係なく構成されます。

例 1

New-AzIotSecuritySolutionRecommendationConfigurationObject -RecommendationType "IoT_ACRAuthentication" -Enabled $false

RecommendationType: "IoT_ACRAuthentication"
Name: "Service prinicpal not used with ACR repository"
Status: "Disabled"

状態が無効に設定された推奨事項の種類 "IoT_ACRAuthentication" の新しい推奨事項構成を作成する

パラメーター

-DefaultProfile

Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。

型:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
既定値:None
必須:False
Accept pipeline input:False
Accept wildcard characters:False

-Enabled

Status。

型:Boolean
Position:Named
既定値:None
必須:True
Accept pipeline input:False
Accept wildcard characters:False

-RecommendationType

推奨事項の種類。

型:String
Position:Named
既定値:None
必須:True
Accept pipeline input:False
Accept wildcard characters:False

入力

None

出力

PSRecommendationConfiguration