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

The following fields are returned by SELECT queries:

NameDatatypeDescription
propertiesobjectRepresents the properties of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, serverName, serviceObjectiveNameGets a database service objective.
list_by_serverselectsubscriptionId, resourceGroupName, serverNameReturns database service objectives.

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
resourceGroupNamestringThe name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
serverNamestringThe name of the server.
serviceObjectiveNamestringThe name of the service objective to retrieve.
subscriptionIdstringThe subscription ID that identifies an Azure subscription.

SELECT examples

Gets a database service objective.

SELECT
properties
FROM azure.sql.service_objectives
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND serverName = '{{ serverName }}' -- required
AND serviceObjectiveName = '{{ serviceObjectiveName }}' -- required
;