BatchManagementClientImpl Class

  • java.lang.Object
    • AzureServiceClient
      • com.microsoft.azure.management.batch.implementation.BatchManagementClientImpl

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.

ApplicationPackagesInner applicationPackages()

Gets the ApplicationPackagesInner object to access its operations.

ApplicationsInner applications()

Gets the ApplicationsInner object to access its operations.

BatchAccountsInner batchAccounts()

Gets the BatchAccountsInner object to access its operations.

CertificatesInner 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()
LocationsInner 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.

OperationsInner operations()

Gets the OperationsInner object to access its operations.

PoolsInner pools()

Gets the PoolsInner object to access its operations.

PrivateEndpointConnectionsInner privateEndpointConnections()

Gets the PrivateEndpointConnectionsInner object to access its operations.

PrivateLinkResourcesInner 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.

BatchManagementClientImpl withAcceptLanguage(String acceptLanguage)

Sets The preferred language for the response.

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.

BatchManagementClientImpl withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout)

Sets The retry timeout in seconds for Long Running Operations. Default value is 30.

BatchManagementClientImpl 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:

restClient - the REST client to connect to Azure.

BatchManagementClientImpl

public BatchManagementClientImpl(ServiceClientCredentials credentials)

Initializes an instance of BatchManagementClient client.

Parameters:

credentials - the management credentials for Azure

BatchManagementClientImpl

public BatchManagementClientImpl(String baseUrl, ServiceClientCredentials credentials)

Initializes an instance of BatchManagementClient client.

Parameters:

baseUrl - the base URL of the host
credentials - the management credentials for Azure

Method Details

acceptLanguage

public String acceptLanguage()

Gets The preferred language for the response.

Returns:

the acceptLanguage value.

apiVersion

public String apiVersion()

Gets The API version to be used with the HTTP request.

Returns:

the apiVersion value.

applicationPackages

public ApplicationPackagesInner applicationPackages()

Gets the ApplicationPackagesInner object to access its operations.

Returns:

the ApplicationPackagesInner object.

applications

public ApplicationsInner applications()

Gets the ApplicationsInner object to access its operations.

Returns:

the ApplicationsInner object.

batchAccounts

public BatchAccountsInner batchAccounts()

Gets the BatchAccountsInner object to access its operations.

Returns:

the BatchAccountsInner object.

certificates

public CertificatesInner certificates()

Gets the CertificatesInner object to access its operations.

Returns:

the CertificatesInner object.

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:

the generateClientRequestId value.

getAzureClient

public AzureClient getAzureClient()

Gets the AzureClient used for long running operations.

Returns:

the azure client;

initialize

protected void initialize()

locations

public LocationsInner locations()

Gets the LocationsInner object to access its operations.

Returns:

the LocationsInner object.

longRunningOperationRetryTimeout

public int longRunningOperationRetryTimeout()

Gets The retry timeout in seconds for Long Running Operations. Default value is 30.

Returns:

the longRunningOperationRetryTimeout value.

operations

public OperationsInner operations()

Gets the OperationsInner object to access its operations.

Returns:

the OperationsInner object.

pools

public PoolsInner pools()

Gets the PoolsInner object to access its operations.

Returns:

the PoolsInner object.

privateEndpointConnections

public PrivateEndpointConnectionsInner privateEndpointConnections()

Gets the PrivateEndpointConnectionsInner object to access its operations.

Returns:

the PrivateEndpointConnectionsInner object.

privateLinkResources

public PrivateLinkResourcesInner privateLinkResources()

Gets the PrivateLinkResourcesInner object to access its operations.

Returns:

the PrivateLinkResourcesInner object.

subscriptionId

public String subscriptionId()

Gets The Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).

Returns:

the subscriptionId value.

userAgent

public String userAgent()

Gets the User-Agent header for the client.

Returns:

the user agent string.

withAcceptLanguage

public BatchManagementClientImpl withAcceptLanguage(String acceptLanguage)

Sets The preferred language for the response.

Parameters:

acceptLanguage - the acceptLanguage value.

Returns:

the service client itself

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:

generateClientRequestId - the generateClientRequestId value.

Returns:

the service client itself

withLongRunningOperationRetryTimeout

public BatchManagementClientImpl 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

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:

subscriptionId - the subscriptionId value.

Returns:

the service client itself

Applies to