Skip to content

Commit

Permalink
Fix CreateAlertRule response type of AlertId.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Dec 27, 2024
1 parent 3b99ad1 commit 748d18d
Show file tree
Hide file tree
Showing 45 changed files with 2,960 additions and 44 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-arms/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-12-27 Version: 2.8.38
- Fix CreateAlertRule response type of AlertId.

2024-08-15 Version: 2.8.37
- Support effective time for CreateOrUpdateSilencePolicy interface.
- Fix spelling errors in the field SupportAuthTypes.
Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-arms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-arms</artifactId>
<packaging>jar</packaging>
<version>2.8.37</version>
<version>2.8.38</version>
<name>aliyun-java-sdk-arms</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
public class CreateGrafanaWorkspaceRequest extends RpcAcsRequest<CreateGrafanaWorkspaceResponse> {


private String accountNumber;

private String aliyunLang;

private String description;
Expand All @@ -37,13 +39,21 @@ public class CreateGrafanaWorkspaceRequest extends RpcAcsRequest<CreateGrafanaWo
@SerializedName("tags")
private List<Tags> tags;

private String duration;

private String resourceGroupId;

private String grafanaVersion;

private String password;

private String grafanaWorkspaceEdition;
private String autoRenew;

private String grafanaWorkspaceEdition;

private String customAccountNumber;

private String pricingCycle;
public CreateGrafanaWorkspaceRequest() {
super("ARMS", "2019-08-08", "CreateGrafanaWorkspace", "arms");
setMethod(MethodType.POST);
Expand All @@ -53,6 +63,17 @@ public CreateGrafanaWorkspaceRequest() {
} catch (Exception e) {}
}

public String getAccountNumber() {
return this.accountNumber;
}

public void setAccountNumber(String accountNumber) {
this.accountNumber = accountNumber;
if(accountNumber != null){
putQueryParameter("AccountNumber", accountNumber);
}
}

public String getAliyunLang() {
return this.aliyunLang;
}
Expand Down Expand Up @@ -97,6 +118,17 @@ public void setTags(List<Tags> tags) {
}
}

public String getDuration() {
return this.duration;
}

public void setDuration(String duration) {
this.duration = duration;
if(duration != null){
putQueryParameter("Duration", duration);
}
}

public String getResourceGroupId() {
return this.resourceGroupId;
}
Expand Down Expand Up @@ -130,6 +162,17 @@ public void setPassword(String password) {
}
}

public String getAutoRenew() {
return this.autoRenew;
}

public void setAutoRenew(String autoRenew) {
this.autoRenew = autoRenew;
if(autoRenew != null){
putQueryParameter("AutoRenew", autoRenew);
}
}

public String getGrafanaWorkspaceEdition() {
return this.grafanaWorkspaceEdition;
}
Expand All @@ -141,6 +184,28 @@ public void setGrafanaWorkspaceEdition(String grafanaWorkspaceEdition) {
}
}

public String getCustomAccountNumber() {
return this.customAccountNumber;
}

public void setCustomAccountNumber(String customAccountNumber) {
this.customAccountNumber = customAccountNumber;
if(customAccountNumber != null){
putQueryParameter("CustomAccountNumber", customAccountNumber);
}
}

public String getPricingCycle() {
return this.pricingCycle;
}

public void setPricingCycle(String pricingCycle) {
this.pricingCycle = pricingCycle;
if(pricingCycle != null){
putQueryParameter("PricingCycle", pricingCycle);
}
}

public static class Tags {

@SerializedName("Value")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void setAlertRule(AlertRule alertRule) {

public static class AlertRule {

private Float alertId;
private Long alertId;

private String alertName;

Expand Down Expand Up @@ -99,11 +99,11 @@ public static class AlertRule {

private Filters filters;

public Float getAlertId() {
public Long getAlertId() {
return this.alertId;
}

public void setAlertId(Float alertId) {
public void setAlertId(Long alertId) {
this.alertId = alertId;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ public class CreatePrometheusInstanceRequest extends RpcAcsRequest<CreatePrometh

private String vpcId;

private String paymentType;

private Integer archiveDuration;
public CreatePrometheusInstanceRequest() {
super("ARMS", "2019-08-08", "CreatePrometheusInstance", "arms");
Expand Down Expand Up @@ -195,6 +197,17 @@ public void setVpcId(String vpcId) {
}
}

public String getPaymentType() {
return this.paymentType;
}

public void setPaymentType(String paymentType) {
this.paymentType = paymentType;
if(paymentType != null){
putQueryParameter("PaymentType", paymentType);
}
}

public Integer getArchiveDuration() {
return this.archiveDuration;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public class CreateRumAppRequest extends RpcAcsRequest<CreateRumAppResponse> {

private String siteType;

private String realRegionId;

private String resourceGroupId;

private String appName;
Expand Down Expand Up @@ -101,6 +103,17 @@ public void setSiteType(String siteType) {
}
}

public String getRealRegionId() {
return this.realRegionId;
}

public void setRealRegionId(String realRegionId) {
this.realRegionId = realRegionId;
if(realRegionId != null){
putQueryParameter("RealRegionId", realRegionId);
}
}

public String getResourceGroupId() {
return this.resourceGroupId;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ public class DeleteRumAppRequest extends RpcAcsRequest<DeleteRumAppResponse> {

private String appGroup;

private String appId;
private String appId;

private String realRegionId;
public DeleteRumAppRequest() {
super("ARMS", "2019-08-08", "DeleteRumApp", "arms");
setProtocol(ProtocolType.HTTPS);
Expand Down Expand Up @@ -59,6 +61,17 @@ public void setAppId(String appId) {
if(appId != null){
putQueryParameter("AppId", appId);
}
}

public String getRealRegionId() {
return this.realRegionId;
}

public void setRealRegionId(String realRegionId) {
this.realRegionId = realRegionId;
if(realRegionId != null){
putQueryParameter("RealRegionId", realRegionId);
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@
public class DeleteRumUploadFileRequest extends RpcAcsRequest<DeleteRumUploadFileResponse> {


private String pid;

private String uuid;

private String versionId;

private String fileName;

private String pid;

private String uuid;
private String batchItems;
public DeleteRumUploadFileRequest() {
super("ARMS", "2019-08-08", "DeleteRumUploadFile", "arms");
setProtocol(ProtocolType.HTTPS);
Expand All @@ -43,6 +45,28 @@ public DeleteRumUploadFileRequest() {
} catch (Exception e) {}
}

public String getPid() {
return this.pid;
}

public void setPid(String pid) {
this.pid = pid;
if(pid != null){
putQueryParameter("Pid", pid);
}
}

public String getUuid() {
return this.uuid;
}

public void setUuid(String uuid) {
this.uuid = uuid;
if(uuid != null){
putQueryParameter("Uuid", uuid);
}
}

public String getVersionId() {
return this.versionId;
}
Expand All @@ -65,25 +89,14 @@ public void setFileName(String fileName) {
}
}

public String getPid() {
return this.pid;
}

public void setPid(String pid) {
this.pid = pid;
if(pid != null){
putQueryParameter("Pid", pid);
}
}

public String getUuid() {
return this.uuid;
public String getBatchItems() {
return this.batchItems;
}

public void setUuid(String uuid) {
this.uuid = uuid;
if(uuid != null){
putQueryParameter("Uuid", uuid);
public void setBatchItems(String batchItems) {
this.batchItems = batchItems;
if(batchItems != null){
putQueryParameter("BatchItems", batchItems);
}
}

Expand Down
Loading

0 comments on commit 748d18d

Please sign in to comment.