public class AzureFunctionActivity extends ExecutionActivity
| Constructor and Description |
|---|
AzureFunctionActivity() |
| Modifier and Type | Method and Description |
|---|---|
Object |
body()
Get the body property: Represents the payload that will be sent to the endpoint.
|
Object |
functionName()
Get the functionName property: Name of the Function that the Azure Function Activity will call.
|
Object |
headers()
Get the headers property: Represents the headers that will be sent to the request.
|
AzureFunctionActivityMethod |
method()
Get the method property: Rest API method for target endpoint.
|
void |
validate()
Validates the instance.
|
AzureFunctionActivity |
withBody(Object body)
Set the body property: Represents the payload that will be sent to the endpoint.
|
AzureFunctionActivity |
withDependsOn(List<ActivityDependency> dependsOn)
Set the dependsOn property: Activity depends on condition.
|
AzureFunctionActivity |
withDescription(String description)
Set the description property: Activity description.
|
AzureFunctionActivity |
withFunctionName(Object functionName)
Set the functionName property: Name of the Function that the Azure Function Activity will call.
|
AzureFunctionActivity |
withHeaders(Object headers)
Set the headers property: Represents the headers that will be sent to the request.
|
AzureFunctionActivity |
withLinkedServiceName(LinkedServiceReference linkedServiceName)
Set the linkedServiceName property: Linked service reference.
|
AzureFunctionActivity |
withMethod(AzureFunctionActivityMethod method)
Set the method property: Rest API method for target endpoint.
|
AzureFunctionActivity |
withName(String name)
Set the name property: Activity name.
|
AzureFunctionActivity |
withPolicy(ActivityPolicy policy)
Set the policy property: Activity policy.
|
AzureFunctionActivity |
withUserProperties(List<UserProperty> userProperties)
Set the userProperties property: Activity user properties.
|
linkedServiceName, policyadditionalProperties, dependsOn, description, name, userProperties, withAdditionalPropertiespublic AzureFunctionActivityMethod method()
public AzureFunctionActivity withMethod(AzureFunctionActivityMethod method)
method - the method value to set.public Object functionName()
public AzureFunctionActivity withFunctionName(Object functionName)
functionName - the functionName value to set.public Object headers()
public AzureFunctionActivity withHeaders(Object headers)
headers - the headers value to set.public Object body()
public AzureFunctionActivity withBody(Object body)
body - the body value to set.public AzureFunctionActivity withLinkedServiceName(LinkedServiceReference linkedServiceName)
withLinkedServiceName in class ExecutionActivitylinkedServiceName - the linkedServiceName value to set.public AzureFunctionActivity withPolicy(ActivityPolicy policy)
withPolicy in class ExecutionActivitypolicy - the policy value to set.public AzureFunctionActivity withName(String name)
withName in class ExecutionActivityname - the name value to set.public AzureFunctionActivity withDescription(String description)
withDescription in class ExecutionActivitydescription - the description value to set.public AzureFunctionActivity withDependsOn(List<ActivityDependency> dependsOn)
withDependsOn in class ExecutionActivitydependsOn - the dependsOn value to set.public AzureFunctionActivity withUserProperties(List<UserProperty> userProperties)
withUserProperties in class ExecutionActivityuserProperties - the userProperties value to set.public void validate()
validate in class ExecutionActivityIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.