Interface SqlVirtualNetworkRule

All Superinterfaces:
ChildResource<SqlServer>, ExternalChildResource<SqlVirtualNetworkRule, SqlServer>, HasInnerModel<VirtualNetworkRuleInner>, HasName, HasParent<SqlServer>, HasResourceGroup, Indexable, Refreshable<SqlVirtualNetworkRule>, Updatable<SqlVirtualNetworkRule.Update>

An immutable client-side representation of an Azure SQL Server Virtual Network Rule.
  • Method Details

    • sqlServerName

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

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

      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'
    • parentId

      String parentId()
      Gets the parent SQL server ID.
      Returns:
      the parent SQL server ID
    • delete

      void delete()
      Deletes the virtual network rule.
    • deleteAsync

      Mono<Void> deleteAsync()
      Deletes the virtual network rule asynchronously.
      Returns:
      a representation of the deferred computation of this call