Skip to main content

skus

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

Overview

Nameskus
TypeResource
Idazure.web_pubsub.skus

Fields

The following fields are returned by SELECT queries:

Success. The response describes all available skus of the resource.

NameDatatypeDescription
namestringThe name of the SKU. E.g. P3. It is typically a letter+number code
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.
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
listselectsubscriptionId, resourceGroupName, resourceNameList all available skus of the resource.

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
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
resourceNamestringThe name of the resource.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

List all available skus of the resource.

SELECT
name,
capacity,
family,
size,
tier
FROM azure.web_pubsub.skus
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND resourceName = '{{ resourceName }}' -- required
;