Interface SqlVirtualNetworkRule.DefinitionStages.WithSubnet<ParentT>
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
SqlVirtualNetworkRule.DefinitionStages.Blank<ParentT>, SqlVirtualNetworkRule.SqlVirtualNetworkRuleDefinition<ParentT>
- Enclosing interface:
SqlVirtualNetworkRule.DefinitionStages
public static interface SqlVirtualNetworkRule.DefinitionStages.WithSubnet<ParentT>
The SQL Virtual Network Rule definition to set the virtual network ID and the subnet name.
-
Method Summary
Modifier and TypeMethodDescriptionwithSubnet(String networkId, String subnetName) Sets the virtual network ID and the subnet name for the SQL server Virtual Network Rule.
-
Method Details
-
withSubnet
SqlVirtualNetworkRule.DefinitionStages.WithServiceEndpoint<ParentT> withSubnet(String networkId, String subnetName) Sets the virtual network ID and the subnet name for the SQL server Virtual Network Rule.- Parameters:
networkId- the virtual network ID to be usedsubnetName- the name of the subnet within the virtual network to be used- Returns:
- The next stage of the definition.
-