Skip to content

Latest commit

 

History

History

azure_sql_serviceobjectives

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@datafire/azure_sql_serviceobjectives

Client library for Azure SQL Database

Installation and Usage

npm install --save @datafire/azure_sql_serviceobjectives
let azure_sql_serviceobjectives = require('@datafire/azure_sql_serviceobjectives').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Provides create, read, update and delete functionality for Azure SQL Database resources including servers, databases, elastic pools, recommendations, operations, and usage metrics.

Actions

ServiceObjectives_ListByServer

Returns database service objectives.

azure_sql_serviceobjectives.ServiceObjectives_ListByServer({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required string: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    • serverName required string: The name of the server.

Output

ServiceObjectives_Get

Gets a database service objective.

azure_sql_serviceobjectives.ServiceObjectives_Get({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "serviceObjectiveName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • resourceGroupName required string: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    • serverName required string: The name of the server.
    • serviceObjectiveName required string: The name of the service objective to retrieve.

Output

Definitions

ServiceObjective

  • ServiceObjective object: Represents a database service objective.

ServiceObjectiveListResult

  • ServiceObjectiveListResult object: Represents the response to a get database service objectives request.
    • value required array: The list of database service objectives.

ServiceObjectiveProperties

  • ServiceObjectiveProperties object: Represents the properties of a database service objective.
    • description string: The description for the service level objective.
    • enabled boolean: Gets whether the service level objective is enabled.
    • isDefault boolean: Gets whether the service level objective is the default service objective.
    • isSystem boolean: Gets whether the service level objective is a system service objective.
    • serviceObjectiveName string: The name for the service objective.