Share via


MockableSqlArmClient.GetSqlServerVirtualNetworkRuleResource Method

Definition

Gets an object representing a SqlServerVirtualNetworkRuleResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String) to create a SqlServerVirtualNetworkRuleResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Sql.SqlServerVirtualNetworkRuleResource GetSqlServerVirtualNetworkRuleResource (Azure.Core.ResourceIdentifier id);
abstract member GetSqlServerVirtualNetworkRuleResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Sql.SqlServerVirtualNetworkRuleResource
override this.GetSqlServerVirtualNetworkRuleResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Sql.SqlServerVirtualNetworkRuleResource
Public Overridable Function GetSqlServerVirtualNetworkRuleResource (id As ResourceIdentifier) As SqlServerVirtualNetworkRuleResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a SqlServerVirtualNetworkRuleResource object.

Applies to