public interface Triggers
| Modifier and Type | Method and Description |
|---|---|
TriggerResource.DefinitionStages.Blank |
define(String name)
Begins definition for a new TriggerResource resource.
|
void |
delete(String resourceGroupName,
String factoryName,
String triggerName)
Deletes a trigger.
|
void |
deleteById(String id)
Deletes a trigger.
|
com.azure.core.http.rest.Response<Void> |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Deletes a trigger.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String factoryName,
String triggerName,
com.azure.core.util.Context context)
Deletes a trigger.
|
TriggerResource |
get(String resourceGroupName,
String factoryName,
String triggerName)
Gets a trigger.
|
TriggerResource |
getById(String id)
Gets a trigger.
|
com.azure.core.http.rest.Response<TriggerResource> |
getByIdWithResponse(String id,
String ifNoneMatch,
com.azure.core.util.Context context)
Gets a trigger.
|
TriggerSubscriptionOperationStatus |
getEventSubscriptionStatus(String resourceGroupName,
String factoryName,
String triggerName)
Get a trigger's event subscription status.
|
com.azure.core.http.rest.Response<TriggerSubscriptionOperationStatus> |
getEventSubscriptionStatusWithResponse(String resourceGroupName,
String factoryName,
String triggerName,
com.azure.core.util.Context context)
Get a trigger's event subscription status.
|
com.azure.core.http.rest.Response<TriggerResource> |
getWithResponse(String resourceGroupName,
String factoryName,
String triggerName,
String ifNoneMatch,
com.azure.core.util.Context context)
Gets a trigger.
|
com.azure.core.http.rest.PagedIterable<TriggerResource> |
listByFactory(String resourceGroupName,
String factoryName)
Lists triggers.
|
com.azure.core.http.rest.PagedIterable<TriggerResource> |
listByFactory(String resourceGroupName,
String factoryName,
com.azure.core.util.Context context)
Lists triggers.
|
TriggerQueryResponse |
queryByFactory(String resourceGroupName,
String factoryName,
TriggerFilterParameters filterParameters)
Query triggers.
|
com.azure.core.http.rest.Response<TriggerQueryResponse> |
queryByFactoryWithResponse(String resourceGroupName,
String factoryName,
TriggerFilterParameters filterParameters,
com.azure.core.util.Context context)
Query triggers.
|
void |
start(String resourceGroupName,
String factoryName,
String triggerName)
Starts a trigger.
|
void |
start(String resourceGroupName,
String factoryName,
String triggerName,
com.azure.core.util.Context context)
Starts a trigger.
|
void |
stop(String resourceGroupName,
String factoryName,
String triggerName)
Stops a trigger.
|
void |
stop(String resourceGroupName,
String factoryName,
String triggerName,
com.azure.core.util.Context context)
Stops a trigger.
|
TriggerSubscriptionOperationStatus |
subscribeToEvents(String resourceGroupName,
String factoryName,
String triggerName)
Subscribe event trigger to events.
|
TriggerSubscriptionOperationStatus |
subscribeToEvents(String resourceGroupName,
String factoryName,
String triggerName,
com.azure.core.util.Context context)
Subscribe event trigger to events.
|
TriggerSubscriptionOperationStatus |
unsubscribeFromEvents(String resourceGroupName,
String factoryName,
String triggerName)
Unsubscribe event trigger from events.
|
TriggerSubscriptionOperationStatus |
unsubscribeFromEvents(String resourceGroupName,
String factoryName,
String triggerName,
com.azure.core.util.Context context)
Unsubscribe event trigger from events.
|
com.azure.core.http.rest.PagedIterable<TriggerResource> listByFactory(String resourceGroupName, String factoryName)
resourceGroupName - The resource group name.factoryName - The factory name.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.com.azure.core.http.rest.PagedIterable<TriggerResource> listByFactory(String resourceGroupName, String factoryName, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.context - The context to associate with this operation.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.TriggerQueryResponse queryByFactory(String resourceGroupName, String factoryName, TriggerFilterParameters filterParameters)
resourceGroupName - The resource group name.factoryName - The factory name.filterParameters - Parameters to filter the triggers.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.com.azure.core.http.rest.Response<TriggerQueryResponse> queryByFactoryWithResponse(String resourceGroupName, String factoryName, TriggerFilterParameters filterParameters, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.filterParameters - Parameters to filter the triggers.context - The context to associate with this operation.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.TriggerResource get(String resourceGroupName, String factoryName, String triggerName)
resourceGroupName - The resource group name.factoryName - The factory name.triggerName - The trigger name.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.com.azure.core.http.rest.Response<TriggerResource> getWithResponse(String resourceGroupName, String factoryName, String triggerName, String ifNoneMatch, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.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.context - The context to associate with this operation.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.void delete(String resourceGroupName, String factoryName, String triggerName)
resourceGroupName - The resource group name.factoryName - The factory name.triggerName - The trigger name.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.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String factoryName, String triggerName, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.triggerName - The trigger name.context - The context to associate with this operation.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.TriggerSubscriptionOperationStatus subscribeToEvents(String resourceGroupName, String factoryName, String triggerName)
resourceGroupName - The resource group name.factoryName - The factory name.triggerName - The trigger name.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.TriggerSubscriptionOperationStatus subscribeToEvents(String resourceGroupName, String factoryName, String triggerName, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.triggerName - The trigger name.context - The context to associate with this operation.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.TriggerSubscriptionOperationStatus getEventSubscriptionStatus(String resourceGroupName, String factoryName, String triggerName)
resourceGroupName - The resource group name.factoryName - The factory name.triggerName - The trigger name.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.com.azure.core.http.rest.Response<TriggerSubscriptionOperationStatus> getEventSubscriptionStatusWithResponse(String resourceGroupName, String factoryName, String triggerName, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.triggerName - The trigger name.context - The context to associate with this operation.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.TriggerSubscriptionOperationStatus unsubscribeFromEvents(String resourceGroupName, String factoryName, String triggerName)
resourceGroupName - The resource group name.factoryName - The factory name.triggerName - The trigger name.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.TriggerSubscriptionOperationStatus unsubscribeFromEvents(String resourceGroupName, String factoryName, String triggerName, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.triggerName - The trigger name.context - The context to associate with this operation.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.void start(String resourceGroupName, String factoryName, String triggerName)
resourceGroupName - The resource group name.factoryName - The factory name.triggerName - The trigger name.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.void start(String resourceGroupName, String factoryName, String triggerName, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.triggerName - The trigger name.context - The context to associate with this operation.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.void stop(String resourceGroupName, String factoryName, String triggerName)
resourceGroupName - The resource group name.factoryName - The factory name.triggerName - The trigger name.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.void stop(String resourceGroupName, String factoryName, String triggerName, com.azure.core.util.Context context)
resourceGroupName - The resource group name.factoryName - The factory name.triggerName - The trigger name.context - The context to associate with this operation.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.TriggerResource getById(String id)
id - the resource ID.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.com.azure.core.http.rest.Response<TriggerResource> getByIdWithResponse(String id, String ifNoneMatch, com.azure.core.util.Context context)
id - the resource ID.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.context - The context to associate with this operation.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.void deleteById(String id)
id - the resource ID.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.com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id - the resource ID.context - The context to associate with this operation.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.TriggerResource.DefinitionStages.Blank define(String name)
name - resource name.Copyright © 2021 Microsoft Corporation. All rights reserved.