BatchServiceClient Interface
public interface BatchServiceClient
The interface for BatchServiceClient class.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
acceptLanguage()
Gets The preferred language for the response.. |
Accounts |
accounts()
Gets the Accounts object to access its operations. |
String |
apiVersion()
Gets Client API Version.. |
Applications |
applications()
Gets the Applications object to access its operations. |
String |
batchUrl()
Gets The base URL for all Azure Batch service requests.. |
Certificates |
certificates()
Gets the Certificates object to access its operations. |
Compute |
computeNodes()
Gets the ComputeNodes object to access its operations. |
Files |
files()
Gets the Files 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. |
Jobs |
jobs()
Gets the Jobs object to access its operations. |
Job |
jobSchedules()
Gets the JobSchedules object to access its operations. |
int |
longRunningOperationRetryTimeout()
Gets The retry timeout in seconds for Long Running Operations. Default value is 30.. |
Pools |
pools()
Gets the Pools object to access its operations. |
RestClient |
restClient()
Gets the REST client. |
Tasks |
tasks()
Gets the Tasks object to access its operations. |
String |
userAgent()
Gets the User-Agent header for the client. |
Batch |
withAcceptLanguage(String acceptLanguage)
Sets The preferred language for the response.. |
Batch |
withBatchUrl(String batchUrl)
Sets The base URL for all Azure Batch service requests.. |
Batch |
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.. |
Batch |
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:
accounts
public Accounts accounts()
Gets the Accounts object to access its operations.
Returns:
apiVersion
public String apiVersion()
Gets Client API Version..
Returns:
applications
public Applications applications()
Gets the Applications object to access its operations.
Returns:
batchUrl
public String batchUrl()
Gets The base URL for all Azure Batch service requests..
Returns:
certificates
public Certificates certificates()
Gets the Certificates object to access its operations.
Returns:
computeNodes
public ComputeNodes computeNodes()
Gets the ComputeNodes object to access its operations.
Returns:
files
public Files files()
Gets the Files 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:
jobs
public Jobs jobs()
Gets the Jobs object to access its operations.
Returns:
jobSchedules
public JobSchedules jobSchedules()
Gets the JobSchedules object to access its operations.
Returns:
longRunningOperationRetryTimeout
public int longRunningOperationRetryTimeout()
Gets The retry timeout in seconds for Long Running Operations. Default value is 30..
Returns:
pools
public Pools pools()
Gets the Pools object to access its operations.
Returns:
restClient
public RestClient restClient()
Gets the REST client.
Returns:
tasks
public Tasks tasks()
Gets the Tasks object to access its operations.
Returns:
userAgent
public String userAgent()
Gets the User-Agent header for the client.
Returns:
withAcceptLanguage
public BatchServiceClient withAcceptLanguage(String acceptLanguage)
Sets The preferred language for the response..
Parameters:
Returns:
withBatchUrl
public BatchServiceClient withBatchUrl(String batchUrl)
Sets The base URL for all Azure Batch service requests..
Parameters:
Returns:
withGenerateClientRequestId
public BatchServiceClient 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 BatchServiceClient 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