Class: TencentCloud::Tem::V20210701::NamespaceInfo

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

Overview

Namespace 基础信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(environmentid = nil, namespacename = nil, region = nil, vpcid = nil, subnetids = nil, description = nil, createddate = nil, environmentname = nil, apminstanceid = nil, locked = nil, tags = nil, envtype = nil) ⇒ NamespaceInfo

Returns a new instance of NamespaceInfo.



3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
# File 'lib/v20210701/models.rb', line 3870

def initialize(environmentid=nil, namespacename=nil, region=nil, vpcid=nil, subnetids=nil, description=nil, createddate=nil, environmentname=nil, apminstanceid=nil, locked=nil, tags=nil, envtype=nil)
  @EnvironmentId = environmentid
  @NamespaceName = namespacename
  @Region = region
  @VpcId = vpcid
  @SubnetIds = subnetids
  @Description = description
  @CreatedDate = createddate
  @EnvironmentName = environmentname
  @ApmInstanceId = apminstanceid
  @Locked = locked
  @Tags = tags
  @EnvType = envtype
end

Instance Attribute Details

#ApmInstanceIdObject

Parameters:

  • EnvironmentId:

    ID 信息

  • NamespaceName:

    名字(已弃用)

  • Region:

    地域

  • VpcId:

    vpc id

  • SubnetIds:

    subnet id 数组

  • Description:

    描述

  • CreatedDate:

    创建时间

  • EnvironmentName:

    环境名称

  • ApmInstanceId:

    APM 资源 ID

  • Locked:

    环境是否上锁,1为上锁,0则未上锁

  • Tags:

    标签

  • EnvType:

    环境类型:test、pre、prod



3868
3869
3870
# File 'lib/v20210701/models.rb', line 3868

def ApmInstanceId
  @ApmInstanceId
end

#CreatedDateObject

Parameters:

  • EnvironmentId:

    ID 信息

  • NamespaceName:

    名字(已弃用)

  • Region:

    地域

  • VpcId:

    vpc id

  • SubnetIds:

    subnet id 数组

  • Description:

    描述

  • CreatedDate:

    创建时间

  • EnvironmentName:

    环境名称

  • ApmInstanceId:

    APM 资源 ID

  • Locked:

    环境是否上锁,1为上锁,0则未上锁

  • Tags:

    标签

  • EnvType:

    环境类型:test、pre、prod



3868
3869
3870
# File 'lib/v20210701/models.rb', line 3868

def CreatedDate
  @CreatedDate
end

#DescriptionObject

Parameters:

  • EnvironmentId:

    ID 信息

  • NamespaceName:

    名字(已弃用)

  • Region:

    地域

  • VpcId:

    vpc id

  • SubnetIds:

    subnet id 数组

  • Description:

    描述

  • CreatedDate:

    创建时间

  • EnvironmentName:

    环境名称

  • ApmInstanceId:

    APM 资源 ID

  • Locked:

    环境是否上锁,1为上锁,0则未上锁

  • Tags:

    标签

  • EnvType:

    环境类型:test、pre、prod



3868
3869
3870
# File 'lib/v20210701/models.rb', line 3868

def Description
  @Description
end

#EnvironmentIdObject

Parameters:

  • EnvironmentId:

    ID 信息

  • NamespaceName:

    名字(已弃用)

  • Region:

    地域

  • VpcId:

    vpc id

  • SubnetIds:

    subnet id 数组

  • Description:

    描述

  • CreatedDate:

    创建时间

  • EnvironmentName:

    环境名称

  • ApmInstanceId:

    APM 资源 ID

  • Locked:

    环境是否上锁,1为上锁,0则未上锁

  • Tags:

    标签

  • EnvType:

    环境类型:test、pre、prod



3868
3869
3870
# File 'lib/v20210701/models.rb', line 3868

def EnvironmentId
  @EnvironmentId
end

#EnvironmentNameObject

Parameters:

  • EnvironmentId:

    ID 信息

  • NamespaceName:

    名字(已弃用)

  • Region:

    地域

  • VpcId:

    vpc id

  • SubnetIds:

    subnet id 数组

  • Description:

    描述

  • CreatedDate:

    创建时间

  • EnvironmentName:

    环境名称

  • ApmInstanceId:

    APM 资源 ID

  • Locked:

    环境是否上锁,1为上锁,0则未上锁

  • Tags:

    标签

  • EnvType:

    环境类型:test、pre、prod



3868
3869
3870
# File 'lib/v20210701/models.rb', line 3868

def EnvironmentName
  @EnvironmentName
end

#EnvTypeObject

Parameters:

  • EnvironmentId:

    ID 信息

  • NamespaceName:

    名字(已弃用)

  • Region:

    地域

  • VpcId:

    vpc id

  • SubnetIds:

    subnet id 数组

  • Description:

    描述

  • CreatedDate:

    创建时间

  • EnvironmentName:

    环境名称

  • ApmInstanceId:

    APM 资源 ID

  • Locked:

    环境是否上锁,1为上锁,0则未上锁

  • Tags:

    标签

  • EnvType:

    环境类型:test、pre、prod



3868
3869
3870
# File 'lib/v20210701/models.rb', line 3868

def EnvType
  @EnvType
end

#LockedObject

Parameters:

  • EnvironmentId:

    ID 信息

  • NamespaceName:

    名字(已弃用)

  • Region:

    地域

  • VpcId:

    vpc id

  • SubnetIds:

    subnet id 数组

  • Description:

    描述

  • CreatedDate:

    创建时间

  • EnvironmentName:

    环境名称

  • ApmInstanceId:

    APM 资源 ID

  • Locked:

    环境是否上锁,1为上锁,0则未上锁

  • Tags:

    标签

  • EnvType:

    环境类型:test、pre、prod



3868
3869
3870
# File 'lib/v20210701/models.rb', line 3868

def Locked
  @Locked
end

#NamespaceNameObject

Parameters:

  • EnvironmentId:

    ID 信息

  • NamespaceName:

    名字(已弃用)

  • Region:

    地域

  • VpcId:

    vpc id

  • SubnetIds:

    subnet id 数组

  • Description:

    描述

  • CreatedDate:

    创建时间

  • EnvironmentName:

    环境名称

  • ApmInstanceId:

    APM 资源 ID

  • Locked:

    环境是否上锁,1为上锁,0则未上锁

  • Tags:

    标签

  • EnvType:

    环境类型:test、pre、prod



3868
3869
3870
# File 'lib/v20210701/models.rb', line 3868

def NamespaceName
  @NamespaceName
end

#RegionObject

Parameters:

  • EnvironmentId:

    ID 信息

  • NamespaceName:

    名字(已弃用)

  • Region:

    地域

  • VpcId:

    vpc id

  • SubnetIds:

    subnet id 数组

  • Description:

    描述

  • CreatedDate:

    创建时间

  • EnvironmentName:

    环境名称

  • ApmInstanceId:

    APM 资源 ID

  • Locked:

    环境是否上锁,1为上锁,0则未上锁

  • Tags:

    标签

  • EnvType:

    环境类型:test、pre、prod



3868
3869
3870
# File 'lib/v20210701/models.rb', line 3868

def Region
  @Region
end

#SubnetIdsObject

Parameters:

  • EnvironmentId:

    ID 信息

  • NamespaceName:

    名字(已弃用)

  • Region:

    地域

  • VpcId:

    vpc id

  • SubnetIds:

    subnet id 数组

  • Description:

    描述

  • CreatedDate:

    创建时间

  • EnvironmentName:

    环境名称

  • ApmInstanceId:

    APM 资源 ID

  • Locked:

    环境是否上锁,1为上锁,0则未上锁

  • Tags:

    标签

  • EnvType:

    环境类型:test、pre、prod



3868
3869
3870
# File 'lib/v20210701/models.rb', line 3868

def SubnetIds
  @SubnetIds
end

#TagsObject

Parameters:

  • EnvironmentId:

    ID 信息

  • NamespaceName:

    名字(已弃用)

  • Region:

    地域

  • VpcId:

    vpc id

  • SubnetIds:

    subnet id 数组

  • Description:

    描述

  • CreatedDate:

    创建时间

  • EnvironmentName:

    环境名称

  • ApmInstanceId:

    APM 资源 ID

  • Locked:

    环境是否上锁,1为上锁,0则未上锁

  • Tags:

    标签

  • EnvType:

    环境类型:test、pre、prod



3868
3869
3870
# File 'lib/v20210701/models.rb', line 3868

def Tags
  @Tags
end

#VpcIdObject

Parameters:

  • EnvironmentId:

    ID 信息

  • NamespaceName:

    名字(已弃用)

  • Region:

    地域

  • VpcId:

    vpc id

  • SubnetIds:

    subnet id 数组

  • Description:

    描述

  • CreatedDate:

    创建时间

  • EnvironmentName:

    环境名称

  • ApmInstanceId:

    APM 资源 ID

  • Locked:

    环境是否上锁,1为上锁,0则未上锁

  • Tags:

    标签

  • EnvType:

    环境类型:test、pre、prod



3868
3869
3870
# File 'lib/v20210701/models.rb', line 3868

def VpcId
  @VpcId
end

Instance Method Details

#deserialize(params) ⇒ Object



3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
# File 'lib/v20210701/models.rb', line 3885

def deserialize(params)
  @EnvironmentId = params['EnvironmentId']
  @NamespaceName = params['NamespaceName']
  @Region = params['Region']
  @VpcId = params['VpcId']
  @SubnetIds = params['SubnetIds']
  @Description = params['Description']
  @CreatedDate = params['CreatedDate']
  @EnvironmentName = params['EnvironmentName']
  @ApmInstanceId = params['ApmInstanceId']
  @Locked = params['Locked']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
  @EnvType = params['EnvType']
end