Partilhar via


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()
abstract void delete()

Deletes the SQL Server Key.

abstract Mono<Void> deleteAsync()

Deletes the SQL Server Key asynchronously.

abstract String kind()
abstract String parentId()
abstract Region region()
abstract ServerKeyType serverKeyType()
abstract String sqlServerName()
abstract String thumbprint()
abstract String uri()

Method Details

creationDate

public abstract OffsetDateTime creationDate()

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()

Returns:

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

parentId

public abstract String parentId()

Returns:

the parent SQL server ID

region

public abstract Region region()

Returns:

the resource location

serverKeyType

public abstract ServerKeyType serverKeyType()

Returns:

the server key type

sqlServerName

public abstract String sqlServerName()

Returns:

name of the SQL Server to which this DNS alias belongs

thumbprint

public abstract String thumbprint()

Returns:

the thumbprint of the server key

uri

public abstract String uri()

Returns:

the URI of the server key

Applies to