Class: TencentCloud::Tcb::V20180608::EstablishCloudBaseRunServerRequest

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

Overview

EstablishCloudBaseRunServer请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(envid = nil, servicename = nil, ispublic = nil, imagerepo = nil, remark = nil, esinfo = nil, logtype = nil, operatorremark = nil, source = nil, vpcinfo = nil, publicaccess = nil, openaccesstypes = nil, iscreatepath = nil, serverpath = nil) ⇒ EstablishCloudBaseRunServerRequest

Returns a new instance of EstablishCloudBaseRunServerRequest.



6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
# File 'lib/v20180608/models.rb', line 6776

def initialize(envid=nil, servicename=nil, ispublic=nil, imagerepo=nil, remark=nil, esinfo=nil, logtype=nil, operatorremark=nil, source=nil, vpcinfo=nil, publicaccess=nil, openaccesstypes=nil, iscreatepath=nil, serverpath=nil)
  @EnvId = envid
  @ServiceName = servicename
  @IsPublic = ispublic
  @ImageRepo = imagerepo
  @Remark = remark
  @EsInfo = esinfo
  @LogType = logtype
  @OperatorRemark = operatorremark
  @Source = source
  @VpcInfo = vpcinfo
  @PublicAccess = publicaccess
  @OpenAccessTypes = openaccesstypes
  @IsCreatePath = iscreatepath
  @ServerPath = serverpath
end

Instance Attribute Details

#EnvIdObject

Parameters:

  • EnvId:

    环境id

  • ServiceName:

    服务名称

  • IsPublic:

    是否开通外网访问

  • ImageRepo:

    镜像仓库

  • Remark:

    服务描述

  • EsInfo:

    es信息

  • LogType:

    日志类型; es/cls

  • OperatorRemark:

    操作备注

  • Source:

    来源方(默认值:qcloud,微信侧来源miniapp)

  • VpcInfo:

    vpc信息

  • PublicAccess:

    0/1=允许公网访问;2=关闭公网访问

  • OpenAccessTypes:

    OA PUBLIC MINIAPP VPC

  • IsCreatePath:

    是否创建Path 0未传默认创建 1创建 2不创建

  • ServerPath:

    指定创建路径(如不存在,则创建。存在,则忽略)



6774
6775
6776
# File 'lib/v20180608/models.rb', line 6774

def EnvId
  @EnvId
end

#EsInfoObject

Parameters:

  • EnvId:

    环境id

  • ServiceName:

    服务名称

  • IsPublic:

    是否开通外网访问

  • ImageRepo:

    镜像仓库

  • Remark:

    服务描述

  • EsInfo:

    es信息

  • LogType:

    日志类型; es/cls

  • OperatorRemark:

    操作备注

  • Source:

    来源方(默认值:qcloud,微信侧来源miniapp)

  • VpcInfo:

    vpc信息

  • PublicAccess:

    0/1=允许公网访问;2=关闭公网访问

  • OpenAccessTypes:

    OA PUBLIC MINIAPP VPC

  • IsCreatePath:

    是否创建Path 0未传默认创建 1创建 2不创建

  • ServerPath:

    指定创建路径(如不存在,则创建。存在,则忽略)



6774
6775
6776
# File 'lib/v20180608/models.rb', line 6774

def EsInfo
  @EsInfo
end

#ImageRepoObject

Parameters:

  • EnvId:

    环境id

  • ServiceName:

    服务名称

  • IsPublic:

    是否开通外网访问

  • ImageRepo:

    镜像仓库

  • Remark:

    服务描述

  • EsInfo:

    es信息

  • LogType:

    日志类型; es/cls

  • OperatorRemark:

    操作备注

  • Source:

    来源方(默认值:qcloud,微信侧来源miniapp)

  • VpcInfo:

    vpc信息

  • PublicAccess:

    0/1=允许公网访问;2=关闭公网访问

  • OpenAccessTypes:

    OA PUBLIC MINIAPP VPC

  • IsCreatePath:

    是否创建Path 0未传默认创建 1创建 2不创建

  • ServerPath:

    指定创建路径(如不存在,则创建。存在,则忽略)



6774
6775
6776
# File 'lib/v20180608/models.rb', line 6774

def ImageRepo
  @ImageRepo
end

#IsCreatePathObject

Parameters:

  • EnvId:

    环境id

  • ServiceName:

    服务名称

  • IsPublic:

    是否开通外网访问

  • ImageRepo:

    镜像仓库

  • Remark:

    服务描述

  • EsInfo:

    es信息

  • LogType:

    日志类型; es/cls

  • OperatorRemark:

    操作备注

  • Source:

    来源方(默认值:qcloud,微信侧来源miniapp)

  • VpcInfo:

    vpc信息

  • PublicAccess:

    0/1=允许公网访问;2=关闭公网访问

  • OpenAccessTypes:

    OA PUBLIC MINIAPP VPC

  • IsCreatePath:

    是否创建Path 0未传默认创建 1创建 2不创建

  • ServerPath:

    指定创建路径(如不存在,则创建。存在,则忽略)



6774
6775
6776
# File 'lib/v20180608/models.rb', line 6774

def IsCreatePath
  @IsCreatePath
end

#IsPublicObject

Parameters:

  • EnvId:

    环境id

  • ServiceName:

    服务名称

  • IsPublic:

    是否开通外网访问

  • ImageRepo:

    镜像仓库

  • Remark:

    服务描述

  • EsInfo:

    es信息

  • LogType:

    日志类型; es/cls

  • OperatorRemark:

    操作备注

  • Source:

    来源方(默认值:qcloud,微信侧来源miniapp)

  • VpcInfo:

    vpc信息

  • PublicAccess:

    0/1=允许公网访问;2=关闭公网访问

  • OpenAccessTypes:

    OA PUBLIC MINIAPP VPC

  • IsCreatePath:

    是否创建Path 0未传默认创建 1创建 2不创建

  • ServerPath:

    指定创建路径(如不存在,则创建。存在,则忽略)



6774
6775
6776
# File 'lib/v20180608/models.rb', line 6774

def IsPublic
  @IsPublic
end

#LogTypeObject

Parameters:

  • EnvId:

    环境id

  • ServiceName:

    服务名称

  • IsPublic:

    是否开通外网访问

  • ImageRepo:

    镜像仓库

  • Remark:

    服务描述

  • EsInfo:

    es信息

  • LogType:

    日志类型; es/cls

  • OperatorRemark:

    操作备注

  • Source:

    来源方(默认值:qcloud,微信侧来源miniapp)

  • VpcInfo:

    vpc信息

  • PublicAccess:

    0/1=允许公网访问;2=关闭公网访问

  • OpenAccessTypes:

    OA PUBLIC MINIAPP VPC

  • IsCreatePath:

    是否创建Path 0未传默认创建 1创建 2不创建

  • ServerPath:

    指定创建路径(如不存在,则创建。存在,则忽略)



6774
6775
6776
# File 'lib/v20180608/models.rb', line 6774

def LogType
  @LogType
end

#OpenAccessTypesObject

Parameters:

  • EnvId:

    环境id

  • ServiceName:

    服务名称

  • IsPublic:

    是否开通外网访问

  • ImageRepo:

    镜像仓库

  • Remark:

    服务描述

  • EsInfo:

    es信息

  • LogType:

    日志类型; es/cls

  • OperatorRemark:

    操作备注

  • Source:

    来源方(默认值:qcloud,微信侧来源miniapp)

  • VpcInfo:

    vpc信息

  • PublicAccess:

    0/1=允许公网访问;2=关闭公网访问

  • OpenAccessTypes:

    OA PUBLIC MINIAPP VPC

  • IsCreatePath:

    是否创建Path 0未传默认创建 1创建 2不创建

  • ServerPath:

    指定创建路径(如不存在,则创建。存在,则忽略)



6774
6775
6776
# File 'lib/v20180608/models.rb', line 6774

def OpenAccessTypes
  @OpenAccessTypes
end

#OperatorRemarkObject

Parameters:

  • EnvId:

    环境id

  • ServiceName:

    服务名称

  • IsPublic:

    是否开通外网访问

  • ImageRepo:

    镜像仓库

  • Remark:

    服务描述

  • EsInfo:

    es信息

  • LogType:

    日志类型; es/cls

  • OperatorRemark:

    操作备注

  • Source:

    来源方(默认值:qcloud,微信侧来源miniapp)

  • VpcInfo:

    vpc信息

  • PublicAccess:

    0/1=允许公网访问;2=关闭公网访问

  • OpenAccessTypes:

    OA PUBLIC MINIAPP VPC

  • IsCreatePath:

    是否创建Path 0未传默认创建 1创建 2不创建

  • ServerPath:

    指定创建路径(如不存在,则创建。存在,则忽略)



6774
6775
6776
# File 'lib/v20180608/models.rb', line 6774

def OperatorRemark
  @OperatorRemark
end

#PublicAccessObject

Parameters:

  • EnvId:

    环境id

  • ServiceName:

    服务名称

  • IsPublic:

    是否开通外网访问

  • ImageRepo:

    镜像仓库

  • Remark:

    服务描述

  • EsInfo:

    es信息

  • LogType:

    日志类型; es/cls

  • OperatorRemark:

    操作备注

  • Source:

    来源方(默认值:qcloud,微信侧来源miniapp)

  • VpcInfo:

    vpc信息

  • PublicAccess:

    0/1=允许公网访问;2=关闭公网访问

  • OpenAccessTypes:

    OA PUBLIC MINIAPP VPC

  • IsCreatePath:

    是否创建Path 0未传默认创建 1创建 2不创建

  • ServerPath:

    指定创建路径(如不存在,则创建。存在,则忽略)



6774
6775
6776
# File 'lib/v20180608/models.rb', line 6774

def PublicAccess
  @PublicAccess
end

#RemarkObject

Parameters:

  • EnvId:

    环境id

  • ServiceName:

    服务名称

  • IsPublic:

    是否开通外网访问

  • ImageRepo:

    镜像仓库

  • Remark:

    服务描述

  • EsInfo:

    es信息

  • LogType:

    日志类型; es/cls

  • OperatorRemark:

    操作备注

  • Source:

    来源方(默认值:qcloud,微信侧来源miniapp)

  • VpcInfo:

    vpc信息

  • PublicAccess:

    0/1=允许公网访问;2=关闭公网访问

  • OpenAccessTypes:

    OA PUBLIC MINIAPP VPC

  • IsCreatePath:

    是否创建Path 0未传默认创建 1创建 2不创建

  • ServerPath:

    指定创建路径(如不存在,则创建。存在,则忽略)



6774
6775
6776
# File 'lib/v20180608/models.rb', line 6774

def Remark
  @Remark
end

#ServerPathObject

Parameters:

  • EnvId:

    环境id

  • ServiceName:

    服务名称

  • IsPublic:

    是否开通外网访问

  • ImageRepo:

    镜像仓库

  • Remark:

    服务描述

  • EsInfo:

    es信息

  • LogType:

    日志类型; es/cls

  • OperatorRemark:

    操作备注

  • Source:

    来源方(默认值:qcloud,微信侧来源miniapp)

  • VpcInfo:

    vpc信息

  • PublicAccess:

    0/1=允许公网访问;2=关闭公网访问

  • OpenAccessTypes:

    OA PUBLIC MINIAPP VPC

  • IsCreatePath:

    是否创建Path 0未传默认创建 1创建 2不创建

  • ServerPath:

    指定创建路径(如不存在,则创建。存在,则忽略)



6774
6775
6776
# File 'lib/v20180608/models.rb', line 6774

def ServerPath
  @ServerPath
end

#ServiceNameObject

Parameters:

  • EnvId:

    环境id

  • ServiceName:

    服务名称

  • IsPublic:

    是否开通外网访问

  • ImageRepo:

    镜像仓库

  • Remark:

    服务描述

  • EsInfo:

    es信息

  • LogType:

    日志类型; es/cls

  • OperatorRemark:

    操作备注

  • Source:

    来源方(默认值:qcloud,微信侧来源miniapp)

  • VpcInfo:

    vpc信息

  • PublicAccess:

    0/1=允许公网访问;2=关闭公网访问

  • OpenAccessTypes:

    OA PUBLIC MINIAPP VPC

  • IsCreatePath:

    是否创建Path 0未传默认创建 1创建 2不创建

  • ServerPath:

    指定创建路径(如不存在,则创建。存在,则忽略)



6774
6775
6776
# File 'lib/v20180608/models.rb', line 6774

def ServiceName
  @ServiceName
end

#SourceObject

Parameters:

  • EnvId:

    环境id

  • ServiceName:

    服务名称

  • IsPublic:

    是否开通外网访问

  • ImageRepo:

    镜像仓库

  • Remark:

    服务描述

  • EsInfo:

    es信息

  • LogType:

    日志类型; es/cls

  • OperatorRemark:

    操作备注

  • Source:

    来源方(默认值:qcloud,微信侧来源miniapp)

  • VpcInfo:

    vpc信息

  • PublicAccess:

    0/1=允许公网访问;2=关闭公网访问

  • OpenAccessTypes:

    OA PUBLIC MINIAPP VPC

  • IsCreatePath:

    是否创建Path 0未传默认创建 1创建 2不创建

  • ServerPath:

    指定创建路径(如不存在,则创建。存在,则忽略)



6774
6775
6776
# File 'lib/v20180608/models.rb', line 6774

def Source
  @Source
end

#VpcInfoObject

Parameters:

  • EnvId:

    环境id

  • ServiceName:

    服务名称

  • IsPublic:

    是否开通外网访问

  • ImageRepo:

    镜像仓库

  • Remark:

    服务描述

  • EsInfo:

    es信息

  • LogType:

    日志类型; es/cls

  • OperatorRemark:

    操作备注

  • Source:

    来源方(默认值:qcloud,微信侧来源miniapp)

  • VpcInfo:

    vpc信息

  • PublicAccess:

    0/1=允许公网访问;2=关闭公网访问

  • OpenAccessTypes:

    OA PUBLIC MINIAPP VPC

  • IsCreatePath:

    是否创建Path 0未传默认创建 1创建 2不创建

  • ServerPath:

    指定创建路径(如不存在,则创建。存在,则忽略)



6774
6775
6776
# File 'lib/v20180608/models.rb', line 6774

def VpcInfo
  @VpcInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
# File 'lib/v20180608/models.rb', line 6793

def deserialize(params)
  @EnvId = params['EnvId']
  @ServiceName = params['ServiceName']
  @IsPublic = params['IsPublic']
  @ImageRepo = params['ImageRepo']
  @Remark = params['Remark']
  unless params['EsInfo'].nil?
    @EsInfo = CloudBaseEsInfo.new
    @EsInfo.deserialize(params['EsInfo'])
  end
  @LogType = params['LogType']
  @OperatorRemark = params['OperatorRemark']
  @Source = params['Source']
  unless params['VpcInfo'].nil?
    @VpcInfo = CloudBaseRunVpcInfo.new
    @VpcInfo.deserialize(params['VpcInfo'])
  end
  @PublicAccess = params['PublicAccess']
  @OpenAccessTypes = params['OpenAccessTypes']
  @IsCreatePath = params['IsCreatePath']
  @ServerPath = params['ServerPath']
end