SqlVirtualNetworkRule Interface

Implements

ExternalChildResource<SqlVirtualNetworkRule,SqlServer> HasResourceGroup HasInner<com.microsoft.azure.management.sql.implementation.VirtualNetworkRuleInner> Refreshable<SqlVirtualNetworkRule> Updatable<Update>

public interface SqlVirtualNetworkRule
extends ExternalChildResource<SqlVirtualNetworkRule,SqlServer>, HasInner<com.microsoft.azure.management.sql.implementation.VirtualNetworkRuleInner>, HasResourceGroup, Refreshable<SqlVirtualNetworkRule>, Updatable<Update>

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

Method Summary

Modifier and Type Method and Description
abstract void delete()

Deletes the virtual network rule.

abstract rx.Completable deleteAsync()

Deletes the virtual network rule asynchronously.

abstract java.lang.String parentId()
abstract java.lang.String sqlServerName()
abstract java.lang.String state()
abstract java.lang.String subnetId()

Method Details

delete

public abstract void delete()

Deletes the virtual network rule.

deleteAsync

public abstract Completable deleteAsync()

Deletes the virtual network rule asynchronously.

Returns:

a representation of the deferred computation of this call

parentId

public abstract String parentId()

Returns:

the parent SQL server ID

sqlServerName

public abstract String sqlServerName()

Returns:

name of the SQL Server to which this Virtual Network Rule belongs

state

public abstract String state()

Returns:

the Azure SQL Server Virtual Network Rule state; possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown'

subnetId

public abstract String subnetId()

Returns:

the subnet ID of the Azure SQL Server Virtual Network Rule.

Applies to