SharePointConnectorAppRegistration Class
- java.
lang. Object - com.
azure. search. documents. models. SharePointConnectorAppRegistration
- com.
Implements
public final class SharePointConnectorAppRegistration
implements JsonSerializable<SharePointConnectorAppRegistration>
Configures a SharePoint connector app registration for the index, enabling document-level permissions from SharePoint.
Constructor Summary
| Constructor | Description |
|---|---|
| SharePointConnectorAppRegistration(String applicationId, String federatedCredentialId) |
Creates an instance of Share |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Share |
fromJson(JsonReader jsonReader)
Reads an instance of Share |
| String |
getApplicationId()
Get the application |
| String |
getFederatedCredentialId()
Get the federated |
| String |
getTenantId()
Get the tenant |
|
Share |
setTenantId(String tenantId)
Set the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
SharePointConnectorAppRegistration
public SharePointConnectorAppRegistration(String applicationId, String federatedCredentialId)
Creates an instance of SharePointConnectorAppRegistration class.
Parameters:
Method Details
fromJson
public static SharePointConnectorAppRegistration fromJson(JsonReader jsonReader)
Reads an instance of SharePointConnectorAppRegistration from the JsonReader.
Parameters:
Returns:
Throws:
getApplicationId
public String getApplicationId()
Get the applicationId property: The application (client) ID of the app registration used to connect to SharePoint.
Returns:
getFederatedCredentialId
public String getFederatedCredentialId()
Get the federatedCredentialId property: The federated credential ID configured on the app registration.
Returns:
getTenantId
public String getTenantId()
Get the tenantId property: The tenant ID of the app registration. If not specified, the tenant of the search service is used.
Returns:
setTenantId
public SharePointConnectorAppRegistration setTenantId(String tenantId)
Set the tenantId property: The tenant ID of the app registration. If not specified, the tenant of the search service is used.
Parameters:
Returns: