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 com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods 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
Deletes the SQL Server Key asynchronously.- Returns:
- a representation of the deferred computation of this call
-