Share via


Web Pub Sub - List Skus

List all available skus of the resource.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}/skus?api-version=2024-03-01

URI Parameters

Name In Required Type Description
resourceGroupName
path True

string

minLength: 1
maxLength: 90

The name of the resource group. The name is case insensitive.

resourceName
path True

string

minLength: 3
maxLength: 63
pattern: ^[a-zA-Z][a-zA-Z0-9-]{1,61}[a-zA-Z0-9]$

The name of the resource.

subscriptionId
path True

string (uuid)

The ID of the target subscription. The value must be an UUID.

api-version
query True

string

minLength: 1

The API version to use for this operation.

Responses

Name Type Description
200 OK

SkuList

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

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

WebPubSub_ListSkus

Sample request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.SignalRService/webPubSub/myWebPubSubService/skus?api-version=2024-03-01

Sample response

{
  "value": [
    {
      "resourceType": "Microsoft.SignalRService/WebPubSub",
      "sku": {
        "name": "Free_F1",
        "tier": "Free"
      },
      "capacity": {
        "minimum": 0,
        "maximum": 1,
        "default": 1,
        "allowedValues": [
          1
        ],
        "scaleType": "Manual"
      }
    },
    {
      "resourceType": "Microsoft.SignalRService/WebPubSub",
      "sku": {
        "name": "Standard_S1",
        "tier": "Standard"
      },
      "capacity": {
        "minimum": 0,
        "maximum": 100,
        "default": 1,
        "allowedValues": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          20,
          30,
          40,
          50,
          60,
          70,
          80,
          90,
          100
        ],
        "scaleType": "Manual"
      }
    },
    {
      "resourceType": "Microsoft.SignalRService/WebPubSub/replicas",
      "sku": {
        "name": "Premium_P1",
        "tier": "Standard"
      },
      "capacity": {
        "minimum": 0,
        "maximum": 100,
        "default": 1,
        "allowedValues": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          20,
          30,
          40,
          50,
          60,
          70,
          80,
          90,
          100
        ],
        "scaleType": "Automatic"
      }
    }
  ]
}

Definitions

Name Description
ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response

ResourceSku

The billing information of the resource.

ScaleType

The scale type applicable to the sku.

Sku

Describes an available sku."

SkuCapacity

Describes scaling information of a sku.

SkuList

The list skus operation response

WebPubSubSkuTier

Optional tier of this particular SKU. 'Standard' or 'Free'.

Basic is deprecated, use Standard instead.

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.

ResourceSku

The billing information of the resource.

Name Type Description
capacity

integer (int32)

Optional, integer. The unit count of the resource. 1 for Free_F1/Standard_S1/Premium_P1, 100 for Premium_P2 by default.

If present, following values are allowed: Free_F1: 1; Standard_S1: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; Premium_P1: 1,2,3,4,5,6,7,8,9,10,20,30,40,50,60,70,80,90,100; Premium_P2: 100,200,300,400,500,600,700,800,900,1000;

family

string

Not used. Retained for future use.

name

string

The name of the SKU. Required.

Allowed values: Standard_S1, Free_F1, Premium_P1, Premium_P2

size

string

Not used. Retained for future use.

tier

WebPubSubSkuTier

Optional tier of this particular SKU. 'Standard' or 'Free'.

Basic is deprecated, use Standard instead.

ScaleType

The scale type applicable to the sku.

Value Description
None
Manual
Automatic

Sku

Describes an available sku."

Name Type Description
capacity

SkuCapacity

Describes scaling information of a sku.

resourceType

string

The resource type that this object applies to

sku

ResourceSku

The billing information of the resource.

SkuCapacity

Describes scaling information of a sku.

Name Type Description
allowedValues

integer[] (int32)

Allows capacity value list.

default

integer (int32)

The default capacity.

maximum

integer (int32)

The highest permitted capacity for this resource

minimum

integer (int32)

The lowest permitted capacity for this resource

scaleType

ScaleType

The scale type applicable to the sku.

SkuList

The list skus operation response

Name Type Description
nextLink

string

The URL the client should use to fetch the next page (per server side paging). It's null for now, added for future use.

value

Sku[]

The list of skus available for the resource.

WebPubSubSkuTier

Optional tier of this particular SKU. 'Standard' or 'Free'.

Basic is deprecated, use Standard instead.

Value Description
Free
Basic
Standard
Premium