DataPlaneAuthOptions Class
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.
- Inheritance
-
azure.mgmt.search._serialization.ModelDataPlaneAuthOptions
Constructor
DataPlaneAuthOptions(*, api_key_only: MutableMapping[str, Any] | None = None, aad_or_api_key: _models.DataPlaneAadOrApiKeyAuthOption | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
api_key_only
|
<xref:JSON>
Indicates that only the API key needs to be used for authentication. |
aad_or_api_key
|
Indicates that either the API key or an access token from Azure Active Directory can be used for authentication. |
Variables
Name | Description |
---|---|
api_key_only
|
<xref:JSON>
Indicates that only the API key needs to be used for authentication. |
aad_or_api_key
|
Indicates that either the API key or an access token from Azure Active Directory can be used for authentication. |
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Python