Skip to content

Commit

Permalink
release 3.1.114 source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Dec 10, 2024
1 parent ba1976d commit 0eb6aae
Show file tree
Hide file tree
Showing 74 changed files with 7,279 additions and 28 deletions.
54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,57 @@
# 3.1.114 2024-12-10

### HuaweiCloud SDK CSMS

- _API Version_
- V1
- _Features_
- Support the following APIs:
- `ListUsers`
- `ListGrants`
- `UpdateGrant`
- `CreateGrants`
- `DeleteGrant`
- `GenerateRandomPassword`
- _Bug Fix_
- None
- _Change_
- None

### HuaweiCloud SDK DBSS

- _API Version_
- V1
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ListRdsDatabases**
- changes of request param
- `+ db_type: enum value [ORACLE,DAMENG,KINGBASE]`
- **SwitchAuditDatabase**
- changes of response param
- `+ status`
- `- result`

### HuaweiCloud SDK IMS

- _API Version_
- V2
- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ListImages**
- changes of response param
- `+ images.__support_kvm_hi1822_hisriov`
- `+ images.__support_kvm_hi1822_hivirtionet`
- **UpdateImage**
- changes of response param
- `+ __support_kvm_hi1822_hisriov`
- `+ __support_kvm_hi1822_hivirtionet`

# 3.1.113 2024-12-05

### HuaweiCloud SDK CTS
Expand Down
54 changes: 54 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,57 @@
# 3.1.114 2024-12-10

### HuaweiCloud SDK CSMS

- _接口版本_
- V1
- _新增特性_
- 支持以下接口:
- `ListUsers`
- `ListGrants`
- `UpdateGrant`
- `CreateGrants`
- `DeleteGrant`
- `GenerateRandomPassword`
- _解决问题_
- 无
- _特性变更_
- 无

### HuaweiCloud SDK DBSS

- _接口版本_
- V1
- _新增特性_
- 无
- _解决问题_
- 无
- _特性变更_
- **ListRdsDatabases**
- 请求参数变更
- `+ db_type: enum value [ORACLE,DAMENG,KINGBASE]`
- **SwitchAuditDatabase**
- 响应参数变更
- `+ status`
- `- result`

### HuaweiCloud SDK IMS

- _接口版本_
- V2
- _新增特性_
- 无
- _解决问题_
- 无
- _特性变更_
- **ListImages**
- 响应参数变更
- `+ images.__support_kvm_hi1822_hisriov`
- `+ images.__support_kvm_hi1822_hivirtionet`
- **UpdateImage**
- 响应参数变更
- `+ __support_kvm_hi1822_hisriov`
- `+ __support_kvm_hi1822_hivirtionet`

# 3.1.113 2024-12-05

### HuaweiCloud SDK CTS
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.113
3.1.114
62 changes: 62 additions & 0 deletions csms/include/huaweicloud/csms/v1/CsmsClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
#include <huaweicloud/csms/v1/model/CreateAgencyRequest.h>
#include <huaweicloud/csms/v1/model/CreateAgencyRequestBody.h>
#include <huaweicloud/csms/v1/model/CreateAgencyResponse.h>
#include <huaweicloud/csms/v1/model/CreateGrantsRequest.h>
#include <huaweicloud/csms/v1/model/CreateGrantsResponse.h>
#include <huaweicloud/csms/v1/model/CreatePasswordRequestBody.h>
#include <huaweicloud/csms/v1/model/CreateSecretEventRequest.h>
#include <huaweicloud/csms/v1/model/CreateSecretEventRequestBody.h>
#include <huaweicloud/csms/v1/model/CreateSecretEventResponse.h>
Expand All @@ -24,6 +27,8 @@
#include <huaweicloud/csms/v1/model/CreateSecretVersionRequest.h>
#include <huaweicloud/csms/v1/model/CreateSecretVersionRequestBody.h>
#include <huaweicloud/csms/v1/model/CreateSecretVersionResponse.h>
#include <huaweicloud/csms/v1/model/DeleteGrantRequest.h>
#include <huaweicloud/csms/v1/model/DeleteGrantResponse.h>
#include <huaweicloud/csms/v1/model/DeleteSecretEventRequest.h>
#include <huaweicloud/csms/v1/model/DeleteSecretEventResponse.h>
#include <huaweicloud/csms/v1/model/DeleteSecretForScheduleRequest.h>
Expand All @@ -37,6 +42,11 @@
#include <huaweicloud/csms/v1/model/DeleteSecretTagResponse.h>
#include <huaweicloud/csms/v1/model/DownloadSecretBlobRequest.h>
#include <huaweicloud/csms/v1/model/DownloadSecretBlobResponse.h>
#include <huaweicloud/csms/v1/model/GenerateRandomPasswordRequest.h>
#include <huaweicloud/csms/v1/model/GenerateRandomPasswordResponse.h>
#include <huaweicloud/csms/v1/model/GrantSecretReqBody.h>
#include <huaweicloud/csms/v1/model/ListGrantsRequest.h>
#include <huaweicloud/csms/v1/model/ListGrantsResponse.h>
#include <huaweicloud/csms/v1/model/ListNotificationRecordsRequest.h>
#include <huaweicloud/csms/v1/model/ListNotificationRecordsResponse.h>
#include <huaweicloud/csms/v1/model/ListProjectSecretsTagsRequest.h>
Expand All @@ -54,6 +64,8 @@
#include <huaweicloud/csms/v1/model/ListSecretVersionsResponse.h>
#include <huaweicloud/csms/v1/model/ListSecretsRequest.h>
#include <huaweicloud/csms/v1/model/ListSecretsResponse.h>
#include <huaweicloud/csms/v1/model/ListUsersRequest.h>
#include <huaweicloud/csms/v1/model/ListUsersResponse.h>
#include <huaweicloud/csms/v1/model/RestoreSecretRequest.h>
#include <huaweicloud/csms/v1/model/RestoreSecretResponse.h>
#include <huaweicloud/csms/v1/model/RotateSecretRequest.h>
Expand All @@ -70,6 +82,8 @@
#include <huaweicloud/csms/v1/model/ShowSecretStageResponse.h>
#include <huaweicloud/csms/v1/model/ShowSecretVersionRequest.h>
#include <huaweicloud/csms/v1/model/ShowSecretVersionResponse.h>
#include <huaweicloud/csms/v1/model/UpdateGrantRequest.h>
#include <huaweicloud/csms/v1/model/UpdateGrantResponse.h>
#include <huaweicloud/csms/v1/model/UpdateSecretEventRequest.h>
#include <huaweicloud/csms/v1/model/UpdateSecretEventRequestBody.h>
#include <huaweicloud/csms/v1/model/UpdateSecretEventResponse.h>
Expand Down Expand Up @@ -127,6 +141,14 @@ class HUAWEICLOUD_CSMS_V1_EXPORT CsmsClient : public Client
std::shared_ptr<CreateAgencyResponse> createAgency(
CreateAgencyRequest &request
);
// 授权操作
//
// 授权操作
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<CreateGrantsResponse> createGrants(
CreateGrantsRequest &request
);
// 创建凭据
//
// 创建新的凭据,并将凭据值存入凭据的初始版本。
Expand Down Expand Up @@ -163,6 +185,14 @@ class HUAWEICLOUD_CSMS_V1_EXPORT CsmsClient : public Client
std::shared_ptr<CreateSecretVersionResponse> createSecretVersion(
CreateSecretVersionRequest &request
);
// 删除授权
//
// 删除授权
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<DeleteGrantResponse> deleteGrant(
DeleteGrantRequest &request
);
// 立即删除凭据
//
// 立即删除指定的凭据,且无法恢复。
Expand Down Expand Up @@ -211,6 +241,22 @@ class HUAWEICLOUD_CSMS_V1_EXPORT CsmsClient : public Client
std::shared_ptr<DownloadSecretBlobResponse> downloadSecretBlob(
DownloadSecretBlobRequest &request
);
//
//
// 生成随机密码
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<GenerateRandomPasswordResponse> generateRandomPassword(
GenerateRandomPasswordRequest &request
);
// 授权列表
//
// 授权列表
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<ListGrantsResponse> listGrants(
ListGrantsRequest &request
);
// 查询已触发的事件通知记录
//
// 查询三个月内所有已触发的事件通知记录。
Expand Down Expand Up @@ -275,6 +321,14 @@ class HUAWEICLOUD_CSMS_V1_EXPORT CsmsClient : public Client
std::shared_ptr<ListSecretsResponse> listSecrets(
ListSecretsRequest &request
);
// 查询用户列表
//
// 查询用户列表。
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<ListUsersResponse> listUsers(
ListUsersRequest &request
);
// 取消凭据的定时删除任务
//
// 取消凭据的定时删除任务,凭据对象恢复可使用状态。
Expand Down Expand Up @@ -340,6 +394,14 @@ class HUAWEICLOUD_CSMS_V1_EXPORT CsmsClient : public Client
std::shared_ptr<ShowSecretVersionResponse> showSecretVersion(
ShowSecretVersionRequest &request
);
// 更新授权
//
// 更新授权
//
// Please refer to HUAWEI cloud API Explorer for details.
std::shared_ptr<UpdateGrantResponse> updateGrant(
UpdateGrantRequest &request
);
// 更新凭据
//
// 更新指定凭据的元数据信息。
Expand Down
6 changes: 6 additions & 0 deletions csms/include/huaweicloud/csms/v1/CsmsMeta.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,20 @@ class HUAWEICLOUD_CSMS_V1_EXPORT CsmsMeta {
public:
static HttpRequestDef genRequestDefForBatchCreateOrDeleteTags();
static HttpRequestDef genRequestDefForCreateAgency();
static HttpRequestDef genRequestDefForCreateGrants();
static HttpRequestDef genRequestDefForCreateSecret();
static HttpRequestDef genRequestDefForCreateSecretEvent();
static HttpRequestDef genRequestDefForCreateSecretTag();
static HttpRequestDef genRequestDefForCreateSecretVersion();
static HttpRequestDef genRequestDefForDeleteGrant();
static HttpRequestDef genRequestDefForDeleteSecret();
static HttpRequestDef genRequestDefForDeleteSecretEvent();
static HttpRequestDef genRequestDefForDeleteSecretForSchedule();
static HttpRequestDef genRequestDefForDeleteSecretStage();
static HttpRequestDef genRequestDefForDeleteSecretTag();
static HttpRequestDef genRequestDefForDownloadSecretBlob();
static HttpRequestDef genRequestDefForGenerateRandomPassword();
static HttpRequestDef genRequestDefForListGrants();
static HttpRequestDef genRequestDefForListNotificationRecords();
static HttpRequestDef genRequestDefForListProjectSecretsTags();
static HttpRequestDef genRequestDefForListResourceInstances();
Expand All @@ -33,6 +37,7 @@ class HUAWEICLOUD_CSMS_V1_EXPORT CsmsMeta {
static HttpRequestDef genRequestDefForListSecretTask();
static HttpRequestDef genRequestDefForListSecretVersions();
static HttpRequestDef genRequestDefForListSecrets();
static HttpRequestDef genRequestDefForListUsers();
static HttpRequestDef genRequestDefForRestoreSecret();
static HttpRequestDef genRequestDefForRotateSecret();
static HttpRequestDef genRequestDefForShowAgency();
Expand All @@ -41,6 +46,7 @@ class HUAWEICLOUD_CSMS_V1_EXPORT CsmsMeta {
static HttpRequestDef genRequestDefForShowSecretFunctionTemplates();
static HttpRequestDef genRequestDefForShowSecretStage();
static HttpRequestDef genRequestDefForShowSecretVersion();
static HttpRequestDef genRequestDefForUpdateGrant();
static HttpRequestDef genRequestDefForUpdateSecret();
static HttpRequestDef genRequestDefForUpdateSecretEvent();
static HttpRequestDef genRequestDefForUpdateSecretStage();
Expand Down
71 changes: 71 additions & 0 deletions csms/include/huaweicloud/csms/v1/model/CreateGrantsRequest.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@

#ifndef HUAWEICLOUD_SDK_CSMS_V1_MODEL_CreateGrantsRequest_H_
#define HUAWEICLOUD_SDK_CSMS_V1_MODEL_CreateGrantsRequest_H_


#include <huaweicloud/csms/v1/CsmsExport.h>

#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/utils/Utils.h>
#include <huaweicloud/core/http/HttpResponse.h>

#include <huaweicloud/csms/v1/model/GrantSecretReqBody.h>

namespace HuaweiCloud {
namespace Sdk {
namespace Csms {
namespace V1 {
namespace Model {

using namespace HuaweiCloud::Sdk::Core::Utils;
using namespace HuaweiCloud::Sdk::Core::Http;
/// <summary>
/// Request Object
/// </summary>
class HUAWEICLOUD_CSMS_V1_EXPORT CreateGrantsRequest
: public ModelBase
{
public:
CreateGrantsRequest();
virtual ~CreateGrantsRequest();

/////////////////////////////////////////////
/// ModelBase overrides

void validate() override;
web::json::value toJson() const override;
bool fromJson(const web::json::value& json) override;
/////////////////////////////////////////////
/// CreateGrantsRequest members

/// <summary>
///
/// </summary>

GrantSecretReqBody getBody() const;
bool bodyIsSet() const;
void unsetbody();
void setBody(const GrantSecretReqBody& value);


protected:
GrantSecretReqBody body_;
bool bodyIsSet_;

#ifdef RTTR_FLAG
RTTR_ENABLE()
public:
CreateGrantsRequest& dereference_from_shared_ptr(std::shared_ptr<CreateGrantsRequest> ptr) {
return *ptr;
}
#endif
};


}
}
}
}
}

#endif // HUAWEICLOUD_SDK_CSMS_V1_MODEL_CreateGrantsRequest_H_
Loading

0 comments on commit 0eb6aae

Please sign in to comment.