Interface TriggerResource


public interface TriggerResource
An immutable client-side representation of TriggerResource.
  • Method Details

    • 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.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      TriggerResourceInner innerModel()
      Gets the inner com.azure.resourcemanager.datafactory.fluent.models.TriggerResourceInner object.
      Returns:
      the inner object.
    • 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

      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.
    • 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 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.
    • 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.
    • 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.