
com.pulumi.azurenative.securityinsights.kotlin.inputs.AzureDevOpsResourceInfoArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.securityinsights.kotlin.inputs
import com.pulumi.azurenative.securityinsights.inputs.AzureDevOpsResourceInfoArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* Resources created in Azure DevOps repository.
* @property pipelineId Id of the pipeline created for the source-control.
* @property serviceConnectionId Id of the service-connection created for the source-control.
*/
public data class AzureDevOpsResourceInfoArgs(
public val pipelineId: Output? = null,
public val serviceConnectionId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.securityinsights.inputs.AzureDevOpsResourceInfoArgs = com.pulumi.azurenative.securityinsights.inputs.AzureDevOpsResourceInfoArgs.builder()
.pipelineId(pipelineId?.applyValue({ args0 -> args0 }))
.serviceConnectionId(serviceConnectionId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AzureDevOpsResourceInfoArgs].
*/
@PulumiTagMarker
public class AzureDevOpsResourceInfoArgsBuilder internal constructor() {
private var pipelineId: Output? = null
private var serviceConnectionId: Output? = null
/**
* @param value Id of the pipeline created for the source-control.
*/
@JvmName("mqgstirjgeetpxxy")
public suspend fun pipelineId(`value`: Output) {
this.pipelineId = value
}
/**
* @param value Id of the service-connection created for the source-control.
*/
@JvmName("bwfggmawojyxhhfk")
public suspend fun serviceConnectionId(`value`: Output) {
this.serviceConnectionId = value
}
/**
* @param value Id of the pipeline created for the source-control.
*/
@JvmName("nfnnwldbwhfpnbag")
public suspend fun pipelineId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.pipelineId = mapped
}
/**
* @param value Id of the service-connection created for the source-control.
*/
@JvmName("uameewafpmnsjhkx")
public suspend fun serviceConnectionId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.serviceConnectionId = mapped
}
internal fun build(): AzureDevOpsResourceInfoArgs = AzureDevOpsResourceInfoArgs(
pipelineId = pipelineId,
serviceConnectionId = serviceConnectionId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy