IWithSubnet.WithSubnet(String, String) Method

Definition

Sets the virtual network ID and the subnet name for the SQL server Virtual Network Rule.

public Microsoft.Azure.Management.Sql.Fluent.SqlVirtualNetworkRuleOperations.Definition.IWithServiceEndpoint WithSubnet (string networkId, string subnetName);
abstract member WithSubnet : string * string -> Microsoft.Azure.Management.Sql.Fluent.SqlVirtualNetworkRuleOperations.Definition.IWithServiceEndpoint
Public Function WithSubnet (networkId As String, subnetName As String) As IWithServiceEndpoint

Parameters

networkId
String

The virtual network ID to be used.

subnetName
String

The name of the subnet within the virtual network to be used.

Returns

Applies to