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

com.pulumi.azurenative.datafactory.kotlin.inputs.Office365SourceArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.datafactory.kotlin.inputs

import com.pulumi.azurenative.datafactory.inputs.Office365SourceArgs.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.Any
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * A copy activity source for an Office 365 service.
 * @property allowedGroups The groups containing all the users. Type: array of strings (or Expression with resultType array of strings).
 * @property dateFilterColumn The Column to apply the  and . Type: string (or Expression with resultType string).
 * @property disableMetricsCollection If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
 * @property endTime End time of the requested range for this dataset. Type: string (or Expression with resultType string).
 * @property maxConcurrentConnections The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
 * @property outputColumns The columns to be read out from the Office 365 table. Type: array of objects (or Expression with resultType array of objects). itemType: OutputColumn. Example: [ { "name": "Id" }, { "name": "CreatedDateTime" } ]
 * @property sourceRetryCount Source retry count. Type: integer (or Expression with resultType integer).
 * @property sourceRetryWait Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
 * @property startTime Start time of the requested range for this dataset. Type: string (or Expression with resultType string).
 * @property type Copy source type.
 * Expected value is 'Office365Source'.
 * @property userScopeFilterUri The user scope uri. Type: string (or Expression with resultType string).
 */
public data class Office365SourceArgs(
    public val allowedGroups: Output? = null,
    public val dateFilterColumn: Output? = null,
    public val disableMetricsCollection: Output? = null,
    public val endTime: Output? = null,
    public val maxConcurrentConnections: Output? = null,
    public val outputColumns: Output? = null,
    public val sourceRetryCount: Output? = null,
    public val sourceRetryWait: Output? = null,
    public val startTime: Output? = null,
    public val type: Output,
    public val userScopeFilterUri: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datafactory.inputs.Office365SourceArgs =
        com.pulumi.azurenative.datafactory.inputs.Office365SourceArgs.builder()
            .allowedGroups(allowedGroups?.applyValue({ args0 -> args0 }))
            .dateFilterColumn(dateFilterColumn?.applyValue({ args0 -> args0 }))
            .disableMetricsCollection(disableMetricsCollection?.applyValue({ args0 -> args0 }))
            .endTime(endTime?.applyValue({ args0 -> args0 }))
            .maxConcurrentConnections(maxConcurrentConnections?.applyValue({ args0 -> args0 }))
            .outputColumns(outputColumns?.applyValue({ args0 -> args0 }))
            .sourceRetryCount(sourceRetryCount?.applyValue({ args0 -> args0 }))
            .sourceRetryWait(sourceRetryWait?.applyValue({ args0 -> args0 }))
            .startTime(startTime?.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 }))
            .userScopeFilterUri(userScopeFilterUri?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [Office365SourceArgs].
 */
@PulumiTagMarker
public class Office365SourceArgsBuilder internal constructor() {
    private var allowedGroups: Output? = null

    private var dateFilterColumn: Output? = null

    private var disableMetricsCollection: Output? = null

    private var endTime: Output? = null

    private var maxConcurrentConnections: Output? = null

    private var outputColumns: Output? = null

    private var sourceRetryCount: Output? = null

    private var sourceRetryWait: Output? = null

    private var startTime: Output? = null

    private var type: Output? = null

    private var userScopeFilterUri: Output? = null

    /**
     * @param value The groups containing all the users. Type: array of strings (or Expression with resultType array of strings).
     */
    @JvmName("hqwghcqgyuitsvwy")
    public suspend fun allowedGroups(`value`: Output) {
        this.allowedGroups = value
    }

    /**
     * @param value The Column to apply the  and . Type: string (or Expression with resultType string).
     */
    @JvmName("fkwydpstrkhqvpei")
    public suspend fun dateFilterColumn(`value`: Output) {
        this.dateFilterColumn = value
    }

    /**
     * @param value If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
     */
    @JvmName("cclrdlsiuyjdlusc")
    public suspend fun disableMetricsCollection(`value`: Output) {
        this.disableMetricsCollection = value
    }

    /**
     * @param value End time of the requested range for this dataset. Type: string (or Expression with resultType string).
     */
    @JvmName("wxyjdyfukyouergx")
    public suspend fun endTime(`value`: Output) {
        this.endTime = value
    }

    /**
     * @param value The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
     */
    @JvmName("dwytwirqckvxlqcy")
    public suspend fun maxConcurrentConnections(`value`: Output) {
        this.maxConcurrentConnections = value
    }

    /**
     * @param value The columns to be read out from the Office 365 table. Type: array of objects (or Expression with resultType array of objects). itemType: OutputColumn. Example: [ { "name": "Id" }, { "name": "CreatedDateTime" } ]
     */
    @JvmName("xdrpnqrmsgldccdv")
    public suspend fun outputColumns(`value`: Output) {
        this.outputColumns = value
    }

    /**
     * @param value Source retry count. Type: integer (or Expression with resultType integer).
     */
    @JvmName("romkohxrunbmlxts")
    public suspend fun sourceRetryCount(`value`: Output) {
        this.sourceRetryCount = value
    }

    /**
     * @param value Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
     */
    @JvmName("smvfqywusianutuw")
    public suspend fun sourceRetryWait(`value`: Output) {
        this.sourceRetryWait = value
    }

    /**
     * @param value Start time of the requested range for this dataset. Type: string (or Expression with resultType string).
     */
    @JvmName("jjljkqtskfkpaiyl")
    public suspend fun startTime(`value`: Output) {
        this.startTime = value
    }

    /**
     * @param value Copy source type.
     * Expected value is 'Office365Source'.
     */
    @JvmName("sopxilxwyugmhcfa")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value The user scope uri. Type: string (or Expression with resultType string).
     */
    @JvmName("rjbhkqlnyuwsofyr")
    public suspend fun userScopeFilterUri(`value`: Output) {
        this.userScopeFilterUri = value
    }

    /**
     * @param value The groups containing all the users. Type: array of strings (or Expression with resultType array of strings).
     */
    @JvmName("qjgmmchlnqdpomxd")
    public suspend fun allowedGroups(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.allowedGroups = mapped
    }

    /**
     * @param value The Column to apply the  and . Type: string (or Expression with resultType string).
     */
    @JvmName("sdolheyibukttdis")
    public suspend fun dateFilterColumn(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dateFilterColumn = mapped
    }

    /**
     * @param value If true, disable data store metrics collection. Default is false. Type: boolean (or Expression with resultType boolean).
     */
    @JvmName("pveyftckesymyhqp")
    public suspend fun disableMetricsCollection(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.disableMetricsCollection = mapped
    }

    /**
     * @param value End time of the requested range for this dataset. Type: string (or Expression with resultType string).
     */
    @JvmName("saabxgjfpmyaxtco")
    public suspend fun endTime(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endTime = mapped
    }

    /**
     * @param value The maximum concurrent connection count for the source data store. Type: integer (or Expression with resultType integer).
     */
    @JvmName("eguakximpmcwwovw")
    public suspend fun maxConcurrentConnections(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.maxConcurrentConnections = mapped
    }

    /**
     * @param value The columns to be read out from the Office 365 table. Type: array of objects (or Expression with resultType array of objects). itemType: OutputColumn. Example: [ { "name": "Id" }, { "name": "CreatedDateTime" } ]
     */
    @JvmName("jiedivigbipcdmoy")
    public suspend fun outputColumns(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.outputColumns = mapped
    }

    /**
     * @param value Source retry count. Type: integer (or Expression with resultType integer).
     */
    @JvmName("xsmolvhxnsktkruy")
    public suspend fun sourceRetryCount(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sourceRetryCount = mapped
    }

    /**
     * @param value Source retry wait. Type: string (or Expression with resultType string), pattern: ((\d+)\.)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).
     */
    @JvmName("fsvljcuaricelpiv")
    public suspend fun sourceRetryWait(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sourceRetryWait = mapped
    }

    /**
     * @param value Start time of the requested range for this dataset. Type: string (or Expression with resultType string).
     */
    @JvmName("ivduguyrgnqslqwo")
    public suspend fun startTime(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.startTime = mapped
    }

    /**
     * @param value Copy source type.
     * Expected value is 'Office365Source'.
     */
    @JvmName("yqfhyelykevbhtjf")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    /**
     * @param value The user scope uri. Type: string (or Expression with resultType string).
     */
    @JvmName("pmqetxisodtbalcs")
    public suspend fun userScopeFilterUri(`value`: Any?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userScopeFilterUri = mapped
    }

    internal fun build(): Office365SourceArgs = Office365SourceArgs(
        allowedGroups = allowedGroups,
        dateFilterColumn = dateFilterColumn,
        disableMetricsCollection = disableMetricsCollection,
        endTime = endTime,
        maxConcurrentConnections = maxConcurrentConnections,
        outputColumns = outputColumns,
        sourceRetryCount = sourceRetryCount,
        sourceRetryWait = sourceRetryWait,
        startTime = startTime,
        type = type ?: throw PulumiNullFieldException("type"),
        userScopeFilterUri = userScopeFilterUri,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy