Skip to main content

location_supported_virtual_machine_skus

Creates, updates, deletes, gets or lists a location_supported_virtual_machine_skus resource.

Overview

Namelocation_supported_virtual_machine_skus
TypeResource
Idazure.batch.location_supported_virtual_machine_skus

Fields

The following fields are returned by SELECT queries:

The operation was successful. The response contains the Batch service supported virtual machine vm sizes for the subscription in the specified location.

NameDatatypeDescription
namestringThe name of the SKU.
batchSupportEndOfLifestring (date-time)The time when Azure Batch service will retire this SKU.
capabilitiesarrayA collection of capabilities which this SKU supports.
familyNamestringThe family name of the SKU.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlocationName, subscriptionIdmaxresults, $filterGets the list of Batch supported Virtual Machine VM sizes available at the given location.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationNamestringThe region for which to retrieve Batch service supported SKUs.
subscriptionIdstringThe Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000)
$filterstringOData filter expression. Valid properties for filtering are "familyName".
maxresultsinteger (int32)The maximum number of items to return in the response.

SELECT examples

Gets the list of Batch supported Virtual Machine VM sizes available at the given location.

SELECT
name,
batchSupportEndOfLife,
capabilities,
familyName
FROM azure.batch.location_supported_virtual_machine_skus
WHERE locationName = '{{ locationName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND maxresults = '{{ maxresults }}'
AND $filter = '{{ $filter }}'
;