SqlServerKey Interface

Implements

public interface SqlServerKey
extends 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 and Description
abstract OffsetDateTime creationDate()

Gets the server key creation date.

abstract void delete()

Deletes the SQL Server Key.

abstract Mono<Void> deleteAsync()

Deletes the SQL Server Key asynchronously.

abstract String kind()

Gets the kind of encryption protector.

abstract String parentId()

Gets the parent SQL server ID.

abstract Region region()

Gets the resource location.

abstract ServerKeyType serverKeyType()

Gets the server key type.

abstract String sqlServerName()

Gets the name of the SQL Server to which this DNS alias belongs.

abstract String thumbprint()

Gets the thumbprint of the server key.

abstract String uri()

Gets the URI of the server key.

Method Details

creationDate

public abstract OffsetDateTime creationDate()

Gets the server key creation date.

Returns:

the server key creation date

delete

public abstract void delete()

Deletes the SQL Server Key.

deleteAsync

public abstract Mono deleteAsync()

Deletes the SQL Server Key asynchronously.

Returns:

a representation of the deferred computation of this call

kind

public abstract String kind()

Gets the kind of encryption protector.

Returns:

the kind of encryption protector; this is metadata used for the Azure Portal experience

parentId

public abstract String parentId()

Gets the parent SQL server ID.

Returns:

the parent SQL server ID

region

public abstract Region region()

Gets the resource location.

Returns:

the resource location

serverKeyType

public abstract ServerKeyType serverKeyType()

Gets the server key type.

Returns:

the server key type

sqlServerName

public abstract 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

thumbprint

public abstract String thumbprint()

Gets the thumbprint of the server key.

Returns:

the thumbprint of the server key

uri

public abstract String uri()

Gets the URI of the server key.

Returns:

the URI of the server key

Applies to