All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.migrate.kotlin.inputs.DiskEncryptionSetResourceSettingsArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.migrate.kotlin.inputs

import com.pulumi.azurenative.migrate.inputs.DiskEncryptionSetResourceSettingsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Defines the disk encryption set resource settings.
 * @property resourceType The resource type. For example, the value can be Microsoft.Compute/virtualMachines.
 * Expected value is 'Microsoft.Compute/diskEncryptionSets'.
 * @property targetResourceGroupName Gets or sets the target resource group name.
 * @property targetResourceName Gets or sets the target Resource name.
 */
public data class DiskEncryptionSetResourceSettingsArgs(
    public val resourceType: Output,
    public val targetResourceGroupName: Output? = null,
    public val targetResourceName: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.migrate.inputs.DiskEncryptionSetResourceSettingsArgs = com.pulumi.azurenative.migrate.inputs.DiskEncryptionSetResourceSettingsArgs.builder()
        .resourceType(resourceType.applyValue({ args0 -> args0 }))
        .targetResourceGroupName(targetResourceGroupName?.applyValue({ args0 -> args0 }))
        .targetResourceName(targetResourceName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DiskEncryptionSetResourceSettingsArgs].
 */
@PulumiTagMarker
public class DiskEncryptionSetResourceSettingsArgsBuilder internal constructor() {
    private var resourceType: Output? = null

    private var targetResourceGroupName: Output? = null

    private var targetResourceName: Output? = null

    /**
     * @param value The resource type. For example, the value can be Microsoft.Compute/virtualMachines.
     * Expected value is 'Microsoft.Compute/diskEncryptionSets'.
     */
    @JvmName("tstxervfiarsdxua")
    public suspend fun resourceType(`value`: Output) {
        this.resourceType = value
    }

    /**
     * @param value Gets or sets the target resource group name.
     */
    @JvmName("qjnymlxmuxwtbswn")
    public suspend fun targetResourceGroupName(`value`: Output) {
        this.targetResourceGroupName = value
    }

    /**
     * @param value Gets or sets the target Resource name.
     */
    @JvmName("uqvplffsntjgpuqw")
    public suspend fun targetResourceName(`value`: Output) {
        this.targetResourceName = value
    }

    /**
     * @param value The resource type. For example, the value can be Microsoft.Compute/virtualMachines.
     * Expected value is 'Microsoft.Compute/diskEncryptionSets'.
     */
    @JvmName("fndmfutnbbcebjoa")
    public suspend fun resourceType(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.resourceType = mapped
    }

    /**
     * @param value Gets or sets the target resource group name.
     */
    @JvmName("ikxvcxutkfllqspt")
    public suspend fun targetResourceGroupName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetResourceGroupName = mapped
    }

    /**
     * @param value Gets or sets the target Resource name.
     */
    @JvmName("dpyidgvcepdyfaob")
    public suspend fun targetResourceName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.targetResourceName = mapped
    }

    internal fun build(): DiskEncryptionSetResourceSettingsArgs =
        DiskEncryptionSetResourceSettingsArgs(
            resourceType = resourceType ?: throw PulumiNullFieldException("resourceType"),
            targetResourceGroupName = targetResourceGroupName,
            targetResourceName = targetResourceName ?: throw PulumiNullFieldException("targetResourceName"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy