Skip to main content

skus

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

Overview

Nameskus
TypeResource
Idazure.dev_center.skus

Fields

The following fields are returned by SELECT queries:

OK. The request has succeeded.

NameDatatypeDescription
namestringThe name of the SKU. Ex - P3. It is typically a letter+number code
capabilitiesarrayCollection of name/value pairs to describe the SKU capabilities.
capacityinteger (int32)If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
familystringIf the service has different generations of hardware, for the same SKU, then that can be captured here.
locationsarraySKU supported locations.
resourceTypestringThe name of the resource type
sizestringThe SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
tierstringThis field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_projectselectsubscriptionId, resourceGroupName, projectNameLists SKUs available to the project
list_by_subscriptionselectLists the Microsoft.DevCenter SKUs available in a subscription

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
projectNamestringThe name of the project.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Lists SKUs available to the project

SELECT
name,
capabilities,
capacity,
family,
locations,
resourceType,
size,
tier
FROM azure.dev_center.skus
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND projectName = '{{ projectName }}' -- required
;