Share via


Skus - List By Subscription

Lists the Microsoft.DevCenter SKUs available in a subscription

GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/skus?api-version=2024-02-01
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.DevCenter/skus?api-version=2024-02-01&$top={$top}

URI Parameters

Name In Required Type Description
subscriptionId
path True

string

minLength: 1

The ID of the target subscription.

api-version
query True

string

minLength: 1

The API version to use for this operation.

$top
query

integer (int32)

The maximum number of resources to return from the operation. Example: '$top=10'.

Responses

Name Type Description
200 OK

SkuListResult

OK. The request has succeeded.

Other Status Codes

ErrorResponse

Error response describing why the operation failed.

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

Examples

Skus_ListBySubscription

Sample request

GET https://management.azure.com/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/providers/Microsoft.DevCenter/skus?api-version=2024-02-01

Sample response

{
  "value": [
    {
      "resourceType": "projects/pools",
      "name": "Large",
      "tier": "Premium",
      "locations": [
        "CentralUS"
      ]
    },
    {
      "resourceType": "projects/pools",
      "name": "Medium",
      "tier": "Standard",
      "locations": [
        "CentralUS"
      ]
    }
  ]
}

Definitions

Name Description
Capability

A name/value pair to describe a capability.

DevCenterSku

The resource model definition representing SKU for DevCenter resources

ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

SkuListResult

Results of the Microsoft.DevCenter SKU list operation.

SkuTier

This 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.

Capability

A name/value pair to describe a capability.

Name Type Description
name

string

Name of the capability.

value

string

Value of the capability.

DevCenterSku

The resource model definition representing SKU for DevCenter resources

Name Type Description
capabilities

Capability[]

Collection of name/value pairs to describe the SKU capabilities.

capacity

integer (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.

family

string

If the service has different generations of hardware, for the same SKU, then that can be captured here.

locations

string[]

SKU supported locations.

name

string

The name of the SKU. Ex - P3. It is typically a letter+number code

resourceType

string

The name of the resource type

size

string

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

tier

SkuTier

This 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.

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

object

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.

SkuListResult

Results of the Microsoft.DevCenter SKU list operation.

Name Type Description
nextLink

string

URL to get the next set of results if there are any.

value

DevCenterSku[]

Current page of results.

SkuTier

This 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.

Value Description
Free
Basic
Standard
Premium