Partilhar via


DataPlaneAuthOptions Class

Definition

Defines the options for how the data plane API of a Search service authenticates requests. This cannot be set if 'disableLocalAuth' is set to true.

public class DataPlaneAuthOptions
type DataPlaneAuthOptions = class
Public Class DataPlaneAuthOptions
Inheritance
DataPlaneAuthOptions

Constructors

DataPlaneAuthOptions()

Initializes a new instance of the DataPlaneAuthOptions class.

DataPlaneAuthOptions(Object, DataPlaneAadOrApiKeyAuthOption)

Initializes a new instance of the DataPlaneAuthOptions class.

Properties

AadOrApiKey

Gets or sets indicates that either the API key or an access token from Azure Active Directory can be used for authentication.

ApiKeyOnly

Gets or sets indicates that only the API key needs to be used for authentication.

Applies to