你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ValidationActivity Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This activity verifies that an external resource exists.
public class ValidationActivity : Azure.ResourceManager.DataFactory.Models.ControlActivity, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataFactory.Models.ValidationActivity>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataFactory.Models.ValidationActivity>
public class ValidationActivity : Azure.ResourceManager.DataFactory.Models.ControlActivity
type ValidationActivity = class
inherit ControlActivity
interface IJsonModel<ValidationActivity>
interface IPersistableModel<ValidationActivity>
type ValidationActivity = class
inherit ControlActivity
Public Class ValidationActivity
Inherits ControlActivity
Implements IJsonModel(Of ValidationActivity), IPersistableModel(Of ValidationActivity)
Public Class ValidationActivity
Inherits ControlActivity
- Inheritance
- Implements
Constructors
ValidationActivity(String, DatasetReference) |
Initializes a new instance of ValidationActivity. |
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:
|
ChildItems |
Can be used if dataset points to a folder. If set to true, the folder must have at least one file. If set to false, the folder must be empty. Type: boolean (or Expression with resultType boolean). |
Dataset |
Validation activity dataset reference. |
DependsOn |
Activity depends on condition. (Inherited from PipelineActivity) |
Description |
Activity description. (Inherited from PipelineActivity) |
MinimumSize |
Can be used if dataset points to a file. The file must be greater than or equal in size to the value specified. Type: integer (or Expression with resultType integer). |
Name |
Activity name. (Inherited from PipelineActivity) |
OnInactiveMarkAs |
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. (Inherited from PipelineActivity) |
Sleep |
A delay in seconds between validation attempts. If no value is specified, 10 seconds will be used as the default. Type: integer (or Expression with resultType integer). |
State |
Activity state. This is an optional property and if not provided, the state will be Active by default. (Inherited from PipelineActivity) |
Timeout |
Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\d+).)?(\d\d):(60|([0-5][0-9])):(60|([0-5][0-9])). |
UserProperties |
Activity user properties. (Inherited from PipelineActivity) |
Explicit Interface Implementations
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈