SecuritySolutionArgs

data class SecuritySolutionArgs(val additionalWorkspaces: Output<List<SecuritySolutionAdditionalWorkspaceArgs>>? = null, val disabledDataSources: Output<List<String>>? = null, val displayName: Output<String>? = null, val enabled: Output<Boolean>? = null, val eventsToExports: Output<List<String>>? = null, val iothubIds: Output<List<String>>? = null, val location: Output<String>? = null, val logAnalyticsWorkspaceId: Output<String>? = null, val logUnmaskedIpsEnabled: Output<Boolean>? = null, val name: Output<String>? = null, val queryForResources: Output<String>? = null, val querySubscriptionIds: Output<List<String>>? = null, val recommendationsEnabled: Output<SecuritySolutionRecommendationsEnabledArgs>? = null, val resourceGroupName: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<SecuritySolutionArgs>

Manages an iot security solution.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.iot.IoTHub;
import com.pulumi.azure.iot.IoTHubArgs;
import com.pulumi.azure.iot.inputs.IoTHubSkuArgs;
import com.pulumi.azure.iot.SecuritySolution;
import com.pulumi.azure.iot.SecuritySolutionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleIoTHub = new IoTHub("exampleIoTHub", IoTHubArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.sku(IoTHubSkuArgs.builder()
.name("S1")
.capacity("1")
.build())
.build());
var exampleSecuritySolution = new SecuritySolution("exampleSecuritySolution", SecuritySolutionArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.displayName("Iot Security Solution")
.iothubIds(exampleIoTHub.id())
.build());
}
}

Import

Iot Security Solution can be imported using the resource id, e.g.

$ pulumi import azure:iot/securitySolution:SecuritySolution example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Security/iotSecuritySolutions/solution1

Constructors

Link copied to clipboard
fun SecuritySolutionArgs(additionalWorkspaces: Output<List<SecuritySolutionAdditionalWorkspaceArgs>>? = null, disabledDataSources: Output<List<String>>? = null, displayName: Output<String>? = null, enabled: Output<Boolean>? = null, eventsToExports: Output<List<String>>? = null, iothubIds: Output<List<String>>? = null, location: Output<String>? = null, logAnalyticsWorkspaceId: Output<String>? = null, logUnmaskedIpsEnabled: Output<Boolean>? = null, name: Output<String>? = null, queryForResources: Output<String>? = null, querySubscriptionIds: Output<List<String>>? = null, recommendationsEnabled: Output<SecuritySolutionRecommendationsEnabledArgs>? = null, resourceGroupName: Output<String>? = null, tags: Output<Map<String, String>>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SecuritySolutionArgs

Properties

Link copied to clipboard

A additional_workspace block as defined below.

Link copied to clipboard
val disabledDataSources: Output<List<String>>? = null

A list of disabled data sources for the Iot Security Solution. Possible value is TwinData.

Link copied to clipboard
val displayName: Output<String>? = null

Specifies the Display Name for this Iot Security Solution.

Link copied to clipboard
val enabled: Output<Boolean>? = null

Is the Iot Security Solution enabled? Defaults to true.

Link copied to clipboard
val eventsToExports: Output<List<String>>? = null

A list of data which is to exported to analytic workspace. Valid values include RawEvents.

Link copied to clipboard
val iothubIds: Output<List<String>>? = null

Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.

Link copied to clipboard
val location: Output<String>? = null

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Link copied to clipboard
val logAnalyticsWorkspaceId: Output<String>? = null

Specifies the Log Analytics Workspace ID to which the security data will be sent.

Link copied to clipboard
val logUnmaskedIpsEnabled: Output<Boolean>? = null

Should IP addressed be unmasked in the log? Defaults to false.

Link copied to clipboard
val name: Output<String>? = null

Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.

Link copied to clipboard
val queryForResources: Output<String>? = null

An Azure Resource Graph query used to set the resources monitored.

Link copied to clipboard
val querySubscriptionIds: Output<List<String>>? = null

A list of subscription Ids on which the user defined resources query should be executed.

Link copied to clipboard

A recommendations_enabled block of options to enable or disable as defined below.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags to assign to the resource.