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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceGrouping of all the SQL Virtual Network Rule definition stages.static interfaceContainer interface for all the definitions that need to be implemented.static interfaceThe template for a SQL Virtual Network Rule update operation, containing all the settings that can be modified.static interfaceGrouping of all the SQL Virtual Network Rule update stages. -
Method Summary
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.ExternalChildResource
idMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
innerMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasParent
parentMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
keyMethods 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
-