import type { SqlManagementContext } from "../../api/sqlManagementContext.js"; import type { ServerTrustCertificatesListByInstanceOptionalParams, ServerTrustCertificatesDeleteOptionalParams, ServerTrustCertificatesCreateOrUpdateOptionalParams, ServerTrustCertificatesGetOptionalParams } from "../../api/serverTrustCertificates/options.js"; import type { ServerTrustCertificate } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { SimplePollerLike } from "../../static-helpers/simplePollerHelpers.js"; import type { PollerLike, OperationState } from "@azure/core-lro"; /** Interface representing a ServerTrustCertificates operations. */ export interface ServerTrustCertificatesOperations { /** Gets a list of the server trust certificates used to secure communication between SQL Server and the specified SQL Managed Instance */ listByInstance: (resourceGroupName: string, managedInstanceName: string, options?: ServerTrustCertificatesListByInstanceOptionalParams) => PagedAsyncIterableIterator; /** Deletes a server trust certificate that was uploaded from SQL Server to SQL Managed Instance. */ delete: (resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesDeleteOptionalParams) => Promise; /** Uploads a server trust certificate from SQL Server to SQL Managed Instance. */ createOrUpdate: (resourceGroupName: string, managedInstanceName: string, certificateName: string, parameters: ServerTrustCertificate, options?: ServerTrustCertificatesCreateOrUpdateOptionalParams) => PollerLike, ServerTrustCertificate>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdate: (resourceGroupName: string, managedInstanceName: string, certificateName: string, parameters: ServerTrustCertificate, options?: ServerTrustCertificatesCreateOrUpdateOptionalParams) => Promise, ServerTrustCertificate>>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdateAndWait: (resourceGroupName: string, managedInstanceName: string, certificateName: string, parameters: ServerTrustCertificate, options?: ServerTrustCertificatesCreateOrUpdateOptionalParams) => Promise; /** Gets a server trust certificate that was uploaded from SQL Server to SQL Managed Instance. */ get: (resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesGetOptionalParams) => Promise; } export declare function _getServerTrustCertificatesOperations(context: SqlManagementContext): ServerTrustCertificatesOperations; //# sourceMappingURL=index.d.ts.map