Interface SqlVirtualNetworkRule
- All Superinterfaces:
ChildResource<SqlServer>, ExternalChildResource<SqlVirtualNetworkRule, SqlServer>, HasInnerModel<VirtualNetworkRuleInner>, HasName, HasParent<SqlServer>, HasResourceGroup, Indexable, Refreshable<SqlVirtualNetworkRule>, Updatable<SqlVirtualNetworkRule.Update>
public interface SqlVirtualNetworkRule
extends ExternalChildResource<SqlVirtualNetworkRule, SqlServer>, HasInnerModel<VirtualNetworkRuleInner>, HasResourceGroup, Refreshable<SqlVirtualNetworkRule>, Updatable<SqlVirtualNetworkRule.Update>
An immutable client-side representation of an Azure SQL Server Virtual Network Rule.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceGrouping of all the SQL Virtual Network Rule definition stages.static interfaceContainer interface for all the definitions that need to be implemented.static interfaceThe template for a SQL Virtual Network Rule update operation, containing all the settings that can be modified.static interfaceGrouping of all the SQL Virtual Network Rule update stages. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Deletes the virtual network rule.Deletes the virtual network rule asynchronously.parentId()Gets the parent SQL server ID.Gets name of the SQL Server to which this Virtual Network Rule belongs.state()Gets the Azure SQL Server Virtual Network Rule state.subnetId()Gets the subnet ID of the Azure SQL Server Virtual Network Rule.Methods inherited from interface ExternalChildResource
idMethods inherited from interface HasInnerModel
innerModelMethods inherited from interface HasResourceGroup
resourceGroupNameMethods inherited from interface Refreshable
refresh, refreshAsync
-
Method Details
-
sqlServerName
String sqlServerName()Gets name of the SQL Server to which this Virtual Network Rule belongs.- Returns:
- name of the SQL Server to which this Virtual Network Rule belongs
-
subnetId
String subnetId()Gets the subnet ID of the Azure SQL Server Virtual Network Rule.- Returns:
- the subnet ID of the Azure SQL Server Virtual Network Rule.
-
state
String state()Gets the Azure SQL Server Virtual Network Rule state.- Returns:
- the Azure SQL Server Virtual Network Rule state; possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown'
-
parentId
-
delete
void delete()Deletes the virtual network rule. -
deleteAsync
-