Available Service Tiers - List By Workspace
Gets the available service tiers for the workspace.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/availableServiceTiers?api-version=2023-09-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string |
The ID of the target subscription. |
workspace
|
path | True |
string |
The name of the workspace. Regex pattern: |
api-version
|
query | True |
string |
The API version to use for this operation. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK response definition. |
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
AvailableServiceTiers
Sample request
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-00000000000/resourcegroups/rg1/providers/Microsoft.OperationalInsights/workspaces/workspace1/availableServiceTiers?api-version=2023-09-01
Sample response
[
{
"serviceTier": "PerNode",
"enabled": true,
"minimumRetention": 7,
"maximumRetention": 30,
"defaultRetention": 7
},
{
"serviceTier": "CapacityReservation",
"enabled": true,
"minimumRetention": 30,
"maximumRetention": 300,
"defaultRetention": 30,
"capacityReservationLevel": 200,
"lastSkuUpdate": "2020-02-04T08:55:03.871Z"
}
]
Definitions
Name | Description |
---|---|
Available |
Service Tier details. |
Sku |
The name of the Service Tier. |
AvailableServiceTier
Service Tier details.
Name | Type | Description |
---|---|---|
capacityReservationLevel |
integer |
The capacity reservation level in GB per day. Returned for the Capacity Reservation Service Tier. |
defaultRetention |
integer |
The default retention for the Service Tier, in days. |
enabled |
boolean |
True if the Service Tier is enabled for the workspace. |
lastSkuUpdate |
string |
Time when the sku was last updated for the workspace. Returned for the Capacity Reservation Service Tier. |
maximumRetention |
integer |
The maximum retention for the Service Tier, in days. |
minimumRetention |
integer |
The minimum retention for the Service Tier, in days. |
serviceTier |
The name of the Service Tier. |
SkuNameEnum
The name of the Service Tier.
Name | Type | Description |
---|---|---|
CapacityReservation |
string |
|
Free |
string |
|
PerGB2018 |
string |
|
PerNode |
string |
|
Premium |
string |
|
Standalone |
string |
|
Standard |
string |