Interface SqlServerKey

All Superinterfaces:
HasId, HasInnerModel<ServerKeyInner>, HasName, HasResourceGroup, Indexable, Refreshable<SqlServerKey>

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

    Modifier and Type
    Method
    Description
    Gets the server key creation date.
    void
    Deletes the SQL Server Key.
    Deletes the SQL Server Key asynchronously.
    Gets the kind of encryption protector.
    Gets the parent SQL server ID.
    com.azure.core.management.Region
    Gets the resource location.
    Gets the server key type.
    Gets the name of the SQL Server to which this DNS alias belongs.
    Gets the thumbprint of the server key.
    uri()
    Gets the URI of the server key.

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

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

      String kind()
      Gets the kind of encryption protector.
      Returns:
      the kind of encryption protector; this is metadata used for the Azure Portal experience
    • region

      com.azure.core.management.Region region()
      Gets the resource location.
      Returns:
      the resource location
    • serverKeyType

      ServerKeyType serverKeyType()
      Gets the server key type.
      Returns:
      the server key type
    • uri

      String uri()
      Gets the URI of the server key.
      Returns:
      the URI of the server key
    • thumbprint

      String thumbprint()
      Gets the thumbprint of the server key.
      Returns:
      the thumbprint of the server key
    • creationDate

      OffsetDateTime creationDate()
      Gets the server key creation date.
      Returns:
      the server key creation date
    • delete

      void delete()
      Deletes the SQL Server Key.
    • deleteAsync

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