From 43795f56537eacf773ba5f2f047ec838951279da Mon Sep 17 00:00:00 2001 From: ucloud-bot Date: Tue, 10 Nov 2026 10:04:19 +0000 Subject: [PATCH] sdk: rolling update for 0.3.73 --- VERSION | 2 +- src/UK8S/Apis/CreateUK8SClusterV2Request.php | 60 ++++++++++++++++++++ src/UK8S/UK8SClient.php | 3 + 3 files changed, 64 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index bd6bf3c6..9ce614a6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.3.72 +0.3.73 diff --git a/src/UK8S/Apis/CreateUK8SClusterV2Request.php b/src/UK8S/Apis/CreateUK8SClusterV2Request.php index ae81a3bc..1a95b281 100644 --- a/src/UK8S/Apis/CreateUK8SClusterV2Request.php +++ b/src/UK8S/Apis/CreateUK8SClusterV2Request.php @@ -652,6 +652,66 @@ public function setMasterImageId($masterImageId) $this->set("MasterImageId", $masterImageId); } + /** + * DedicatedPodSubnet: Pod是否使用独立子网 + * + * @return boolean|null + */ + public function getDedicatedPodSubnet() + { + return $this->get("DedicatedPodSubnet"); + } + + /** + * DedicatedPodSubnet: Pod是否使用独立子网 + * + * @param boolean $dedicatedPodSubnet + */ + public function setDedicatedPodSubnet($dedicatedPodSubnet) + { + $this->set("DedicatedPodSubnet", $dedicatedPodSubnet); + } + + /** + * PodSubnetId: Pod独立子网模式下的子网Id + * + * @return string|null + */ + public function getPodSubnetId() + { + return $this->get("PodSubnetId"); + } + + /** + * PodSubnetId: Pod独立子网模式下的子网Id + * + * @param string $podSubnetId + */ + public function setPodSubnetId($podSubnetId) + { + $this->set("PodSubnetId", $podSubnetId); + } + + /** + * PodSubnetSecGroup: Pod独立子网模式下使用的安全组,如不配置则使用防火墙模式 + * + * @return string|null + */ + public function getPodSubnetSecGroup() + { + return $this->get("PodSubnetSecGroup"); + } + + /** + * PodSubnetSecGroup: Pod独立子网模式下使用的安全组,如不配置则使用防火墙模式 + * + * @param string $podSubnetSecGroup + */ + public function setPodSubnetSecGroup($podSubnetSecGroup) + { + $this->set("PodSubnetSecGroup", $podSubnetSecGroup); + } + /** * LbClass: master lb 类型默认ulb,可选ulb nlb * diff --git a/src/UK8S/UK8SClient.php b/src/UK8S/UK8SClient.php index 243748dd..afc8f275 100644 --- a/src/UK8S/UK8SClient.php +++ b/src/UK8S/UK8SClient.php @@ -524,6 +524,9 @@ public function addUK8SUHostNode(AddUK8SUHostNodeRequest $request = null) * "ClusterDomain" => (string) 创建集群的时候定义clusterdomain * "Tag" => (string) 业务组 * "MasterImageId" => (string) Master节点的镜像 ID,不填则使用ImageId参数。支持用户自定义镜像。 + * "DedicatedPodSubnet" => (boolean) Pod是否使用独立子网 + * "PodSubnetId" => (string) Pod独立子网模式下的子网Id + * "PodSubnetSecGroup" => (string) Pod独立子网模式下使用的安全组,如不配置则使用防火墙模式 * "LbClass" => (string) master lb 类型默认ulb,可选ulb nlb * "ForwardSrcIPMethod" => (string) LbClass为nlb的时候支持的源ip转发模式,目前只支持Toa,为空则不开源ip功能 枚举:"",Toa * "MasterUHostFamily" => (string) Master节点规格族,如o1a, o1i