Class: TencentCloud::Tcm::V20210413::IngressGateway

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

Overview

IngressGateway 实例信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, namespace = nil, clusterid = nil, service = nil, workload = nil, loadbalancer = nil, status = nil, loadbalancerid = nil) ⇒ IngressGateway

Returns a new instance of IngressGateway.



946
947
948
949
950
951
952
953
954
955
# File 'lib/v20210413/models.rb', line 946

def initialize(name=nil, namespace=nil, clusterid=nil, service=nil, workload=nil, loadbalancer=nil, status=nil, loadbalancerid=nil)
  @Name = name
  @Namespace = namespace
  @ClusterId = clusterid
  @Service = service
  @Workload = workload
  @LoadBalancer = loadbalancer
  @Status = status
  @LoadBalancerId = loadbalancerid
end

Instance Attribute Details

#ClusterIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    IngressGateway 实例名字

  • Namespace:

    命名空间

  • ClusterId:

    集群 ID

  • Service:

    Service 配置

  • Workload:

    Workload 配置

  • LoadBalancer:

    负载均衡配置,自动创建 CLB 时返回

  • Status:

    IngressGateway 状态信息,只读

  • LoadBalancerId:

    负载均衡实例ID,使用已有 CLB 时返回



944
945
946
# File 'lib/v20210413/models.rb', line 944

def ClusterId
  @ClusterId
end

#LoadBalancerObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    IngressGateway 实例名字

  • Namespace:

    命名空间

  • ClusterId:

    集群 ID

  • Service:

    Service 配置

  • Workload:

    Workload 配置

  • LoadBalancer:

    负载均衡配置,自动创建 CLB 时返回

  • Status:

    IngressGateway 状态信息,只读

  • LoadBalancerId:

    负载均衡实例ID,使用已有 CLB 时返回



944
945
946
# File 'lib/v20210413/models.rb', line 944

def LoadBalancer
  @LoadBalancer
end

#LoadBalancerIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    IngressGateway 实例名字

  • Namespace:

    命名空间

  • ClusterId:

    集群 ID

  • Service:

    Service 配置

  • Workload:

    Workload 配置

  • LoadBalancer:

    负载均衡配置,自动创建 CLB 时返回

  • Status:

    IngressGateway 状态信息,只读

  • LoadBalancerId:

    负载均衡实例ID,使用已有 CLB 时返回



944
945
946
# File 'lib/v20210413/models.rb', line 944

def LoadBalancerId
  @LoadBalancerId
end

#NameObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    IngressGateway 实例名字

  • Namespace:

    命名空间

  • ClusterId:

    集群 ID

  • Service:

    Service 配置

  • Workload:

    Workload 配置

  • LoadBalancer:

    负载均衡配置,自动创建 CLB 时返回

  • Status:

    IngressGateway 状态信息,只读

  • LoadBalancerId:

    负载均衡实例ID,使用已有 CLB 时返回



944
945
946
# File 'lib/v20210413/models.rb', line 944

def Name
  @Name
end

#NamespaceObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    IngressGateway 实例名字

  • Namespace:

    命名空间

  • ClusterId:

    集群 ID

  • Service:

    Service 配置

  • Workload:

    Workload 配置

  • LoadBalancer:

    负载均衡配置,自动创建 CLB 时返回

  • Status:

    IngressGateway 状态信息,只读

  • LoadBalancerId:

    负载均衡实例ID,使用已有 CLB 时返回



944
945
946
# File 'lib/v20210413/models.rb', line 944

def Namespace
  @Namespace
end

#ServiceObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    IngressGateway 实例名字

  • Namespace:

    命名空间

  • ClusterId:

    集群 ID

  • Service:

    Service 配置

  • Workload:

    Workload 配置

  • LoadBalancer:

    负载均衡配置,自动创建 CLB 时返回

  • Status:

    IngressGateway 状态信息,只读

  • LoadBalancerId:

    负载均衡实例ID,使用已有 CLB 时返回



944
945
946
# File 'lib/v20210413/models.rb', line 944

def Service
  @Service
end

#StatusObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    IngressGateway 实例名字

  • Namespace:

    命名空间

  • ClusterId:

    集群 ID

  • Service:

    Service 配置

  • Workload:

    Workload 配置

  • LoadBalancer:

    负载均衡配置,自动创建 CLB 时返回

  • Status:

    IngressGateway 状态信息,只读

  • LoadBalancerId:

    负载均衡实例ID,使用已有 CLB 时返回



944
945
946
# File 'lib/v20210413/models.rb', line 944

def Status
  @Status
end

#WorkloadObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Name:

    IngressGateway 实例名字

  • Namespace:

    命名空间

  • ClusterId:

    集群 ID

  • Service:

    Service 配置

  • Workload:

    Workload 配置

  • LoadBalancer:

    负载均衡配置,自动创建 CLB 时返回

  • Status:

    IngressGateway 状态信息,只读

  • LoadBalancerId:

    负载均衡实例ID,使用已有 CLB 时返回



944
945
946
# File 'lib/v20210413/models.rb', line 944

def Workload
  @Workload
end

Instance Method Details

#deserialize(params) ⇒ Object



957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
# File 'lib/v20210413/models.rb', line 957

def deserialize(params)
  @Name = params['Name']
  @Namespace = params['Namespace']
  @ClusterId = params['ClusterId']
  unless params['Service'].nil?
    @Service = Service.new
    @Service.deserialize(params['Service'])
  end
  unless params['Workload'].nil?
    @Workload = WorkloadConfig.new
    @Workload.deserialize(params['Workload'])
  end
  unless params['LoadBalancer'].nil?
    @LoadBalancer = LoadBalancer.new
    @LoadBalancer.deserialize(params['LoadBalancer'])
  end
  unless params['Status'].nil?
    @Status = IngressGatewayStatus.new
    @Status.deserialize(params['Status'])
  end
  @LoadBalancerId = params['LoadBalancerId']
end