OutboundFirewallRules interface
Interface representing a OutboundFirewallRules.
Methods
begin |
Create a outbound firewall rule with a given name. |
begin |
Create a outbound firewall rule with a given name. |
begin |
Deletes a outbound firewall rule with a given name. |
begin |
Deletes a outbound firewall rule with a given name. |
get(string, string, string, Outbound |
Gets an outbound firewall rule. |
list |
Gets all outbound firewall rules on a server. |
Method Details
beginCreateOrUpdate(string, string, string, OutboundFirewallRule, OutboundFirewallRulesCreateOrUpdateOptionalParams)
Create a outbound firewall rule with a given name.
function beginCreateOrUpdate(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, parameters: OutboundFirewallRule, options?: OutboundFirewallRulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<OutboundFirewallRule>, OutboundFirewallRule>>
Parameters
- resourceGroupName
-
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
-
string
The name of the server.
- outboundRuleFqdn
-
string
- parameters
- OutboundFirewallRule
An Azure SQL DB Server Outbound Firewall Rule.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<OutboundFirewallRule>, OutboundFirewallRule>>
beginCreateOrUpdateAndWait(string, string, string, OutboundFirewallRule, OutboundFirewallRulesCreateOrUpdateOptionalParams)
Create a outbound firewall rule with a given name.
function beginCreateOrUpdateAndWait(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, parameters: OutboundFirewallRule, options?: OutboundFirewallRulesCreateOrUpdateOptionalParams): Promise<OutboundFirewallRule>
Parameters
- resourceGroupName
-
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
-
string
The name of the server.
- outboundRuleFqdn
-
string
- parameters
- OutboundFirewallRule
An Azure SQL DB Server Outbound Firewall Rule.
The options parameters.
Returns
Promise<OutboundFirewallRule>
beginDelete(string, string, string, OutboundFirewallRulesDeleteOptionalParams)
Deletes a outbound firewall rule with a given name.
function beginDelete(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, options?: OutboundFirewallRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
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
-
string
The name of the server.
- outboundRuleFqdn
-
string
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, OutboundFirewallRulesDeleteOptionalParams)
Deletes a outbound firewall rule with a given name.
function beginDeleteAndWait(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, options?: OutboundFirewallRulesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
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
-
string
The name of the server.
- outboundRuleFqdn
-
string
The options parameters.
Returns
Promise<void>
get(string, string, string, OutboundFirewallRulesGetOptionalParams)
Gets an outbound firewall rule.
function get(resourceGroupName: string, serverName: string, outboundRuleFqdn: string, options?: OutboundFirewallRulesGetOptionalParams): Promise<OutboundFirewallRule>
Parameters
- resourceGroupName
-
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
-
string
The name of the server.
- outboundRuleFqdn
-
string
The options parameters.
Returns
Promise<OutboundFirewallRule>
listByServer(string, string, OutboundFirewallRulesListByServerOptionalParams)
Gets all outbound firewall rules on a server.
function listByServer(resourceGroupName: string, serverName: string, options?: OutboundFirewallRulesListByServerOptionalParams): PagedAsyncIterableIterator<OutboundFirewallRule, OutboundFirewallRule[], PageSettings>
Parameters
- resourceGroupName
-
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
-
string
The name of the server.
The options parameters.