Interface SqlServerDnsAlias

All Superinterfaces:
HasId, HasInnerModel<ServerDnsAliasInner>, HasName, HasResourceGroup, Indexable, Refreshable<SqlServerDnsAlias>

An immutable client-side representation of an Azure SQL Server DNS alias.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the fully qualified DNS record for alias.
    void
    Deletes the DNS alias.
    Deletes the DNS alias asynchronously.
    Gets the parent SQL server ID.
    Gets the name of the SQL Server to which this DNS alias belongs.

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

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

    • sqlServerName

      String sqlServerName()
      Gets the name of the SQL Server to which this DNS alias belongs.
      Returns:
      name of the SQL Server to which this DNS alias belongs
    • azureDnsRecord

      String azureDnsRecord()
      Gets the fully qualified DNS record for alias.
      Returns:
      the fully qualified DNS record for alias
    • parentId

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

      void delete()
      Deletes the DNS alias.
    • deleteAsync

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