Interface WorkflowTriggersClient
public interface WorkflowTriggersClient
An instance of this class provides access to all the operations defined in WorkflowTriggersClient.
-
Method Summary
Modifier and TypeMethodDescriptionRuns a workflow trigger.beginRun(String resourceGroupName, String name, String workflowName, String triggerName, com.azure.core.util.Context context) Runs a workflow trigger.beginRunAsync(String resourceGroupName, String name, String workflowName, String triggerName) Runs a workflow trigger.Gets a workflow trigger.Gets a workflow trigger.getSchemaJson(String resourceGroupName, String name, String workflowName, String triggerName) Get the trigger schema as JSON.getSchemaJsonAsync(String resourceGroupName, String name, String workflowName, String triggerName) Get the trigger schema as JSON.com.azure.core.http.rest.Response<JsonSchemaInner> getSchemaJsonWithResponse(String resourceGroupName, String name, String workflowName, String triggerName, com.azure.core.util.Context context) Get the trigger schema as JSON.Mono<com.azure.core.http.rest.Response<JsonSchemaInner>> getSchemaJsonWithResponseAsync(String resourceGroupName, String name, String workflowName, String triggerName) Get the trigger schema as JSON.com.azure.core.http.rest.Response<WorkflowTriggerInner> getWithResponse(String resourceGroupName, String name, String workflowName, String triggerName, com.azure.core.util.Context context) Gets a workflow trigger.Mono<com.azure.core.http.rest.Response<WorkflowTriggerInner>> getWithResponseAsync(String resourceGroupName, String name, String workflowName, String triggerName) Gets a workflow trigger.com.azure.core.http.rest.PagedIterable<WorkflowTriggerInner> Gets a list of workflow triggers.com.azure.core.http.rest.PagedIterable<WorkflowTriggerInner> list(String resourceGroupName, String name, String workflowName, Integer top, String filter, com.azure.core.util.Context context) Gets a list of workflow triggers.com.azure.core.http.rest.PagedFlux<WorkflowTriggerInner> Gets a list of workflow triggers.com.azure.core.http.rest.PagedFlux<WorkflowTriggerInner> Gets a list of workflow triggers.listCallbackUrl(String resourceGroupName, String name, String workflowName, String triggerName) Get the callback URL for a workflow trigger.listCallbackUrlAsync(String resourceGroupName, String name, String workflowName, String triggerName) Get the callback URL for a workflow trigger.com.azure.core.http.rest.Response<WorkflowTriggerCallbackUrlInner> listCallbackUrlWithResponse(String resourceGroupName, String name, String workflowName, String triggerName, com.azure.core.util.Context context) Get the callback URL for a workflow trigger.Mono<com.azure.core.http.rest.Response<WorkflowTriggerCallbackUrlInner>> listCallbackUrlWithResponseAsync(String resourceGroupName, String name, String workflowName, String triggerName) Get the callback URL for a workflow trigger.voidRuns a workflow trigger.voidrun(String resourceGroupName, String name, String workflowName, String triggerName, com.azure.core.util.Context context) Runs a workflow trigger.Runs a workflow trigger.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> runWithResponseAsync(String resourceGroupName, String name, String workflowName, String triggerName) Runs a workflow trigger.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<WorkflowTriggerInner> listAsync(String resourceGroupName, String name, String workflowName, Integer top, String filter) Gets a list of workflow triggers.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.top- The number of items to be included in the result.filter- The filter to apply on the operation.- Returns:
- a list of workflow triggers as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<WorkflowTriggerInner> listAsync(String resourceGroupName, String name, String workflowName) Gets a list of workflow triggers.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.- Returns:
- a list of workflow triggers as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<WorkflowTriggerInner> list(String resourceGroupName, String name, String workflowName) Gets a list of workflow triggers.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.- Returns:
- a list of workflow triggers as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<WorkflowTriggerInner> list(String resourceGroupName, String name, String workflowName, Integer top, String filter, com.azure.core.util.Context context) Gets a list of workflow triggers.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.top- The number of items to be included in the result.filter- The filter to apply on the operation.context- The context to associate with this operation.- Returns:
- a list of workflow triggers as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<WorkflowTriggerInner>> getWithResponseAsync(String resourceGroupName, String name, String workflowName, String triggerName) Gets a workflow trigger.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.- Returns:
- a workflow trigger along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<WorkflowTriggerInner> getAsync(String resourceGroupName, String name, String workflowName, String triggerName) Gets a workflow trigger.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.- Returns:
- a workflow trigger on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<WorkflowTriggerInner> getWithResponse(String resourceGroupName, String name, String workflowName, String triggerName, com.azure.core.util.Context context) Gets a workflow trigger.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.context- The context to associate with this operation.- Returns:
- a workflow trigger along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
WorkflowTriggerInner get(String resourceGroupName, String name, String workflowName, String triggerName) Gets a workflow trigger.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.- Returns:
- a workflow trigger.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listCallbackUrlWithResponseAsync
Mono<com.azure.core.http.rest.Response<WorkflowTriggerCallbackUrlInner>> listCallbackUrlWithResponseAsync(String resourceGroupName, String name, String workflowName, String triggerName) Get the callback URL for a workflow trigger.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.- Returns:
- the callback URL for a workflow trigger along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listCallbackUrlAsync
Mono<WorkflowTriggerCallbackUrlInner> listCallbackUrlAsync(String resourceGroupName, String name, String workflowName, String triggerName) Get the callback URL for a workflow trigger.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.- Returns:
- the callback URL for a workflow trigger on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listCallbackUrlWithResponse
com.azure.core.http.rest.Response<WorkflowTriggerCallbackUrlInner> listCallbackUrlWithResponse(String resourceGroupName, String name, String workflowName, String triggerName, com.azure.core.util.Context context) Get the callback URL for a workflow trigger.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.context- The context to associate with this operation.- Returns:
- the callback URL for a workflow trigger along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listCallbackUrl
WorkflowTriggerCallbackUrlInner listCallbackUrl(String resourceGroupName, String name, String workflowName, String triggerName) Get the callback URL for a workflow trigger.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.- Returns:
- the callback URL for a workflow trigger.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
runWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> runWithResponseAsync(String resourceGroupName, String name, String workflowName, String triggerName) Runs a workflow trigger.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRunAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginRunAsync(String resourceGroupName, String name, String workflowName, String triggerName) Runs a workflow trigger.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRun
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRun(String resourceGroupName, String name, String workflowName, String triggerName) Runs a workflow trigger.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginRun
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginRun(String resourceGroupName, String name, String workflowName, String triggerName, com.azure.core.util.Context context) Runs a workflow trigger.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
runAsync
Runs a workflow trigger.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
run
Runs a workflow trigger.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
run
void run(String resourceGroupName, String name, String workflowName, String triggerName, com.azure.core.util.Context context) Runs a workflow trigger.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getSchemaJsonWithResponseAsync
Mono<com.azure.core.http.rest.Response<JsonSchemaInner>> getSchemaJsonWithResponseAsync(String resourceGroupName, String name, String workflowName, String triggerName) Get the trigger schema as JSON.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.- Returns:
- the trigger schema as JSON along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getSchemaJsonAsync
Mono<JsonSchemaInner> getSchemaJsonAsync(String resourceGroupName, String name, String workflowName, String triggerName) Get the trigger schema as JSON.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.- Returns:
- the trigger schema as JSON on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getSchemaJsonWithResponse
com.azure.core.http.rest.Response<JsonSchemaInner> getSchemaJsonWithResponse(String resourceGroupName, String name, String workflowName, String triggerName, com.azure.core.util.Context context) Get the trigger schema as JSON.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.context- The context to associate with this operation.- Returns:
- the trigger schema as JSON along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getSchemaJson
JsonSchemaInner getSchemaJson(String resourceGroupName, String name, String workflowName, String triggerName) Get the trigger schema as JSON.- Parameters:
resourceGroupName- Name of the resource group to which the resource belongs.name- Site name.workflowName- The workflow name.triggerName- The workflow trigger name.- Returns:
- the trigger schema as JSON.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-