Udostępnij za pośrednictwem


AnalyticsSynapseArtifactsModelFactory.BlobEventsTrigger Method

Definition

Initializes a new instance of BlobEventsTrigger.

public static Azure.Analytics.Synapse.Artifacts.Models.BlobEventsTrigger BlobEventsTrigger (string description = default, Azure.Analytics.Synapse.Artifacts.Models.TriggerRuntimeState? runtimeState = default, System.Collections.Generic.IEnumerable<object> annotations = default, System.Collections.Generic.IDictionary<string,object> additionalProperties = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Synapse.Artifacts.Models.TriggerPipelineReference> pipelines = default, string blobPathBeginsWith = default, string blobPathEndsWith = default, bool? ignoreEmptyBlobs = default, System.Collections.Generic.IEnumerable<Azure.Analytics.Synapse.Artifacts.Models.BlobEventType> events = default, string scope = default);
static member BlobEventsTrigger : string * Nullable<Azure.Analytics.Synapse.Artifacts.Models.TriggerRuntimeState> * seq<obj> * System.Collections.Generic.IDictionary<string, obj> * seq<Azure.Analytics.Synapse.Artifacts.Models.TriggerPipelineReference> * string * string * Nullable<bool> * seq<Azure.Analytics.Synapse.Artifacts.Models.BlobEventType> * string -> Azure.Analytics.Synapse.Artifacts.Models.BlobEventsTrigger
Public Shared Function BlobEventsTrigger (Optional description As String = Nothing, Optional runtimeState As Nullable(Of TriggerRuntimeState) = Nothing, Optional annotations As IEnumerable(Of Object) = Nothing, Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional pipelines As IEnumerable(Of TriggerPipelineReference) = Nothing, Optional blobPathBeginsWith As String = Nothing, Optional blobPathEndsWith As String = Nothing, Optional ignoreEmptyBlobs As Nullable(Of Boolean) = Nothing, Optional events As IEnumerable(Of BlobEventType) = Nothing, Optional scope As String = Nothing) As BlobEventsTrigger

Parameters

description
String

Trigger description.

runtimeState
Nullable<TriggerRuntimeState>

Indicates if trigger is running or not. Updated when Start/Stop APIs are called on the Trigger.

annotations
IEnumerable<Object>

List of tags that can be used for describing the trigger.

additionalProperties
IDictionary<String,Object>

Additional Properties.

pipelines
IEnumerable<TriggerPipelineReference>

Pipelines that need to be started.

blobPathBeginsWith
String

The blob path must begin with the pattern provided for trigger to fire. For example, '/records/blobs/december/' will only fire the trigger for blobs in the december folder under the records container. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.

blobPathEndsWith
String

The blob path must end with the pattern provided for trigger to fire. For example, 'december/boxes.csv' will only fire the trigger for blobs named boxes in a december folder. At least one of these must be provided: blobPathBeginsWith, blobPathEndsWith.

ignoreEmptyBlobs
Nullable<Boolean>

If set to true, blobs with zero bytes will be ignored.

events
IEnumerable<BlobEventType>

The type of events that cause this trigger to fire.

scope
String

The ARM resource ID of the Storage Account.

Returns

A new BlobEventsTrigger instance for mocking.

Applies to