Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ public class AlertingAction extends Action {
private AlertSeverity severity;

/**
* azns notification group reference.
* Azure action group reference.
*/
@JsonProperty(value = "aznsAction", required = true)
private AzNsActionGroup aznsAction;

/**
* time (in minutes) for which Alerts should be throttled.
* time (in minutes) for which Alerts should be throttled or suppressed.
*/
@JsonProperty(value = "throttlingInMin")
private Integer throttlingInMin;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@
import com.fasterxml.jackson.annotation.JsonProperty;

/**
* azns notification group.
* Azure action group.
*/
public class AzNsActionGroup {
/**
* Azure Group reference.
* Azure Action Group reference.
*/
@JsonProperty(value = "actionGroup")
private List<String> actionGroup;

/**
* Custom subject for Azns email.
* Custom subject override for all email ids in Azure action group.
*/
@JsonProperty(value = "emailSubject")
private String emailSubject;

/**
* Custom webhook payload to be send to azns action group.
* Custom payload to be sent for all webook URI in Azure action group.
*/
@JsonProperty(value = "customWebhookPayload")
private String customWebhookPayload;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public class Source {
/**
* The resource uri over which log search query is to be run.
*/
@JsonProperty(value = "datasourceId", required = true)
private String datasourceId;
@JsonProperty(value = "dataSourceId", required = true)
private String dataSourceId;

/**
* Set value to ResultCount if query should be returning search result
Expand Down Expand Up @@ -82,22 +82,22 @@ public Source withAuthorizedResources(List<String> authorizedResources) {
}

/**
* Get the datasourceId value.
* Get the dataSourceId value.
*
* @return the datasourceId value
* @return the dataSourceId value
*/
public String datasourceId() {
return this.datasourceId;
public String dataSourceId() {
return this.dataSourceId;
}

/**
* Set the datasourceId value.
* Set the dataSourceId value.
*
* @param datasourceId the datasourceId value to set
* @param dataSourceId the dataSourceId value to set
* @return the Source object itself.
*/
public Source withDatasourceId(String datasourceId) {
this.datasourceId = datasourceId;
public Source withDataSourceId(String dataSourceId) {
this.dataSourceId = dataSourceId;
return this;
}

Expand Down