Share via


AzureSqlServerVirtualNetworkRuleAdapter.GetVirtualNetworkRule Method

Definition

Gets a virtual network rule in a server

public Microsoft.Azure.Commands.Sql.VirtualNetworkRule.Model.AzureSqlServerVirtualNetworkRuleModel GetVirtualNetworkRule (string resourceGroupName, string serverName, string vnetFirewallRuleName);
member this.GetVirtualNetworkRule : string * string * string -> Microsoft.Azure.Commands.Sql.VirtualNetworkRule.Model.AzureSqlServerVirtualNetworkRuleModel
Public Function GetVirtualNetworkRule (resourceGroupName As String, serverName As String, vnetFirewallRuleName As String) As AzureSqlServerVirtualNetworkRuleModel

Parameters

resourceGroupName
String

The name of the resource group

serverName
String

The name of the server

vnetFirewallRuleName
String

The virtual network rule name

Returns

The virtual network rule

Applies to