Share via


PipelineActivityPolicy Class

Definition

Execution policy for an activity.

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

Constructors

PipelineActivityPolicy()

Initializes a new instance of PipelineActivityPolicy.

Properties

AdditionalProperties

Additional Properties

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

IsSecureInputEnabled

When set to true, Input from activity is considered as secure and will not be logged to monitoring.

IsSecureOutputEnabled

When set to true, Output from activity is considered as secure and will not be logged to monitoring.

Retry

Maximum ordinary retry attempts. Default is 0. Type: integer (or Expression with resultType integer), minimum: 0.

RetryIntervalInSeconds

Interval between each retry attempt (in seconds). The default is 30 sec.

Timeout

Specifies the timeout for the activity to run. The default timeout is 7 days. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<PipelineActivityPolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<PipelineActivityPolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PipelineActivityPolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<PipelineActivityPolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<PipelineActivityPolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to