DataPlaneAuthOptionsArgs

data class DataPlaneAuthOptionsArgs(val aadOrApiKey: Output<DataPlaneAadOrApiKeyAuthOptionArgs>? = null, val apiKeyOnly: Output<Any>? = null) : ConvertibleToJava<DataPlaneAuthOptionsArgs>

Defines the options for how the search service authenticates a data plane request. This cannot be set if 'disableLocalAuth' is set to true.

Constructors

Link copied to clipboard
constructor(aadOrApiKey: Output<DataPlaneAadOrApiKeyAuthOptionArgs>? = null, apiKeyOnly: Output<Any>? = null)

Properties

Link copied to clipboard

Indicates that either the API key or an access token from a Microsoft Entra ID tenant can be used for authentication.

Link copied to clipboard
val apiKeyOnly: Output<Any>? = null

Indicates that only the API key can be used for authentication.

Functions

Link copied to clipboard
open override fun toJava(): DataPlaneAuthOptionsArgs