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.



6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
# File 'lib/v20180608/models.rb', line 6044

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:

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



6042
6043
6044
# File 'lib/v20180608/models.rb', line 6042

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:

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



6042
6043
6044
# File 'lib/v20180608/models.rb', line 6042

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:

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



6042
6043
6044
# File 'lib/v20180608/models.rb', line 6042

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:

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



6042
6043
6044
# File 'lib/v20180608/models.rb', line 6042

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:

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



6042
6043
6044
# File 'lib/v20180608/models.rb', line 6042

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:

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



6042
6043
6044
# File 'lib/v20180608/models.rb', line 6042

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:

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



6042
6043
6044
# File 'lib/v20180608/models.rb', line 6042

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:

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



6042
6043
6044
# File 'lib/v20180608/models.rb', line 6042

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:

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



6042
6043
6044
# File 'lib/v20180608/models.rb', line 6042

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:

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



6042
6043
6044
# File 'lib/v20180608/models.rb', line 6042

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:

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



6042
6043
6044
# File 'lib/v20180608/models.rb', line 6042

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:

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



6042
6043
6044
# File 'lib/v20180608/models.rb', line 6042

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:

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



6042
6043
6044
# File 'lib/v20180608/models.rb', line 6042

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:

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



6042
6043
6044
# File 'lib/v20180608/models.rb', line 6042

def VpcInfo
  @VpcInfo
end

Instance Method Details

#deserialize(params) ⇒ Object



6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
# File 'lib/v20180608/models.rb', line 6061

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