import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { PollerLike , PollOperationState } from "@azure/core-lro" ; import { TriggerResource , TriggersListByFactoryOptionalParams , TriggerFilterParameters , TriggersQueryByFactoryOptionalParams , TriggersQueryByFactoryResponse , TriggersCreateOrUpdateOptionalParams , TriggersCreateOrUpdateResponse , TriggersGetOptionalParams , TriggersGetResponse , TriggersDeleteOptionalParams , TriggersSubscribeToEventsOptionalParams , TriggersSubscribeToEventsResponse , TriggersGetEventSubscriptionStatusOptionalParams , TriggersGetEventSubscriptionStatusResponse , TriggersUnsubscribeFromEventsOptionalParams , TriggersUnsubscribeFromEventsResponse , TriggersStartOptionalParams , TriggersStopOptionalParams } from "../models" ; /** Interface representing a Triggers. */ export interface Triggers { param resourceGroupName param factoryName param options listByFactory ( resourceGroupName , factoryName , options ? ) : PagedAsyncIterableIterator < TriggerResource > ; param resourceGroupName param factoryName param filterParameters param options queryByFactory ( resourceGroupName , factoryName , filterParameters , options ? ) : Promise < TriggersQueryByFactoryResponse > ; param resourceGroupName param factoryName param triggerName param trigger param options createOrUpdate ( resourceGroupName , factoryName , triggerName , trigger , options ? ) : Promise < TriggersCreateOrUpdateResponse > ; param resourceGroupName param factoryName param triggerName param options get ( resourceGroupName , factoryName , triggerName , options ? ) : Promise < TriggersGetResponse > ; param resourceGroupName param factoryName param triggerName param options delete ( resourceGroupName , factoryName , triggerName , options ? ) : Promise < void > ; param resourceGroupName param factoryName param triggerName param options beginSubscribeToEvents ( resourceGroupName , factoryName , triggerName , options ? ) : Promise < PollerLike < PollOperationState < TriggersSubscribeToEventsResponse > , TriggersSubscribeToEventsResponse > > ; param resourceGroupName param factoryName param triggerName param options beginSubscribeToEventsAndWait ( resourceGroupName , factoryName , triggerName , options ? ) : Promise < TriggersSubscribeToEventsResponse > ; param resourceGroupName param factoryName param triggerName param options getEventSubscriptionStatus ( resourceGroupName , factoryName , triggerName , options ? ) : Promise < TriggersGetEventSubscriptionStatusResponse > ; param resourceGroupName param factoryName param triggerName param options beginUnsubscribeFromEvents ( resourceGroupName , factoryName , triggerName , options ? ) : Promise < PollerLike < PollOperationState < TriggersUnsubscribeFromEventsResponse > , TriggersUnsubscribeFromEventsResponse > > ; param resourceGroupName param factoryName param triggerName param options beginUnsubscribeFromEventsAndWait ( resourceGroupName , factoryName , triggerName , options ? ) : Promise < TriggersUnsubscribeFromEventsResponse > ; param resourceGroupName param factoryName param triggerName param options beginStart ( resourceGroupName , factoryName , triggerName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param factoryName param triggerName param options beginStartAndWait ( resourceGroupName , factoryName , triggerName , options ? ) : Promise < void > ; param resourceGroupName param factoryName param triggerName param options beginStop ( resourceGroupName , factoryName , triggerName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param factoryName param triggerName param options beginStopAndWait ( resourceGroupName , factoryName , triggerName , options ? ) : Promise < void > ; }