
com.pulumi.azurenative.datafactory.kotlin.outputs.DynamicsAXLinkedServiceResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azurenative.datafactory.kotlin.outputs
import com.pulumi.core.Either
import kotlin.Any
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* Dynamics AX linked service.
* @property aadResourceId Specify the resource you are requesting authorization. Type: string (or Expression with resultType string).
* @property annotations List of tags that can be used for describing the linked service.
* @property connectVia The integration runtime reference.
* @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 servicePrincipalId Specify the application's client ID. Type: string (or Expression with resultType string).
* @property servicePrincipalKey Specify the application's key. Mark this field as a SecureString to store it securely in Data Factory, or reference a secret stored in Azure Key Vault. Type: string (or Expression with resultType string).
* @property tenant Specify the tenant information (domain name or tenant ID) under which your application resides. Retrieve it by hovering the mouse in the top-right corner of the Azure portal. Type: string (or Expression with resultType string).
* @property type Type of linked service.
* Expected value is 'DynamicsAX'.
* @property url The Dynamics AX (or Dynamics 365 Finance and Operations) instance OData endpoint.
* @property version Version of the linked service.
*/
public data class DynamicsAXLinkedServiceResponse(
public val aadResourceId: Any,
public val annotations: List? = null,
public val connectVia: IntegrationRuntimeReferenceResponse? = null,
public val description: String? = null,
public val encryptedCredential: String? = null,
public val parameters: Map? = null,
public val servicePrincipalId: Any,
public val servicePrincipalKey: Either,
public val tenant: Any,
public val type: String,
public val url: Any,
public val version: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.datafactory.outputs.DynamicsAXLinkedServiceResponse): DynamicsAXLinkedServiceResponse = DynamicsAXLinkedServiceResponse(
aadResourceId = javaType.aadResourceId(),
annotations = javaType.annotations().map({ args0 -> args0 }),
connectVia = javaType.connectVia().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datafactory.kotlin.outputs.IntegrationRuntimeReferenceResponse.Companion.toKotlin(args0)
})
}).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
encryptedCredential = javaType.encryptedCredential().map({ args0 -> args0 }).orElse(null),
parameters = javaType.parameters().map({ args0 ->
args0.key.to(
args0.value.let({ args0 ->
com.pulumi.azurenative.datafactory.kotlin.outputs.ParameterSpecificationResponse.Companion.toKotlin(args0)
}),
)
}).toMap(),
servicePrincipalId = javaType.servicePrincipalId(),
servicePrincipalKey = javaType.servicePrincipalKey().transform(
{ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datafactory.kotlin.outputs.AzureKeyVaultSecretReferenceResponse.Companion.toKotlin(args0)
})
},
{ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datafactory.kotlin.outputs.SecureStringResponse.Companion.toKotlin(args0)
})
},
),
tenant = javaType.tenant(),
type = javaType.type(),
url = javaType.url(),
version = javaType.version().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy