Partager via


SqlVirtualNetworkRule Interface

Implements

public interface SqlVirtualNetworkRule
extends ExternalChildResource<SqlVirtualNetworkRule,SqlServer>, HasInnerModel<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 Mono<Void> deleteAsync()

Deletes the virtual network rule asynchronously.

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

Method Details

delete

public abstract void delete()

Deletes the virtual network rule.

deleteAsync

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