Interface TriggerResource
-
public interface TriggerResourceAn immutable client-side representation of TriggerResource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceTriggerResource.DefinitionThe entirety of the TriggerResource definition.static interfaceTriggerResource.DefinitionStagesThe TriggerResource definition stages.static interfaceTriggerResource.UpdateThe template for TriggerResource update.static interfaceTriggerResource.UpdateStagesThe TriggerResource update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringetag()Gets the etag property: Etag identifies change in the resource.TriggerSubscriptionOperationStatusgetEventSubscriptionStatus()Get a trigger's event subscription status.com.azure.core.http.rest.Response<TriggerSubscriptionOperationStatus>getEventSubscriptionStatusWithResponse(com.azure.core.util.Context context)Get a trigger's event subscription status.Stringid()Gets the id property: Fully qualified resource Id for the resource.TriggerResourceInnerinnerModel()Gets the inner com.azure.resourcemanager.datafactory.fluent.models.TriggerResourceInner object.Stringname()Gets the name property: The resource name.Triggerproperties()Gets the properties property: Properties of the trigger.TriggerResourcerefresh()Refreshes the resource to sync with Azure.TriggerResourcerefresh(com.azure.core.util.Context context)Refreshes the resource to sync with Azure.voidstart()Starts a trigger.voidstart(com.azure.core.util.Context context)Starts a trigger.voidstop()Stops a trigger.voidstop(com.azure.core.util.Context context)Stops a trigger.TriggerSubscriptionOperationStatussubscribeToEvents()Subscribe event trigger to events.TriggerSubscriptionOperationStatussubscribeToEvents(com.azure.core.util.Context context)Subscribe event trigger to events.Stringtype()Gets the type property: The resource type.TriggerSubscriptionOperationStatusunsubscribeFromEvents()Unsubscribe event trigger from events.TriggerSubscriptionOperationStatusunsubscribeFromEvents(com.azure.core.util.Context context)Unsubscribe event trigger from events.TriggerResource.Updateupdate()Begins update for the TriggerResource resource.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
properties
Trigger properties()
Gets the properties property: Properties of the trigger.- Returns:
- the properties value.
-
name
String name()
Gets the name property: The resource name.- Returns:
- the name value.
-
type
String type()
Gets the type property: The resource type.- Returns:
- the type value.
-
etag
String etag()
Gets the etag property: Etag identifies change in the resource.- Returns:
- the etag value.
-
innerModel
TriggerResourceInner innerModel()
Gets the inner com.azure.resourcemanager.datafactory.fluent.models.TriggerResourceInner object.- Returns:
- the inner object.
-
update
TriggerResource.Update update()
Begins update for the TriggerResource resource.- Returns:
- the stage of resource update.
-
refresh
TriggerResource refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
TriggerResource refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context- The context to associate with this operation.- Returns:
- the refreshed resource.
-
subscribeToEvents
TriggerSubscriptionOperationStatus subscribeToEvents()
Subscribe event trigger to events.- Returns:
- defines the response of a trigger subscription operation.
- Throws:
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.
-
subscribeToEvents
TriggerSubscriptionOperationStatus subscribeToEvents(com.azure.core.util.Context context)
Subscribe event trigger to events.- Parameters:
context- The context to associate with this operation.- Returns:
- defines the response of a trigger subscription 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.
-
getEventSubscriptionStatus
TriggerSubscriptionOperationStatus getEventSubscriptionStatus()
Get a trigger's event subscription status.- Returns:
- a trigger's event subscription status.
- Throws:
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.
-
getEventSubscriptionStatusWithResponse
com.azure.core.http.rest.Response<TriggerSubscriptionOperationStatus> getEventSubscriptionStatusWithResponse(com.azure.core.util.Context context)
Get a trigger's event subscription status.- Parameters:
context- The context to associate with this operation.- Returns:
- a trigger's event subscription status.
- 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.
-
unsubscribeFromEvents
TriggerSubscriptionOperationStatus unsubscribeFromEvents()
Unsubscribe event trigger from events.- Returns:
- defines the response of a trigger subscription operation.
- Throws:
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.
-
unsubscribeFromEvents
TriggerSubscriptionOperationStatus unsubscribeFromEvents(com.azure.core.util.Context context)
Unsubscribe event trigger from events.- Parameters:
context- The context to associate with this operation.- Returns:
- defines the response of a trigger subscription 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.
-
start
void start()
Starts a trigger.- Throws:
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.
-
start
void start(com.azure.core.util.Context context)
Starts a trigger.- Parameters:
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.
-
stop
void stop()
Stops a trigger.- Throws:
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.
-
stop
void stop(com.azure.core.util.Context context)
Stops a trigger.- Parameters:
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.
-
-