ApplicationInsightsDataClient Interface
public interface ApplicationInsightsDataClient
The interface for ApplicationInsightsDataClient class.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
acceptLanguage()
Gets The preferred language for the response.. |
Events |
events()
Gets the Events object to access its operations. |
boolean |
generateClientRequestId()
Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.. |
AzureClient |
getAzureClient()
Gets the AzureClient used for long running operations. |
int |
longRunningOperationRetryTimeout()
Gets The retry timeout in seconds for Long Running Operations. Default value is 30.. |
Metrics |
metrics()
Gets the Metrics object to access its operations. |
Querys |
querys()
Gets the Querys object to access its operations. |
RestClient |
restClient()
Gets the REST client. |
String |
userAgent()
Gets the User-Agent header for the client. |
Application |
withAcceptLanguage(String acceptLanguage)
Sets The preferred language for the response.. |
Application |
withGenerateClientRequestId(boolean generateClientRequestId)
Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true.. |
Application |
withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets The retry timeout in seconds for Long Running Operations. Default value is 30.. |
Method Details
acceptLanguage
public String acceptLanguage()
Gets The preferred language for the response..
Returns:
events
public Events events()
Gets the Events object to access its operations.
Returns:
generateClientRequestId
public boolean generateClientRequestId()
Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..
Returns:
getAzureClient
public AzureClient getAzureClient()
Gets the AzureClient used for long running operations.
Returns:
longRunningOperationRetryTimeout
public int longRunningOperationRetryTimeout()
Gets The retry timeout in seconds for Long Running Operations. Default value is 30..
Returns:
metrics
public Metrics metrics()
Gets the Metrics object to access its operations.
Returns:
querys
public Querys querys()
Gets the Querys object to access its operations.
Returns:
restClient
public RestClient restClient()
Gets the REST client.
Returns:
userAgent
public String userAgent()
Gets the User-Agent header for the client.
Returns:
withAcceptLanguage
public ApplicationInsightsDataClient withAcceptLanguage(String acceptLanguage)
Sets The preferred language for the response..
Parameters:
Returns:
withGenerateClientRequestId
public ApplicationInsightsDataClient withGenerateClientRequestId(boolean generateClientRequestId)
Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..
Parameters:
Returns:
withLongRunningOperationRetryTimeout
public ApplicationInsightsDataClient withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets The retry timeout in seconds for Long Running Operations. Default value is 30..
Parameters:
Returns:
Applies to
Azure SDK for Java