Class: TencentCloud::Tem::V20210701::ModifyEnvironmentRequest

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

Overview

ModifyEnvironment请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(environmentid = nil, environmentname = nil, description = nil, vpc = nil, subnetids = nil, sourcechannel = nil, envtype = nil) ⇒ ModifyEnvironmentRequest

Returns a new instance of ModifyEnvironmentRequest.



3588
3589
3590
3591
3592
3593
3594
3595
3596
# File 'lib/v20210701/models.rb', line 3588

def initialize(environmentid=nil, environmentname=nil, description=nil, vpc=nil, subnetids=nil, sourcechannel=nil, envtype=nil)
  @EnvironmentId = environmentid
  @EnvironmentName = environmentname
  @Description = description
  @Vpc = vpc
  @SubnetIds = subnetids
  @SourceChannel = sourcechannel
  @EnvType = envtype
end

Instance Attribute Details

#DescriptionObject

Parameters:

  • EnvironmentId:

    环境id

  • EnvironmentName:

    环境名称。环境名称不可修改

  • Description:

    环境描述

  • Vpc:

    私有网络名称

  • SubnetIds:

    子网网络

  • SourceChannel:

    来源渠道

  • EnvType:

    环境类型:test、pre、prod



3586
3587
3588
# File 'lib/v20210701/models.rb', line 3586

def Description
  @Description
end

#EnvironmentIdObject

Parameters:

  • EnvironmentId:

    环境id

  • EnvironmentName:

    环境名称。环境名称不可修改

  • Description:

    环境描述

  • Vpc:

    私有网络名称

  • SubnetIds:

    子网网络

  • SourceChannel:

    来源渠道

  • EnvType:

    环境类型:test、pre、prod



3586
3587
3588
# File 'lib/v20210701/models.rb', line 3586

def EnvironmentId
  @EnvironmentId
end

#EnvironmentNameObject

Parameters:

  • EnvironmentId:

    环境id

  • EnvironmentName:

    环境名称。环境名称不可修改

  • Description:

    环境描述

  • Vpc:

    私有网络名称

  • SubnetIds:

    子网网络

  • SourceChannel:

    来源渠道

  • EnvType:

    环境类型:test、pre、prod



3586
3587
3588
# File 'lib/v20210701/models.rb', line 3586

def EnvironmentName
  @EnvironmentName
end

#EnvTypeObject

Parameters:

  • EnvironmentId:

    环境id

  • EnvironmentName:

    环境名称。环境名称不可修改

  • Description:

    环境描述

  • Vpc:

    私有网络名称

  • SubnetIds:

    子网网络

  • SourceChannel:

    来源渠道

  • EnvType:

    环境类型:test、pre、prod



3586
3587
3588
# File 'lib/v20210701/models.rb', line 3586

def EnvType
  @EnvType
end

#SourceChannelObject

Parameters:

  • EnvironmentId:

    环境id

  • EnvironmentName:

    环境名称。环境名称不可修改

  • Description:

    环境描述

  • Vpc:

    私有网络名称

  • SubnetIds:

    子网网络

  • SourceChannel:

    来源渠道

  • EnvType:

    环境类型:test、pre、prod



3586
3587
3588
# File 'lib/v20210701/models.rb', line 3586

def SourceChannel
  @SourceChannel
end

#SubnetIdsObject

Parameters:

  • EnvironmentId:

    环境id

  • EnvironmentName:

    环境名称。环境名称不可修改

  • Description:

    环境描述

  • Vpc:

    私有网络名称

  • SubnetIds:

    子网网络

  • SourceChannel:

    来源渠道

  • EnvType:

    环境类型:test、pre、prod



3586
3587
3588
# File 'lib/v20210701/models.rb', line 3586

def SubnetIds
  @SubnetIds
end

#VpcObject

Parameters:

  • EnvironmentId:

    环境id

  • EnvironmentName:

    环境名称。环境名称不可修改

  • Description:

    环境描述

  • Vpc:

    私有网络名称

  • SubnetIds:

    子网网络

  • SourceChannel:

    来源渠道

  • EnvType:

    环境类型:test、pre、prod



3586
3587
3588
# File 'lib/v20210701/models.rb', line 3586

def Vpc
  @Vpc
end

Instance Method Details

#deserialize(params) ⇒ Object



3598
3599
3600
3601
3602
3603
3604
3605
3606
# File 'lib/v20210701/models.rb', line 3598

def deserialize(params)
  @EnvironmentId = params['EnvironmentId']
  @EnvironmentName = params['EnvironmentName']
  @Description = params['Description']
  @Vpc = params['Vpc']
  @SubnetIds = params['SubnetIds']
  @SourceChannel = params['SourceChannel']
  @EnvType = params['EnvType']
end