
com.pulumi.azurenative.insights.kotlin.inputs.DataCollectionRuleDestinationsArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.insights.kotlin.inputs
import com.pulumi.azurenative.insights.inputs.DataCollectionRuleDestinationsArgs.builder
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.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* The specification of destinations.
* @property azureMonitorMetrics Azure Monitor Metrics destination.
* @property eventHubs List of Event Hubs destinations.
* @property eventHubsDirect List of Event Hubs Direct destinations.
* @property logAnalytics List of Log Analytics destinations.
* @property monitoringAccounts List of monitoring account destinations.
* @property storageAccounts List of storage accounts destinations.
* @property storageBlobsDirect List of Storage Blob Direct destinations. To be used only for sending data directly to store from the agent.
* @property storageTablesDirect List of Storage Table Direct destinations.
*/
public data class DataCollectionRuleDestinationsArgs(
public val azureMonitorMetrics: Output? = null,
public val eventHubs: Output>? = null,
public val eventHubsDirect: Output>? = null,
public val logAnalytics: Output>? = null,
public val monitoringAccounts: Output>? = null,
public val storageAccounts: Output>? = null,
public val storageBlobsDirect: Output>? = null,
public val storageTablesDirect: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.insights.inputs.DataCollectionRuleDestinationsArgs =
com.pulumi.azurenative.insights.inputs.DataCollectionRuleDestinationsArgs.builder()
.azureMonitorMetrics(
azureMonitorMetrics?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.eventHubs(
eventHubs?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.eventHubsDirect(
eventHubsDirect?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.logAnalytics(
logAnalytics?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.monitoringAccounts(
monitoringAccounts?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.storageAccounts(
storageAccounts?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.storageBlobsDirect(
storageBlobsDirect?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
)
.storageTablesDirect(
storageTablesDirect?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [DataCollectionRuleDestinationsArgs].
*/
@PulumiTagMarker
public class DataCollectionRuleDestinationsArgsBuilder internal constructor() {
private var azureMonitorMetrics: Output? = null
private var eventHubs: Output>? = null
private var eventHubsDirect: Output>? = null
private var logAnalytics: Output>? = null
private var monitoringAccounts: Output>? = null
private var storageAccounts: Output>? = null
private var storageBlobsDirect: Output>? = null
private var storageTablesDirect: Output>? = null
/**
* @param value Azure Monitor Metrics destination.
*/
@JvmName("avsgmcmcxqoggnfy")
public suspend fun azureMonitorMetrics(`value`: Output) {
this.azureMonitorMetrics = value
}
/**
* @param value List of Event Hubs destinations.
*/
@JvmName("fhraqvewpljqgrsi")
public suspend fun eventHubs(`value`: Output>) {
this.eventHubs = value
}
@JvmName("mqerepdvcfyxrhsf")
public suspend fun eventHubs(vararg values: Output) {
this.eventHubs = Output.all(values.asList())
}
/**
* @param values List of Event Hubs destinations.
*/
@JvmName("hnndxfqufawoendy")
public suspend fun eventHubs(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy