Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d914aee

Browse files
committed
Update API DescribeConnectionCountRecords: add request parameters RegionId.
1 parent d8cc084 commit d914aee

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

‎adb-20190315/ChangeLog.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2025年10月29日 Version: 5.0.9
2+
- Update API DescribeConnectionCountRecords: add request parameters RegionId.
3+
4+
15
2025年10月27日 Version: 5.0.8
26
- Update API DescribeAuditLogRecords: add response parameters Body.Items.$.ExecuteTimestamp.
37

‎adb-20190315/include/alibabacloud/models/DescribeConnectionCountRecordsRequest.hpp‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ namespace Models
1616
DARABONBA_PTR_TO_JSON(DBClusterId, DBClusterId_);
1717
DARABONBA_PTR_TO_JSON(OwnerAccount, ownerAccount_);
1818
DARABONBA_PTR_TO_JSON(OwnerId, ownerId_);
19+
DARABONBA_PTR_TO_JSON(RegionId, regionId_);
1920
DARABONBA_PTR_TO_JSON(ResourceOwnerAccount, resourceOwnerAccount_);
2021
DARABONBA_PTR_TO_JSON(ResourceOwnerId, resourceOwnerId_);
2122
};
2223
friend void from_json(const Darabonba::Json& j, DescribeConnectionCountRecordsRequest& obj) {
2324
DARABONBA_PTR_FROM_JSON(DBClusterId, DBClusterId_);
2425
DARABONBA_PTR_FROM_JSON(OwnerAccount, ownerAccount_);
2526
DARABONBA_PTR_FROM_JSON(OwnerId, ownerId_);
27+
DARABONBA_PTR_FROM_JSON(RegionId, regionId_);
2628
DARABONBA_PTR_FROM_JSON(ResourceOwnerAccount, resourceOwnerAccount_);
2729
DARABONBA_PTR_FROM_JSON(ResourceOwnerId, resourceOwnerId_);
2830
};
@@ -38,7 +40,7 @@ namespace Models
3840
virtual void fromMap(const Darabonba::Json &obj) override { from_json(obj, *this); validate(); };
3941
virtual Darabonba::Json toMap() const override { Darabonba::Json obj; to_json(obj, *this); return obj; };
4042
virtual bool empty() const override { return this->DBClusterId_ == nullptr
41-
&& return this->ownerAccount_ == nullptr && return this->ownerId_ == nullptr && return this->resourceOwnerAccount_ == nullptr && return this->resourceOwnerId_ == nullptr; };
43+
&& return this->ownerAccount_ == nullptr && return this->ownerId_ == nullptr && return this->regionId_ == nullptr && returnthis->resourceOwnerAccount_ == nullptr && return this->resourceOwnerId_ == nullptr; };
4244
// DBClusterId Field Functions
4345
bool hasDBClusterId() const { return this->DBClusterId_ != nullptr;};
4446
void deleteDBClusterId() { this->DBClusterId_ = nullptr;};
@@ -60,6 +62,13 @@ namespace Models
6062
inline DescribeConnectionCountRecordsRequest& setOwnerId(int64_t ownerId) { DARABONBA_PTR_SET_VALUE(ownerId_, ownerId) };
6163

6264

65+
// regionId Field Functions
66+
bool hasRegionId() const { return this->regionId_ != nullptr;};
67+
void deleteRegionId() { this->regionId_ = nullptr;};
68+
inline string regionId() const { DARABONBA_PTR_GET_DEFAULT(regionId_, "") };
69+
inline DescribeConnectionCountRecordsRequest& setRegionId(string regionId) { DARABONBA_PTR_SET_VALUE(regionId_, regionId) };
70+
71+
6372
// resourceOwnerAccount Field Functions
6473
bool hasResourceOwnerAccount() const { return this->resourceOwnerAccount_ != nullptr;};
6574
void deleteResourceOwnerAccount() { this->resourceOwnerAccount_ = nullptr;};
@@ -83,6 +92,7 @@ namespace Models
8392
std::shared_ptr<string> DBClusterId_ = nullptr;
8493
std::shared_ptr<string> ownerAccount_ = nullptr;
8594
std::shared_ptr<int64_t> ownerId_ = nullptr;
95+
std::shared_ptr<string> regionId_ = nullptr;
8696
std::shared_ptr<string> resourceOwnerAccount_ = nullptr;
8797
std::shared_ptr<int64_t> resourceOwnerId_ = nullptr;
8898
};

‎adb-20190315/src/Client.cpp‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2985,6 +2985,10 @@ DescribeConnectionCountRecordsResponse Client::describeConnectionCountRecordsWit
29852985
query["OwnerId"] = request.ownerId();
29862986
}
29872987

2988+
if (!!request.hasRegionId()) {
2989+
query["RegionId"] = request.regionId();
2990+
}
2991+
29882992
if (!!request.hasResourceOwnerAccount()) {
29892993
query["ResourceOwnerAccount"] = request.resourceOwnerAccount();
29902994
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /