Share via


CustomActivity Constructors

Definition

Overloads

CustomActivity()

Initializes a new instance of the CustomActivity class.

CustomActivity(String, Object, IDictionary<String,Object>, String, IList<ActivityDependency>, IList<UserProperty>, LinkedServiceReference, ActivityPolicy, LinkedServiceReference, Object, CustomActivityReferenceObject, IDictionary<String,Object>, Object, Object)

Initializes a new instance of the CustomActivity class.

CustomActivity()

Initializes a new instance of the CustomActivity class.

public CustomActivity ();
Public Sub New ()

Applies to

CustomActivity(String, Object, IDictionary<String,Object>, String, IList<ActivityDependency>, IList<UserProperty>, LinkedServiceReference, ActivityPolicy, LinkedServiceReference, Object, CustomActivityReferenceObject, IDictionary<String,Object>, Object, Object)

Initializes a new instance of the CustomActivity class.

public CustomActivity (string name, object command, System.Collections.Generic.IDictionary<string,object> additionalProperties = default, string description = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.ActivityDependency> dependsOn = default, System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.UserProperty> userProperties = default, Microsoft.Azure.Management.DataFactory.Models.LinkedServiceReference linkedServiceName = default, Microsoft.Azure.Management.DataFactory.Models.ActivityPolicy policy = default, Microsoft.Azure.Management.DataFactory.Models.LinkedServiceReference resourceLinkedService = default, object folderPath = default, Microsoft.Azure.Management.DataFactory.Models.CustomActivityReferenceObject referenceObjects = default, System.Collections.Generic.IDictionary<string,object> extendedProperties = default, object retentionTimeInDays = default, object autoUserSpecification = default);
new Microsoft.Azure.Management.DataFactory.Models.CustomActivity : string * obj * System.Collections.Generic.IDictionary<string, obj> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.ActivityDependency> * System.Collections.Generic.IList<Microsoft.Azure.Management.DataFactory.Models.UserProperty> * Microsoft.Azure.Management.DataFactory.Models.LinkedServiceReference * Microsoft.Azure.Management.DataFactory.Models.ActivityPolicy * Microsoft.Azure.Management.DataFactory.Models.LinkedServiceReference * obj * Microsoft.Azure.Management.DataFactory.Models.CustomActivityReferenceObject * System.Collections.Generic.IDictionary<string, obj> * obj * obj -> Microsoft.Azure.Management.DataFactory.Models.CustomActivity
Public Sub New (name As String, command As Object, Optional additionalProperties As IDictionary(Of String, Object) = Nothing, Optional description As String = Nothing, Optional dependsOn As IList(Of ActivityDependency) = Nothing, Optional userProperties As IList(Of UserProperty) = Nothing, Optional linkedServiceName As LinkedServiceReference = Nothing, Optional policy As ActivityPolicy = Nothing, Optional resourceLinkedService As LinkedServiceReference = Nothing, Optional folderPath As Object = Nothing, Optional referenceObjects As CustomActivityReferenceObject = Nothing, Optional extendedProperties As IDictionary(Of String, Object) = Nothing, Optional retentionTimeInDays As Object = Nothing, Optional autoUserSpecification As Object = Nothing)

Parameters

name
String

Activity name.

command
Object

Command for custom activity Type: string (or Expression with resultType string).

additionalProperties
IDictionary<String,Object>

Unmatched properties from the message are deserialized this collection

description
String

Activity description.

dependsOn
IList<ActivityDependency>

Activity depends on condition.

userProperties
IList<UserProperty>

Activity user properties.

linkedServiceName
LinkedServiceReference

Linked service reference.

policy
ActivityPolicy

Activity policy.

resourceLinkedService
LinkedServiceReference

Resource linked service reference.

folderPath
Object

Folder path for resource files Type: string (or Expression with resultType string).

referenceObjects
CustomActivityReferenceObject

Reference objects

extendedProperties
IDictionary<String,Object>

User defined property bag. There is no restriction on the keys or values that can be used. The user specified custom activity has the full responsibility to consume and interpret the content defined.

retentionTimeInDays
Object

The retention time for the files submitted for custom activity. Type: double (or Expression with resultType double).

autoUserSpecification
Object

Elevation level and scope for the user, default is nonadmin task. Type: string (or Expression with resultType double).

Applies to