
com.pulumi.azurenative.datafactory.kotlin.outputs.AzureBlobFSLinkedServiceResponse.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
/**
* 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 AzureBlobFSLinkedServiceResponse(
public val accountKey: Any? = null,
public val annotations: List? = null,
public val azureCloudType: Any? = null,
public val connectVia: IntegrationRuntimeReferenceResponse? = null,
public val credential: CredentialReferenceResponse? = null,
public val description: String? = null,
public val encryptedCredential: String? = null,
public val parameters: Map? = null,
public val sasToken: Either? = null,
public val sasUri: Any? = null,
public val servicePrincipalCredential: Either? = null,
public val servicePrincipalCredentialType: Any? = null,
public val servicePrincipalId: Any? = null,
public val servicePrincipalKey: Either? = null,
public val tenant: Any? = null,
public val type: String,
public val url: Any? = null,
public val version: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.azurenative.datafactory.outputs.AzureBlobFSLinkedServiceResponse): AzureBlobFSLinkedServiceResponse = AzureBlobFSLinkedServiceResponse(
accountKey = javaType.accountKey().map({ args0 -> args0 }).orElse(null),
annotations = javaType.annotations().map({ args0 -> args0 }),
azureCloudType = javaType.azureCloudType().map({ args0 -> args0 }).orElse(null),
connectVia = javaType.connectVia().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datafactory.kotlin.outputs.IntegrationRuntimeReferenceResponse.Companion.toKotlin(args0)
})
}).orElse(null),
credential = javaType.credential().map({ args0 ->
args0.let({ args0 ->
com.pulumi.azurenative.datafactory.kotlin.outputs.CredentialReferenceResponse.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(),
sasToken = javaType.sasToken().map({ args0 ->
args0.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)
})
},
)
}).orElse(null),
sasUri = javaType.sasUri().map({ args0 -> args0 }).orElse(null),
servicePrincipalCredential = javaType.servicePrincipalCredential().map({ args0 ->
args0.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)
})
},
)
}).orElse(null),
servicePrincipalCredentialType = javaType.servicePrincipalCredentialType().map({ args0 ->
args0
}).orElse(null),
servicePrincipalId = javaType.servicePrincipalId().map({ args0 -> args0 }).orElse(null),
servicePrincipalKey = javaType.servicePrincipalKey().map({ args0 ->
args0.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)
})
},
)
}).orElse(null),
tenant = javaType.tenant().map({ args0 -> args0 }).orElse(null),
type = javaType.type(),
url = javaType.url().map({ args0 -> args0 }).orElse(null),
version = javaType.version().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy