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

com.pulumi.azure.synapse.kotlin.inputs.SqlPoolRestoreArgs.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.

There is a newer version: 6.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.synapse.kotlin.inputs

import com.pulumi.azure.synapse.inputs.SqlPoolRestoreArgs.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

/**
 *
 * @property pointInTime Specifies the Snapshot time to restore formatted as an RFC3339 date string. Changing this forces a new Synapse SQL Pool to be created.
 * @property sourceDatabaseId The ID of the Synapse SQL Pool or SQL Database which is to restore. Changing this forces a new Synapse SQL Pool to be created.
 */
public data class SqlPoolRestoreArgs(
    public val pointInTime: Output,
    public val sourceDatabaseId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.synapse.inputs.SqlPoolRestoreArgs =
        com.pulumi.azure.synapse.inputs.SqlPoolRestoreArgs.builder()
            .pointInTime(pointInTime.applyValue({ args0 -> args0 }))
            .sourceDatabaseId(sourceDatabaseId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SqlPoolRestoreArgs].
 */
@PulumiTagMarker
public class SqlPoolRestoreArgsBuilder internal constructor() {
    private var pointInTime: Output? = null

    private var sourceDatabaseId: Output? = null

    /**
     * @param value Specifies the Snapshot time to restore formatted as an RFC3339 date string. Changing this forces a new Synapse SQL Pool to be created.
     */
    @JvmName("oyqgqbsuupvmqisa")
    public suspend fun pointInTime(`value`: Output) {
        this.pointInTime = value
    }

    /**
     * @param value The ID of the Synapse SQL Pool or SQL Database which is to restore. Changing this forces a new Synapse SQL Pool to be created.
     */
    @JvmName("dvdbdqnjbvksdbdb")
    public suspend fun sourceDatabaseId(`value`: Output) {
        this.sourceDatabaseId = value
    }

    /**
     * @param value Specifies the Snapshot time to restore formatted as an RFC3339 date string. Changing this forces a new Synapse SQL Pool to be created.
     */
    @JvmName("fujlycoaokuygvkl")
    public suspend fun pointInTime(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.pointInTime = mapped
    }

    /**
     * @param value The ID of the Synapse SQL Pool or SQL Database which is to restore. Changing this forces a new Synapse SQL Pool to be created.
     */
    @JvmName("lticyphiwblmislw")
    public suspend fun sourceDatabaseId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.sourceDatabaseId = mapped
    }

    internal fun build(): SqlPoolRestoreArgs = SqlPoolRestoreArgs(
        pointInTime = pointInTime ?: throw PulumiNullFieldException("pointInTime"),
        sourceDatabaseId = sourceDatabaseId ?: throw PulumiNullFieldException("sourceDatabaseId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy