Client library for SqlManagementClient
npm install --save @datafire/azure_sql_virtualnetworkrules
let azure_sql_virtualnetworkrules = require('@datafire/azure_sql_virtualnetworkrules').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities.
Gets a list of virtual network rules in a server.
azure_sql_virtualnetworkrules.VirtualNetworkRules_ListByServer({
"resourceGroupName": "",
"serverName": "",
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- 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. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - api-version required
string
: The API version to use for the request.
- resourceGroupName required
- output VirtualNetworkRuleListResult
Deletes the virtual network rule with the given name.
azure_sql_virtualnetworkrules.VirtualNetworkRules_Delete({
"resourceGroupName": "",
"serverName": "",
"virtualNetworkRuleName": "",
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- 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. - virtualNetworkRuleName required
string
: The name of the virtual network rule. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - api-version required
string
: The API version to use for the request.
- resourceGroupName required
Output schema unknown
Gets a virtual network rule.
azure_sql_virtualnetworkrules.VirtualNetworkRules_Get({
"resourceGroupName": "",
"serverName": "",
"virtualNetworkRuleName": "",
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- 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. - virtualNetworkRuleName required
string
: The name of the virtual network rule. - subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - api-version required
string
: The API version to use for the request.
- resourceGroupName required
- output VirtualNetworkRule
Creates or updates an existing virtual network rule.
azure_sql_virtualnetworkrules.VirtualNetworkRules_CreateOrUpdate({
"resourceGroupName": "",
"serverName": "",
"virtualNetworkRuleName": "",
"parameters": {},
"subscriptionId": "",
"api-version": ""
}, context)
- input
object
- 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. - virtualNetworkRuleName required
string
: The name of the virtual network rule. - parameters required VirtualNetworkRule
- subscriptionId required
string
: The subscription ID that identifies an Azure subscription. - api-version required
string
: The API version to use for the request.
- resourceGroupName required
- output VirtualNetworkRule
- VirtualNetworkRule
object
: A virtual network rule.- properties VirtualNetworkRuleProperties
- id
string
: Resource ID. - name
string
: Resource name. - type
string
: Resource type.
- VirtualNetworkRuleListResult
object
: A list of virtual network rules.- nextLink
string
: Link to retrieve next page of results. - value
array
: Array of results.- items VirtualNetworkRule
- nextLink
- VirtualNetworkRuleProperties
object
: Properties of a virtual network rule.- ignoreMissingVnetServiceEndpoint
boolean
: Create firewall rule before the virtual network has vnet service endpoint enabled. - state
string
(values: Initializing, InProgress, Ready, Deleting, Unknown): Virtual Network Rule State - virtualNetworkSubnetId required
string
: The ARM resource id of the virtual network subnet.
- ignoreMissingVnetServiceEndpoint