Partilhar via


DataPlaneAuthOptions Constructors

Definition

Overloads

DataPlaneAuthOptions()

Initializes a new instance of the DataPlaneAuthOptions class.

DataPlaneAuthOptions(Object, DataPlaneAadOrApiKeyAuthOption)

Initializes a new instance of the DataPlaneAuthOptions class.

DataPlaneAuthOptions()

Initializes a new instance of the DataPlaneAuthOptions class.

public DataPlaneAuthOptions ();
Public Sub New ()

Applies to

DataPlaneAuthOptions(Object, DataPlaneAadOrApiKeyAuthOption)

Initializes a new instance of the DataPlaneAuthOptions class.

public DataPlaneAuthOptions (object apiKeyOnly = default, Microsoft.Azure.Management.Search.Models.DataPlaneAadOrApiKeyAuthOption aadOrApiKey = default);
new Microsoft.Azure.Management.Search.Models.DataPlaneAuthOptions : obj * Microsoft.Azure.Management.Search.Models.DataPlaneAadOrApiKeyAuthOption -> Microsoft.Azure.Management.Search.Models.DataPlaneAuthOptions
Public Sub New (Optional apiKeyOnly As Object = Nothing, Optional aadOrApiKey As DataPlaneAadOrApiKeyAuthOption = Nothing)

Parameters

apiKeyOnly
Object

Indicates that only the API key needs to be used for authentication.

aadOrApiKey
DataPlaneAadOrApiKeyAuthOption

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

Applies to