public interface LogAnalyticsDataClient
| Modifier and Type | Method | Description |
|---|---|---|
String |
acceptLanguage() |
Gets The preferred language for the response..
|
boolean |
generateClientRequestId() |
Gets Whether a unique x-ms-client-request-id should be generated.
|
com.microsoft.azure.AzureClient |
getAzureClient() |
Gets the
AzureClient used for long running operations. |
int |
longRunningOperationRetryTimeout() |
Gets The retry timeout in seconds for Long Running Operations.
|
QueryResults |
query(String workspaceId,
QueryBody body) |
Execute an Analytics query.
|
rx.Observable<QueryResults> |
queryAsync(String workspaceId,
QueryBody body) |
Execute an Analytics query.
|
com.microsoft.rest.ServiceFuture<QueryResults> |
queryAsync(String workspaceId,
QueryBody body,
com.microsoft.rest.ServiceCallback<QueryResults> serviceCallback) |
Execute an Analytics query.
|
rx.Observable<com.microsoft.rest.ServiceResponse<QueryResults>> |
queryWithServiceResponseAsync(String workspaceId,
QueryBody body) |
Execute an Analytics query.
|
com.microsoft.rest.RestClient |
restClient() |
Gets the REST client.
|
String |
userAgent() |
Gets the User-Agent header for the client.
|
LogAnalyticsDataClient |
withAcceptLanguage(String acceptLanguage) |
Sets The preferred language for the response..
|
LogAnalyticsDataClient |
withGenerateClientRequestId(boolean generateClientRequestId) |
Sets Whether a unique x-ms-client-request-id should be generated.
|
LogAnalyticsDataClient |
withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout) |
Sets The retry timeout in seconds for Long Running Operations.
|
com.microsoft.rest.RestClient restClient()
RestClient object.com.microsoft.azure.AzureClient getAzureClient()
AzureClient used for long running operations.String userAgent()
String acceptLanguage()
LogAnalyticsDataClient withAcceptLanguage(String acceptLanguage)
acceptLanguage - the acceptLanguage value.int longRunningOperationRetryTimeout()
LogAnalyticsDataClient withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
longRunningOperationRetryTimeout - the longRunningOperationRetryTimeout value.boolean generateClientRequestId()
LogAnalyticsDataClient withGenerateClientRequestId(boolean generateClientRequestId)
generateClientRequestId - the generateClientRequestId value.QueryResults query(String workspaceId, QueryBody body)
workspaceId - ID of the workspace. This is Workspace ID from the Properties blade in the Azure portal.body - The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)IllegalArgumentException - thrown if parameters fail the validationErrorResponseException - thrown if the request is rejected by serverRuntimeException - all other wrapped checked exceptions if the request fails to be sentcom.microsoft.rest.ServiceFuture<QueryResults> queryAsync(String workspaceId, QueryBody body, com.microsoft.rest.ServiceCallback<QueryResults> serviceCallback)
workspaceId - ID of the workspace. This is Workspace ID from the Properties blade in the Azure portal.body - The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)serviceCallback - the async ServiceCallback to handle successful and failed responses.ServiceFuture objectIllegalArgumentException - thrown if parameters fail the validationrx.Observable<QueryResults> queryAsync(String workspaceId, QueryBody body)
workspaceId - ID of the workspace. This is Workspace ID from the Properties blade in the Azure portal.body - The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)IllegalArgumentException - thrown if parameters fail the validationrx.Observable<com.microsoft.rest.ServiceResponse<QueryResults>> queryWithServiceResponseAsync(String workspaceId, QueryBody body)
workspaceId - ID of the workspace. This is Workspace ID from the Properties blade in the Azure portal.body - The Analytics query. Learn more about the [Analytics query syntax](https://azure.microsoft.com/documentation/articles/app-insights-analytics-reference/)IllegalArgumentException - thrown if parameters fail the validation /**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/