com.pulumi.azurenative.devhub.kotlin.inputs.ACRArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.devhub.kotlin.inputs
import com.pulumi.azurenative.devhub.inputs.ACRArgs.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
/**
* Information on the azure container registry
* @property acrRegistryName ACR registry
* @property acrRepositoryName ACR repository
* @property acrResourceGroup ACR resource group
* @property acrSubscriptionId ACR subscription id
*/
public data class ACRArgs(
public val acrRegistryName: Output? = null,
public val acrRepositoryName: Output? = null,
public val acrResourceGroup: Output? = null,
public val acrSubscriptionId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.devhub.inputs.ACRArgs =
com.pulumi.azurenative.devhub.inputs.ACRArgs.builder()
.acrRegistryName(acrRegistryName?.applyValue({ args0 -> args0 }))
.acrRepositoryName(acrRepositoryName?.applyValue({ args0 -> args0 }))
.acrResourceGroup(acrResourceGroup?.applyValue({ args0 -> args0 }))
.acrSubscriptionId(acrSubscriptionId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ACRArgs].
*/
@PulumiTagMarker
public class ACRArgsBuilder internal constructor() {
private var acrRegistryName: Output? = null
private var acrRepositoryName: Output? = null
private var acrResourceGroup: Output? = null
private var acrSubscriptionId: Output? = null
/**
* @param value ACR registry
*/
@JvmName("fhbcpebokaxhfylw")
public suspend fun acrRegistryName(`value`: Output) {
this.acrRegistryName = value
}
/**
* @param value ACR repository
*/
@JvmName("pdiafqndynqmonjr")
public suspend fun acrRepositoryName(`value`: Output) {
this.acrRepositoryName = value
}
/**
* @param value ACR resource group
*/
@JvmName("phltsfbcwaygrxes")
public suspend fun acrResourceGroup(`value`: Output) {
this.acrResourceGroup = value
}
/**
* @param value ACR subscription id
*/
@JvmName("xbxtheftqkjkfnns")
public suspend fun acrSubscriptionId(`value`: Output) {
this.acrSubscriptionId = value
}
/**
* @param value ACR registry
*/
@JvmName("hebicxmnnbkcqvaf")
public suspend fun acrRegistryName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.acrRegistryName = mapped
}
/**
* @param value ACR repository
*/
@JvmName("mgmgnfmyewhbqctc")
public suspend fun acrRepositoryName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.acrRepositoryName = mapped
}
/**
* @param value ACR resource group
*/
@JvmName("ovmqwsmbyqrchpfb")
public suspend fun acrResourceGroup(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.acrResourceGroup = mapped
}
/**
* @param value ACR subscription id
*/
@JvmName("qsyemxqoebslmnom")
public suspend fun acrSubscriptionId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.acrSubscriptionId = mapped
}
internal fun build(): ACRArgs = ACRArgs(
acrRegistryName = acrRegistryName,
acrRepositoryName = acrRepositoryName,
acrResourceGroup = acrResourceGroup,
acrSubscriptionId = acrSubscriptionId,
)
}