Interface SqlVirtualNetworkRule
- All Superinterfaces:
ChildResource<SqlServer>
,ExternalChildResource<SqlVirtualNetworkRule,
,SqlServer> HasInner<com.microsoft.azure.management.sql.implementation.VirtualNetworkRuleInner>
,HasName
,HasParent<SqlServer>
,HasResourceGroup
,Indexable
,Refreshable<SqlVirtualNetworkRule>
,Updatable<SqlVirtualNetworkRule.Update>
@Beta(V1_8_0)
public interface SqlVirtualNetworkRule
extends ExternalChildResource<SqlVirtualNetworkRule,SqlServer>, HasInner<com.microsoft.azure.management.sql.implementation.VirtualNetworkRuleInner>, HasResourceGroup, Refreshable<SqlVirtualNetworkRule>, Updatable<SqlVirtualNetworkRule.Update>
An immutable client-side representation of an Azure SQL Server Virtual Network Rule.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Grouping of all the SQL Virtual Network Rule definition stages.static interface
Container interface for all the definitions that need to be implemented.static interface
The template for a SQL Virtual Network Rule update operation, containing all the settings that can be modified.static interface
Grouping of all the SQL Virtual Network Rule update stages. -
Method Summary
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.ExternalChildResource
id
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
name
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasParent
parent
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
sqlServerName
String sqlServerName()- Returns:
- name of the SQL Server to which this Virtual Network Rule belongs
-
subnetId
String subnetId()- Returns:
- the subnet ID of the Azure SQL Server Virtual Network Rule.
-
state
String state()- Returns:
- the Azure SQL Server Virtual Network Rule state; possible values include: 'Initializing', 'InProgress', 'Ready', 'Deleting', 'Unknown'
-
parentId
String parentId()- Returns:
- the parent SQL server ID
-
delete
void delete()Deletes the virtual network rule. -
deleteAsync
rx.Completable deleteAsync()Deletes the virtual network rule asynchronously.- Returns:
- a representation of the deferred computation of this call
-