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.
  • 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