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.azurenative.security.kotlin.IotSecuritySolutionArgs.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.azurenative.security.kotlin
import com.pulumi.azurenative.security.IotSecuritySolutionArgs.builder
import com.pulumi.azurenative.security.kotlin.enums.DataSource
import com.pulumi.azurenative.security.kotlin.enums.ExportData
import com.pulumi.azurenative.security.kotlin.enums.SecuritySolutionStatus
import com.pulumi.azurenative.security.kotlin.enums.UnmaskedIpLoggingStatus
import com.pulumi.azurenative.security.kotlin.inputs.AdditionalWorkspacesPropertiesArgs
import com.pulumi.azurenative.security.kotlin.inputs.AdditionalWorkspacesPropertiesArgsBuilder
import com.pulumi.azurenative.security.kotlin.inputs.RecommendationConfigurationPropertiesArgs
import com.pulumi.azurenative.security.kotlin.inputs.RecommendationConfigurationPropertiesArgsBuilder
import com.pulumi.azurenative.security.kotlin.inputs.UserDefinedResourcesPropertiesArgs
import com.pulumi.azurenative.security.kotlin.inputs.UserDefinedResourcesPropertiesArgsBuilder
import com.pulumi.core.Either
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.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* IoT Security solution configuration and resource information.
* Azure REST API version: 2019-08-01. Prior API version in Azure Native 1.x: 2019-08-01.
* Other available API versions: 2017-08-01-preview.
* ## Example Usage
* ### Create or update a IoT security solution
* ```csharp
* using System.Collections.Generic;
* using System.Linq;
* using Pulumi;
* using AzureNative = Pulumi.AzureNative;
* return await Deployment.RunAsync(() =>
* {
* var iotSecuritySolution = new AzureNative.Security.IotSecuritySolution("iotSecuritySolution", new()
* {
* DisabledDataSources = new[] {},
* DisplayName = "Solution Default",
* Export = new[] {},
* IotHubs = new[]
* {
* "/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub",
* },
* Location = "East Us",
* RecommendationsConfiguration = new[]
* {
* new AzureNative.Security.Inputs.RecommendationConfigurationPropertiesArgs
* {
* RecommendationType = AzureNative.Security.RecommendationType.IoT_OpenPorts,
* Status = AzureNative.Security.RecommendationConfigStatus.Disabled,
* },
* new AzureNative.Security.Inputs.RecommendationConfigurationPropertiesArgs
* {
* RecommendationType = AzureNative.Security.RecommendationType.IoT_SharedCredentials,
* Status = AzureNative.Security.RecommendationConfigStatus.Disabled,
* },
* },
* ResourceGroupName = "MyGroup",
* SolutionName = "default",
* Status = AzureNative.Security.SecuritySolutionStatus.Enabled,
* Tags = null,
* UnmaskedIpLoggingStatus = AzureNative.Security.UnmaskedIpLoggingStatus.Enabled,
* UserDefinedResources = new AzureNative.Security.Inputs.UserDefinedResourcesPropertiesArgs
* {
* Query = "where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"",
* QuerySubscriptions = new[]
* {
* "075423e9-7d33-4166-8bdf-3920b04e3735",
* },
* },
* Workspace = "/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1",
* });
* });
* ```
* ```go
* package main
* import (
* security "github.com/pulumi/pulumi-azure-native-sdk/security/v2"
* "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
* )
* func main() {
* pulumi.Run(func(ctx *pulumi.Context) error {
* _, err := security.NewIotSecuritySolution(ctx, "iotSecuritySolution", &security.IotSecuritySolutionArgs{
* DisabledDataSources: pulumi.StringArray{},
* DisplayName: pulumi.String("Solution Default"),
* Export: pulumi.StringArray{},
* IotHubs: pulumi.StringArray{
* pulumi.String("/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub"),
* },
* Location: pulumi.String("East Us"),
* RecommendationsConfiguration: security.RecommendationConfigurationPropertiesArray{
* &security.RecommendationConfigurationPropertiesArgs{
* RecommendationType: pulumi.String(security.RecommendationType_IoT_OpenPorts),
* Status: pulumi.String(security.RecommendationConfigStatusDisabled),
* },
* &security.RecommendationConfigurationPropertiesArgs{
* RecommendationType: pulumi.String(security.RecommendationType_IoT_SharedCredentials),
* Status: pulumi.String(security.RecommendationConfigStatusDisabled),
* },
* },
* ResourceGroupName: pulumi.String("MyGroup"),
* SolutionName: pulumi.String("default"),
* Status: pulumi.String(security.SecuritySolutionStatusEnabled),
* Tags: nil,
* UnmaskedIpLoggingStatus: pulumi.String(security.UnmaskedIpLoggingStatusEnabled),
* UserDefinedResources: &security.UserDefinedResourcesPropertiesArgs{
* Query: pulumi.String("where type != \"microsoft.devices/iothubs\" | where name contains \"iot\""),
* QuerySubscriptions: pulumi.StringArray{
* pulumi.String("075423e9-7d33-4166-8bdf-3920b04e3735"),
* },
* },
* Workspace: pulumi.String("/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"),
* })
* 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.azurenative.security.IotSecuritySolution;
* import com.pulumi.azurenative.security.IotSecuritySolutionArgs;
* import com.pulumi.azurenative.security.inputs.RecommendationConfigurationPropertiesArgs;
* import com.pulumi.azurenative.security.inputs.UserDefinedResourcesPropertiesArgs;
* 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 iotSecuritySolution = new IotSecuritySolution("iotSecuritySolution", IotSecuritySolutionArgs.builder()
* .disabledDataSources()
* .displayName("Solution Default")
* .export()
* .iotHubs("/subscriptions/075423e9-7d33-4166-8bdf-3920b04e3735/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/FirstIotHub")
* .location("East Us")
* .recommendationsConfiguration(
* RecommendationConfigurationPropertiesArgs.builder()
* .recommendationType("IoT_OpenPorts")
* .status("Disabled")
* .build(),
* RecommendationConfigurationPropertiesArgs.builder()
* .recommendationType("IoT_SharedCredentials")
* .status("Disabled")
* .build())
* .resourceGroupName("MyGroup")
* .solutionName("default")
* .status("Enabled")
* .tags()
* .unmaskedIpLoggingStatus("Enabled")
* .userDefinedResources(UserDefinedResourcesPropertiesArgs.builder()
* .query("where type != \"microsoft.devices/iothubs\" | where name contains \"iot\"")
* .querySubscriptions("075423e9-7d33-4166-8bdf-3920b04e3735")
* .build())
* .workspace("/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1")
* .build());
* }
* }
* ```
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:security:IotSecuritySolution default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}
* ```
* @property additionalWorkspaces List of additional workspaces
* @property disabledDataSources Disabled data sources. Disabling these data sources compromises the system.
* @property displayName Resource display name.
* @property export List of additional options for exporting to workspace data.
* @property iotHubs IoT Hub resource IDs
* @property location The resource location.
* @property recommendationsConfiguration List of the configuration status for each recommendation type.
* @property resourceGroupName The name of the resource group within the user's subscription. The name is case insensitive.
* @property solutionName The name of the IoT Security solution.
* @property status Status of the IoT Security solution.
* @property tags Resource tags
* @property unmaskedIpLoggingStatus Unmasked IP address logging status
* @property userDefinedResources Properties of the IoT Security solution's user defined resources.
* @property workspace Workspace resource ID
*/
public data class IotSecuritySolutionArgs(
public val additionalWorkspaces: Output>? = null,
public val disabledDataSources: Output>>? = null,
public val displayName: Output? = null,
public val export: Output>>? = null,
public val iotHubs: Output>? = null,
public val location: Output? = null,
public val recommendationsConfiguration: Output>? =
null,
public val resourceGroupName: Output? = null,
public val solutionName: Output? = null,
public val status: Output>? = null,
public val tags: Output>? = null,
public val unmaskedIpLoggingStatus: Output>? = null,
public val userDefinedResources: Output? = null,
public val workspace: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.security.IotSecuritySolutionArgs =
com.pulumi.azurenative.security.IotSecuritySolutionArgs.builder()
.additionalWorkspaces(
additionalWorkspaces?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.disabledDataSources(
disabledDataSources?.applyValue({ args0 ->
args0.map({ args0 ->
args0.transform({ args0 -> args0 }, { args0 -> args0.let({ args0 -> args0.toJava() }) })
})
}),
)
.displayName(displayName?.applyValue({ args0 -> args0 }))
.export(
export?.applyValue({ args0 ->
args0.map({ args0 ->
args0.transform(
{ args0 -> args0 },
{ args0 -> args0.let({ args0 -> args0.toJava() }) },
)
})
}),
)
.iotHubs(iotHubs?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.location(location?.applyValue({ args0 -> args0 }))
.recommendationsConfiguration(
recommendationsConfiguration?.applyValue({ args0 ->
args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
.solutionName(solutionName?.applyValue({ args0 -> args0 }))
.status(
status?.applyValue({ args0 ->
args0.transform({ args0 -> args0 }, { args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.tags(tags?.applyValue({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() }))
.unmaskedIpLoggingStatus(
unmaskedIpLoggingStatus?.applyValue({ args0 ->
args0.transform({ args0 ->
args0
}, { args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.userDefinedResources(
userDefinedResources?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.workspace(workspace?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [IotSecuritySolutionArgs].
*/
@PulumiTagMarker
public class IotSecuritySolutionArgsBuilder internal constructor() {
private var additionalWorkspaces: Output>? = null
private var disabledDataSources: Output>>? = null
private var displayName: Output? = null
private var export: Output>>? = null
private var iotHubs: Output>? = null
private var location: Output? = null
private var recommendationsConfiguration: Output>? =
null
private var resourceGroupName: Output? = null
private var solutionName: Output? = null
private var status: Output>? = null
private var tags: Output>? = null
private var unmaskedIpLoggingStatus: Output>? = null
private var userDefinedResources: Output? = null
private var workspace: Output? = null
/**
* @param value List of additional workspaces
*/
@JvmName("clcmjgiisdgduwsx")
public suspend fun additionalWorkspaces(`value`: Output>) {
this.additionalWorkspaces = value
}
@JvmName("cdfpakxincrptgmd")
public suspend fun additionalWorkspaces(vararg values: Output) {
this.additionalWorkspaces = Output.all(values.asList())
}
/**
* @param values List of additional workspaces
*/
@JvmName("yqqrxlhucrcvqqtd")
public suspend fun additionalWorkspaces(values: List>) {
this.additionalWorkspaces = Output.all(values)
}
/**
* @param value Disabled data sources. Disabling these data sources compromises the system.
*/
@JvmName("idhpffyenpaihdcc")
public suspend fun disabledDataSources(`value`: Output>>) {
this.disabledDataSources = value
}
@JvmName("nmbqkycebjuihqhs")
public suspend fun disabledDataSources(vararg values: Output>) {
this.disabledDataSources = Output.all(values.asList())
}
/**
* @param values Disabled data sources. Disabling these data sources compromises the system.
*/
@JvmName("iuchwrteimiitavq")
public suspend fun disabledDataSources(values: List>>) {
this.disabledDataSources = Output.all(values)
}
/**
* @param value Resource display name.
*/
@JvmName("eggwkwltxdkclwfy")
public suspend fun displayName(`value`: Output) {
this.displayName = value
}
/**
* @param value List of additional options for exporting to workspace data.
*/
@JvmName("sckrgigcvekumwdw")
public suspend fun export(`value`: Output>>) {
this.export = value
}
@JvmName("clrcwmgnmjlaapfo")
public suspend fun export(vararg values: Output>) {
this.export = Output.all(values.asList())
}
/**
* @param values List of additional options for exporting to workspace data.
*/
@JvmName("shuqjspjckvbpgqv")
public suspend fun export(values: List>>) {
this.export = Output.all(values)
}
/**
* @param value IoT Hub resource IDs
*/
@JvmName("akbfdabsjmjustph")
public suspend fun iotHubs(`value`: Output>) {
this.iotHubs = value
}
@JvmName("kypsvbwhxxmqsaio")
public suspend fun iotHubs(vararg values: Output) {
this.iotHubs = Output.all(values.asList())
}
/**
* @param values IoT Hub resource IDs
*/
@JvmName("krpagvfbwpyndkmj")
public suspend fun iotHubs(values: List>) {
this.iotHubs = Output.all(values)
}
/**
* @param value The resource location.
*/
@JvmName("upxkotwtwgoneblr")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value List of the configuration status for each recommendation type.
*/
@JvmName("mbpueatdxgqqkxtu")
public suspend fun recommendationsConfiguration(`value`: Output>) {
this.recommendationsConfiguration = value
}
@JvmName("slgjbgpbggqucwjk")
public suspend fun recommendationsConfiguration(vararg values: Output) {
this.recommendationsConfiguration = Output.all(values.asList())
}
/**
* @param values List of the configuration status for each recommendation type.
*/
@JvmName("bcfyaaqxgldwxjpe")
public suspend fun recommendationsConfiguration(values: List>) {
this.recommendationsConfiguration = Output.all(values)
}
/**
* @param value The name of the resource group within the user's subscription. The name is case insensitive.
*/
@JvmName("aihqaiodhttoukbs")
public suspend fun resourceGroupName(`value`: Output) {
this.resourceGroupName = value
}
/**
* @param value The name of the IoT Security solution.
*/
@JvmName("huadlijbkvgshltn")
public suspend fun solutionName(`value`: Output) {
this.solutionName = value
}
/**
* @param value Status of the IoT Security solution.
*/
@JvmName("kuhlyautmosckkop")
public suspend fun status(`value`: Output>) {
this.status = value
}
/**
* @param value Resource tags
*/
@JvmName("aepbyrqkwnfcoigg")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
/**
* @param value Unmasked IP address logging status
*/
@JvmName("jenbpiicuikdbgsa")
public suspend fun unmaskedIpLoggingStatus(`value`: Output>) {
this.unmaskedIpLoggingStatus = value
}
/**
* @param value Properties of the IoT Security solution's user defined resources.
*/
@JvmName("ikdmfequjrabfnxa")
public suspend fun userDefinedResources(`value`: Output) {
this.userDefinedResources = value
}
/**
* @param value Workspace resource ID
*/
@JvmName("wowodrassxoksejp")
public suspend fun workspace(`value`: Output) {
this.workspace = value
}
/**
* @param value List of additional workspaces
*/
@JvmName("xsoxwopihggwilcu")
public suspend fun additionalWorkspaces(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.additionalWorkspaces = mapped
}
/**
* @param argument List of additional workspaces
*/
@JvmName("xlkpejtipqxpdmhj")
public suspend fun additionalWorkspaces(argument: List Unit>) {
val toBeMapped = argument.toList().map {
AdditionalWorkspacesPropertiesArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.additionalWorkspaces = mapped
}
/**
* @param argument List of additional workspaces
*/
@JvmName("rcnjlvkqixgddxld")
public suspend fun additionalWorkspaces(vararg argument: suspend AdditionalWorkspacesPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
AdditionalWorkspacesPropertiesArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.additionalWorkspaces = mapped
}
/**
* @param argument List of additional workspaces
*/
@JvmName("ecpapysaimshbcbc")
public suspend fun additionalWorkspaces(argument: suspend AdditionalWorkspacesPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
AdditionalWorkspacesPropertiesArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.additionalWorkspaces = mapped
}
/**
* @param values List of additional workspaces
*/
@JvmName("rkxmcmcxgirwxxpm")
public suspend fun additionalWorkspaces(vararg values: AdditionalWorkspacesPropertiesArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.additionalWorkspaces = mapped
}
/**
* @param value Disabled data sources. Disabling these data sources compromises the system.
*/
@JvmName("otumvjqkshtwviss")
public suspend fun disabledDataSources(`value`: List>?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.disabledDataSources = mapped
}
/**
* @param values Disabled data sources. Disabling these data sources compromises the system.
*/
@JvmName("rsycvsrnfesdctfe")
public suspend fun disabledDataSources(vararg values: Either) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.disabledDataSources = mapped
}
/**
* @param value Resource display name.
*/
@JvmName("somgyrgramctulqw")
public suspend fun displayName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.displayName = mapped
}
/**
* @param value List of additional options for exporting to workspace data.
*/
@JvmName("mipdrlycooqqmpuc")
public suspend fun export(`value`: List>?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.export = mapped
}
/**
* @param values List of additional options for exporting to workspace data.
*/
@JvmName("oxknoijlecdfsrwb")
public suspend fun export(vararg values: Either) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.export = mapped
}
/**
* @param value IoT Hub resource IDs
*/
@JvmName("hkriqckavrgpnjvs")
public suspend fun iotHubs(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.iotHubs = mapped
}
/**
* @param values IoT Hub resource IDs
*/
@JvmName("aarpircoeecmghbb")
public suspend fun iotHubs(vararg values: String) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.iotHubs = mapped
}
/**
* @param value The resource location.
*/
@JvmName("lmopewglvkfwxxvt")
public suspend fun location(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.location = mapped
}
/**
* @param value List of the configuration status for each recommendation type.
*/
@JvmName("kdfnasaaxohmwpyw")
public suspend fun recommendationsConfiguration(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.recommendationsConfiguration = mapped
}
/**
* @param argument List of the configuration status for each recommendation type.
*/
@JvmName("rswsykkbrlycquan")
public suspend fun recommendationsConfiguration(argument: List Unit>) {
val toBeMapped = argument.toList().map {
RecommendationConfigurationPropertiesArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.recommendationsConfiguration = mapped
}
/**
* @param argument List of the configuration status for each recommendation type.
*/
@JvmName("hpghkeicwvdbxqev")
public suspend fun recommendationsConfiguration(vararg argument: suspend RecommendationConfigurationPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = argument.toList().map {
RecommendationConfigurationPropertiesArgsBuilder().applySuspend { it() }.build()
}
val mapped = of(toBeMapped)
this.recommendationsConfiguration = mapped
}
/**
* @param argument List of the configuration status for each recommendation type.
*/
@JvmName("mpivvdrbfgjmgusx")
public suspend fun recommendationsConfiguration(argument: suspend RecommendationConfigurationPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = listOf(
RecommendationConfigurationPropertiesArgsBuilder().applySuspend {
argument()
}.build(),
)
val mapped = of(toBeMapped)
this.recommendationsConfiguration = mapped
}
/**
* @param values List of the configuration status for each recommendation type.
*/
@JvmName("skailxtknqffecmx")
public suspend fun recommendationsConfiguration(vararg values: RecommendationConfigurationPropertiesArgs) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.recommendationsConfiguration = mapped
}
/**
* @param value The name of the resource group within the user's subscription. The name is case insensitive.
*/
@JvmName("dsvaoylgladsconp")
public suspend fun resourceGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceGroupName = mapped
}
/**
* @param value The name of the IoT Security solution.
*/
@JvmName("ivudrgcumohmatcq")
public suspend fun solutionName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.solutionName = mapped
}
/**
* @param value Status of the IoT Security solution.
*/
@JvmName("kgtikfdhphbrocid")
public suspend fun status(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.status = mapped
}
/**
* @param value Status of the IoT Security solution.
*/
@JvmName("xvjmctpeysvxdcjs")
public fun status(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.status = mapped
}
/**
* @param value Status of the IoT Security solution.
*/
@JvmName("sglevptqkwurolpy")
public fun status(`value`: SecuritySolutionStatus) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.status = mapped
}
/**
* @param value Resource tags
*/
@JvmName("rikrqaqkkcixrowy")
public suspend fun tags(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tags = mapped
}
/**
* @param values Resource tags
*/
@JvmName("fiopgqsyfndehxtb")
public fun tags(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.tags = mapped
}
/**
* @param value Unmasked IP address logging status
*/
@JvmName("yjokublvskmhaukr")
public suspend fun unmaskedIpLoggingStatus(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.unmaskedIpLoggingStatus = mapped
}
/**
* @param value Unmasked IP address logging status
*/
@JvmName("klgjgsphlkbjhjfa")
public fun unmaskedIpLoggingStatus(`value`: String) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.unmaskedIpLoggingStatus = mapped
}
/**
* @param value Unmasked IP address logging status
*/
@JvmName("awqrdyifjqtcnpjf")
public fun unmaskedIpLoggingStatus(`value`: UnmaskedIpLoggingStatus) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.unmaskedIpLoggingStatus = mapped
}
/**
* @param value Properties of the IoT Security solution's user defined resources.
*/
@JvmName("vhcddobbeukpxlgp")
public suspend fun userDefinedResources(`value`: UserDefinedResourcesPropertiesArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.userDefinedResources = mapped
}
/**
* @param argument Properties of the IoT Security solution's user defined resources.
*/
@JvmName("wxnwskokivmfekxs")
public suspend fun userDefinedResources(argument: suspend UserDefinedResourcesPropertiesArgsBuilder.() -> Unit) {
val toBeMapped = UserDefinedResourcesPropertiesArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.userDefinedResources = mapped
}
/**
* @param value Workspace resource ID
*/
@JvmName("dyhihkenvlbxsbpo")
public suspend fun workspace(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.workspace = mapped
}
internal fun build(): IotSecuritySolutionArgs = IotSecuritySolutionArgs(
additionalWorkspaces = additionalWorkspaces,
disabledDataSources = disabledDataSources,
displayName = displayName,
export = export,
iotHubs = iotHubs,
location = location,
recommendationsConfiguration = recommendationsConfiguration,
resourceGroupName = resourceGroupName,
solutionName = solutionName,
status = status,
tags = tags,
unmaskedIpLoggingStatus = unmaskedIpLoggingStatus,
userDefinedResources = userDefinedResources,
workspace = workspace,
)
}