public final class TriggerAsyncClient extends Object
Modifier and Type | Method and Description |
---|---|
Mono<TriggerResource> |
createOrUpdateTrigger(String triggerName,
TriggerResource trigger)
Creates or updates a trigger.
|
Mono<TriggerResource> |
createOrUpdateTrigger(String triggerName,
TriggerResource trigger,
String ifMatch)
Creates or updates a trigger.
|
Mono<com.azure.core.http.rest.Response<TriggerResource>> |
createOrUpdateTriggerWithResponse(String triggerName,
TriggerResource trigger,
String ifMatch)
Creates or updates a trigger.
|
Mono<Void> |
deleteTrigger(String triggerName)
Deletes a trigger.
|
Mono<com.azure.core.http.rest.Response<Void>> |
deleteTriggerWithResponse(String triggerName)
Deletes a trigger.
|
Mono<TriggerSubscriptionOperationStatus> |
getEventSubscriptionStatus(String triggerName)
Get a trigger's event subscription status.
|
Mono<com.azure.core.http.rest.Response<TriggerSubscriptionOperationStatus>> |
getEventSubscriptionStatusWithResponse(String triggerName)
Get a trigger's event subscription status.
|
Mono<TriggerResource> |
getTrigger(String triggerName)
Gets a trigger.
|
Mono<TriggerResource> |
getTrigger(String triggerName,
String ifNoneMatch)
Gets a trigger.
|
com.azure.core.http.rest.PagedFlux<TriggerResource> |
getTriggersByWorkspace()
Lists triggers.
|
Mono<com.azure.core.http.rest.PagedResponse<TriggerResource>> |
getTriggersByWorkspaceNextSinglePage(String nextLink)
Get the next page of items.
|
Mono<com.azure.core.http.rest.PagedResponse<TriggerResource>> |
getTriggersByWorkspaceSinglePage()
Lists triggers.
|
Mono<com.azure.core.http.rest.Response<TriggerResource>> |
getTriggerWithResponse(String triggerName,
String ifNoneMatch)
Gets a trigger.
|
Mono<Void> |
startTrigger(String triggerName)
Starts a trigger.
|
Mono<com.azure.core.http.rest.Response<Void>> |
startTriggerWithResponse(String triggerName)
Starts a trigger.
|
Mono<Void> |
stopTrigger(String triggerName)
Stops a trigger.
|
Mono<com.azure.core.http.rest.Response<Void>> |
stopTriggerWithResponse(String triggerName)
Stops a trigger.
|
Mono<TriggerSubscriptionOperationStatus> |
subscribeTriggerToEvents(String triggerName)
Subscribe event trigger to events.
|
Mono<com.azure.core.http.rest.Response<TriggerSubscriptionOperationStatus>> |
subscribeTriggerToEventsWithResponse(String triggerName)
Subscribe event trigger to events.
|
Mono<TriggerSubscriptionOperationStatus> |
unsubscribeTriggerFromEvents(String triggerName)
Unsubscribe event trigger from events.
|
Mono<com.azure.core.http.rest.Response<TriggerSubscriptionOperationStatus>> |
unsubscribeTriggerFromEventsWithResponse(String triggerName)
Unsubscribe event trigger from events.
|
public Mono<com.azure.core.http.rest.PagedResponse<TriggerResource>> getTriggersByWorkspaceSinglePage()
CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public com.azure.core.http.rest.PagedFlux<TriggerResource> getTriggersByWorkspace()
CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<TriggerResource>> createOrUpdateTriggerWithResponse(String triggerName, TriggerResource trigger, String ifMatch)
triggerName
- The trigger name.trigger
- Trigger resource definition.ifMatch
- ETag of the trigger entity. Should only be specified for update, for which it should match
existing entity or can be * for unconditional update.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<TriggerResource> createOrUpdateTrigger(String triggerName, TriggerResource trigger, String ifMatch)
triggerName
- The trigger name.trigger
- Trigger resource definition.ifMatch
- ETag of the trigger entity. Should only be specified for update, for which it should match
existing entity or can be * for unconditional update.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<TriggerResource> createOrUpdateTrigger(String triggerName, TriggerResource trigger)
triggerName
- The trigger name.trigger
- Trigger resource definition.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<TriggerResource>> getTriggerWithResponse(String triggerName, String ifNoneMatch)
triggerName
- The trigger name.ifNoneMatch
- ETag of the trigger entity. Should only be specified for get. If the ETag matches the existing
entity tag, or if * was provided, then no content will be returned.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<TriggerResource> getTrigger(String triggerName, String ifNoneMatch)
triggerName
- The trigger name.ifNoneMatch
- ETag of the trigger entity. Should only be specified for get. If the ETag matches the existing
entity tag, or if * was provided, then no content will be returned.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<TriggerResource> getTrigger(String triggerName)
triggerName
- The trigger name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Void>> deleteTriggerWithResponse(String triggerName)
triggerName
- The trigger name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Void> deleteTrigger(String triggerName)
triggerName
- The trigger name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<TriggerSubscriptionOperationStatus>> subscribeTriggerToEventsWithResponse(String triggerName)
triggerName
- The trigger name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<TriggerSubscriptionOperationStatus> subscribeTriggerToEvents(String triggerName)
triggerName
- The trigger name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<TriggerSubscriptionOperationStatus>> getEventSubscriptionStatusWithResponse(String triggerName)
triggerName
- The trigger name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<TriggerSubscriptionOperationStatus> getEventSubscriptionStatus(String triggerName)
triggerName
- The trigger name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<TriggerSubscriptionOperationStatus>> unsubscribeTriggerFromEventsWithResponse(String triggerName)
triggerName
- The trigger name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<TriggerSubscriptionOperationStatus> unsubscribeTriggerFromEvents(String triggerName)
triggerName
- The trigger name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Void>> startTriggerWithResponse(String triggerName)
triggerName
- The trigger name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Void> startTrigger(String triggerName)
triggerName
- The trigger name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.Response<Void>> stopTriggerWithResponse(String triggerName)
triggerName
- The trigger name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<Void> stopTrigger(String triggerName)
triggerName
- The trigger name.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.public Mono<com.azure.core.http.rest.PagedResponse<TriggerResource>> getTriggersByWorkspaceNextSinglePage(String nextLink)
nextLink
- The nextLink parameter.IllegalArgumentException
- thrown if parameters fail the validation.CloudErrorException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.