BatchManagementClientImpl Class
- java.
lang. Object - AzureServiceClient
- com.
microsoft. azure. management. batch. implementation. BatchManagementClientImpl
- com.
public class BatchManagementClientImpl
Initializes a new instance of the BatchManagementClientImpl class.
Constructor Summary
Constructor | Description |
---|---|
BatchManagementClientImpl(RestClient restClient) |
Initializes an instance of BatchManagementClient client. |
BatchManagementClientImpl(ServiceClientCredentials credentials) |
Initializes an instance of BatchManagementClient client. |
BatchManagementClientImpl(String baseUrl, ServiceClientCredentials credentials) |
Initializes an instance of BatchManagementClient client. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
acceptLanguage()
Gets The preferred language for the response. |
String |
apiVersion()
Gets The API version to be used with the HTTP request. |
Application |
applicationPackages()
Gets the ApplicationPackagesInner object to access its operations. |
Applications |
applications()
Gets the ApplicationsInner object to access its operations. |
Batch |
batchAccounts()
Gets the BatchAccountsInner object to access its operations. |
Certificates |
certificates()
Gets the CertificatesInner 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. |
void | initialize() |
Locations |
locations()
Gets the LocationsInner object to access its operations. |
int |
longRunningOperationRetryTimeout()
Gets The retry timeout in seconds for Long Running Operations. Default value is 30. |
Operations |
operations()
Gets the OperationsInner object to access its operations. |
Pools |
pools()
Gets the PoolsInner object to access its operations. |
Private |
privateEndpointConnections()
Gets the PrivateEndpointConnectionsInner object to access its operations. |
Private |
privateLinkResources()
Gets the PrivateLinkResourcesInner object to access its operations. |
String |
subscriptionId()
Gets The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). |
String |
userAgent()
Gets the User-Agent header for the client. |
Batch |
withAcceptLanguage(String acceptLanguage)
Sets The preferred language for the response. |
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. |
Batch |
withSubscriptionId(String subscriptionId)
Sets The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). |
Constructor Details
BatchManagementClientImpl
public BatchManagementClientImpl(RestClient restClient)
Initializes an instance of BatchManagementClient client.
Parameters:
BatchManagementClientImpl
public BatchManagementClientImpl(ServiceClientCredentials credentials)
Initializes an instance of BatchManagementClient client.
Parameters:
BatchManagementClientImpl
public BatchManagementClientImpl(String baseUrl, ServiceClientCredentials credentials)
Initializes an instance of BatchManagementClient client.
Parameters:
Method Details
acceptLanguage
public String acceptLanguage()
Gets The preferred language for the response.
Returns:
apiVersion
public String apiVersion()
Gets The API version to be used with the HTTP request.
Returns:
applicationPackages
public ApplicationPackagesInner applicationPackages()
Gets the ApplicationPackagesInner object to access its operations.
Returns:
applications
public ApplicationsInner applications()
Gets the ApplicationsInner object to access its operations.
Returns:
batchAccounts
public BatchAccountsInner batchAccounts()
Gets the BatchAccountsInner object to access its operations.
Returns:
certificates
public CertificatesInner certificates()
Gets the CertificatesInner 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:
initialize
protected void initialize()
locations
public LocationsInner locations()
Gets the LocationsInner 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:
operations
public OperationsInner operations()
Gets the OperationsInner object to access its operations.
Returns:
pools
public PoolsInner pools()
Gets the PoolsInner object to access its operations.
Returns:
privateEndpointConnections
public PrivateEndpointConnectionsInner privateEndpointConnections()
Gets the PrivateEndpointConnectionsInner object to access its operations.
Returns:
privateLinkResources
public PrivateLinkResourcesInner privateLinkResources()
Gets the PrivateLinkResourcesInner object to access its operations.
Returns:
subscriptionId
public String subscriptionId()
Gets The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
Returns:
userAgent
public String userAgent()
Gets the User-Agent header for the client.
Returns:
withAcceptLanguage
public BatchManagementClientImpl withAcceptLanguage(String acceptLanguage)
Sets The preferred language for the response.
Parameters:
Returns:
withGenerateClientRequestId
public BatchManagementClientImpl 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 BatchManagementClientImpl withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)
Sets The retry timeout in seconds for Long Running Operations. Default value is 30.
Parameters:
Returns:
withSubscriptionId
public BatchManagementClientImpl withSubscriptionId(String subscriptionId)
Sets The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
Parameters:
Returns:
Applies to
Azure SDK for Java