Skip to main content

service_objectives

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

Overview

Nameservice_objectives
TypeResource
Idazure.sql.service_objectives

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
enabledtextfield from the properties object
is_defaulttextfield from the properties object
is_systemtextfield from the properties object
resourceGroupNametextfield from the properties object
serverNametextfield from the properties object
serviceObjectiveNametextfield from the properties object
service_objective_nametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, serverName, serviceObjectiveName, subscriptionIdGets a database service objective.
list_by_serverSELECTresourceGroupName, serverName, subscriptionIdReturns database service objectives.

SELECT examples

Returns database service objectives.

SELECT
description,
enabled,
is_default,
is_system,
resourceGroupName,
serverName,
serviceObjectiveName,
service_objective_name,
subscriptionId
FROM azure.sql.vw_service_objectives
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serverName = '{{ serverName }}'
AND subscriptionId = '{{ subscriptionId }}';