available_service_tiers
Creates, updates, deletes, gets or lists an available_service_tiers resource.
Overview
| Name | available_service_tiers |
| Type | Resource |
| Id | azure.log_analytics.available_service_tiers |
Fields
The following fields are returned by SELECT queries:
- list_by_workspace
| Name | Datatype | 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 | string | The name of the Service Tier. Known values are: "Free", "Standard", "Premium", "PerNode", "PerGB2018", "Standalone", and "CapacityReservation". (Free, Standard, Premium, PerNode, PerGB2018, Standalone, CapacityReservation) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_workspace | select | resource_group_name, workspace_name, subscription_id | Gets the available service tiers for the workspace. |
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.
| Name | Datatype | Description |
|---|---|---|
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
workspace_name | string | The name of the workspace. Required. |
SELECT examples
- list_by_workspace
Gets the available service tiers for the workspace.
SELECT
capacityReservationLevel,
defaultRetention,
enabled,
lastSkuUpdate,
maximumRetention,
minimumRetention,
serviceTier
FROM azure.log_analytics.available_service_tiers
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;