BatchRequest class
A BatchRequest represents a based class for BatchDeleteRequest and BatchSetTierRequest.
Methods
get |
Get assembled HTTP request body for sub requests. |
get |
Get the value of Content-Type for a batch request. The value must be multipart/mixed with a batch boundary. Example: multipart/mixed; boundary=batch_a81786c8-e301-4e42-a729-a32ca24ae252 |
get |
Get sub requests that are added into the batch request. |
Method Details
getHttpRequestBody()
Get assembled HTTP request body for sub requests.
function getHttpRequestBody(): string
Returns
string
getMultiPartContentType()
Get the value of Content-Type for a batch request. The value must be multipart/mixed with a batch boundary. Example: multipart/mixed; boundary=batch_a81786c8-e301-4e42-a729-a32ca24ae252
function getMultiPartContentType(): string
Returns
string
getSubRequests()
Get sub requests that are added into the batch request.
function getSubRequests(): Map<number, BatchSubRequest>
Returns
Map<number, BatchSubRequest>
Azure SDK for JavaScript
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for