Client library for Azure SQL Database
npm install --save @datafire/azure_sql_checknameavailability
let azure_sql_checknameavailability = require('@datafire/azure_sql_checknameavailability').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Provides create, read, update and delete functionality for Azure SQL Database resources including servers, databases, elastic pools, recommendations, and operations.
Determines whether a resource can be created with the specified name.
azure_sql_checknameavailability.Servers_CheckNameAvailability({
"api-version": "",
"subscriptionId": "",
"parameters": null
}, context)
- 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. - parameters required CheckNameAvailabilityRequest
- api-version required
- CheckNameAvailabilityRequest
object
: A request to check whether the specified name for a resource is available.- name required
string
: The name whose availability is to be checked. - type required
string
(values: Microsoft.Sql/servers): The type of resource that is used as the scope of the availability check.
- name required
- CheckNameAvailabilityResponse
object
: A response indicating whether the specified name for a resource is available.- available
boolean
: True if the name is available, otherwise false. - message
string
: A message explaining why the name is unavailable. Will be null if the name is available. - name
string
: The name whose availability was checked. - reason
string
(values: Invalid, AlreadyExists): The reason code explaining why the name is unavailable. Will be null if the name is available.
- available