Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azurenative.datafactory.kotlin.inputs.AzureBlobFSLinkedServiceArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.inputs
import com.pulumi.azurenative.datafactory.inputs.AzureBlobFSLinkedServiceArgs.builder
import com.pulumi.core.Either
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Any
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* Azure Data Lake Storage Gen2 linked service.
* @property accountKey Account key for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with resultType string).
* @property annotations List of tags that can be used for describing the linked service.
* @property azureCloudType Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
* @property connectVia The integration runtime reference.
* @property credential The credential reference containing authentication information.
* @property description Linked service description.
* @property encryptedCredential The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
* @property parameters Parameters for linked service.
* @property sasToken The Azure key vault secret reference of sasToken in sas uri.
* @property sasUri SAS URI of the Azure Data Lake Storage Gen2 service. Type: string, SecureString or AzureKeyVaultSecretReference.
* @property servicePrincipalCredential The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference.
* @property servicePrincipalCredentialType The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string).
* @property servicePrincipalId The ID of the application used to authenticate against the Azure Data Lake Storage Gen2 account. Type: string (or Expression with resultType string).
* @property servicePrincipalKey The Key of the application used to authenticate against the Azure Data Lake Storage Gen2 account.
* @property tenant The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).
* @property type Type of linked service.
* Expected value is 'AzureBlobFS'.
* @property url Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with resultType string).
* @property version Version of the linked service.
*/
public data class AzureBlobFSLinkedServiceArgs(
public val accountKey: Output? = null,
public val annotations: Output>? = null,
public val azureCloudType: Output? = null,
public val connectVia: Output? = null,
public val credential: Output? = null,
public val description: Output? = null,
public val encryptedCredential: Output? = null,
public val parameters: Output>? = null,
public val sasToken: Output>? = null,
public val sasUri: Output? = null,
public val servicePrincipalCredential: Output>? = null,
public val servicePrincipalCredentialType: Output? = null,
public val servicePrincipalId: Output? = null,
public val servicePrincipalKey: Output>? = null,
public val tenant: Output? = null,
public val type: Output,
public val url: Output? = null,
public val version: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azurenative.datafactory.inputs.AzureBlobFSLinkedServiceArgs =
com.pulumi.azurenative.datafactory.inputs.AzureBlobFSLinkedServiceArgs.builder()
.accountKey(accountKey?.applyValue({ args0 -> args0 }))
.annotations(annotations?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.azureCloudType(azureCloudType?.applyValue({ args0 -> args0 }))
.connectVia(connectVia?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.credential(credential?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.description(description?.applyValue({ args0 -> args0 }))
.encryptedCredential(encryptedCredential?.applyValue({ args0 -> args0 }))
.parameters(
parameters?.applyValue({ args0 ->
args0.map({ args0 ->
args0.key.to(args0.value.let({ args0 -> args0.toJava() }))
}).toMap()
}),
)
.sasToken(
sasToken?.applyValue({ args0 ->
args0.transform({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}, { args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.sasUri(sasUri?.applyValue({ args0 -> args0 }))
.servicePrincipalCredential(
servicePrincipalCredential?.applyValue({ args0 ->
args0.transform({ args0 -> args0.let({ args0 -> args0.toJava() }) }, { args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.servicePrincipalCredentialType(servicePrincipalCredentialType?.applyValue({ args0 -> args0 }))
.servicePrincipalId(servicePrincipalId?.applyValue({ args0 -> args0 }))
.servicePrincipalKey(
servicePrincipalKey?.applyValue({ args0 ->
args0.transform({ args0 ->
args0.let({ args0 -> args0.toJava() })
}, { args0 -> args0.let({ args0 -> args0.toJava() }) })
}),
)
.tenant(tenant?.applyValue({ args0 -> args0 }))
.type(type.applyValue({ args0 -> args0 }))
.url(url?.applyValue({ args0 -> args0 }))
.version(version?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AzureBlobFSLinkedServiceArgs].
*/
@PulumiTagMarker
public class AzureBlobFSLinkedServiceArgsBuilder internal constructor() {
private var accountKey: Output? = null
private var annotations: Output>? = null
private var azureCloudType: Output? = null
private var connectVia: Output? = null
private var credential: Output? = null
private var description: Output? = null
private var encryptedCredential: Output? = null
private var parameters: Output>? = null
private var sasToken: Output>? = null
private var sasUri: Output? = null
private var servicePrincipalCredential:
Output>? = null
private var servicePrincipalCredentialType: Output? = null
private var servicePrincipalId: Output? = null
private var servicePrincipalKey:
Output>? = null
private var tenant: Output? = null
private var type: Output? = null
private var url: Output? = null
private var version: Output? = null
/**
* @param value Account key for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with resultType string).
*/
@JvmName("uqfawokqtleicimy")
public suspend fun accountKey(`value`: Output) {
this.accountKey = value
}
/**
* @param value List of tags that can be used for describing the linked service.
*/
@JvmName("uyxjytycsalpummk")
public suspend fun annotations(`value`: Output>) {
this.annotations = value
}
@JvmName("tqtygfkabxvxkluj")
public suspend fun annotations(vararg values: Output) {
this.annotations = Output.all(values.asList())
}
/**
* @param values List of tags that can be used for describing the linked service.
*/
@JvmName("rkmluupefsqwquyp")
public suspend fun annotations(values: List>) {
this.annotations = Output.all(values)
}
/**
* @param value Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
*/
@JvmName("iufbhvcmxgxwmvda")
public suspend fun azureCloudType(`value`: Output) {
this.azureCloudType = value
}
/**
* @param value The integration runtime reference.
*/
@JvmName("wkcctruscemyihxp")
public suspend fun connectVia(`value`: Output) {
this.connectVia = value
}
/**
* @param value The credential reference containing authentication information.
*/
@JvmName("oolvexpgtjpqueax")
public suspend fun credential(`value`: Output) {
this.credential = value
}
/**
* @param value Linked service description.
*/
@JvmName("eccaxexbvjgcgcvk")
public suspend fun description(`value`: Output) {
this.description = value
}
/**
* @param value The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
*/
@JvmName("ilevmcpgmhyojdmm")
public suspend fun encryptedCredential(`value`: Output) {
this.encryptedCredential = value
}
/**
* @param value Parameters for linked service.
*/
@JvmName("vjgfndcpsfvcwtbx")
public suspend fun parameters(`value`: Output>) {
this.parameters = value
}
/**
* @param value The Azure key vault secret reference of sasToken in sas uri.
*/
@JvmName("fkwpxnumhahktxne")
public suspend fun sasToken(`value`: Output>) {
this.sasToken = value
}
/**
* @param value SAS URI of the Azure Data Lake Storage Gen2 service. Type: string, SecureString or AzureKeyVaultSecretReference.
*/
@JvmName("jbhhdtmkyfhoqibk")
public suspend fun sasUri(`value`: Output) {
this.sasUri = value
}
/**
* @param value The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference.
*/
@JvmName("lnyfwoqfepqdewod")
public suspend fun servicePrincipalCredential(`value`: Output>) {
this.servicePrincipalCredential = value
}
/**
* @param value The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string).
*/
@JvmName("eqhxwbhprifficke")
public suspend fun servicePrincipalCredentialType(`value`: Output) {
this.servicePrincipalCredentialType = value
}
/**
* @param value The ID of the application used to authenticate against the Azure Data Lake Storage Gen2 account. Type: string (or Expression with resultType string).
*/
@JvmName("bqysoewurqmkafbl")
public suspend fun servicePrincipalId(`value`: Output) {
this.servicePrincipalId = value
}
/**
* @param value The Key of the application used to authenticate against the Azure Data Lake Storage Gen2 account.
*/
@JvmName("cpjxqvfoafxtgnlm")
public suspend fun servicePrincipalKey(`value`: Output>) {
this.servicePrincipalKey = value
}
/**
* @param value The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).
*/
@JvmName("lpqkvmnftlrlijmx")
public suspend fun tenant(`value`: Output) {
this.tenant = value
}
/**
* @param value Type of linked service.
* Expected value is 'AzureBlobFS'.
*/
@JvmName("kbocymallpbfuetu")
public suspend fun type(`value`: Output) {
this.type = value
}
/**
* @param value Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with resultType string).
*/
@JvmName("rxkaiwbindxcafau")
public suspend fun url(`value`: Output) {
this.url = value
}
/**
* @param value Version of the linked service.
*/
@JvmName("wddqyncufmkajggr")
public suspend fun version(`value`: Output) {
this.version = value
}
/**
* @param value Account key for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with resultType string).
*/
@JvmName("hytfrcvhqrkqhtwy")
public suspend fun accountKey(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.accountKey = mapped
}
/**
* @param value List of tags that can be used for describing the linked service.
*/
@JvmName("bukcfujiwljgdlfb")
public suspend fun annotations(`value`: List?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.annotations = mapped
}
/**
* @param values List of tags that can be used for describing the linked service.
*/
@JvmName("qpfwpagdcnqrrqmw")
public suspend fun annotations(vararg values: Any) {
val toBeMapped = values.toList()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.annotations = mapped
}
/**
* @param value Indicates the azure cloud type of the service principle auth. Allowed values are AzurePublic, AzureChina, AzureUsGovernment, AzureGermany. Default value is the data factory regions’ cloud type. Type: string (or Expression with resultType string).
*/
@JvmName("pfpjycfxikwrjgfg")
public suspend fun azureCloudType(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.azureCloudType = mapped
}
/**
* @param value The integration runtime reference.
*/
@JvmName("syyewbliwqukdcqt")
public suspend fun connectVia(`value`: IntegrationRuntimeReferenceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.connectVia = mapped
}
/**
* @param argument The integration runtime reference.
*/
@JvmName("osctmkqqoaefrytw")
public suspend fun connectVia(argument: suspend IntegrationRuntimeReferenceArgsBuilder.() -> Unit) {
val toBeMapped = IntegrationRuntimeReferenceArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.connectVia = mapped
}
/**
* @param value The credential reference containing authentication information.
*/
@JvmName("nwcwktotphpgciro")
public suspend fun credential(`value`: CredentialReferenceArgs?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.credential = mapped
}
/**
* @param argument The credential reference containing authentication information.
*/
@JvmName("wlijvxtelbjtgwvr")
public suspend fun credential(argument: suspend CredentialReferenceArgsBuilder.() -> Unit) {
val toBeMapped = CredentialReferenceArgsBuilder().applySuspend { argument() }.build()
val mapped = of(toBeMapped)
this.credential = mapped
}
/**
* @param value Linked service description.
*/
@JvmName("yddooyumxmosqqfm")
public suspend fun description(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.description = mapped
}
/**
* @param value The encrypted credential used for authentication. Credentials are encrypted using the integration runtime credential manager. Type: string.
*/
@JvmName("ptbeinaocprvwbmq")
public suspend fun encryptedCredential(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.encryptedCredential = mapped
}
/**
* @param value Parameters for linked service.
*/
@JvmName("ftqollwdukodxhqw")
public suspend fun parameters(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.parameters = mapped
}
/**
* @param argument Parameters for linked service.
*/
@JvmName("ktctmrcdhbjjsqkv")
public suspend fun parameters(vararg argument: Pair Unit>) {
val toBeMapped = argument.toList().map { (left, right) ->
left to
ParameterSpecificationArgsBuilder().applySuspend { right() }.build()
}.toMap()
val mapped = of(toBeMapped)
this.parameters = mapped
}
/**
* @param values Parameters for linked service.
*/
@JvmName("yxsybhobxbwcljhk")
public fun parameters(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.parameters = mapped
}
/**
* @param value The Azure key vault secret reference of sasToken in sas uri.
*/
@JvmName("kvrnnmwnbscfysdq")
public suspend fun sasToken(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sasToken = mapped
}
/**
* @param value The Azure key vault secret reference of sasToken in sas uri.
*/
@JvmName("shpivawaibeumsye")
public fun sasToken(`value`: AzureKeyVaultSecretReferenceArgs) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sasToken = mapped
}
/**
* @param value The Azure key vault secret reference of sasToken in sas uri.
*/
@JvmName("fudvullefkabsowl")
public fun sasToken(`value`: SecureStringArgs) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.sasToken = mapped
}
/**
* @param value SAS URI of the Azure Data Lake Storage Gen2 service. Type: string, SecureString or AzureKeyVaultSecretReference.
*/
@JvmName("vyqrqwwregymmosl")
public suspend fun sasUri(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.sasUri = mapped
}
/**
* @param value The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference.
*/
@JvmName("fukqctuyxbicmtvh")
public suspend fun servicePrincipalCredential(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.servicePrincipalCredential = mapped
}
/**
* @param value The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference.
*/
@JvmName("ernlsmdjreqgpnxj")
public fun servicePrincipalCredential(`value`: AzureKeyVaultSecretReferenceArgs) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.servicePrincipalCredential = mapped
}
/**
* @param value The credential of the service principal object in Azure Active Directory. If servicePrincipalCredentialType is 'ServicePrincipalKey', servicePrincipalCredential can be SecureString or AzureKeyVaultSecretReference. If servicePrincipalCredentialType is 'ServicePrincipalCert', servicePrincipalCredential can only be AzureKeyVaultSecretReference.
*/
@JvmName("riaqyijtukjovjra")
public fun servicePrincipalCredential(`value`: SecureStringArgs) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.servicePrincipalCredential = mapped
}
/**
* @param value The service principal credential type to use in Server-To-Server authentication. 'ServicePrincipalKey' for key/secret, 'ServicePrincipalCert' for certificate. Type: string (or Expression with resultType string).
*/
@JvmName("qsgcydcajdqwgptv")
public suspend fun servicePrincipalCredentialType(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.servicePrincipalCredentialType = mapped
}
/**
* @param value The ID of the application used to authenticate against the Azure Data Lake Storage Gen2 account. Type: string (or Expression with resultType string).
*/
@JvmName("dutljrxwrxwaguqe")
public suspend fun servicePrincipalId(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.servicePrincipalId = mapped
}
/**
* @param value The Key of the application used to authenticate against the Azure Data Lake Storage Gen2 account.
*/
@JvmName("mdpmosbsoxlgddca")
public suspend fun servicePrincipalKey(`value`: Either?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.servicePrincipalKey = mapped
}
/**
* @param value The Key of the application used to authenticate against the Azure Data Lake Storage Gen2 account.
*/
@JvmName("uncuxpcrfbdoixwc")
public fun servicePrincipalKey(`value`: AzureKeyVaultSecretReferenceArgs) {
val toBeMapped = Either.ofLeft(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.servicePrincipalKey = mapped
}
/**
* @param value The Key of the application used to authenticate against the Azure Data Lake Storage Gen2 account.
*/
@JvmName("xcofvaplvgmlixue")
public fun servicePrincipalKey(`value`: SecureStringArgs) {
val toBeMapped = Either.ofRight(value)
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.servicePrincipalKey = mapped
}
/**
* @param value The name or ID of the tenant to which the service principal belongs. Type: string (or Expression with resultType string).
*/
@JvmName("edoiqsuhtlocacfa")
public suspend fun tenant(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.tenant = mapped
}
/**
* @param value Type of linked service.
* Expected value is 'AzureBlobFS'.
*/
@JvmName("kpvtudhemfdwalcu")
public suspend fun type(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.type = mapped
}
/**
* @param value Endpoint for the Azure Data Lake Storage Gen2 service. Type: string (or Expression with resultType string).
*/
@JvmName("ehhlgnvsgiswakpc")
public suspend fun url(`value`: Any?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.url = mapped
}
/**
* @param value Version of the linked service.
*/
@JvmName("halcejtsbpiphfwv")
public suspend fun version(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.version = mapped
}
internal fun build(): AzureBlobFSLinkedServiceArgs = AzureBlobFSLinkedServiceArgs(
accountKey = accountKey,
annotations = annotations,
azureCloudType = azureCloudType,
connectVia = connectVia,
credential = credential,
description = description,
encryptedCredential = encryptedCredential,
parameters = parameters,
sasToken = sasToken,
sasUri = sasUri,
servicePrincipalCredential = servicePrincipalCredential,
servicePrincipalCredentialType = servicePrincipalCredentialType,
servicePrincipalId = servicePrincipalId,
servicePrincipalKey = servicePrincipalKey,
tenant = tenant,
type = type ?: throw PulumiNullFieldException("type"),
url = url,
version = version,
)
}