
com.pulumi.azurenative.iotoperations.kotlin.outputs.DataFlowSourceOperationResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.iotoperations.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* DataFlow Source Operation properties
* @property assetRef Reference to the resource in Azure Device Registry where the data in the endpoint originates from.
* @property dataSources List of source locations. Can be Broker or Kafka topics. Supports wildcards # and +.
* @property endpointRef Reference to the Dataflow Endpoint resource. Can only be of Broker and Kafka type.
* @property schemaRef Schema CR reference. Data will be deserialized according to the schema, and dropped if it doesn't match.
* @property serializationFormat Content is a JSON Schema. Allowed: JSON Schema/draft-7.
*/
public data class DataFlowSourceOperationResponse(
public val assetRef: String? = null,
public val dataSources: List,
public val endpointRef: String,
public val schemaRef: String? = null,
public val serializationFormat: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.iotoperations.outputs.DataFlowSourceOperationResponse): DataFlowSourceOperationResponse = DataFlowSourceOperationResponse(
assetRef = javaType.assetRef().map({ args0 -> args0 }).orElse(null),
dataSources = javaType.dataSources().map({ args0 -> args0 }),
endpointRef = javaType.endpointRef(),
schemaRef = javaType.schemaRef().map({ args0 -> args0 }).orElse(null),
serializationFormat = javaType.serializationFormat().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy