Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.41
0.3.42
1 change: 1 addition & 0 deletions src/UKMS/Apis/GetKeyRotationStatusRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public function __construct()
parent::__construct(["Action" => "GetKeyRotationStatus"]);
$this->markRequired("Region");
$this->markRequired("KeyId");
$this->markRequired("ResourceId");
}


Expand Down
20 changes: 20 additions & 0 deletions src/UKMS/Apis/GetKeyRotationStatusResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,24 @@ public function setOnDemandRotationStartDate($onDemandRotationStartDate)
{
$this->set("OnDemandRotationStartDate", $onDemandRotationStartDate);
}

/**
* LastRotationDate: 最后一次轮转时间,Unix 时间戳。
*
* @return integer|null
*/
public function getLastRotationDate()
{
return $this->get("LastRotationDate");
}

/**
* LastRotationDate: 最后一次轮转时间,Unix 时间戳。
*
* @param int $lastRotationDate
*/
public function setLastRotationDate($lastRotationDate)
{
$this->set("LastRotationDate", $lastRotationDate);
}
}
1 change: 1 addition & 0 deletions src/UKMS/UKMSClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,7 @@ public function generateRandom(GenerateRandomRequest $request = null)
* "RotationPeriodInDays" => (integer) 轮转周期,单位天;未开启时返回 0。
* "NextRotationDate" => (integer) 下次轮转时间,Unix 时间戳。
* "OnDemandRotationStartDate" => (integer) 按需轮转开始时间,Unix 时间戳。
* "LastRotationDate" => (integer) 最后一次轮转时间,Unix 时间戳。
* ]
*
* @return GetKeyRotationStatusResponse
Expand Down
2 changes: 1 addition & 1 deletion src/UPFS/Apis/CreateUPFSVolumeRequest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/UPFS/Apis/CreateUPFSVolumeResponse.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
23 changes: 22 additions & 1 deletion src/UPFS/Apis/DescribeUPFSVolumePriceRequest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -24,6 +24,7 @@ public function __construct()
{
parent::__construct(["Action" => "DescribeUPFSVolumePrice"]);
$this->markRequired("Region");
$this->markRequired("Zone");
$this->markRequired("Size");
}

Expand All @@ -49,6 +50,26 @@ public function setRegion($region)
$this->set("Region", $region);
}

/**
* Zone: 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
*
* @return string|null
*/
public function getZone()
{
return $this->get("Zone");
}

/**
* Zone: 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
*
* @param string $zone
*/
public function setZone($zone)
{
$this->set("Zone", $zone);
}

/**
* ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*
Expand Down
2 changes: 1 addition & 1 deletion src/UPFS/Apis/DescribeUPFSVolumePriceResponse.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/UPFS/Apis/DescribeUPFSVolumeRequest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/UPFS/Apis/DescribeUPFSVolumeResponse.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
23 changes: 22 additions & 1 deletion src/UPFS/Apis/DescribeUPFSVolumeUpgradePriceRequest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -24,6 +24,7 @@ public function __construct()
{
parent::__construct(["Action" => "DescribeUPFSVolumeUpgradePrice"]);
$this->markRequired("Region");
$this->markRequired("Zone");
$this->markRequired("VolumeId");
$this->markRequired("Size");
}
Expand All @@ -50,6 +51,26 @@ public function setRegion($region)
$this->set("Region", $region);
}

/**
* Zone: 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
*
* @return string|null
*/
public function getZone()
{
return $this->get("Zone");
}

/**
* Zone: 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
*
* @param string $zone
*/
public function setZone($zone)
{
$this->set("Zone", $zone);
}

/**
* ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*
Expand Down
2 changes: 1 addition & 1 deletion src/UPFS/Apis/DescribeUPFSVolumeUpgradePriceResponse.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/UPFS/Apis/ExtendUPFSVolumeRequest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/UPFS/Apis/ExtendUPFSVolumeResponse.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
23 changes: 22 additions & 1 deletion src/UPFS/Apis/RemoveUPFSVolumeRequest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -24,6 +24,7 @@ public function __construct()
{
parent::__construct(["Action" => "RemoveUPFSVolume"]);
$this->markRequired("Region");
$this->markRequired("Zone");
$this->markRequired("VolumeId");
}

Expand All @@ -49,6 +50,26 @@ public function setRegion($region)
$this->set("Region", $region);
}

/**
* Zone: 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
*
* @return string|null
*/
public function getZone()
{
return $this->get("Zone");
}

/**
* Zone: 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
*
* @param string $zone
*/
public function setZone($zone)
{
$this->set("Zone", $zone);
}

/**
* ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*
Expand Down
2 changes: 1 addition & 1 deletion src/UPFS/Apis/RemoveUPFSVolumeResponse.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
23 changes: 22 additions & 1 deletion src/UPFS/Apis/UpdateUPFSVolumeInfoRequest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -24,6 +24,7 @@ public function __construct()
{
parent::__construct(["Action" => "UpdateUPFSVolumeInfo"]);
$this->markRequired("Region");
$this->markRequired("Zone");
$this->markRequired("VolumeId");
}

Expand All @@ -49,6 +50,26 @@ public function setRegion($region)
$this->set("Region", $region);
}

/**
* Zone: 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
*
* @return string|null
*/
public function getZone()
{
return $this->get("Zone");
}

/**
* Zone: 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
*
* @param string $zone
*/
public function setZone($zone)
{
$this->set("Zone", $zone);
}

/**
* ProjectId: 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*
Expand Down
2 changes: 1 addition & 1 deletion src/UPFS/Apis/UpdateUPFSVolumeInfoResponse.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/UPFS/Models/UPFSPriceDataSet.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion src/UPFS/Models/UPFSVolumeInfo.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
6 changes: 5 additions & 1 deletion src/UPFS/UPFSClient.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Copyright 2025 UCloud Technology Co., Ltd.
* Copyright 2026 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -133,6 +133,7 @@ public function describeUPFSVolume(DescribeUPFSVolumeRequest $request = null)
*
* $args = [
* "Region" => (string) 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
* "Zone" => (string) 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
* "ProjectId" => (string) 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
* "Size" => (integer) 文件系统大小,单位为GB,新架构容量型最小容量为500GB,以100GB递增,最大不超过100TB。
* "Quantity" => (integer) 购买UPFS的时长, 默认为1
Expand Down Expand Up @@ -171,6 +172,7 @@ public function describeUPFSVolumePrice(DescribeUPFSVolumePriceRequest $request
*
* $args = [
* "Region" => (string) 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
* "Zone" => (string) 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
* "ProjectId" => (string) 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
* "VolumeId" => (string) 文件系统ID
* "Size" => (string) 文件系统大小
Expand Down Expand Up @@ -230,6 +232,7 @@ public function extendUPFSVolume(ExtendUPFSVolumeRequest $request = null)
*
* $args = [
* "Region" => (string) 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
* "Zone" => (string) 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
* "ProjectId" => (string) 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
* "VolumeId" => (string) 文件系统ID
* ]
Expand Down Expand Up @@ -257,6 +260,7 @@ public function removeUPFSVolume(RemoveUPFSVolumeRequest $request = null)
*
* $args = [
* "Region" => (string) 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
* "Zone" => (string) 可用区。参见 [可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
* "ProjectId" => (string) 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
* "VolumeId" => (string) UPFS文件系统ID
* "VolumeName" => (string) UPFS文件系统名称(文件系统名称/备注至少传入其中一个)
Expand Down