lib/v20180416/models.rb in tencentcloud-sdk-scf-3.0.627 vs lib/v20180416/models.rb in tencentcloud-sdk-scf-3.0.628

- old
+ new

@@ -3302,21 +3302,28 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type Tolerations: Array # @param Port: scf组件将占用的节点端口起始号 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Port: Integer + # @param PodTemplatePatch: yaml格式的pod patch内容,例如 + # metadata: + # labels: + # key: value + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type PodTemplatePatch: String - attr_accessor :ClusterID, :SubnetID, :Namespace, :DataPath, :NodeSelector, :Tolerations, :Port + attr_accessor :ClusterID, :SubnetID, :Namespace, :DataPath, :NodeSelector, :Tolerations, :Port, :PodTemplatePatch - def initialize(clusterid=nil, subnetid=nil, namespace=nil, datapath=nil, nodeselector=nil, tolerations=nil, port=nil) + def initialize(clusterid=nil, subnetid=nil, namespace=nil, datapath=nil, nodeselector=nil, tolerations=nil, port=nil, podtemplatepatch=nil) @ClusterID = clusterid @SubnetID = subnetid @Namespace = namespace @DataPath = datapath @NodeSelector = nodeselector @Tolerations = tolerations @Port = port + @PodTemplatePatch = podtemplatepatch end def deserialize(params) @ClusterID = params['ClusterID'] @SubnetID = params['SubnetID'] @@ -3337,9 +3344,10 @@ k8stoleration_tmp.deserialize(i) @Tolerations << k8stoleration_tmp end end @Port = params['Port'] + @PodTemplatePatch = params['PodTemplatePatch'] end end # 名称空间已使用信息 class NamespaceUsage < TencentCloud::Common::AbstractModel