ArmSearchModelFactory.SearchAadAuthDataPlaneAuthOptions Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Search.Models.SearchAadAuthDataPlaneAuthOptions SearchAadAuthDataPlaneAuthOptions(BinaryData apiKeyOnly = default, Azure.ResourceManager.Search.Models.SearchAadAuthFailureMode? aadAuthFailureMode = default);
static member SearchAadAuthDataPlaneAuthOptions : BinaryData * Nullable<Azure.ResourceManager.Search.Models.SearchAadAuthFailureMode> -> Azure.ResourceManager.Search.Models.SearchAadAuthDataPlaneAuthOptions
Public Shared Function SearchAadAuthDataPlaneAuthOptions (Optional apiKeyOnly As BinaryData = Nothing, Optional aadAuthFailureMode As Nullable(Of SearchAadAuthFailureMode) = Nothing) As SearchAadAuthDataPlaneAuthOptions
Parameters
- apiKeyOnly
- BinaryData
Indicates that only the API key can be used for authentication.
- aadAuthFailureMode
- Nullable<SearchAadAuthFailureMode>
Describes what response the data plane API of a search service would send for requests that failed authentication.
Returns
A new SearchAadAuthDataPlaneAuthOptions instance for mocking.