Client library for NetworkManagementClient
npm install --save @datafire/azure_network_checkdnsavailability
let azure_network_checkdnsavailability = require('@datafire/azure_network_checkdnsavailability').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.
Checks whether a domain name in the cloudapp.azure.com zone is available for use.
azure_network_checkdnsavailability.CheckDnsNameAvailability({
"location": "",
"domainNameLabel": "",
"api-version": "",
"subscriptionId": ""
}, context)
- input
object
- location required
string
: The location of the domain name. - domainNameLabel required
string
: The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. - api-version required
string
: Client API version. - subscriptionId required
string
: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
- location required
- output DnsNameAvailabilityResult
- DnsNameAvailabilityResult
object
: Response for the CheckDnsNameAvailability API service call.- available
boolean
: Domain availability (True/False).
- available