Skip to main content

available_service_tiers

Creates, updates, deletes, gets or lists an available_service_tiers resource.

Overview

Nameavailable_service_tiers
TypeResource
Idazure.log_analytics.available_service_tiers

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
capacityReservationLevelintegerThe capacity reservation level in GB per day. Returned for the Capacity Reservation Service Tier.
defaultRetentionintegerThe default retention for the Service Tier, in days.
enabledbooleanTrue if the Service Tier is enabled for the workspace.
lastSkuUpdatestringTime when the sku was last updated for the workspace. Returned for the Capacity Reservation Service Tier.
maximumRetentionintegerThe maximum retention for the Service Tier, in days.
minimumRetentionintegerThe minimum retention for the Service Tier, in days.
serviceTierstringThe 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:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_workspaceselectresource_group_name, workspace_name, subscription_idGets 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.

NameDatatypeDescription
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
workspace_namestringThe name of the workspace. Required.

SELECT examples

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
;