SqlVirtualNetworkRule Interface

public interface SqlVirtualNetworkRule extends ExternalChildResource<SqlVirtualNetworkRule, SqlServer>,HasInner,HasResourceGroup,Refreshable,Updatable<SqlVirtualNetworkRule.Update>

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

Method Summary

Modifier and Type Method and Description
void delete()

Deletes the virtual network rule.

Completable deleteAsync()

Deletes the virtual network rule asynchronously.

String parentId()
String sqlServerName()
String state()
String subnetId()

Inherited Members

Method Details

delete

public void delete()

Deletes the virtual network rule.

deleteAsync

public Completable deleteAsync()

Deletes the virtual network rule asynchronously.

Returns:

a representation of the deferred computation of this call

parentId

public String parentId()

Returns:

the parent SQL server ID

sqlServerName

public String sqlServerName()

Returns:

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

state

public String state()

Returns:

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

subnetId

public String subnetId()

Returns:

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

Applies to