PatchBaseline Support Tags.
This commit is contained in:
@@ -28,34 +28,50 @@ namespace Oos {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_OOS_EXPORT CreatePatchBaselineRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreatePatchBaselineRequest();
|
||||
~CreatePatchBaselineRequest();
|
||||
std::vector<std::string> getSources() const;
|
||||
void setSources(const std::vector<std::string> &sources);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getApprovalRules() const;
|
||||
void setApprovalRules(const std::string &approvalRules);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getOperationSystem() const;
|
||||
void setOperationSystem(const std::string &operationSystem);
|
||||
std::vector<std::string> getRejectedPatches() const;
|
||||
void setRejectedPatches(const std::vector<std::string> &rejectedPatches);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getRejectedPatchesAction() const;
|
||||
void setRejectedPatchesAction(const std::string &rejectedPatchesAction);
|
||||
bool getApprovedPatchesEnableNonSecurity() const;
|
||||
void setApprovedPatchesEnableNonSecurity(bool approvedPatchesEnableNonSecurity);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
std::string getOperationSystem() const;
|
||||
void setOperationSystem(const std::string &operationSystem);
|
||||
std::vector<std::string> getRejectedPatches() const;
|
||||
void setRejectedPatches(const std::vector<std::string> &rejectedPatches);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::vector<std::string> getApprovedPatches() const;
|
||||
void setApprovedPatches(const std::vector<std::string> &approvedPatches);
|
||||
|
||||
private:
|
||||
std::vector<std::string> sources_;
|
||||
std::string clientToken_;
|
||||
std::string approvalRules_;
|
||||
std::string description_;
|
||||
std::string operationSystem_;
|
||||
std::vector<std::string> rejectedPatches_;
|
||||
std::string regionId_;
|
||||
std::string rejectedPatchesAction_;
|
||||
bool approvedPatchesEnableNonSecurity_;
|
||||
std::vector<Tags> tags_;
|
||||
std::string operationSystem_;
|
||||
std::vector<std::string> rejectedPatches_;
|
||||
std::string name_;
|
||||
std::vector<std::string> approvedPatches_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Oos
|
||||
|
||||
@@ -34,18 +34,27 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct PatchBaseline
|
||||
{
|
||||
std::string rejectedPatchesAction;
|
||||
std::string updatedBy;
|
||||
struct TagsItem
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string description;
|
||||
std::string createdBy;
|
||||
std::string updatedDate;
|
||||
std::string createdDate;
|
||||
std::string operationSystem;
|
||||
std::string id;
|
||||
std::string approvalRules;
|
||||
std::vector<std::string> sources;
|
||||
std::string name;
|
||||
std::string shareType;
|
||||
std::vector<std::string> rejectedPatches;
|
||||
std::string rejectedPatchesAction;
|
||||
std::vector<std::string> approvedPatches;
|
||||
std::string updatedBy;
|
||||
std::string createdDate;
|
||||
bool approvedPatchesEnableNonSecurity;
|
||||
std::string id;
|
||||
std::vector<TagsItem> tags;
|
||||
std::string shareType;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace AlibabaCloud
|
||||
struct Application
|
||||
{
|
||||
std::string updateDate;
|
||||
std::string applicationType;
|
||||
std::string description;
|
||||
std::string resourceGroupId;
|
||||
std::string createDate;
|
||||
|
||||
@@ -34,18 +34,27 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct PatchBaseline
|
||||
{
|
||||
struct TagsItem
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
bool isDefault;
|
||||
std::string description;
|
||||
std::string createdBy;
|
||||
std::string updatedDate;
|
||||
std::string operationSystem;
|
||||
std::string approvalRules;
|
||||
std::vector<std::string> sources;
|
||||
std::string name;
|
||||
std::vector<std::string> rejectedPatches;
|
||||
std::string rejectedPatchesAction;
|
||||
std::vector<std::string> approvedPatches;
|
||||
std::string updatedBy;
|
||||
std::string createdDate;
|
||||
bool approvedPatchesEnableNonSecurity;
|
||||
std::string id;
|
||||
std::vector<TagsItem> tags;
|
||||
std::string shareType;
|
||||
};
|
||||
|
||||
|
||||
@@ -28,28 +28,44 @@ namespace Oos {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_OOS_EXPORT ListPatchBaselinesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
ListPatchBaselinesRequest();
|
||||
~ListPatchBaselinesRequest();
|
||||
std::string getOperationSystem() const;
|
||||
void setOperationSystem(const std::string &operationSystem);
|
||||
std::vector<std::string> getSources() const;
|
||||
void setSources(const std::vector<std::string> &sources);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::string getShareType() const;
|
||||
void setShareType(const std::string &shareType);
|
||||
bool getApprovedPatchesEnableNonSecurity() const;
|
||||
void setApprovedPatchesEnableNonSecurity(bool approvedPatchesEnableNonSecurity);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
std::string getOperationSystem() const;
|
||||
void setOperationSystem(const std::string &operationSystem);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
int getMaxResults() const;
|
||||
void setMaxResults(int maxResults);
|
||||
std::string getShareType() const;
|
||||
void setShareType(const std::string &shareType);
|
||||
std::vector<std::string> getApprovedPatches() const;
|
||||
void setApprovedPatches(const std::vector<std::string> &approvedPatches);
|
||||
|
||||
private:
|
||||
std::string operationSystem_;
|
||||
std::vector<std::string> sources_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
std::string shareType_;
|
||||
bool approvedPatchesEnableNonSecurity_;
|
||||
std::vector<Tags> tags_;
|
||||
std::string operationSystem_;
|
||||
std::string name_;
|
||||
int maxResults_;
|
||||
std::string shareType_;
|
||||
std::vector<std::string> approvedPatches_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Oos
|
||||
|
||||
@@ -34,15 +34,24 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct PatchBaseline
|
||||
{
|
||||
struct TagsItem
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
bool isDefault;
|
||||
std::string updatedBy;
|
||||
std::string description;
|
||||
std::string createdBy;
|
||||
std::string updatedDate;
|
||||
std::string createdDate;
|
||||
std::string operationSystem;
|
||||
std::string id;
|
||||
std::vector<std::string> sources;
|
||||
std::string name;
|
||||
std::vector<std::string> approvedPatches;
|
||||
std::string updatedBy;
|
||||
std::string createdDate;
|
||||
bool approvedPatchesEnableNonSecurity;
|
||||
std::string id;
|
||||
std::vector<PatchBaseline::TagsItem> tags;
|
||||
std::string shareType;
|
||||
};
|
||||
|
||||
|
||||
@@ -28,31 +28,47 @@ namespace Oos {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_OOS_EXPORT UpdatePatchBaselineRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tags {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
UpdatePatchBaselineRequest();
|
||||
~UpdatePatchBaselineRequest();
|
||||
std::vector<std::string> getSources() const;
|
||||
void setSources(const std::vector<std::string> &sources);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getApprovalRules() const;
|
||||
void setApprovalRules(const std::string &approvalRules);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::vector<std::string> getRejectedPatches() const;
|
||||
void setRejectedPatches(const std::vector<std::string> &rejectedPatches);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getRejectedPatchesAction() const;
|
||||
void setRejectedPatchesAction(const std::string &rejectedPatchesAction);
|
||||
bool getApprovedPatchesEnableNonSecurity() const;
|
||||
void setApprovedPatchesEnableNonSecurity(bool approvedPatchesEnableNonSecurity);
|
||||
std::vector<Tags> getTags() const;
|
||||
void setTags(const std::vector<Tags> &tags);
|
||||
std::vector<std::string> getRejectedPatches() const;
|
||||
void setRejectedPatches(const std::vector<std::string> &rejectedPatches);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::vector<std::string> getApprovedPatches() const;
|
||||
void setApprovedPatches(const std::vector<std::string> &approvedPatches);
|
||||
|
||||
private:
|
||||
std::vector<std::string> sources_;
|
||||
std::string clientToken_;
|
||||
std::string approvalRules_;
|
||||
std::string description_;
|
||||
std::vector<std::string> rejectedPatches_;
|
||||
std::string regionId_;
|
||||
std::string rejectedPatchesAction_;
|
||||
bool approvedPatchesEnableNonSecurity_;
|
||||
std::vector<Tags> tags_;
|
||||
std::vector<std::string> rejectedPatches_;
|
||||
std::string name_;
|
||||
std::vector<std::string> approvedPatches_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Oos
|
||||
|
||||
@@ -34,18 +34,27 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct PatchBaseline
|
||||
{
|
||||
std::string rejectedPatchesAction;
|
||||
std::string updatedBy;
|
||||
struct TagsItem
|
||||
{
|
||||
std::string tagKey;
|
||||
std::string tagValue;
|
||||
};
|
||||
std::string description;
|
||||
std::string createdBy;
|
||||
std::string updatedDate;
|
||||
std::string createdDate;
|
||||
std::string operationSystem;
|
||||
std::string id;
|
||||
std::string approvalRules;
|
||||
std::vector<std::string> sources;
|
||||
std::string name;
|
||||
std::string shareType;
|
||||
std::vector<std::string> rejectedPatches;
|
||||
std::string rejectedPatchesAction;
|
||||
std::vector<std::string> approvedPatches;
|
||||
std::string updatedBy;
|
||||
std::string createdDate;
|
||||
bool approvedPatchesEnableNonSecurity;
|
||||
std::string id;
|
||||
std::vector<TagsItem> tags;
|
||||
std::string shareType;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user