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.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static 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

    Modifier and Type
    Method
    Description
    void
    Deletes the virtual network rule.
    Deletes the virtual network rule asynchronously.
    Gets the parent SQL server ID.
    Gets name of the SQL Server to which this Virtual Network Rule belongs.
    Gets the Azure SQL Server Virtual Network Rule state.
    Gets the subnet ID of the Azure SQL Server Virtual Network Rule.

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.ExternalChildResource

    id

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel

    innerModel

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName

    name

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent

    parent

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup

    resourceGroupName

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Indexable

    key

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable

    refresh, refreshAsync

    Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable

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