Interface SqlServerKey
- All Superinterfaces:
HasId, HasInnerModel<ServerKeyInner>, HasName, HasResourceGroup, Indexable, Refreshable<SqlServerKey>
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 TypeMethodDescriptionGets the server key creation date.voiddelete()Deletes the SQL Server Key.Deletes the SQL Server Key asynchronously.kind()Gets the kind of encryption protector.parentId()Gets the parent SQL server ID.com.azure.core.management.Regionregion()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 HasInnerModel
innerModelMethods inherited from interface HasResourceGroup
resourceGroupNameMethods inherited from interface 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
-
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
-
uri
-
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
-