Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azure.iot.kotlin.SecuritySolutionArgs.kt Maven / Gradle / Ivy
Go to download
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.iot.kotlin
import com.pulumi.azure.iot.SecuritySolutionArgs.builder
import com.pulumi.azure.iot.kotlin.inputs.SecuritySolutionAdditionalWorkspaceArgs
import com.pulumi.azure.iot.kotlin.inputs.SecuritySolutionAdditionalWorkspaceArgsBuilder
import com.pulumi.azure.iot.kotlin.inputs.SecuritySolutionRecommendationsEnabledArgs
import com.pulumi.azure.iot.kotlin.inputs.SecuritySolutionRecommendationsEnabledArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Manages an iot security solution.
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as azure from "@pulumi/azure";
* const example = new azure.core.ResourceGroup("example", {
* name: "example-resources",
* location: "West Europe",
* });
* const exampleIoTHub = new azure.iot.IoTHub("example", {
* name: "example-IoTHub",
* resourceGroupName: example.name,
* location: example.location,
* sku: {
* name: "S1",
* capacity: 1,
* },
* });
* const exampleSecuritySolution = new azure.iot.SecuritySolution("example", {
* name: "example-Iot-Security-Solution",
* resourceGroupName: example.name,
* location: example.location,
* displayName: "Iot Security Solution",
* iothubIds: [exampleIoTHub.id],
* });
* ```
* ```python
* import pulumi
* import pulumi_azure as azure
* example = azure.core.ResourceGroup("example",
* name="example-resources",
* location="West Europe")
* example_io_t_hub = azure.iot.IoTHub("example",
* name="example-IoTHub",
* resource_group_name=example.name,
* location=example.location,
* sku=azure.iot.IoTHubSkuArgs(
* name="S1",
* capacity=1,
* ))
* example_security_solution = azure.iot.SecuritySolution("example",
* name="example-Iot-Security-Solution",
* resource_group_name=example.name,
* location=example.location,
* display_name="Iot Security Solution",
* iothub_ids=[example_io_t_hub.id])
* ```
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using Azure = Pulumi.Azure;
* return await Deployment.RunAsync(() =>
* {
* var example = new Azure.Core.ResourceGroup("example", new()
* {
* Name = "example-resources",
* Location = "West Europe",
* });
* var exampleIoTHub = new Azure.Iot.IoTHub("example", new()
* {
* Name = "example-IoTHub",
* ResourceGroupName = example.Name,
* Location = example.Location,
* Sku = new Azure.Iot.Inputs.IoTHubSkuArgs
* {
* Name = "S1",
* Capacity = 1,
* },
* });
* var exampleSecuritySolution = new Azure.Iot.SecuritySolution("example", new()
* {
* Name = "example-Iot-Security-Solution",
* ResourceGroupName = example.Name,
* Location = example.Location,
* DisplayName = "Iot Security Solution",
* IothubIds = new[]
* {
* exampleIoTHub.Id,
* },
* });
* });
* ```
* ```go
* package main
* import (
* "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
* "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/iot"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
* Name: pulumi.String("example-resources"),
* Location: pulumi.String("West Europe"),
* })
* if err != nil {
* return err
* }
* exampleIoTHub, err := iot.NewIoTHub(ctx, "example", &iot.IoTHubArgs{
* Name: pulumi.String("example-IoTHub"),
* ResourceGroupName: example.Name,
* Location: example.Location,
* Sku: &iot.IoTHubSkuArgs{
* Name: pulumi.String("S1"),
* Capacity: pulumi.Int(1),
* },
* })
* if err != nil {
* return err
* }
* _, err = iot.NewSecuritySolution(ctx, "example", &iot.SecuritySolutionArgs{
* Name: pulumi.String("example-Iot-Security-Solution"),
* ResourceGroupName: example.Name,
* Location: example.Location,
* DisplayName: pulumi.String("Iot Security Solution"),
* IothubIds: pulumi.StringArray{
* exampleIoTHub.ID(),
* },
* })
* if err != nil {
* return err
* }
* return nil
* })
* }
* ```
* ```java
* 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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
* .name("example-resources")
* .location("West Europe")
* .build());
* var exampleIoTHub = new IoTHub("exampleIoTHub", IoTHubArgs.builder()
* .name("example-IoTHub")
* .resourceGroupName(example.name())
* .location(example.location())
* .sku(IoTHubSkuArgs.builder()
* .name("S1")
* .capacity("1")
* .build())
* .build());
* var exampleSecuritySolution = new SecuritySolution("exampleSecuritySolution", SecuritySolutionArgs.builder()
* .name("example-Iot-Security-Solution")
* .resourceGroupName(example.name())
* .location(example.location())
* .displayName("Iot Security Solution")
* .iothubIds(exampleIoTHub.id())
* .build());
* }
* }
* ```
* ```yaml
* resources:
* example:
* type: azure:core:ResourceGroup
* properties:
* name: example-resources
* location: West Europe
* exampleIoTHub:
* type: azure:iot:IoTHub
* name: example
* properties:
* name: example-IoTHub
* resourceGroupName: ${example.name}
* location: ${example.location}
* sku:
* name: S1
* capacity: '1'
* exampleSecuritySolution:
* type: azure:iot:SecuritySolution
* name: example
* properties:
* name: example-Iot-Security-Solution
* resourceGroupName: ${example.name}
* location: ${example.location}
* displayName: Iot Security Solution
* iothubIds:
* - ${exampleIoTHub.id}
* ```
*
* ## Import
* Iot Security Solution can be imported using the `resource id`, e.g.
* ```sh
* $ pulumi import azure:iot/securitySolution:SecuritySolution example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resGroup1/providers/Microsoft.Security/iotSecuritySolutions/solution1
* ```
* @property additionalWorkspaces A `additional_workspace` block as defined below.
* @property disabledDataSources A list of disabled data sources for the Iot Security Solution. Possible value is `TwinData`.
* @property displayName Specifies the Display Name for this Iot Security Solution.
* @property enabled Is the Iot Security Solution enabled? Defaults to `true`.
* @property eventsToExports A list of data which is to exported to analytic workspace. Valid values include `RawEvents`.
* @property iothubIds Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
* @property location Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
* @property logAnalyticsWorkspaceId Specifies the Log Analytics Workspace ID to which the security data will be sent.
* @property logUnmaskedIpsEnabled Should IP addressed be unmasked in the log? Defaults to `false`.
* @property name Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
* @property queryForResources An Azure Resource Graph query used to set the resources monitored.
* @property querySubscriptionIds A list of subscription Ids on which the user defined resources query should be executed.
* @property recommendationsEnabled A `recommendations_enabled` block of options to enable or disable as defined below.
* @property resourceGroupName Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
* @property tags A mapping of tags to assign to the resource.
*/
public data class SecuritySolutionArgs(
public val additionalWorkspaces: Output>? = null,
public val disabledDataSources: Output>? = null,
public val displayName: Output? = null,
public val enabled: Output? = null,
public val eventsToExports: Output>? = null,
public val iothubIds: Output>? = null,
public val location: Output? = null,
public val logAnalyticsWorkspaceId: Output? = null,
public val logUnmaskedIpsEnabled: Output? = null,
public val name: Output? = null,
public val queryForResources: Output? = null,
public val querySubscriptionIds: Output>? = null,
public val recommendationsEnabled: Output? = null,
public val resourceGroupName: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.iot.SecuritySolutionArgs =
com.pulumi.azure.iot.SecuritySolutionArgs.builder()
.additionalWorkspaces(
additionalWorkspaces?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.disabledDataSources(disabledDataSources?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.displayName(displayName?.applyValue({ args0 -> args0 }))
.enabled(enabled?.applyValue({ args0 -> args0 }))
.eventsToExports(eventsToExports?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.iothubIds(iothubIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.location(location?.applyValue({ args0 -> args0 }))
.logAnalyticsWorkspaceId(logAnalyticsWorkspaceId?.applyValue({ args0 -> args0 }))
.logUnmaskedIpsEnabled(logUnmaskedIpsEnabled?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.queryForResources(queryForResources?.applyValue({ args0 -> args0 }))
.querySubscriptionIds(querySubscriptionIds?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.recommendationsEnabled(
recommendationsEnabled?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.key.to(args0.value)
}).toMap()
}),
).build()
}
/**
* Builder for [SecuritySolutionArgs].
*/
@PulumiTagMarker
public class SecuritySolutionArgsBuilder internal constructor() {
private var additionalWorkspaces: Output>? = null
private var disabledDataSources: Output>? = null
private var displayName: Output? = null
private var enabled: Output? = null
private var eventsToExports: Output>? = null
private var iothubIds: Output>? = null
private var location: Output? = null
private var logAnalyticsWorkspaceId: Output? = null
private var logUnmaskedIpsEnabled: Output? = null
private var name: Output? = null
private var queryForResources: Output? = null
private var querySubscriptionIds: Output>? = null
private var recommendationsEnabled: Output? = null
private var resourceGroupName: Output? = null
private var tags: Output>? = null
/**
* @param value A `additional_workspace` block as defined below.
*/
@JvmName("cmcqmmiclmssyhna")
public suspend
fun additionalWorkspaces(`value`: Output>) {
this.additionalWorkspaces = value
}
@JvmName("rodhxpcabsasyhsy")
public suspend fun additionalWorkspaces(
vararg
values: Output,
) {
this.additionalWorkspaces = Output.all(values.asList())
}
/**
* @param values A `additional_workspace` block as defined below.
*/
@JvmName("doqjfancwabanfnj")
public suspend
fun additionalWorkspaces(values: List>) {
this.additionalWorkspaces = Output.all(values)
}
/**
* @param value A list of disabled data sources for the Iot Security Solution. Possible value is `TwinData`.
*/
@JvmName("pdefaafmtvmecpwc")
public suspend fun disabledDataSources(`value`: Output>) {
this.disabledDataSources = value
}
@JvmName("npsgjgfulcdyvrgs")
public suspend fun disabledDataSources(vararg values: Output) {
this.disabledDataSources = Output.all(values.asList())
}
/**
* @param values A list of disabled data sources for the Iot Security Solution. Possible value is `TwinData`.
*/
@JvmName("lebctvwtulivcpyi")
public suspend fun disabledDataSources(values: List>) {
this.disabledDataSources = Output.all(values)
}
/**
* @param value Specifies the Display Name for this Iot Security Solution.
*/
@JvmName("ewronjwiuylkvupc")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value Is the Iot Security Solution enabled? Defaults to `true`.
*/
@JvmName("bsqvajrrwrgnwfcs")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value A list of data which is to exported to analytic workspace. Valid values include `RawEvents`.
*/
@JvmName("lighbjtglbryaphc")
public suspend fun eventsToExports(`value`: Output>) {
this.eventsToExports = value
}
@JvmName("wlqbxkvxqrwhlmfu")
public suspend fun eventsToExports(vararg values: Output) {
this.eventsToExports = Output.all(values.asList())
}
/**
* @param values A list of data which is to exported to analytic workspace. Valid values include `RawEvents`.
*/
@JvmName("uunewalmnarvsktg")
public suspend fun eventsToExports(values: List>) {
this.eventsToExports = Output.all(values)
}
/**
* @param value Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
*/
@JvmName("nnucrknogfushkro")
public suspend fun iothubIds(`value`: Output>) {
this.iothubIds = value
}
@JvmName("iywwkudpbgqdrwhv")
public suspend fun iothubIds(vararg values: Output) {
this.iothubIds = Output.all(values.asList())
}
/**
* @param values Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
*/
@JvmName("phetdwfbhaxlmfwe")
public suspend fun iothubIds(values: List>) {
this.iothubIds = Output.all(values)
}
/**
* @param value Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
*/
@JvmName("nuwbimvbxvsyklhm")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value Specifies the Log Analytics Workspace ID to which the security data will be sent.
*/
@JvmName("hhpbghlebavwyjsi")
public suspend fun logAnalyticsWorkspaceId(`value`: Output) {
this.logAnalyticsWorkspaceId = value
}
/**
* @param value Should IP addressed be unmasked in the log? Defaults to `false`.
*/
@JvmName("wtojobmatbxhxscp")
public suspend fun logUnmaskedIpsEnabled(`value`: Output) {
this.logUnmaskedIpsEnabled = value
}
/**
* @param value Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
*/
@JvmName("vafbjuoehvvfnmvi")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value An Azure Resource Graph query used to set the resources monitored.
*/
@JvmName("ysquxynwyrngfdbv")
public suspend fun queryForResources(`value`: Output) {
this.queryForResources = value
}
/**
* @param value A list of subscription Ids on which the user defined resources query should be executed.
*/
@JvmName("ehaphcglcufspfyw")
public suspend fun querySubscriptionIds(`value`: Output>) {
this.querySubscriptionIds = value
}
@JvmName("lafjvoemosoitelw")
public suspend fun querySubscriptionIds(vararg values: Output) {
this.querySubscriptionIds = Output.all(values.asList())
}
/**
* @param values A list of subscription Ids on which the user defined resources query should be executed.
*/
@JvmName("bjoaxtggfmnhalsv")
public suspend fun querySubscriptionIds(values: List>) {
this.querySubscriptionIds = Output.all(values)
}
/**
* @param value A `recommendations_enabled` block of options to enable or disable as defined below.
*/
@JvmName("kixlupwpyysyyrrs")
public suspend
fun recommendationsEnabled(`value`: Output) {
this.recommendationsEnabled = value
}
/**
* @param value Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
*/
@JvmName("jstyerlneyaslpdx")
public suspend fun resourceGroupName(`value`: Output) {
this.resourceGroupName = value
}
/**
* @param value A mapping of tags to assign to the resource.
*/
@JvmName("gwxrgpnmqwkxugyw")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
/**
* @param value A `additional_workspace` block as defined below.
*/
@JvmName("fynlvttcunfyjcau")
public suspend fun additionalWorkspaces(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.additionalWorkspaces = mapped
}
/**
* @param argument A `additional_workspace` block as defined below.
*/
@JvmName("ewxxtyooqrwtapxi")
public suspend
fun additionalWorkspaces(argument: List Unit>) {
val toBeMapped = argument.toList().map {
SecuritySolutionAdditionalWorkspaceArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.additionalWorkspaces = mapped
}
/**
* @param argument A `additional_workspace` block as defined below.
*/
@JvmName("ofqoqymgjrfrlrod")
public suspend fun additionalWorkspaces(
vararg
argument: suspend SecuritySolutionAdditionalWorkspaceArgsBuilder.() -> Unit,
) {
val toBeMapped = argument.toList().map {
SecuritySolutionAdditionalWorkspaceArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.additionalWorkspaces = mapped
}
/**
* @param argument A `additional_workspace` block as defined below.
*/
@JvmName("fpckhxycwddeqmip")
public suspend
fun additionalWorkspaces(argument: suspend SecuritySolutionAdditionalWorkspaceArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
SecuritySolutionAdditionalWorkspaceArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.additionalWorkspaces = mapped
}
/**
* @param values A `additional_workspace` block as defined below.
*/
@JvmName("uivvqemfpoqngqup")
public suspend fun additionalWorkspaces(vararg values: SecuritySolutionAdditionalWorkspaceArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.additionalWorkspaces = mapped
}
/**
* @param value A list of disabled data sources for the Iot Security Solution. Possible value is `TwinData`.
*/
@JvmName("glgulanvlpwfiwqa")
public suspend fun disabledDataSources(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.disabledDataSources = mapped
}
/**
* @param values A list of disabled data sources for the Iot Security Solution. Possible value is `TwinData`.
*/
@JvmName("qrnkfgsxrvhhufbf")
public suspend fun disabledDataSources(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.disabledDataSources = mapped
}
/**
* @param value Specifies the Display Name for this Iot Security Solution.
*/
@JvmName("gnsjbktylgauugxy")
public suspend fun displayName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.displayName = mapped
}
/**
* @param value Is the Iot Security Solution enabled? Defaults to `true`.
*/
@JvmName("fbamvlxcywsutusc")
public suspend fun enabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.enabled = mapped
}
/**
* @param value A list of data which is to exported to analytic workspace. Valid values include `RawEvents`.
*/
@JvmName("wijqwgxnqtnvdsmh")
public suspend fun eventsToExports(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.eventsToExports = mapped
}
/**
* @param values A list of data which is to exported to analytic workspace. Valid values include `RawEvents`.
*/
@JvmName("kswcyrbblacytpxm")
public suspend fun eventsToExports(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.eventsToExports = mapped
}
/**
* @param value Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
*/
@JvmName("wctimrcsgaljrkqk")
public suspend fun iothubIds(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.iothubIds = mapped
}
/**
* @param values Specifies the IoT Hub resource IDs to which this Iot Security Solution is applied.
*/
@JvmName("apvbvlasjnskcola")
public suspend fun iothubIds(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.iothubIds = mapped
}
/**
* @param value Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
*/
@JvmName("qpmemhkoixmoyfim")
public suspend fun location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.location = mapped
}
/**
* @param value Specifies the Log Analytics Workspace ID to which the security data will be sent.
*/
@JvmName("wtqwjkqekwhqwbcr")
public suspend fun logAnalyticsWorkspaceId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.logAnalyticsWorkspaceId = mapped
}
/**
* @param value Should IP addressed be unmasked in the log? Defaults to `false`.
*/
@JvmName("vjxoxepffhcekswd")
public suspend fun logUnmaskedIpsEnabled(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.logUnmaskedIpsEnabled = mapped
}
/**
* @param value Specifies the name of the Iot Security Solution. Changing this forces a new resource to be created.
*/
@JvmName("eymrtcljqjoorwnh")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.name = mapped
}
/**
* @param value An Azure Resource Graph query used to set the resources monitored.
*/
@JvmName("lekivnyxxxjrsbym")
public suspend fun queryForResources(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.queryForResources = mapped
}
/**
* @param value A list of subscription Ids on which the user defined resources query should be executed.
*/
@JvmName("dvedummvkctrhnss")
public suspend fun querySubscriptionIds(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.querySubscriptionIds = mapped
}
/**
* @param values A list of subscription Ids on which the user defined resources query should be executed.
*/
@JvmName("ofvjxbkbsllloows")
public suspend fun querySubscriptionIds(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.querySubscriptionIds = mapped
}
/**
* @param value A `recommendations_enabled` block of options to enable or disable as defined below.
*/
@JvmName("mgkuglywemrjuryy")
public suspend fun recommendationsEnabled(`value`: SecuritySolutionRecommendationsEnabledArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.recommendationsEnabled = mapped
}
/**
* @param argument A `recommendations_enabled` block of options to enable or disable as defined below.
*/
@JvmName("hlyoxmbmycpcbaar")
public suspend
fun recommendationsEnabled(argument: suspend SecuritySolutionRecommendationsEnabledArgsBuilder.() -> Unit) {
val toBeMapped = SecuritySolutionRecommendationsEnabledArgsBuilder().applySuspend {
argument()
}.build()
val mapped = of(toBeMapped)
this.recommendationsEnabled = mapped
}
/**
* @param value Specifies the name of the resource group in which to create the Iot Security Solution. Changing this forces a new resource to be created.
*/
@JvmName("mnifhpfgbokbnnnh")
public suspend fun resourceGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceGroupName = mapped
}
/**
* @param value A mapping of tags to assign to the resource.
*/
@JvmName("sgwscmpohyoxdbwq")
public suspend fun tags(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tags = mapped
}
/**
* @param values A mapping of tags to assign to the resource.
*/
@JvmName("nrwtkmhwfbxvbtip")
public fun tags(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.tags = mapped
}
internal fun build(): SecuritySolutionArgs = SecuritySolutionArgs(
additionalWorkspaces = additionalWorkspaces,
disabledDataSources = disabledDataSources,
displayName = displayName,
enabled = enabled,
eventsToExports = eventsToExports,
iothubIds = iothubIds,
location = location,
logAnalyticsWorkspaceId = logAnalyticsWorkspaceId,
logUnmaskedIpsEnabled = logUnmaskedIpsEnabled,
name = name,
queryForResources = queryForResources,
querySubscriptionIds = querySubscriptionIds,
recommendationsEnabled = recommendationsEnabled,
resourceGroupName = resourceGroupName,
tags = tags,
)
}