Interface BatchServiceClient
-
- All Known Implementing Classes:
BatchServiceClientImpl
public interface BatchServiceClient
The interface for BatchServiceClient class.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.ComputeNodeExtensions
computeNodeExtensions()
Gets the ComputeNodeExtensions object to access its operations.ComputeNodes
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.com.microsoft.azure.AzureClient
getAzureClient()
Gets theAzureClient
used for long running operations.Jobs
jobs()
Gets the Jobs object to access its operations.JobSchedules
jobSchedules()
Gets the JobSchedules object to access its operations.int
longRunningOperationRetryTimeout()
Gets The retry timeout in seconds for Long Running Operations.Pools
pools()
Gets the Pools object to access its operations.com.microsoft.rest.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.BatchServiceClient
withAcceptLanguage(String acceptLanguage)
Sets The preferred language for the response..BatchServiceClient
withBatchUrl(String batchUrl)
Sets The base URL for all Azure Batch service requests..BatchServiceClient
withGenerateClientRequestId(boolean generateClientRequestId)
Sets Whether a unique x-ms-client-request-id should be generated.BatchServiceClient
withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets The retry timeout in seconds for Long Running Operations.
-
-
-
Method Detail
-
restClient
com.microsoft.rest.RestClient restClient()
Gets the REST client.- Returns:
- the
RestClient
object.
-
getAzureClient
com.microsoft.azure.AzureClient getAzureClient()
Gets theAzureClient
used for long running operations.- Returns:
- the azure client;
-
userAgent
String userAgent()
Gets the User-Agent header for the client.- Returns:
- the user agent string.
-
apiVersion
String apiVersion()
Gets Client API Version..- Returns:
- the apiVersion value.
-
batchUrl
String batchUrl()
Gets The base URL for all Azure Batch service requests..- Returns:
- the batchUrl value.
-
withBatchUrl
BatchServiceClient withBatchUrl(String batchUrl)
Sets The base URL for all Azure Batch service requests..- Parameters:
batchUrl
- the batchUrl value.- Returns:
- the service client itself
-
acceptLanguage
String acceptLanguage()
Gets The preferred language for the response..- Returns:
- the acceptLanguage value.
-
withAcceptLanguage
BatchServiceClient withAcceptLanguage(String acceptLanguage)
Sets The preferred language for the response..- Parameters:
acceptLanguage
- the acceptLanguage value.- Returns:
- the service client itself
-
longRunningOperationRetryTimeout
int longRunningOperationRetryTimeout()
Gets The retry timeout in seconds for Long Running Operations. Default value is 30..- Returns:
- the longRunningOperationRetryTimeout value.
-
withLongRunningOperationRetryTimeout
BatchServiceClient withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets The retry timeout in seconds for Long Running Operations. Default value is 30..- Parameters:
longRunningOperationRetryTimeout
- the longRunningOperationRetryTimeout value.- Returns:
- the service client itself
-
generateClientRequestId
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:
- the generateClientRequestId value.
-
withGenerateClientRequestId
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:
generateClientRequestId
- the generateClientRequestId value.- Returns:
- the service client itself
-
applications
Applications applications()
Gets the Applications object to access its operations.- Returns:
- the Applications object.
-
pools
Pools pools()
Gets the Pools object to access its operations.- Returns:
- the Pools object.
-
accounts
Accounts accounts()
Gets the Accounts object to access its operations.- Returns:
- the Accounts object.
-
jobs
Jobs jobs()
Gets the Jobs object to access its operations.- Returns:
- the Jobs object.
-
certificates
Certificates certificates()
Gets the Certificates object to access its operations.- Returns:
- the Certificates object.
-
files
Files files()
Gets the Files object to access its operations.- Returns:
- the Files object.
-
jobSchedules
JobSchedules jobSchedules()
Gets the JobSchedules object to access its operations.- Returns:
- the JobSchedules object.
-
tasks
Tasks tasks()
Gets the Tasks object to access its operations.- Returns:
- the Tasks object.
-
computeNodes
ComputeNodes computeNodes()
Gets the ComputeNodes object to access its operations.- Returns:
- the ComputeNodes object.
-
computeNodeExtensions
ComputeNodeExtensions computeNodeExtensions()
Gets the ComputeNodeExtensions object to access its operations.- Returns:
- the ComputeNodeExtensions object.
-
-