Class: TencentCloud::Cfs::V20190719::CreateDataFlowRequest

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190719/models.rb

Overview

CreateDataFlow请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filesystemid = nil, sourcestoragetype = nil, sourcestorageaddress = nil, sourcepath = nil, targetpath = nil, secretid = nil, secretkey = nil, dataflowname = nil, autorefresh = nil, userkafkatopic = nil, serveraddr = nil, username = nil, password = nil) ⇒ CreateDataFlowRequest

Returns a new instance of CreateDataFlowRequest.



893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
# File 'lib/v20190719/models.rb', line 893

def initialize(filesystemid=nil, sourcestoragetype=nil, sourcestorageaddress=nil, sourcepath=nil, targetpath=nil, secretid=nil, secretkey=nil, dataflowname=nil, autorefresh=nil, userkafkatopic=nil, serveraddr=nil, username=nil, password=nil)
  @FileSystemId = filesystemid
  @SourceStorageType = sourcestoragetype
  @SourceStorageAddress = sourcestorageaddress
  @SourcePath = sourcepath
  @TargetPath = targetpath
  @SecretId = secretid
  @SecretKey = secretkey
  @DataFlowName = dataflowname
  @AutoRefresh = autorefresh
  @UserKafkaTopic = userkafkatopic
  @ServerAddr = serveraddr
  @UserName = username
  @Password = password
end

Instance Attribute Details

#AutoRefreshObject

Parameters:

  • FileSystemId:

    文件系统 ID ,通过查询文件系统 DescribeCfsFileSystems 获取

  • SourceStorageType:

    源端数据类型;包含S3_COS,S3_L5

  • SourceStorageAddress:

    源端存储地址

  • SourcePath:

    源端路径

  • TargetPath:

    文件系统内目标路径

  • SecretId:

    密钥 ID

  • SecretKey:

    密钥 key

  • DataFlowName:

    数据流动名称;支持不超过64字符长度,支持中文、数字、_、-

  • AutoRefresh:

    0:不开启自动更新 1:开启自动更新

  • UserKafkaTopic:

    KafkaConsumer 消费时使用的Topic参数

  • ServerAddr:

    服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095

  • UserName:

    Kafka消费用户名.示例值:name

  • Password:

    Kafka消费用户密码。默认$#SecretId#$#SecretKey



891
892
893
# File 'lib/v20190719/models.rb', line 891

def AutoRefresh
  @AutoRefresh
end

#DataFlowNameObject

Parameters:

  • FileSystemId:

    文件系统 ID ,通过查询文件系统 DescribeCfsFileSystems 获取

  • SourceStorageType:

    源端数据类型;包含S3_COS,S3_L5

  • SourceStorageAddress:

    源端存储地址

  • SourcePath:

    源端路径

  • TargetPath:

    文件系统内目标路径

  • SecretId:

    密钥 ID

  • SecretKey:

    密钥 key

  • DataFlowName:

    数据流动名称;支持不超过64字符长度,支持中文、数字、_、-

  • AutoRefresh:

    0:不开启自动更新 1:开启自动更新

  • UserKafkaTopic:

    KafkaConsumer 消费时使用的Topic参数

  • ServerAddr:

    服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095

  • UserName:

    Kafka消费用户名.示例值:name

  • Password:

    Kafka消费用户密码。默认$#SecretId#$#SecretKey



891
892
893
# File 'lib/v20190719/models.rb', line 891

def DataFlowName
  @DataFlowName
end

#FileSystemIdObject

Parameters:

  • FileSystemId:

    文件系统 ID ,通过查询文件系统 DescribeCfsFileSystems 获取

  • SourceStorageType:

    源端数据类型;包含S3_COS,S3_L5

  • SourceStorageAddress:

    源端存储地址

  • SourcePath:

    源端路径

  • TargetPath:

    文件系统内目标路径

  • SecretId:

    密钥 ID

  • SecretKey:

    密钥 key

  • DataFlowName:

    数据流动名称;支持不超过64字符长度,支持中文、数字、_、-

  • AutoRefresh:

    0:不开启自动更新 1:开启自动更新

  • UserKafkaTopic:

    KafkaConsumer 消费时使用的Topic参数

  • ServerAddr:

    服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095

  • UserName:

    Kafka消费用户名.示例值:name

  • Password:

    Kafka消费用户密码。默认$#SecretId#$#SecretKey



891
892
893
# File 'lib/v20190719/models.rb', line 891

def FileSystemId
  @FileSystemId
end

#PasswordObject

Parameters:

  • FileSystemId:

    文件系统 ID ,通过查询文件系统 DescribeCfsFileSystems 获取

  • SourceStorageType:

    源端数据类型;包含S3_COS,S3_L5

  • SourceStorageAddress:

    源端存储地址

  • SourcePath:

    源端路径

  • TargetPath:

    文件系统内目标路径

  • SecretId:

    密钥 ID

  • SecretKey:

    密钥 key

  • DataFlowName:

    数据流动名称;支持不超过64字符长度,支持中文、数字、_、-

  • AutoRefresh:

    0:不开启自动更新 1:开启自动更新

  • UserKafkaTopic:

    KafkaConsumer 消费时使用的Topic参数

  • ServerAddr:

    服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095

  • UserName:

    Kafka消费用户名.示例值:name

  • Password:

    Kafka消费用户密码。默认$#SecretId#$#SecretKey



891
892
893
# File 'lib/v20190719/models.rb', line 891

def Password
  @Password
end

#SecretIdObject

Parameters:

  • FileSystemId:

    文件系统 ID ,通过查询文件系统 DescribeCfsFileSystems 获取

  • SourceStorageType:

    源端数据类型;包含S3_COS,S3_L5

  • SourceStorageAddress:

    源端存储地址

  • SourcePath:

    源端路径

  • TargetPath:

    文件系统内目标路径

  • SecretId:

    密钥 ID

  • SecretKey:

    密钥 key

  • DataFlowName:

    数据流动名称;支持不超过64字符长度,支持中文、数字、_、-

  • AutoRefresh:

    0:不开启自动更新 1:开启自动更新

  • UserKafkaTopic:

    KafkaConsumer 消费时使用的Topic参数

  • ServerAddr:

    服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095

  • UserName:

    Kafka消费用户名.示例值:name

  • Password:

    Kafka消费用户密码。默认$#SecretId#$#SecretKey



891
892
893
# File 'lib/v20190719/models.rb', line 891

def SecretId
  @SecretId
end

#SecretKeyObject

Parameters:

  • FileSystemId:

    文件系统 ID ,通过查询文件系统 DescribeCfsFileSystems 获取

  • SourceStorageType:

    源端数据类型;包含S3_COS,S3_L5

  • SourceStorageAddress:

    源端存储地址

  • SourcePath:

    源端路径

  • TargetPath:

    文件系统内目标路径

  • SecretId:

    密钥 ID

  • SecretKey:

    密钥 key

  • DataFlowName:

    数据流动名称;支持不超过64字符长度,支持中文、数字、_、-

  • AutoRefresh:

    0:不开启自动更新 1:开启自动更新

  • UserKafkaTopic:

    KafkaConsumer 消费时使用的Topic参数

  • ServerAddr:

    服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095

  • UserName:

    Kafka消费用户名.示例值:name

  • Password:

    Kafka消费用户密码。默认$#SecretId#$#SecretKey



891
892
893
# File 'lib/v20190719/models.rb', line 891

def SecretKey
  @SecretKey
end

#ServerAddrObject

Parameters:

  • FileSystemId:

    文件系统 ID ,通过查询文件系统 DescribeCfsFileSystems 获取

  • SourceStorageType:

    源端数据类型;包含S3_COS,S3_L5

  • SourceStorageAddress:

    源端存储地址

  • SourcePath:

    源端路径

  • TargetPath:

    文件系统内目标路径

  • SecretId:

    密钥 ID

  • SecretKey:

    密钥 key

  • DataFlowName:

    数据流动名称;支持不超过64字符长度,支持中文、数字、_、-

  • AutoRefresh:

    0:不开启自动更新 1:开启自动更新

  • UserKafkaTopic:

    KafkaConsumer 消费时使用的Topic参数

  • ServerAddr:

    服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095

  • UserName:

    Kafka消费用户名.示例值:name

  • Password:

    Kafka消费用户密码。默认$#SecretId#$#SecretKey



891
892
893
# File 'lib/v20190719/models.rb', line 891

def ServerAddr
  @ServerAddr
end

#SourcePathObject

Parameters:

  • FileSystemId:

    文件系统 ID ,通过查询文件系统 DescribeCfsFileSystems 获取

  • SourceStorageType:

    源端数据类型;包含S3_COS,S3_L5

  • SourceStorageAddress:

    源端存储地址

  • SourcePath:

    源端路径

  • TargetPath:

    文件系统内目标路径

  • SecretId:

    密钥 ID

  • SecretKey:

    密钥 key

  • DataFlowName:

    数据流动名称;支持不超过64字符长度,支持中文、数字、_、-

  • AutoRefresh:

    0:不开启自动更新 1:开启自动更新

  • UserKafkaTopic:

    KafkaConsumer 消费时使用的Topic参数

  • ServerAddr:

    服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095

  • UserName:

    Kafka消费用户名.示例值:name

  • Password:

    Kafka消费用户密码。默认$#SecretId#$#SecretKey



891
892
893
# File 'lib/v20190719/models.rb', line 891

def SourcePath
  @SourcePath
end

#SourceStorageAddressObject

Parameters:

  • FileSystemId:

    文件系统 ID ,通过查询文件系统 DescribeCfsFileSystems 获取

  • SourceStorageType:

    源端数据类型;包含S3_COS,S3_L5

  • SourceStorageAddress:

    源端存储地址

  • SourcePath:

    源端路径

  • TargetPath:

    文件系统内目标路径

  • SecretId:

    密钥 ID

  • SecretKey:

    密钥 key

  • DataFlowName:

    数据流动名称;支持不超过64字符长度,支持中文、数字、_、-

  • AutoRefresh:

    0:不开启自动更新 1:开启自动更新

  • UserKafkaTopic:

    KafkaConsumer 消费时使用的Topic参数

  • ServerAddr:

    服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095

  • UserName:

    Kafka消费用户名.示例值:name

  • Password:

    Kafka消费用户密码。默认$#SecretId#$#SecretKey



891
892
893
# File 'lib/v20190719/models.rb', line 891

def SourceStorageAddress
  @SourceStorageAddress
end

#SourceStorageTypeObject

Parameters:

  • FileSystemId:

    文件系统 ID ,通过查询文件系统 DescribeCfsFileSystems 获取

  • SourceStorageType:

    源端数据类型;包含S3_COS,S3_L5

  • SourceStorageAddress:

    源端存储地址

  • SourcePath:

    源端路径

  • TargetPath:

    文件系统内目标路径

  • SecretId:

    密钥 ID

  • SecretKey:

    密钥 key

  • DataFlowName:

    数据流动名称;支持不超过64字符长度,支持中文、数字、_、-

  • AutoRefresh:

    0:不开启自动更新 1:开启自动更新

  • UserKafkaTopic:

    KafkaConsumer 消费时使用的Topic参数

  • ServerAddr:

    服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095

  • UserName:

    Kafka消费用户名.示例值:name

  • Password:

    Kafka消费用户密码。默认$#SecretId#$#SecretKey



891
892
893
# File 'lib/v20190719/models.rb', line 891

def SourceStorageType
  @SourceStorageType
end

#TargetPathObject

Parameters:

  • FileSystemId:

    文件系统 ID ,通过查询文件系统 DescribeCfsFileSystems 获取

  • SourceStorageType:

    源端数据类型;包含S3_COS,S3_L5

  • SourceStorageAddress:

    源端存储地址

  • SourcePath:

    源端路径

  • TargetPath:

    文件系统内目标路径

  • SecretId:

    密钥 ID

  • SecretKey:

    密钥 key

  • DataFlowName:

    数据流动名称;支持不超过64字符长度,支持中文、数字、_、-

  • AutoRefresh:

    0:不开启自动更新 1:开启自动更新

  • UserKafkaTopic:

    KafkaConsumer 消费时使用的Topic参数

  • ServerAddr:

    服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095

  • UserName:

    Kafka消费用户名.示例值:name

  • Password:

    Kafka消费用户密码。默认$#SecretId#$#SecretKey



891
892
893
# File 'lib/v20190719/models.rb', line 891

def TargetPath
  @TargetPath
end

#UserKafkaTopicObject

Parameters:

  • FileSystemId:

    文件系统 ID ,通过查询文件系统 DescribeCfsFileSystems 获取

  • SourceStorageType:

    源端数据类型;包含S3_COS,S3_L5

  • SourceStorageAddress:

    源端存储地址

  • SourcePath:

    源端路径

  • TargetPath:

    文件系统内目标路径

  • SecretId:

    密钥 ID

  • SecretKey:

    密钥 key

  • DataFlowName:

    数据流动名称;支持不超过64字符长度,支持中文、数字、_、-

  • AutoRefresh:

    0:不开启自动更新 1:开启自动更新

  • UserKafkaTopic:

    KafkaConsumer 消费时使用的Topic参数

  • ServerAddr:

    服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095

  • UserName:

    Kafka消费用户名.示例值:name

  • Password:

    Kafka消费用户密码。默认$#SecretId#$#SecretKey



891
892
893
# File 'lib/v20190719/models.rb', line 891

def UserKafkaTopic
  @UserKafkaTopic
end

#UserNameObject

Parameters:

  • FileSystemId:

    文件系统 ID ,通过查询文件系统 DescribeCfsFileSystems 获取

  • SourceStorageType:

    源端数据类型;包含S3_COS,S3_L5

  • SourceStorageAddress:

    源端存储地址

  • SourcePath:

    源端路径

  • TargetPath:

    文件系统内目标路径

  • SecretId:

    密钥 ID

  • SecretKey:

    密钥 key

  • DataFlowName:

    数据流动名称;支持不超过64字符长度,支持中文、数字、_、-

  • AutoRefresh:

    0:不开启自动更新 1:开启自动更新

  • UserKafkaTopic:

    KafkaConsumer 消费时使用的Topic参数

  • ServerAddr:

    服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095

  • UserName:

    Kafka消费用户名.示例值:name

  • Password:

    Kafka消费用户密码。默认$#SecretId#$#SecretKey



891
892
893
# File 'lib/v20190719/models.rb', line 891

def UserName
  @UserName
end

Instance Method Details

#deserialize(params) ⇒ Object



909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
# File 'lib/v20190719/models.rb', line 909

def deserialize(params)
  @FileSystemId = params['FileSystemId']
  @SourceStorageType = params['SourceStorageType']
  @SourceStorageAddress = params['SourceStorageAddress']
  @SourcePath = params['SourcePath']
  @TargetPath = params['TargetPath']
  @SecretId = params['SecretId']
  @SecretKey = params['SecretKey']
  @DataFlowName = params['DataFlowName']
  @AutoRefresh = params['AutoRefresh']
  @UserKafkaTopic = params['UserKafkaTopic']
  @ServerAddr = params['ServerAddr']
  @UserName = params['UserName']
  @Password = params['Password']
end