Class: TencentCloud::Chdfs::V20201112::CreateFileSystemRequest

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

Overview

CreateFileSystem请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filesystemname = nil, posixacl = nil, description = nil, capacityquota = nil, superusers = nil, rootinodeuser = nil, rootinodegroup = nil, enableranger = nil, rangerserviceaddresses = nil, tags = nil) ⇒ CreateFileSystemRequest

Returns a new instance of CreateFileSystemRequest.



254
255
256
257
258
259
260
261
262
263
264
265
# File 'lib/v20201112/models.rb', line 254

def initialize(filesystemname=nil, posixacl=nil, description=nil, capacityquota=nil, superusers=nil, rootinodeuser=nil, rootinodegroup=nil, enableranger=nil, rangerserviceaddresses=nil, tags=nil)
  @FileSystemName = filesystemname
  @PosixAcl = posixacl
  @Description = description
  @CapacityQuota = capacityquota
  @SuperUsers = superusers
  @RootInodeUser = rootinodeuser
  @RootInodeGroup = rootinodegroup
  @EnableRanger = enableranger
  @RangerServiceAddresses = rangerserviceaddresses
  @Tags = tags
end

Instance Attribute Details

#CapacityQuotaObject

Parameters:

  • FileSystemName:

    文件系统名称

  • PosixAcl:

    是否校验POSIX ACL

  • Description:

    文件系统描述,默认为空字符串

  • CapacityQuota:

    文件系统容量(byte),下限为1GB,上限为1PB,且必须是1GB的整数倍

  • SuperUsers:

    超级用户名列表,默认为空数组

  • RootInodeUser:

    根目录Inode用户名,默认为hadoop

  • RootInodeGroup:

    根目录Inode组名,默认为supergroup

  • EnableRanger:

    是否打开Ranger地址校验

  • RangerServiceAddresses:

    Ranger地址列表,默认为空数组

  • Tags:

    多个资源标签,可以为空数组



252
253
254
# File 'lib/v20201112/models.rb', line 252

def CapacityQuota
  @CapacityQuota
end

#DescriptionObject

Parameters:

  • FileSystemName:

    文件系统名称

  • PosixAcl:

    是否校验POSIX ACL

  • Description:

    文件系统描述,默认为空字符串

  • CapacityQuota:

    文件系统容量(byte),下限为1GB,上限为1PB,且必须是1GB的整数倍

  • SuperUsers:

    超级用户名列表,默认为空数组

  • RootInodeUser:

    根目录Inode用户名,默认为hadoop

  • RootInodeGroup:

    根目录Inode组名,默认为supergroup

  • EnableRanger:

    是否打开Ranger地址校验

  • RangerServiceAddresses:

    Ranger地址列表,默认为空数组

  • Tags:

    多个资源标签,可以为空数组



252
253
254
# File 'lib/v20201112/models.rb', line 252

def Description
  @Description
end

#EnableRangerObject

Parameters:

  • FileSystemName:

    文件系统名称

  • PosixAcl:

    是否校验POSIX ACL

  • Description:

    文件系统描述,默认为空字符串

  • CapacityQuota:

    文件系统容量(byte),下限为1GB,上限为1PB,且必须是1GB的整数倍

  • SuperUsers:

    超级用户名列表,默认为空数组

  • RootInodeUser:

    根目录Inode用户名,默认为hadoop

  • RootInodeGroup:

    根目录Inode组名,默认为supergroup

  • EnableRanger:

    是否打开Ranger地址校验

  • RangerServiceAddresses:

    Ranger地址列表,默认为空数组

  • Tags:

    多个资源标签,可以为空数组



252
253
254
# File 'lib/v20201112/models.rb', line 252

def EnableRanger
  @EnableRanger
end

#FileSystemNameObject

Parameters:

  • FileSystemName:

    文件系统名称

  • PosixAcl:

    是否校验POSIX ACL

  • Description:

    文件系统描述,默认为空字符串

  • CapacityQuota:

    文件系统容量(byte),下限为1GB,上限为1PB,且必须是1GB的整数倍

  • SuperUsers:

    超级用户名列表,默认为空数组

  • RootInodeUser:

    根目录Inode用户名,默认为hadoop

  • RootInodeGroup:

    根目录Inode组名,默认为supergroup

  • EnableRanger:

    是否打开Ranger地址校验

  • RangerServiceAddresses:

    Ranger地址列表,默认为空数组

  • Tags:

    多个资源标签,可以为空数组



252
253
254
# File 'lib/v20201112/models.rb', line 252

def FileSystemName
  @FileSystemName
end

#PosixAclObject

Parameters:

  • FileSystemName:

    文件系统名称

  • PosixAcl:

    是否校验POSIX ACL

  • Description:

    文件系统描述,默认为空字符串

  • CapacityQuota:

    文件系统容量(byte),下限为1GB,上限为1PB,且必须是1GB的整数倍

  • SuperUsers:

    超级用户名列表,默认为空数组

  • RootInodeUser:

    根目录Inode用户名,默认为hadoop

  • RootInodeGroup:

    根目录Inode组名,默认为supergroup

  • EnableRanger:

    是否打开Ranger地址校验

  • RangerServiceAddresses:

    Ranger地址列表,默认为空数组

  • Tags:

    多个资源标签,可以为空数组



252
253
254
# File 'lib/v20201112/models.rb', line 252

def PosixAcl
  @PosixAcl
end

#RangerServiceAddressesObject

Parameters:

  • FileSystemName:

    文件系统名称

  • PosixAcl:

    是否校验POSIX ACL

  • Description:

    文件系统描述,默认为空字符串

  • CapacityQuota:

    文件系统容量(byte),下限为1GB,上限为1PB,且必须是1GB的整数倍

  • SuperUsers:

    超级用户名列表,默认为空数组

  • RootInodeUser:

    根目录Inode用户名,默认为hadoop

  • RootInodeGroup:

    根目录Inode组名,默认为supergroup

  • EnableRanger:

    是否打开Ranger地址校验

  • RangerServiceAddresses:

    Ranger地址列表,默认为空数组

  • Tags:

    多个资源标签,可以为空数组



252
253
254
# File 'lib/v20201112/models.rb', line 252

def RangerServiceAddresses
  @RangerServiceAddresses
end

#RootInodeGroupObject

Parameters:

  • FileSystemName:

    文件系统名称

  • PosixAcl:

    是否校验POSIX ACL

  • Description:

    文件系统描述,默认为空字符串

  • CapacityQuota:

    文件系统容量(byte),下限为1GB,上限为1PB,且必须是1GB的整数倍

  • SuperUsers:

    超级用户名列表,默认为空数组

  • RootInodeUser:

    根目录Inode用户名,默认为hadoop

  • RootInodeGroup:

    根目录Inode组名,默认为supergroup

  • EnableRanger:

    是否打开Ranger地址校验

  • RangerServiceAddresses:

    Ranger地址列表,默认为空数组

  • Tags:

    多个资源标签,可以为空数组



252
253
254
# File 'lib/v20201112/models.rb', line 252

def RootInodeGroup
  @RootInodeGroup
end

#RootInodeUserObject

Parameters:

  • FileSystemName:

    文件系统名称

  • PosixAcl:

    是否校验POSIX ACL

  • Description:

    文件系统描述,默认为空字符串

  • CapacityQuota:

    文件系统容量(byte),下限为1GB,上限为1PB,且必须是1GB的整数倍

  • SuperUsers:

    超级用户名列表,默认为空数组

  • RootInodeUser:

    根目录Inode用户名,默认为hadoop

  • RootInodeGroup:

    根目录Inode组名,默认为supergroup

  • EnableRanger:

    是否打开Ranger地址校验

  • RangerServiceAddresses:

    Ranger地址列表,默认为空数组

  • Tags:

    多个资源标签,可以为空数组



252
253
254
# File 'lib/v20201112/models.rb', line 252

def RootInodeUser
  @RootInodeUser
end

#SuperUsersObject

Parameters:

  • FileSystemName:

    文件系统名称

  • PosixAcl:

    是否校验POSIX ACL

  • Description:

    文件系统描述,默认为空字符串

  • CapacityQuota:

    文件系统容量(byte),下限为1GB,上限为1PB,且必须是1GB的整数倍

  • SuperUsers:

    超级用户名列表,默认为空数组

  • RootInodeUser:

    根目录Inode用户名,默认为hadoop

  • RootInodeGroup:

    根目录Inode组名,默认为supergroup

  • EnableRanger:

    是否打开Ranger地址校验

  • RangerServiceAddresses:

    Ranger地址列表,默认为空数组

  • Tags:

    多个资源标签,可以为空数组



252
253
254
# File 'lib/v20201112/models.rb', line 252

def SuperUsers
  @SuperUsers
end

#TagsObject

Parameters:

  • FileSystemName:

    文件系统名称

  • PosixAcl:

    是否校验POSIX ACL

  • Description:

    文件系统描述,默认为空字符串

  • CapacityQuota:

    文件系统容量(byte),下限为1GB,上限为1PB,且必须是1GB的整数倍

  • SuperUsers:

    超级用户名列表,默认为空数组

  • RootInodeUser:

    根目录Inode用户名,默认为hadoop

  • RootInodeGroup:

    根目录Inode组名,默认为supergroup

  • EnableRanger:

    是否打开Ranger地址校验

  • RangerServiceAddresses:

    Ranger地址列表,默认为空数组

  • Tags:

    多个资源标签,可以为空数组



252
253
254
# File 'lib/v20201112/models.rb', line 252

def Tags
  @Tags
end

Instance Method Details

#deserialize(params) ⇒ Object



267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
# File 'lib/v20201112/models.rb', line 267

def deserialize(params)
  @FileSystemName = params['FileSystemName']
  @PosixAcl = params['PosixAcl']
  @Description = params['Description']
  @CapacityQuota = params['CapacityQuota']
  @SuperUsers = params['SuperUsers']
  @RootInodeUser = params['RootInodeUser']
  @RootInodeGroup = params['RootInodeGroup']
  @EnableRanger = params['EnableRanger']
  @RangerServiceAddresses = params['RangerServiceAddresses']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
end