Class: TencentCloud::Goosefs::V20220519::CreateFileSystemRequest

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

Overview

CreateFileSystem请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, name = nil, description = nil, vpcid = nil, subnetid = nil, zone = nil, tag = nil, goosefsxbuildelements = nil, securitygroupid = nil, clusterport = nil) ⇒ CreateFileSystemRequest

Returns a new instance of CreateFileSystemRequest.



469
470
471
472
473
474
475
476
477
478
479
480
# File 'lib/v20220519/models.rb', line 469

def initialize(type=nil, name=nil, description=nil, vpcid=nil, subnetid=nil, zone=nil, tag=nil, goosefsxbuildelements=nil, securitygroupid=nil, clusterport=nil)
  @Type = type
  @Name = name
  @Description = description
  @VpcId = vpcid
  @SubnetId = subnetid
  @Zone = zone
  @Tag = tag
  @GooseFSxBuildElements = goosefsxbuildelements
  @SecurityGroupId = securitygroupid
  @ClusterPort = clusterport
end

Instance Attribute Details

#ClusterPortObject

Parameters:

  • Type:

    文件系统类型, 可填goosefs和goosefsx

  • Name:

    文件系统名

  • Description:

    文件系统备注描述

  • VpcId:

    vpc网络ID

  • SubnetId:

    子网ID

  • Zone:

    子网所在的可用区

  • Tag:

    文件系统关联的tag

  • GooseFSxBuildElements:

    GooseFSx构建时要传递的参数

  • SecurityGroupId:

    客户端集群所属的安全组

  • ClusterPort:

    集群ssh通信端口,默认是22



467
468
469
# File 'lib/v20220519/models.rb', line 467

def ClusterPort
  @ClusterPort
end

#DescriptionObject

Parameters:

  • Type:

    文件系统类型, 可填goosefs和goosefsx

  • Name:

    文件系统名

  • Description:

    文件系统备注描述

  • VpcId:

    vpc网络ID

  • SubnetId:

    子网ID

  • Zone:

    子网所在的可用区

  • Tag:

    文件系统关联的tag

  • GooseFSxBuildElements:

    GooseFSx构建时要传递的参数

  • SecurityGroupId:

    客户端集群所属的安全组

  • ClusterPort:

    集群ssh通信端口,默认是22



467
468
469
# File 'lib/v20220519/models.rb', line 467

def Description
  @Description
end

#GooseFSxBuildElementsObject

Parameters:

  • Type:

    文件系统类型, 可填goosefs和goosefsx

  • Name:

    文件系统名

  • Description:

    文件系统备注描述

  • VpcId:

    vpc网络ID

  • SubnetId:

    子网ID

  • Zone:

    子网所在的可用区

  • Tag:

    文件系统关联的tag

  • GooseFSxBuildElements:

    GooseFSx构建时要传递的参数

  • SecurityGroupId:

    客户端集群所属的安全组

  • ClusterPort:

    集群ssh通信端口,默认是22



467
468
469
# File 'lib/v20220519/models.rb', line 467

def GooseFSxBuildElements
  @GooseFSxBuildElements
end

#NameObject

Parameters:

  • Type:

    文件系统类型, 可填goosefs和goosefsx

  • Name:

    文件系统名

  • Description:

    文件系统备注描述

  • VpcId:

    vpc网络ID

  • SubnetId:

    子网ID

  • Zone:

    子网所在的可用区

  • Tag:

    文件系统关联的tag

  • GooseFSxBuildElements:

    GooseFSx构建时要传递的参数

  • SecurityGroupId:

    客户端集群所属的安全组

  • ClusterPort:

    集群ssh通信端口,默认是22



467
468
469
# File 'lib/v20220519/models.rb', line 467

def Name
  @Name
end

#SecurityGroupIdObject

Parameters:

  • Type:

    文件系统类型, 可填goosefs和goosefsx

  • Name:

    文件系统名

  • Description:

    文件系统备注描述

  • VpcId:

    vpc网络ID

  • SubnetId:

    子网ID

  • Zone:

    子网所在的可用区

  • Tag:

    文件系统关联的tag

  • GooseFSxBuildElements:

    GooseFSx构建时要传递的参数

  • SecurityGroupId:

    客户端集群所属的安全组

  • ClusterPort:

    集群ssh通信端口,默认是22



467
468
469
# File 'lib/v20220519/models.rb', line 467

def SecurityGroupId
  @SecurityGroupId
end

#SubnetIdObject

Parameters:

  • Type:

    文件系统类型, 可填goosefs和goosefsx

  • Name:

    文件系统名

  • Description:

    文件系统备注描述

  • VpcId:

    vpc网络ID

  • SubnetId:

    子网ID

  • Zone:

    子网所在的可用区

  • Tag:

    文件系统关联的tag

  • GooseFSxBuildElements:

    GooseFSx构建时要传递的参数

  • SecurityGroupId:

    客户端集群所属的安全组

  • ClusterPort:

    集群ssh通信端口,默认是22



467
468
469
# File 'lib/v20220519/models.rb', line 467

def SubnetId
  @SubnetId
end

#TagObject

Parameters:

  • Type:

    文件系统类型, 可填goosefs和goosefsx

  • Name:

    文件系统名

  • Description:

    文件系统备注描述

  • VpcId:

    vpc网络ID

  • SubnetId:

    子网ID

  • Zone:

    子网所在的可用区

  • Tag:

    文件系统关联的tag

  • GooseFSxBuildElements:

    GooseFSx构建时要传递的参数

  • SecurityGroupId:

    客户端集群所属的安全组

  • ClusterPort:

    集群ssh通信端口,默认是22



467
468
469
# File 'lib/v20220519/models.rb', line 467

def Tag
  @Tag
end

#TypeObject

Parameters:

  • Type:

    文件系统类型, 可填goosefs和goosefsx

  • Name:

    文件系统名

  • Description:

    文件系统备注描述

  • VpcId:

    vpc网络ID

  • SubnetId:

    子网ID

  • Zone:

    子网所在的可用区

  • Tag:

    文件系统关联的tag

  • GooseFSxBuildElements:

    GooseFSx构建时要传递的参数

  • SecurityGroupId:

    客户端集群所属的安全组

  • ClusterPort:

    集群ssh通信端口,默认是22



467
468
469
# File 'lib/v20220519/models.rb', line 467

def Type
  @Type
end

#VpcIdObject

Parameters:

  • Type:

    文件系统类型, 可填goosefs和goosefsx

  • Name:

    文件系统名

  • Description:

    文件系统备注描述

  • VpcId:

    vpc网络ID

  • SubnetId:

    子网ID

  • Zone:

    子网所在的可用区

  • Tag:

    文件系统关联的tag

  • GooseFSxBuildElements:

    GooseFSx构建时要传递的参数

  • SecurityGroupId:

    客户端集群所属的安全组

  • ClusterPort:

    集群ssh通信端口,默认是22



467
468
469
# File 'lib/v20220519/models.rb', line 467

def VpcId
  @VpcId
end

#ZoneObject

Parameters:

  • Type:

    文件系统类型, 可填goosefs和goosefsx

  • Name:

    文件系统名

  • Description:

    文件系统备注描述

  • VpcId:

    vpc网络ID

  • SubnetId:

    子网ID

  • Zone:

    子网所在的可用区

  • Tag:

    文件系统关联的tag

  • GooseFSxBuildElements:

    GooseFSx构建时要传递的参数

  • SecurityGroupId:

    客户端集群所属的安全组

  • ClusterPort:

    集群ssh通信端口,默认是22



467
468
469
# File 'lib/v20220519/models.rb', line 467

def Zone
  @Zone
end

Instance Method Details

#deserialize(params) ⇒ Object



482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
# File 'lib/v20220519/models.rb', line 482

def deserialize(params)
  @Type = params['Type']
  @Name = params['Name']
  @Description = params['Description']
  @VpcId = params['VpcId']
  @SubnetId = params['SubnetId']
  @Zone = params['Zone']
  unless params['Tag'].nil?
    @Tag = []
    params['Tag'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tag << tag_tmp
    end
  end
  unless params['GooseFSxBuildElements'].nil?
    @GooseFSxBuildElements = GooseFSxBuildElement.new
    @GooseFSxBuildElements.deserialize(params['GooseFSxBuildElements'])
  end
  @SecurityGroupId = params['SecurityGroupId']
  @ClusterPort = params['ClusterPort']
end