Skip to content

Commit

Permalink
Offline remote write related APIs.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Aug 5, 2024
1 parent f762794 commit 5011626
Show file tree
Hide file tree
Showing 99 changed files with 4,093 additions and 679 deletions.
4 changes: 4 additions & 0 deletions aliyun-java-sdk-arms/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2024-08-05 Version: 2.8.36
- Offline remote write related APIs.
- Mark the managedPrometheus related APIs as deprecated.

2024-04-29 Version: 2.8.35
- Generated 2019-08-08 for `ARMS`.

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.35</version>
<version>2.8.36</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 @@ -30,12 +30,16 @@ public class CreateEnvironmentRequest extends RpcAcsRequest<CreateEnvironmentRes

private String environmentName;

private Boolean initEnvironment;

private String prometheusInstanceId;

private String environmentSubType;

private List<Tags> tagss;

private String grafanaWorkspaceId;

private String resourceGroupId;

private String environmentType;
Expand Down Expand Up @@ -76,6 +80,17 @@ public void setEnvironmentName(String environmentName) {
}
}

public Boolean getInitEnvironment() {
return this.initEnvironment;
}

public void setInitEnvironment(Boolean initEnvironment) {
this.initEnvironment = initEnvironment;
if(initEnvironment != null){
putQueryParameter("InitEnvironment", initEnvironment.toString());
}
}

public String getPrometheusInstanceId() {
return this.prometheusInstanceId;
}
Expand Down Expand Up @@ -112,6 +127,17 @@ public void setTagss(List<Tags> tagss) {
}
}

public String getGrafanaWorkspaceId() {
return this.grafanaWorkspaceId;
}

public void setGrafanaWorkspaceId(String grafanaWorkspaceId) {
this.grafanaWorkspaceId = grafanaWorkspaceId;
if(grafanaWorkspaceId != null){
putQueryParameter("GrafanaWorkspaceId", grafanaWorkspaceId);
}
}

public String getResourceGroupId() {
return this.resourceGroupId;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ public static class Data {

private String grafanaWorkspaceDomain;

private String grafanaWorkspaceDomainStatus;

private Boolean commercial;

private String grafanaWorkspaceName;
Expand Down Expand Up @@ -203,6 +205,14 @@ public void setGrafanaWorkspaceDomain(String grafanaWorkspaceDomain) {
this.grafanaWorkspaceDomain = grafanaWorkspaceDomain;
}

public String getGrafanaWorkspaceDomainStatus() {
return this.grafanaWorkspaceDomainStatus;
}

public void setGrafanaWorkspaceDomainStatus(String grafanaWorkspaceDomainStatus) {
this.grafanaWorkspaceDomainStatus = grafanaWorkspaceDomainStatus;
}

public Boolean getCommercial() {
return this.commercial;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
public class CreateIntegrationRequest extends RpcAcsRequest<CreateIntegrationResponse> {


private String description;

private Boolean autoRecover;

private Long recoverTime;

private String integrationName;

private String description;

private String integrationProductType;
public CreateIntegrationRequest() {
super("ARMS", "2019-08-08", "CreateIntegration", "arms");
Expand All @@ -43,6 +43,17 @@ public CreateIntegrationRequest() {
} catch (Exception e) {}
}

public String getDescription() {
return this.description;
}

public void setDescription(String description) {
this.description = description;
if(description != null){
putBodyParameter("Description", description);
}
}

public Boolean getAutoRecover() {
return this.autoRecover;
}
Expand Down Expand Up @@ -76,17 +87,6 @@ public void setIntegrationName(String integrationName) {
}
}

public String getDescription() {
return this.description;
}

public void setDescription(String description) {
this.description = description;
if(description != null){
putBodyParameter("Description", description);
}
}

public String getIntegrationProductType() {
return this.integrationProductType;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ public class CreateOrUpdateAlertRuleRequest extends RpcAcsRequest<CreateOrUpdate

private Long duration;

private String autoAddTargetConfig;

private String metricsKey;

private String alertPiplines;
Expand Down Expand Up @@ -154,6 +156,17 @@ public void setDuration(Long duration) {
}
}

public String getAutoAddTargetConfig() {
return this.autoAddTargetConfig;
}

public void setAutoAddTargetConfig(String autoAddTargetConfig) {
this.autoAddTargetConfig = autoAddTargetConfig;
if(autoAddTargetConfig != null){
putBodyParameter("AutoAddTargetConfig", autoAddTargetConfig);
}
}

public String getMetricsKey() {
return this.metricsKey;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ public class CreateOrUpdateContactRequest extends RpcAcsRequest<CreateOrUpdateCo

private Long reissueSendNotice;

private String corpUserId;

private String contactName;

private String resourceGroupId;
Expand Down Expand Up @@ -71,6 +73,17 @@ public void setReissueSendNotice(Long reissueSendNotice) {
}
}

public String getCorpUserId() {
return this.corpUserId;
}

public void setCorpUserId(String corpUserId) {
this.corpUserId = corpUserId;
if(corpUserId != null){
putBodyParameter("CorpUserId", corpUserId);
}
}

public String getContactName() {
return this.contactName;
}
Expand Down
Loading

0 comments on commit 5011626

Please sign in to comment.