import type { ContainerRegistryManagementContext } from "../../api/containerRegistryManagementContext.js"; import type { WebhooksGetCallbackConfigOptionalParams, WebhooksListEventsOptionalParams, WebhooksPingOptionalParams, WebhooksListOptionalParams, WebhooksDeleteOptionalParams, WebhooksUpdateOptionalParams, WebhooksCreateOptionalParams, WebhooksGetOptionalParams } from "../../api/webhooks/options.js"; import type { Webhook, WebhookCreateParameters, WebhookUpdateParameters, EventInfo, Event, CallbackConfig } 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 Webhooks operations. */ export interface WebhooksOperations { /** Gets the configuration of service URI and custom headers for the webhook. */ getCallbackConfig: (resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksGetCallbackConfigOptionalParams) => Promise; /** Lists recent events for the specified webhook. */ listEvents: (resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksListEventsOptionalParams) => PagedAsyncIterableIterator; /** Triggers a ping event to be sent to the webhook. */ ping: (resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksPingOptionalParams) => Promise; /** Lists all the webhooks for the specified container registry. */ list: (resourceGroupName: string, registryName: string, options?: WebhooksListOptionalParams) => PagedAsyncIterableIterator; /** 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. */ delete: (resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksDeleteOptionalParams) => PollerLike, void>; /** @deprecated use delete instead */ beginDelete: (resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksDeleteOptionalParams) => Promise, void>>; /** @deprecated use delete instead */ beginDeleteAndWait: (resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksDeleteOptionalParams) => Promise; /** Updates a webhook with the specified parameters. */ update: (resourceGroupName: string, registryName: string, webhookName: string, webhookUpdateParameters: WebhookUpdateParameters, options?: WebhooksUpdateOptionalParams) => PollerLike, Webhook>; /** @deprecated use update instead */ beginUpdate: (resourceGroupName: string, registryName: string, webhookName: string, webhookUpdateParameters: WebhookUpdateParameters, options?: WebhooksUpdateOptionalParams) => Promise, Webhook>>; /** @deprecated use update instead */ beginUpdateAndWait: (resourceGroupName: string, registryName: string, webhookName: string, webhookUpdateParameters: WebhookUpdateParameters, options?: WebhooksUpdateOptionalParams) => Promise; /** Creates a webhook for a container registry with the specified parameters. */ create: (resourceGroupName: string, registryName: string, webhookName: string, webhookCreateParameters: WebhookCreateParameters, options?: WebhooksCreateOptionalParams) => PollerLike, Webhook>; /** @deprecated use create instead */ beginCreate: (resourceGroupName: string, registryName: string, webhookName: string, webhookCreateParameters: WebhookCreateParameters, options?: WebhooksCreateOptionalParams) => Promise, Webhook>>; /** @deprecated use create instead */ beginCreateAndWait: (resourceGroupName: string, registryName: string, webhookName: string, webhookCreateParameters: WebhookCreateParameters, options?: WebhooksCreateOptionalParams) => Promise; /** Gets the properties of the specified webhook. */ get: (resourceGroupName: string, registryName: string, webhookName: string, options?: WebhooksGetOptionalParams) => Promise; } export declare function _getWebhooksOperations(context: ContainerRegistryManagementContext): WebhooksOperations; //# sourceMappingURL=index.d.ts.map