Skip to content

DataFlowProps

Properties for defining a DataFlow.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-nas-dataflow

Initializer

using AlibabaCloud.SDK.ROS.CDK.Nas;
new DataFlowProps {
    object FileSystemId,
    object FsetId,
    object SourceStorage,
    object Throughput,
    object AutoRefreshInterval = null,
    object AutoRefreshPolicy = null,
    object AutoRefreshs = null,
    object Description = null,
    object SourceSecurityType = null
};

Properties

Name Type Description
FileSystemId object Property fileSystemId: The ID of the file system.
FsetId object Property fsetId: The fileset ID.
SourceStorage object Property sourceStorage: The access path of the source storage.
Throughput object Property throughput: The maximum data flow throughput.
AutoRefreshInterval object Property autoRefreshInterval: The automatic update interval time, every time the interval, the CPFS checks whether there is a data update in the directory.
AutoRefreshPolicy object Property autoRefreshPolicy: The automatic update policy.
AutoRefreshs object Property autoRefreshs:.
Description object Property description: The description of the dataflow.
SourceSecurityType object Property sourceSecurityType: The type of safety protection types of the source storage.

FileSystemIdRequired

public object FileSystemId { get; set; }
  • Type: object

Property fileSystemId: The ID of the file system.

  • The IDs of CPFS file systems must start with cpfs-. Example: cpfs-125487****.
  • The IDs of CPFS for Lingjun file systems must start with bmcpfs-. Example: bmcpfs-0015****.

FsetIdRequired

public object FsetId { get; set; }
  • Type: object

Property fsetId: The fileset ID.

This parameter is required for CPFS file systems.


SourceStorageRequired

public object SourceStorage { get; set; }
  • Type: object

Property sourceStorage: The access path of the source storage.

Format: <storage type>:\/\/[<account id>:]<path>. Parameters:

  • storage type: Only OSS is supported.
  • account id (optional): the UID of the account of the source storage. This parameter is required when you use OSS buckets across accounts.
  • path: the name of the OSS bucket. Limits:
  • The name can contain only lowercase letters, digits, and hyphens (-). The name must start and end with a lowercase letter or digit.
  • The name can be up to 128 characters in length.
  • The name must be encoded in UTF-8.
  • The OSS bucket must be an existing bucket in the region.
  • Only CPFS for LINGJUN V2.6.0 and later support the account id parameter.

ThroughputRequired

public object Throughput { get; set; }
  • Type: object

Property throughput: The maximum data flow throughput.

Unit: MB/s. Valid values:

  • 600
  • 1200
  • 1500

The data flow throughput must be less than the I/O throughput of the file system. This parameter is required for CPFS file systems.


AutoRefreshIntervalOptional

public object AutoRefreshInterval { get; set; }
  • Type: object

Property autoRefreshInterval: The automatic update interval time, every time the interval, the CPFS checks whether there is a data update in the directory.

If there is data update, start the automatic update task, unit: minute. Scope of value: 5 ~ 525600, default value: 10.


AutoRefreshPolicyOptional

public object AutoRefreshPolicy { get; set; }
  • Type: object

Property autoRefreshPolicy: The automatic update policy.

The updated data in the source storage is imported into the CPFS file system based on the policy.

  • None (default): Updated data in the source storage is not automatically imported into the CPFS file system. You can run a data flow task to import the updated data from the source storage.
  • ImportChanged: Updated data in the source storage is automatically imported into the CPFS file system.

This parameter takes effect only for CPFS file systems.


AutoRefreshsOptional

public object AutoRefreshs { get; set; }
  • Type: object

Property autoRefreshs:.


DescriptionOptional

public object Description { get; set; }
  • Type: object

Property description: The description of the dataflow.

Limits:

  • The description must be 2 to 128 characters in length.
  • The description must start with a letter but cannot start with http:\/\/ or https:\/\/.
  • The description can contain letters, digits, colons (:), underscores (_), and hyphens (-).

SourceSecurityTypeOptional

public object SourceSecurityType { get; set; }
  • Type: object

Property sourceSecurityType: The type of safety protection types of the source storage.

If the source storage must be protected through safety protection, please specify the type of safety protection type storage.Value: No (default value): It means that the source storage does not need to be accessed by safe protection. SSL: Protective access through SSL certificates.