共用方式為


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()

Gets the parent SQL server ID.

abstract String sqlServerName()

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

abstract String state()

Gets the Azure SQL Server Virtual Network Rule state.

abstract String subnetId()

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

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()

Gets the parent SQL server ID.

Returns:

the parent SQL server ID

sqlServerName

public abstract String sqlServerName()

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

Returns:

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

state

public abstract String state()

Gets the Azure SQL Server Virtual Network Rule state.

Returns:

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

subnetId

public abstract String subnetId()

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

Returns:

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

Applies to