SqlServerStoredProcedureActivity Class
- java.
lang. Object - com.
azure. resourcemanager. datafactory. models. Activity - com.
azure. resourcemanager. datafactory. models. ExecutionActivity - com.
azure. resourcemanager. datafactory. models. SqlServerStoredProcedureActivity
- com.
- com.
- com.
public final class SqlServerStoredProcedureActivity
extends ExecutionActivity
SQL stored procedure activity type.
Constructor Summary
| Constructor | Description |
|---|---|
| SqlServerStoredProcedureActivity() |
Creates an instance of Sql |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sql |
fromJson(JsonReader jsonReader)
Reads an instance of Sql |
| Object |
storedProcedureName()
Get the stored |
| Object |
storedProcedureParameters()
Get the stored |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: Type of activity. |
| void |
validate()
Validates the instance. |
|
Sql |
withDependsOn(List<ActivityDependency> dependsOn)
Set the depends |
|
Sql |
withDescription(String description)
Set the description property: Activity description. |
|
Sql |
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linked |
|
Sql |
withName(String name)
Set the name property: Activity name. |
|
Sql |
withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the on |
|
Sql |
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy. |
|
Sql |
withState(ActivityState state)
Set the state property: Activity state. |
|
Sql |
withStoredProcedureName(Object storedProcedureName)
Set the stored |
|
Sql |
withStoredProcedureParameters(Object storedProcedureParameters)
Set the stored |
|
Sql |
withUserProperties(List<UserProperty> userProperties)
Set the user |
Methods inherited from Activity
Methods inherited from ExecutionActivity
Methods inherited from java.lang.Object
Constructor Details
SqlServerStoredProcedureActivity
public SqlServerStoredProcedureActivity()
Creates an instance of SqlServerStoredProcedureActivity class.
Method Details
fromJson
public static SqlServerStoredProcedureActivity fromJson(JsonReader jsonReader)
Reads an instance of SqlServerStoredProcedureActivity from the JsonReader.
Parameters:
Returns:
Throws:
storedProcedureName
public Object storedProcedureName()
Get the storedProcedureName property: Stored procedure name. Type: string (or Expression with resultType string).
Returns:
storedProcedureParameters
public Object storedProcedureParameters()
Get the storedProcedureParameters property: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SqlServerStoredProcedureActivity.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Type of activity.
Overrides:
SqlServerStoredProcedureActivity.type()Returns:
validate
public void validate()
Validates the instance.
Overrides:
SqlServerStoredProcedureActivity.validate()withDependsOn
public SqlServerStoredProcedureActivity withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
Overrides:
SqlServerStoredProcedureActivity.withDependsOn(List<ActivityDependency> dependsOn)Parameters:
withDescription
public SqlServerStoredProcedureActivity withDescription(String description)
Set the description property: Activity description.
Overrides:
SqlServerStoredProcedureActivity.withDescription(String description)Parameters:
withLinkedServiceName
public SqlServerStoredProcedureActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
Overrides:
SqlServerStoredProcedureActivity.withLinkedServiceName(LinkedServiceReference linkedServiceName)Parameters:
withName
public SqlServerStoredProcedureActivity withName(String name)
Set the name property: Activity name.
Overrides:
SqlServerStoredProcedureActivity.withName(String name)Parameters:
withOnInactiveMarkAs
public SqlServerStoredProcedureActivity withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)
Set the onInactiveMarkAs property: Status result of the activity when the state is set to Inactive. This is an optional property and if not provided when the activity is inactive, the status will be Succeeded by default.
Overrides:
SqlServerStoredProcedureActivity.withOnInactiveMarkAs(ActivityOnInactiveMarkAs onInactiveMarkAs)Parameters:
withPolicy
public SqlServerStoredProcedureActivity withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.
Overrides:
SqlServerStoredProcedureActivity.withPolicy(ActivityPolicy policy)Parameters:
withState
public SqlServerStoredProcedureActivity withState(ActivityState state)
Set the state property: Activity state. This is an optional property and if not provided, the state will be Active by default.
Overrides:
SqlServerStoredProcedureActivity.withState(ActivityState state)Parameters:
withStoredProcedureName
public SqlServerStoredProcedureActivity withStoredProcedureName(Object storedProcedureName)
Set the storedProcedureName property: Stored procedure name. Type: string (or Expression with resultType string).
Parameters:
Returns:
withStoredProcedureParameters
public SqlServerStoredProcedureActivity withStoredProcedureParameters(Object storedProcedureParameters)
Set the storedProcedureParameters property: Value and type setting for stored procedure parameters. Example: "{Parameter1: {value: "1", type: "int"}}".
Parameters:
Returns:
withUserProperties
public SqlServerStoredProcedureActivity withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
Overrides:
SqlServerStoredProcedureActivity.withUserProperties(List<UserProperty> userProperties)Parameters: