SqlFirewallRule Interface

Implements

public interface SqlFirewallRule
extends ExternalChildResource<SqlFirewallRule,SqlServer>, HasInnerModel<FirewallRuleInner>, HasResourceGroup, Refreshable<SqlFirewallRule>, Updatable<Update>

An immutable client-side representation of an Azure SQL Server Firewall Rule.

Method Summary

Modifier and Type Method and Description
abstract void delete()

Deletes the firewall rule.

abstract Mono<Void> deleteAsync()

Deletes the firewall rule asynchronously.

abstract String endIpAddress()

Gets the end Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.

abstract String kind()

Gets the kind of SQL Server that contains this Firewall Rule.

abstract String parentId()

Gets the parent SQL server ID.

abstract Region region()

Gets the region of SQL Server that contains this Firewall Rule.

abstract String sqlServerName()

Gets the name of the SQL Server to which this Firewall Rule belongs.

abstract String startIpAddress()

Gets the start Ip address (in Ipv4 format) of the Azure SQL Server Firewall Rule.

Method Details

delete

public abstract void delete()

Deletes the firewall rule.

deleteAsync

public abstract Mono deleteAsync()

Deletes the firewall rule asynchronously.

Returns:

a representation of the deferred computation of this call

endIpAddress

public abstract 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

public abstract String kind()

Gets the kind of SQL Server that contains this Firewall Rule.

Returns:

kind of SQL Server that contains this Firewall Rule.

parentId

public abstract String parentId()

Gets the parent SQL server ID.

Returns:

the parent SQL server ID

region

public abstract Region region()

Gets the region of SQL Server that contains this Firewall Rule.

Returns:

region of SQL Server that contains this Firewall Rule.

sqlServerName

public abstract 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

public abstract 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.

Applies to