Interface SqlFirewallRule
- All Superinterfaces:
ChildResource<SqlServer>,ExternalChildResource<SqlFirewallRule,,SqlServer> HasInner<com.microsoft.azure.management.sql.implementation.FirewallRuleInner>,HasName,HasParent<SqlServer>,HasResourceGroup,Indexable,Refreshable<SqlFirewallRule>,Updatable<SqlFirewallRule.Update>
@Beta(V1_7_0)
public interface SqlFirewallRule
extends ExternalChildResource<SqlFirewallRule,SqlServer>, HasInner<com.microsoft.azure.management.sql.implementation.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
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.ExternalChildResource
idMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
innerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasParent
parentMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
keyMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
sqlServerName
String sqlServerName()- Returns:
- name of the SQL Server to which this Firewall Rule belongs
-
startIPAddress
String startIPAddress()- Returns:
- the start IP address (in IPv4 format) of the Azure SQL Server Firewall Rule.
-
endIPAddress
String endIPAddress()- Returns:
- the end IP address (in IPv4 format) of the Azure SQL Server Firewall Rule.
-
kind
String kind()- Returns:
- kind of SQL Server that contains this Firewall Rule.
-
region
Region region()- Returns:
- region of SQL Server that contains this Firewall Rule.
-
parentId
- Returns:
- the parent SQL server ID
-
delete
void delete()Deletes the firewall rule. -
deleteAsync
@Beta(V1_7_0) rx.Completable deleteAsync()Deletes the firewall rule asynchronously.- Returns:
- a representation of the deferred computation of this call
-