import type { ContainerRegistryManagementContext as Client } from "../index.js"; import type { Webhook, WebhookCreateParameters, WebhookUpdateParameters, _WebhookListResult, EventInfo, _EventListResult, Event, CallbackConfig } from "../../models/models.js"; import type { PagedAsyncIterableIterator } from "../../static-helpers/pagingHelpers.js"; import type { WebhooksGetCallbackConfigOptionalParams, WebhooksListEventsOptionalParams, WebhooksPingOptionalParams, WebhooksListOptionalParams, WebhooksDeleteOptionalParams, WebhooksUpdateOptionalParams, WebhooksCreateOptionalParams, WebhooksGetOptionalParams } from "./options.js"; import type { StreamableMethod, PathUncheckedResponse } from "@azure-rest/core-client"; import type { PollerLike, OperationState } from "@azure/core-lro"; export declare function _getCallbackConfigSend(context: Client, resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksGetCallbackConfigOptionalParams): StreamableMethod; export declare function _getCallbackConfigDeserialize(result: PathUncheckedResponse): Promise; /** Gets the configuration of service URI and custom headers for the webhook. */ export declare function getCallbackConfig(context: Client, resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksGetCallbackConfigOptionalParams): Promise; export declare function _listEventsSend(context: Client, resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksListEventsOptionalParams): StreamableMethod; export declare function _listEventsDeserialize(result: PathUncheckedResponse): Promise<_EventListResult>; /** Lists recent events for the specified webhook. */ export declare function listEvents(context: Client, resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksListEventsOptionalParams): PagedAsyncIterableIterator; export declare function _pingSend(context: Client, resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksPingOptionalParams): StreamableMethod; export declare function _pingDeserialize(result: PathUncheckedResponse): Promise; /** Triggers a ping event to be sent to the webhook. */ export declare function ping(context: Client, resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksPingOptionalParams): Promise; export declare function _listSend(context: Client, resourceGroupName: string, registryName: string, options?: WebhooksListOptionalParams): StreamableMethod; export declare function _listDeserialize(result: PathUncheckedResponse): Promise<_WebhookListResult>; /** Lists all the webhooks for the specified container registry. */ export declare function list(context: Client, resourceGroupName: string, registryName: string, options?: WebhooksListOptionalParams): PagedAsyncIterableIterator; export declare function _$deleteSend(context: Client, resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksDeleteOptionalParams): StreamableMethod; export declare function _$deleteDeserialize(result: PathUncheckedResponse): Promise; /** Deletes a webhook from a container registry. */ /** * @fixme delete is a reserved word that cannot be used as an operation name. * Please add @clientName("clientName") or @clientName("", "javascript") * to the operation to override the generated name. */ export declare function $delete(context: Client, resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksDeleteOptionalParams): PollerLike, void>; export declare function _updateSend(context: Client, resourceGroupName: string, registryName: string, webhookName: string, webhookUpdateParameters: WebhookUpdateParameters, options?: WebhooksUpdateOptionalParams): StreamableMethod; export declare function _updateDeserialize(result: PathUncheckedResponse): Promise; /** Updates a webhook with the specified parameters. */ export declare function update(context: Client, resourceGroupName: string, registryName: string, webhookName: string, webhookUpdateParameters: WebhookUpdateParameters, options?: WebhooksUpdateOptionalParams): PollerLike, Webhook>; export declare function _createSend(context: Client, resourceGroupName: string, registryName: string, webhookName: string, webhookCreateParameters: WebhookCreateParameters, options?: WebhooksCreateOptionalParams): StreamableMethod; export declare function _createDeserialize(result: PathUncheckedResponse): Promise; /** Creates a webhook for a container registry with the specified parameters. */ export declare function create(context: Client, resourceGroupName: string, registryName: string, webhookName: string, webhookCreateParameters: WebhookCreateParameters, options?: WebhooksCreateOptionalParams): PollerLike, Webhook>; export declare function _getSend(context: Client, resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksGetOptionalParams): StreamableMethod; export declare function _getDeserialize(result: PathUncheckedResponse): Promise; /** Gets the properties of the specified webhook. */ export declare function get(context: Client, resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksGetOptionalParams): Promise; //# sourceMappingURL=operations.d.ts.map