Condividi tramite


SwitchCaseActivity Class

Definition

Switch cases with have a value and corresponding activities.

public class SwitchCaseActivity : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataFactory.Models.SwitchCaseActivity>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataFactory.Models.SwitchCaseActivity>
public class SwitchCaseActivity
type SwitchCaseActivity = class
    interface IJsonModel<SwitchCaseActivity>
    interface IPersistableModel<SwitchCaseActivity>
type SwitchCaseActivity = class
Public Class SwitchCaseActivity
Implements IJsonModel(Of SwitchCaseActivity), IPersistableModel(Of SwitchCaseActivity)
Public Class SwitchCaseActivity
Inheritance
SwitchCaseActivity
Implements

Constructors

SwitchCaseActivity()

Initializes a new instance of SwitchCaseActivity.

Properties

Activities

List of activities to execute for satisfied case condition. Please note PipelineActivity is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AppendVariableActivity, AzureDataExplorerCommandActivity, AzureFunctionActivity, AzureMLBatchExecutionActivity, AzureMLExecutePipelineActivity, AzureMLUpdateResourceActivity, ControlActivity, CopyActivity, CustomActivity, DatabricksNotebookActivity, DatabricksSparkJarActivity, DatabricksSparkPythonActivity, DataLakeAnalyticsUsqlActivity, DeleteActivity, ExecuteDataFlowActivity, ExecutePipelineActivity, ExecuteSsisPackageActivity, ExecuteWranglingDataflowActivity, ExecutionActivity, FailActivity, FilterActivity, ForEachActivity, GetDatasetMetadataActivity, HDInsightHiveActivity, HDInsightMapReduceActivity, HDInsightPigActivity, HDInsightSparkActivity, HDInsightStreamingActivity, IfConditionActivity, LookupActivity, DataFactoryScriptActivity, SetVariableActivity, SynapseSparkJobDefinitionActivity, SqlServerStoredProcedureActivity, SwitchActivity, SynapseNotebookActivity, UntilActivity, ValidationActivity, WaitActivity, WebActivity and WebHookActivity.

Value

Expected value that satisfies the expression result of the 'on' property.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SwitchCaseActivity>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SwitchCaseActivity>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SwitchCaseActivity>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SwitchCaseActivity>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SwitchCaseActivity>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to