com.pulumi.azurenative.logic.kotlin.WorkflowAccessKeyArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.logic.kotlin
import com.pulumi.azurenative.logic.WorkflowAccessKeyArgs.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
/**
*
* Azure REST API version: 2015-02-01-preview. Prior API version in Azure Native 1.x: 2015-02-01-preview.
* ## Import
* An existing resource can be imported using its type token, name, and identifier, e.g.
* ```sh
* $ pulumi import azure-native:logic:WorkflowAccessKey myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/accessKeys/{accessKeyName}
* ```
* @property accessKeyName The workflow access key name.
* @property id Gets or sets the resource id.
* @property notAfter Gets or sets the not-after time.
* @property notBefore Gets or sets the not-before time.
* @property resourceGroupName The resource group name.
* @property workflowName The workflow name.
*/
public data class WorkflowAccessKeyArgs(
public val accessKeyName: Output? = null,
public val id: Output? = null,
public val notAfter: Output? = null,
public val notBefore: Output? = null,
public val resourceGroupName: Output? = null,
public val workflowName: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.logic.WorkflowAccessKeyArgs =
com.pulumi.azurenative.logic.WorkflowAccessKeyArgs.builder()
.accessKeyName(accessKeyName?.applyValue({ args0 -> args0 }))
.id(id?.applyValue({ args0 -> args0 }))
.notAfter(notAfter?.applyValue({ args0 -> args0 }))
.notBefore(notBefore?.applyValue({ args0 -> args0 }))
.resourceGroupName(resourceGroupName?.applyValue({ args0 -> args0 }))
.workflowName(workflowName?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [WorkflowAccessKeyArgs].
*/
@PulumiTagMarker
public class WorkflowAccessKeyArgsBuilder internal constructor() {
private var accessKeyName: Output? = null
private var id: Output? = null
private var notAfter: Output? = null
private var notBefore: Output? = null
private var resourceGroupName: Output? = null
private var workflowName: Output? = null
/**
* @param value The workflow access key name.
*/
@JvmName("luiooirikgjqlvmw")
public suspend fun accessKeyName(`value`: Output) {
this.accessKeyName = value
}
/**
* @param value Gets or sets the resource id.
*/
@JvmName("xbwlfptdxikdouan")
public suspend fun id(`value`: Output) {
this.id = value
}
/**
* @param value Gets or sets the not-after time.
*/
@JvmName("dyypjlmjwfgqsmmm")
public suspend fun notAfter(`value`: Output) {
this.notAfter = value
}
/**
* @param value Gets or sets the not-before time.
*/
@JvmName("ubvtjisnnetstxxf")
public suspend fun notBefore(`value`: Output) {
this.notBefore = value
}
/**
* @param value The resource group name.
*/
@JvmName("teojxsockjndspmd")
public suspend fun resourceGroupName(`value`: Output) {
this.resourceGroupName = value
}
/**
* @param value The workflow name.
*/
@JvmName("axjbveydsnfximcb")
public suspend fun workflowName(`value`: Output) {
this.workflowName = value
}
/**
* @param value The workflow access key name.
*/
@JvmName("vtdardklsmayrdeu")
public suspend fun accessKeyName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.accessKeyName = mapped
}
/**
* @param value Gets or sets the resource id.
*/
@JvmName("jvdtnyimxtqmokpp")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.id = mapped
}
/**
* @param value Gets or sets the not-after time.
*/
@JvmName("xbrvciquvrdmlhce")
public suspend fun notAfter(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.notAfter = mapped
}
/**
* @param value Gets or sets the not-before time.
*/
@JvmName("spsgjgcucpgfieje")
public suspend fun notBefore(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.notBefore = mapped
}
/**
* @param value The resource group name.
*/
@JvmName("rmtwhaoclyhpgdok")
public suspend fun resourceGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.resourceGroupName = mapped
}
/**
* @param value The workflow name.
*/
@JvmName("eqfyvqgsronfnmno")
public suspend fun workflowName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.workflowName = mapped
}
internal fun build(): WorkflowAccessKeyArgs = WorkflowAccessKeyArgs(
accessKeyName = accessKeyName,
id = id,
notAfter = notAfter,
notBefore = notBefore,
resourceGroupName = resourceGroupName,
workflowName = workflowName,
)
}