BatchRestClient Constructor (BatchCredentials, Uri, HttpClient)
Initializes a new instance of the BatchRestClient class.
Namespace: Microsoft.Azure.Batch.Protocol
Assembly: Microsoft.Azure.Batch (in Microsoft.Azure.Batch.dll)
Syntax
public BatchRestClient(
BatchCredentials credentials,
Uri baseUri,
HttpClient httpClient
)
public:
BatchRestClient(
BatchCredentials^ credentials,
Uri^ baseUri,
HttpClient^ httpClient
)
new :
credentials:BatchCredentials *
baseUri:Uri *
httpClient:HttpClient -> BatchRestClient
Public Sub New (
credentials As BatchCredentials,
baseUri As Uri,
httpClient As HttpClient
)
Parameters
credentials
Type: Microsoft.Azure.Batch.Protocol.BatchCredentialsRequired. Gets the credentials for authorizing to the Azure Batch API.
baseUri
Type: System.UriOptional. Gets the URI used as the base for all cloud service requests.
httpClient
Type: System.Net.Http.HttpClientThe Http client
See Also
BatchRestClient Overload
BatchRestClient Class
Microsoft.Azure.Batch.Protocol Namespace
Return to top