Account - List Supported Images
Lists all Virtual Machine Images supported by the Azure Batch service.
GET {batchUrl}/supportedimages?api-version=2022-10-01.16.0
GET {batchUrl}/supportedimages?$filter={$filter}&maxresults={maxresults}&timeout={timeout}&api-version=2022-10-01.16.0
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
batch
|
path | True |
string |
The base URL for all Azure Batch service requests. |
api-version
|
query | True |
string |
Client API Version. |
$filter
|
query |
string |
An OData $filter clause. For more information on constructing this filter, see https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images. |
|
maxresults
|
query |
integer int32 |
The maximum number of items to return in the response. A maximum of 1000 results will be returned. |
|
timeout
|
query |
integer int32 |
The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. |
Request Header
Media Types: "application/json; odata=minimalmetadata"
Name | Required | Type | Description |
---|---|---|---|
client-request-id |
string uuid |
The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0. |
|
return-client-request-id |
boolean |
Whether the server should return the client-request-id in the response. |
|
ocp-date |
string date-time-rfc1123 |
The time the request was issued. Client libraries typically set this to the current system clock time; set it explicitly if you are calling the REST API directly. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
A response containing the list of supported Virtual Machine Images. Headers
|
|
Other Status Codes |
The error from the Batch service. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | Impersonate your user account |
Authorization
Type:
apiKey
In:
header
Examples
Account list node agent skus
Sample Request
GET account.region.batch.azure.com/supportedimages?api-version=2022-10-01.16.0
Sample Response
{
"value": [
{
"nodeAgentSKUId": "batch.node.centos 7",
"imageReference": {
"publisher": "OpenLogic",
"offer": "CentOS",
"sku": "7.2",
"version": "latest"
},
"verificationType": "verified",
"capabilities": [
"DockerCompatible",
"NvidiaTeslaDriverInstalled"
],
"osType": "linux"
},
{
"nodeAgentSKUId": "batch.node.centos 7",
"imageReference": {
"publisher": "OpenLogic",
"offer": "CentOS",
"sku": "7.1",
"version": "latest"
},
"verificationType": "unverified",
"osType": "linux",
"batchSupportEndOfLife": "2019-11-01T00:00:00.0Z"
},
{
"nodeAgentSKUId": "batch.node.debian 8",
"imageReference": {
"publisher": "Credativ",
"offer": "Debian",
"sku": "8",
"version": "latest"
},
"verificationType": "verified",
"osType": "linux"
},
{
"nodeAgentSKUId": "batch.node.windows amd64",
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2012-R2-Datacenter",
"version": "latest"
},
"verificationType": "verified",
"osType": "windows"
},
{
"nodeAgentSKUId": "batch.node.windows amd64",
"imageReference": {
"publisher": "MicrosoftWindowsServer",
"offer": "WindowsServer",
"sku": "2012-Datacenter",
"version": "latest"
},
"verificationType": "verified",
"osType": "windows"
}
]
}
Definitions
Name | Description |
---|---|
Account |
The result of listing the supported Virtual Machine Images. |
Batch |
An error response received from the Azure Batch service. |
Batch |
An item of additional information included in an Azure Batch error response. |
Error |
An error message received in an Azure Batch error response. |
Image |
A reference to the Azure Virtual Machines Marketplace Image and additional information about the Image. |
Image |
A reference to an Azure Virtual Machines Marketplace Image or a Shared Image Gallery Image. To get the list of all Azure Marketplace Image references verified by Azure Batch, see the 'List Supported Images' operation. |
OSType |
The type of operating system (e.g. Windows or Linux) of the Image. |
Verification |
Whether the Azure Batch service actively verifies that the Image is compatible with the associated Compute Node agent SKU. |
AccountListSupportedImagesResult
The result of listing the supported Virtual Machine Images.
Name | Type | Description |
---|---|---|
odata.nextLink |
string |
The URL to get the next set of results. |
value |
The list of supported Virtual Machine Images. |
BatchError
An error response received from the Azure Batch service.
Name | Type | Description |
---|---|---|
code |
string |
An identifier for the error. Codes are invariant and are intended to be consumed programmatically. |
message |
A message describing the error, intended to be suitable for display in a user interface. |
|
values |
A collection of key-value pairs containing additional details about the error. |
BatchErrorDetail
An item of additional information included in an Azure Batch error response.
Name | Type | Description |
---|---|---|
key |
string |
An identifier specifying the meaning of the Value property. |
value |
string |
The additional information included with the error response. |
ErrorMessage
An error message received in an Azure Batch error response.
Name | Type | Description |
---|---|---|
lang |
string |
The language code of the error message |
value |
string |
The text of the message. |
ImageInformation
A reference to the Azure Virtual Machines Marketplace Image and additional information about the Image.
Name | Type | Description |
---|---|---|
batchSupportEndOfLife |
string |
The time when the Azure Batch service will stop accepting create Pool requests for the Image. |
capabilities |
string[] |
The capabilities or features which the Image supports. |
imageReference |
The reference to the Azure Virtual Machine's Marketplace Image. |
|
nodeAgentSKUId |
string |
The ID of the Compute Node agent SKU which the Image supports. |
osType |
The type of operating system (e.g. Windows or Linux) of the Image. |
|
verificationType |
Whether the Azure Batch service actively verifies that the Image is compatible with the associated Compute Node agent SKU. |
ImageReference
A reference to an Azure Virtual Machines Marketplace Image or a Shared Image Gallery Image. To get the list of all Azure Marketplace Image references verified by Azure Batch, see the 'List Supported Images' operation.
Name | Type | Description |
---|---|---|
exactVersion |
string |
The specific version of the platform image or marketplace image used to create the node. This read-only field differs from 'version' only if the value specified for 'version' when the pool was created was 'latest'. |
offer |
string |
The offer type of the Azure Virtual Machines Marketplace Image. |
publisher |
string |
The publisher of the Azure Virtual Machines Marketplace Image. |
sku |
string |
The SKU of the Azure Virtual Machines Marketplace Image. |
version |
string |
The version of the Azure Virtual Machines Marketplace Image. |
virtualMachineImageId |
string |
The ARM resource identifier of the Shared Image Gallery Image. Compute Nodes in the Pool will be created using this Image Id. This is of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{VersionId} or /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName} for always defaulting to the latest image version. |
OSType
The type of operating system (e.g. Windows or Linux) of the Image.
Name | Type | Description |
---|---|---|
linux |
string |
The Linux operating system. |
windows |
string |
The Windows operating system. |
VerificationType
Whether the Azure Batch service actively verifies that the Image is compatible with the associated Compute Node agent SKU.
Name | Type | Description |
---|---|---|
unverified |
string |
The associated Compute Node agent SKU should have binary compatibility with the Image, but specific functionality has not been verified. |
verified |
string |
The Image is guaranteed to be compatible with the associated Compute Node agent SKU and all Batch features have been confirmed to work as expected. |