public interface TriggerResource
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TriggerResource.Definition
The entirety of the TriggerResource definition.
|
static interface |
TriggerResource.DefinitionStages
The TriggerResource definition stages.
|
static interface |
TriggerResource.Update
The template for TriggerResource update.
|
static interface |
TriggerResource.UpdateStages
The TriggerResource update stages.
|
| Modifier and Type | Method and Description |
|---|---|
String |
etag()
Gets the etag property: Etag identifies change in the resource.
|
TriggerSubscriptionOperationStatus |
getEventSubscriptionStatus()
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.
|
String |
id()
Gets the id property: Fully qualified resource Id for the resource.
|
TriggerResourceInner |
innerModel()
Gets the inner com.azure.resourcemanager.datafactory.fluent.models.TriggerResourceInner object.
|
String |
name()
Gets the name property: The resource name.
|
Trigger |
properties()
Gets the properties property: Properties of the trigger.
|
TriggerResource |
refresh()
Refreshes the resource to sync with Azure.
|
TriggerResource |
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.
|
void |
start()
Starts a trigger.
|
void |
start(com.azure.core.util.Context context)
Starts a trigger.
|
void |
stop()
Stops a trigger.
|
void |
stop(com.azure.core.util.Context context)
Stops a trigger.
|
TriggerSubscriptionOperationStatus |
subscribeToEvents()
Subscribe event trigger to events.
|
TriggerSubscriptionOperationStatus |
subscribeToEvents(com.azure.core.util.Context context)
Subscribe event trigger to events.
|
String |
type()
Gets the type property: The resource type.
|
TriggerSubscriptionOperationStatus |
unsubscribeFromEvents()
Unsubscribe event trigger from events.
|
TriggerSubscriptionOperationStatus |
unsubscribeFromEvents(com.azure.core.util.Context context)
Unsubscribe event trigger from events.
|
TriggerResource.Update |
update()
Begins update for the TriggerResource resource.
|
String id()
Trigger properties()
String name()
String type()
String etag()
TriggerResourceInner innerModel()
TriggerResource.Update update()
TriggerResource refresh()
TriggerResource refresh(com.azure.core.util.Context context)
context - The context to associate with this operation.TriggerSubscriptionOperationStatus subscribeToEvents()
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(com.azure.core.util.Context context)
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()
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(com.azure.core.util.Context context)
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()
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(com.azure.core.util.Context context)
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()
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(com.azure.core.util.Context context)
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()
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(com.azure.core.util.Context context)
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.Copyright © 2021 Microsoft Corporation. All rights reserved.