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.
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.gcp.dataplex.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataplex.inputs.ZoneDiscoverySpecArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property csvOptions Optional. Configuration for CSV data.
* @property enabled Required. Whether discovery is enabled.
* @property excludePatterns Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
* @property includePatterns Optional. The list of patterns to apply for selecting data to include during discovery if only a subset of the data should considered. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
* @property jsonOptions Optional. Configuration for Json data.
* @property schedule Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, "CRON_TZ=America/New_York 1 * * * *", or "TZ=America/New_York 1 * * * *".
*/
public data class ZoneDiscoverySpecArgs(
public val csvOptions: Output? = null,
public val enabled: Output,
public val excludePatterns: Output>? = null,
public val includePatterns: Output>? = null,
public val jsonOptions: Output? = null,
public val schedule: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.dataplex.inputs.ZoneDiscoverySpecArgs =
com.pulumi.gcp.dataplex.inputs.ZoneDiscoverySpecArgs.builder()
.csvOptions(csvOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.enabled(enabled.applyValue({ args0 -> args0 }))
.excludePatterns(excludePatterns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.includePatterns(includePatterns?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.jsonOptions(jsonOptions?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.schedule(schedule?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ZoneDiscoverySpecArgs].
*/
@PulumiTagMarker
public class ZoneDiscoverySpecArgsBuilder internal constructor() {
private var csvOptions: Output? = null
private var enabled: Output? = null
private var excludePatterns: Output>? = null
private var includePatterns: Output>? = null
private var jsonOptions: Output? = null
private var schedule: Output? = null
/**
* @param value Optional. Configuration for CSV data.
*/
@JvmName("xemduvihwmerodps")
public suspend fun csvOptions(`value`: Output) {
this.csvOptions = value
}
/**
* @param value Required. Whether discovery is enabled.
*/
@JvmName("hderioaahkropnvy")
public suspend fun enabled(`value`: Output) {
this.enabled = value
}
/**
* @param value Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
*/
@JvmName("whmrsdkvxrwvujpj")
public suspend fun excludePatterns(`value`: Output>) {
this.excludePatterns = value
}
@JvmName("ayglqlppkoukuloc")
public suspend fun excludePatterns(vararg values: Output) {
this.excludePatterns = Output.all(values.asList())
}
/**
* @param values Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
*/
@JvmName("xwmcttmnncnnxwid")
public suspend fun excludePatterns(values: List