import type { SqlManagementContext } from "../../api/sqlManagementContext.js"; import type { ServerTrustGroupsListByInstanceOptionalParams, ServerTrustGroupsListByLocationOptionalParams, ServerTrustGroupsDeleteOptionalParams, ServerTrustGroupsCreateOrUpdateOptionalParams, ServerTrustGroupsGetOptionalParams } from "../../api/serverTrustGroups/options.js"; import type { ServerTrustGroup } 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 ServerTrustGroups operations. */ export interface ServerTrustGroupsOperations { /** Gets a server trust groups by instance name. */ listByInstance: (resourceGroupName: string, managedInstanceName: string, options?: ServerTrustGroupsListByInstanceOptionalParams) => PagedAsyncIterableIterator; /** Lists a server trust group. */ listByLocation: (resourceGroupName: string, locationName: string, options?: ServerTrustGroupsListByLocationOptionalParams) => PagedAsyncIterableIterator; /** Deletes a server trust group. */ delete: (resourceGroupName: string, locationName: string, serverTrustGroupName: string, options?: ServerTrustGroupsDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, locationName: string, serverTrustGroupName: string, options?: ServerTrustGroupsDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, locationName: string, serverTrustGroupName: string, options?: ServerTrustGroupsDeleteOptionalParams) => Promise; /** Creates or updates a server trust group. */ createOrUpdate: (resourceGroupName: string, locationName: string, serverTrustGroupName: string, parameters: ServerTrustGroup, options?: ServerTrustGroupsCreateOrUpdateOptionalParams) => PollerLike, ServerTrustGroup>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdate: (resourceGroupName: string, locationName: string, serverTrustGroupName: string, parameters: ServerTrustGroup, options?: ServerTrustGroupsCreateOrUpdateOptionalParams) => Promise, ServerTrustGroup>>; /** @deprecated use createOrUpdate instead */ beginCreateOrUpdateAndWait: (resourceGroupName: string, locationName: string, serverTrustGroupName: string, parameters: ServerTrustGroup, options?: ServerTrustGroupsCreateOrUpdateOptionalParams) => Promise; /** Gets a server trust group. */ get: (resourceGroupName: string, locationName: string, serverTrustGroupName: string, options?: ServerTrustGroupsGetOptionalParams) => Promise; } export declare function _getServerTrustGroupsOperations(context: SqlManagementContext): ServerTrustGroupsOperations; //# sourceMappingURL=index.d.ts.map