import type { SqlManagementContext as Client } from "../index.js"; import type { ServerTrustCertificate, _ServerTrustCertificatesListResult } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { ServerTrustCertificatesListByInstanceOptionalParams, ServerTrustCertificatesDeleteOptionalParams, ServerTrustCertificatesCreateOrUpdateOptionalParams, ServerTrustCertificatesGetOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; import type { PollerLike, OperationState } from "@azure/core-lro"; export declare function _listByInstanceSend(context: Client, resourceGroupName: string, managedInstanceName: string, options?: ServerTrustCertificatesListByInstanceOptionalParams): StreamableMethod; export declare function _listByInstanceDeserialize(result: PathUncheckedResponse): Promise<_ServerTrustCertificatesListResult>; /** Gets a list of the server trust certificates used to secure communication between SQL Server and the specified SQL Managed Instance */ export declare function listByInstance(context: Client, resourceGroupName: string, managedInstanceName: string, options?: ServerTrustCertificatesListByInstanceOptionalParams): PagedAsyncIterableIterator; export declare function _$deleteSend(context: Client, resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesDeleteOptionalParams): StreamableMethod; export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise; /** Deletes a server trust certificate that was uploaded from SQL Server to SQL Managed Instance. */ export declare function $delete(context: Client, resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesDeleteOptionalParams): PollerLike, void>; export declare function _createOrUpdateSend(context: Client, resourceGroupName: string, managedInstanceName: string, certificateName: string, parameters: ServerTrustCertificate, options?: ServerTrustCertificatesCreateOrUpdateOptionalParams): StreamableMethod; export declare function _createOrUpdateDeserialize(result: PathUncheckedResponse): Promise; /** Uploads a server trust certificate from SQL Server to SQL Managed Instance. */ export declare function createOrUpdate(context: Client, resourceGroupName: string, managedInstanceName: string, certificateName: string, parameters: ServerTrustCertificate, options?: ServerTrustCertificatesCreateOrUpdateOptionalParams): PollerLike, ServerTrustCertificate>; export declare function _getSend(context: Client, resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Gets a server trust certificate that was uploaded from SQL Server to SQL Managed Instance. */ export declare function get(context: Client, resourceGroupName: string, managedInstanceName: string, certificateName: string, options?: ServerTrustCertificatesGetOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map