Interface SqlFirewallRule
- All Superinterfaces:
ChildResource<SqlServer>,ExternalChildResource<SqlFirewallRule,,SqlServer> HasInnerModel<FirewallRuleInner>,HasName,HasParent<SqlServer>,HasResourceGroup,Indexable,Refreshable<SqlFirewallRule>,Updatable<SqlFirewallRule.Update>
public interface SqlFirewallRule
extends ExternalChildResource<SqlFirewallRule,SqlServer>, HasInnerModel<FirewallRuleInner>, HasResourceGroup, Refreshable<SqlFirewallRule>, Updatable<SqlFirewallRule.Update>
An immutable client-side representation of an Azure SQL Server Firewall Rule.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceGrouping of all the SQL Firewall Rule definition stages.static interfaceContainer interface for all the definitions that need to be implemented.static interfaceThe template for a SQL Firewall Rule update operation, containing all the settings that can be modified.static interfaceGrouping of all the SQL Firewall Rule update stages. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Deletes the firewall rule.Deletes the firewall rule asynchronously.Gets the end Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.kind()Gets the kind of SQL Server that contains this Firewall Rule.parentId()Gets the parent SQL server ID.com.azure.core.management.Regionregion()Gets the region of SQL Server that contains this Firewall Rule.Gets the name of the SQL Server to which this Firewall Rule belongs.Gets the start Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource
idMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent
parentMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
sqlServerName
String sqlServerName()Gets the name of the SQL Server to which this Firewall Rule belongs.- Returns:
- name of the SQL Server to which this Firewall Rule belongs
-
startIpAddress
String startIpAddress()Gets the start Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.- Returns:
- the start Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.
-
endIpAddress
String endIpAddress()Gets the end Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.- Returns:
- the end Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.
-
kind
String kind()Gets the kind of SQL Server that contains this Firewall Rule.- Returns:
- kind of SQL Server that contains this Firewall Rule.
-
region
com.azure.core.management.Region region()Gets the region of SQL Server that contains this Firewall Rule.- Returns:
- region of SQL Server that contains this Firewall Rule.
-
parentId
String parentId()Gets the parent SQL server ID.- Returns:
- the parent SQL server ID
-
delete
void delete()Deletes the firewall rule. -
deleteAsync
Deletes the firewall rule asynchronously.- Returns:
- a representation of the deferred computation of this call
-