import type { StorageManagementContext } from "../../api/storageManagementContext.js"; import type { ConnectorsTestExistingConnectionOptionalParams, ConnectorsListByStorageAccountOptionalParams, ConnectorsDeleteOptionalParams, ConnectorsUpdateOptionalParams, ConnectorsCreateOptionalParams, ConnectorsGetOptionalParams } from "../../api/connectors/options.js"; import type { Connector, ConnectorUpdate, TestExistingConnectionRequest, TestConnectionResponse } 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 Connectors operations. */ export interface ConnectorsOperations { /** * This method is used to verify that the connection to the backing data store works. * This API is designed to be used for monitoring and debugging purposes. From the caller’s perspective, * this method does the following: Calls List on the backing data store, attempting to list up to one blob/object/etc. * If the above succeeds, and if a blob/object/etc is found, calls Get on that object, attempting to download one byte. */ testExistingConnection: (resourceGroupName: string, accountName: string, connectorName: string, body: TestExistingConnectionRequest, options?: ConnectorsTestExistingConnectionOptionalParams) => PollerLike, TestConnectionResponse>; /** @deprecated use testExistingConnection instead */ beginTestExistingConnection: (resourceGroupName: string, accountName: string, connectorName: string, body: TestExistingConnectionRequest, options?: ConnectorsTestExistingConnectionOptionalParams) => Promise, TestConnectionResponse>>; /** @deprecated use testExistingConnection instead */ beginTestExistingConnectionAndWait: (resourceGroupName: string, accountName: string, connectorName: string, body: TestExistingConnectionRequest, options?: ConnectorsTestExistingConnectionOptionalParams) => Promise; /** List all Storage Connectors in a Storage Account. */ listByStorageAccount: (resourceGroupName: string, accountName: string, options?: ConnectorsListByStorageAccountOptionalParams) => PagedAsyncIterableIterator; /** Delete a Storage Connector. */ delete: (resourceGroupName: string, accountName: string, connectorName: string, options?: ConnectorsDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, accountName: string, connectorName: string, options?: ConnectorsDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, accountName: string, connectorName: string, options?: ConnectorsDeleteOptionalParams) => Promise; /** Update a Storage Connector. */ update: (resourceGroupName: string, accountName: string, connectorName: string, properties: ConnectorUpdate, options?: ConnectorsUpdateOptionalParams) => PollerLike, Connector>; /** @deprecated use update instead */ beginUpdate: (resourceGroupName: string, accountName: string, connectorName: string, properties: ConnectorUpdate, options?: ConnectorsUpdateOptionalParams) => Promise, Connector>>; /** @deprecated use update instead */ beginUpdateAndWait: (resourceGroupName: string, accountName: string, connectorName: string, properties: ConnectorUpdate, options?: ConnectorsUpdateOptionalParams) => Promise; /** Create a Storage Connector if it does not already exist; otherwise, error out. This API will not allow you to replace an already existing resource. */ create: (resourceGroupName: string, accountName: string, connectorName: string, resource: Connector, options?: ConnectorsCreateOptionalParams) => PollerLike, Connector>; /** @deprecated use create instead */ beginCreate: (resourceGroupName: string, accountName: string, connectorName: string, resource: Connector, options?: ConnectorsCreateOptionalParams) => Promise, Connector>>; /** @deprecated use create instead */ beginCreateAndWait: (resourceGroupName: string, accountName: string, connectorName: string, resource: Connector, options?: ConnectorsCreateOptionalParams) => Promise; /** Get the specified Storage Connector. */ get: (resourceGroupName: string, accountName: string, connectorName: string, options?: ConnectorsGetOptionalParams) => Promise; } export declare function _getConnectorsOperations(context: StorageManagementContext): ConnectorsOperations; //# sourceMappingURL=index.d.ts.map