com.azure.resourcemanager.sql.models.SqlServerKey Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-sql Show documentation
Show all versions of azure-resourcemanager-sql Show documentation
This package contains Microsoft Azure Sql Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.sql.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.management.Region;
import com.azure.resourcemanager.resources.fluentcore.arm.models.HasId;
import com.azure.resourcemanager.resources.fluentcore.arm.models.HasName;
import com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup;
import com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel;
import com.azure.resourcemanager.resources.fluentcore.model.Indexable;
import com.azure.resourcemanager.resources.fluentcore.model.Refreshable;
import com.azure.resourcemanager.sql.fluent.models.ServerKeyInner;
import reactor.core.publisher.Mono;
import java.time.OffsetDateTime;
/** An immutable client-side representation of an Azure SQL Server Key. */
@Fluent
public interface SqlServerKey
extends HasId,
HasInnerModel,
HasName,
HasResourceGroup,
Indexable,
Refreshable {
/** @return name of the SQL Server to which this DNS alias belongs */
String sqlServerName();
/** @return the parent SQL server ID */
String parentId();
/** @return the kind of encryption protector; this is metadata used for the Azure Portal experience */
String kind();
/** @return the resource location */
Region region();
/** @return the server key type */
ServerKeyType serverKeyType();
/** @return the URI of the server key */
String uri();
/** @return the thumbprint of the server key */
String thumbprint();
/** @return the server key creation date */
OffsetDateTime creationDate();
/** Deletes the SQL Server Key. */
void delete();
/**
* Deletes the SQL Server Key asynchronously.
*
* @return a representation of the deferred computation of this call
*/
Mono deleteAsync();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy