Package com.datadog.api.client.v2.api
Class MonitorsApi
java.lang.Object
com.datadog.api.client.v2.api.MonitorsApi
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MonitorsApi
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to getMonitorNotificationRule.static classManage optional parameters to getMonitorNotificationRules.static classManage optional parameters to getMonitorUserTemplate. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a monitor configuration policy.Create a monitor configuration policy.Create a monitor configuration policy.Create a monitor configuration policy.Create a monitor notification rule.Create a monitor notification rule.Creates a monitor notification rule.Create a monitor notification rule.Create a monitor user template.Create a monitor user template.Create a new monitor user template.Create a monitor user template.voiddeleteMonitorConfigPolicy(String policyId) Delete a monitor configuration policy.deleteMonitorConfigPolicyAsync(String policyId) Delete a monitor configuration policy.deleteMonitorConfigPolicyWithHttpInfo(String policyId) Delete a monitor configuration policy.Delete a monitor configuration policy.voiddeleteMonitorNotificationRule(String ruleId) Delete a monitor notification rule.Delete a monitor notification rule.Deletes a monitor notification rule byrule_id.Delete a monitor notification rule.voiddeleteMonitorUserTemplate(String templateId) Delete a monitor user template.deleteMonitorUserTemplateAsync(String templateId) Delete a monitor user template.deleteMonitorUserTemplateWithHttpInfo(String templateId) Delete an existing monitor user template by its ID.deleteMonitorUserTemplateWithHttpInfoAsync(String templateId) Delete a monitor user template.Get the API client.getMonitorConfigPolicy(String policyId) Get a monitor configuration policy.getMonitorConfigPolicyAsync(String policyId) Get a monitor configuration policy.getMonitorConfigPolicyWithHttpInfo(String policyId) Get a monitor configuration policy bypolicy_id.Get a monitor configuration policy.getMonitorNotificationRule(String ruleId) Get a monitor notification rule.getMonitorNotificationRule(String ruleId, MonitorsApi.GetMonitorNotificationRuleOptionalParameters parameters) Get a monitor notification rule.Get a monitor notification rule.getMonitorNotificationRuleAsync(String ruleId, MonitorsApi.GetMonitorNotificationRuleOptionalParameters parameters) Get a monitor notification rule.Get all monitor notification rules.Get all monitor notification rules.Get all monitor notification rules.getMonitorNotificationRulesAsync(MonitorsApi.GetMonitorNotificationRulesOptionalParameters parameters) Get all monitor notification rules.getMonitorNotificationRulesWithHttpInfo(MonitorsApi.GetMonitorNotificationRulesOptionalParameters parameters) Returns a list of all monitor notification rules.getMonitorNotificationRulesWithHttpInfoAsync(MonitorsApi.GetMonitorNotificationRulesOptionalParameters parameters) Get all monitor notification rules.getMonitorNotificationRuleWithHttpInfo(String ruleId, MonitorsApi.GetMonitorNotificationRuleOptionalParameters parameters) Returns a monitor notification rule byrule_id.getMonitorNotificationRuleWithHttpInfoAsync(String ruleId, MonitorsApi.GetMonitorNotificationRuleOptionalParameters parameters) Get a monitor notification rule.getMonitorUserTemplate(String templateId) Get a monitor user template.getMonitorUserTemplate(String templateId, MonitorsApi.GetMonitorUserTemplateOptionalParameters parameters) Get a monitor user template.getMonitorUserTemplateAsync(String templateId) Get a monitor user template.getMonitorUserTemplateAsync(String templateId, MonitorsApi.GetMonitorUserTemplateOptionalParameters parameters) Get a monitor user template.getMonitorUserTemplateWithHttpInfo(String templateId, MonitorsApi.GetMonitorUserTemplateOptionalParameters parameters) Retrieve a monitor user template by its ID.getMonitorUserTemplateWithHttpInfoAsync(String templateId, MonitorsApi.GetMonitorUserTemplateOptionalParameters parameters) Get a monitor user template.Get all monitor configuration policies.Get all monitor configuration policies.Get all monitor configuration policies.Get all monitor configuration policies.Get all monitor user templates.Get all monitor user templates.Retrieve all monitor user templates.Get all monitor user templates.voidsetApiClient(ApiClient apiClient) Set the API client.updateMonitorConfigPolicy(String policyId, MonitorConfigPolicyEditRequest body) Edit a monitor configuration policy.updateMonitorConfigPolicyAsync(String policyId, MonitorConfigPolicyEditRequest body) Edit a monitor configuration policy.Edit a monitor configuration policy.Edit a monitor configuration policy.Update a monitor notification rule.Update a monitor notification rule.Updates a monitor notification rule byrule_id.updateMonitorNotificationRuleWithHttpInfoAsync(String ruleId, MonitorNotificationRuleUpdateRequest body) Update a monitor notification rule.updateMonitorUserTemplate(String templateId, MonitorUserTemplateUpdateRequest body) Update a monitor user template to a new version.updateMonitorUserTemplateAsync(String templateId, MonitorUserTemplateUpdateRequest body) Update a monitor user template to a new version.updateMonitorUserTemplateWithHttpInfo(String templateId, MonitorUserTemplateUpdateRequest body) Creates a new version of an existing monitor user template.updateMonitorUserTemplateWithHttpInfoAsync(String templateId, MonitorUserTemplateUpdateRequest body) Update a monitor user template to a new version.voidvalidateExistingMonitorUserTemplate(String templateId, MonitorUserTemplateUpdateRequest body) Validate an existing monitor user template.validateExistingMonitorUserTemplateAsync(String templateId, MonitorUserTemplateUpdateRequest body) Validate an existing monitor user template.validateExistingMonitorUserTemplateWithHttpInfo(String templateId, MonitorUserTemplateUpdateRequest body) Validate the structure and content of an existing monitor user template being updated to a new version.validateExistingMonitorUserTemplateWithHttpInfoAsync(String templateId, MonitorUserTemplateUpdateRequest body) Validate an existing monitor user template.voidValidate a monitor user template.Validate a monitor user template.Validate the structure and content of a monitor user template.Validate a monitor user template.
-
Constructor Details
-
MonitorsApi
public MonitorsApi() -
MonitorsApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createMonitorConfigPolicy
public MonitorConfigPolicyResponse createMonitorConfigPolicy(MonitorConfigPolicyCreateRequest body) throws ApiException Create a monitor configuration policy.- Parameters:
body- Create a monitor configuration policy request body. (required)- Returns:
- MonitorConfigPolicyResponse
- Throws:
ApiException- if fails to make API call
-
createMonitorConfigPolicyAsync
public CompletableFuture<MonitorConfigPolicyResponse> createMonitorConfigPolicyAsync(MonitorConfigPolicyCreateRequest body) Create a monitor configuration policy.- Parameters:
body- Create a monitor configuration policy request body. (required)- Returns:
- CompletableFuture<MonitorConfigPolicyResponse>
-
createMonitorConfigPolicyWithHttpInfo
public ApiResponse<MonitorConfigPolicyResponse> createMonitorConfigPolicyWithHttpInfo(MonitorConfigPolicyCreateRequest body) throws ApiException Create a monitor configuration policy.- Parameters:
body- Create a monitor configuration policy request body. (required)- Returns:
- ApiResponse<MonitorConfigPolicyResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 429 Too many requests -
-
createMonitorConfigPolicyWithHttpInfoAsync
public CompletableFuture<ApiResponse<MonitorConfigPolicyResponse>> createMonitorConfigPolicyWithHttpInfoAsync(MonitorConfigPolicyCreateRequest body) Create a monitor configuration policy.- Parameters:
body- Create a monitor configuration policy request body. (required)- Returns:
- CompletableFuture<ApiResponse<MonitorConfigPolicyResponse>>
-
createMonitorNotificationRule
public MonitorNotificationRuleResponse createMonitorNotificationRule(MonitorNotificationRuleCreateRequest body) throws ApiException Create a monitor notification rule.- Parameters:
body- Request body to create a monitor notification rule. (required)- Returns:
- MonitorNotificationRuleResponse
- Throws:
ApiException- if fails to make API call
-
createMonitorNotificationRuleAsync
public CompletableFuture<MonitorNotificationRuleResponse> createMonitorNotificationRuleAsync(MonitorNotificationRuleCreateRequest body) Create a monitor notification rule.- Parameters:
body- Request body to create a monitor notification rule. (required)- Returns:
- CompletableFuture<MonitorNotificationRuleResponse>
-
createMonitorNotificationRuleWithHttpInfo
public ApiResponse<MonitorNotificationRuleResponse> createMonitorNotificationRuleWithHttpInfo(MonitorNotificationRuleCreateRequest body) throws ApiException Creates a monitor notification rule.- Parameters:
body- Request body to create a monitor notification rule. (required)- Returns:
- ApiResponse<MonitorNotificationRuleResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 429 Too many requests -
-
createMonitorNotificationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<MonitorNotificationRuleResponse>> createMonitorNotificationRuleWithHttpInfoAsync(MonitorNotificationRuleCreateRequest body) Create a monitor notification rule.- Parameters:
body- Request body to create a monitor notification rule. (required)- Returns:
- CompletableFuture<ApiResponse<MonitorNotificationRuleResponse>>
-
createMonitorUserTemplate
public MonitorUserTemplateCreateResponse createMonitorUserTemplate(MonitorUserTemplateCreateRequest body) throws ApiException Create a monitor user template.- Parameters:
body- (required)- Returns:
- MonitorUserTemplateCreateResponse
- Throws:
ApiException- if fails to make API call
-
createMonitorUserTemplateAsync
public CompletableFuture<MonitorUserTemplateCreateResponse> createMonitorUserTemplateAsync(MonitorUserTemplateCreateRequest body) Create a monitor user template.- Parameters:
body- (required)- Returns:
- CompletableFuture<MonitorUserTemplateCreateResponse>
-
createMonitorUserTemplateWithHttpInfo
public ApiResponse<MonitorUserTemplateCreateResponse> createMonitorUserTemplateWithHttpInfo(MonitorUserTemplateCreateRequest body) throws ApiException Create a new monitor user template.- Parameters:
body- (required)- Returns:
- ApiResponse<MonitorUserTemplateCreateResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 429 Too many requests -
-
createMonitorUserTemplateWithHttpInfoAsync
public CompletableFuture<ApiResponse<MonitorUserTemplateCreateResponse>> createMonitorUserTemplateWithHttpInfoAsync(MonitorUserTemplateCreateRequest body) Create a monitor user template.- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<MonitorUserTemplateCreateResponse>>
-
deleteMonitorConfigPolicy
Delete a monitor configuration policy.See
deleteMonitorConfigPolicyWithHttpInfo(java.lang.String).- Parameters:
policyId- ID of the monitor configuration policy. (required)- Throws:
ApiException- if fails to make API call
-
deleteMonitorConfigPolicyAsync
Delete a monitor configuration policy.See
deleteMonitorConfigPolicyWithHttpInfoAsync(java.lang.String).- Parameters:
policyId- ID of the monitor configuration policy. (required)- Returns:
- CompletableFuture
-
deleteMonitorConfigPolicyWithHttpInfo
Delete a monitor configuration policy.- Parameters:
policyId- ID of the monitor configuration policy. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteMonitorConfigPolicyWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteMonitorConfigPolicyWithHttpInfoAsync(String policyId) Delete a monitor configuration policy.See
deleteMonitorConfigPolicyWithHttpInfo(java.lang.String).- Parameters:
policyId- ID of the monitor configuration policy. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteMonitorNotificationRule
Delete a monitor notification rule.See
deleteMonitorNotificationRuleWithHttpInfo(java.lang.String).- Parameters:
ruleId- ID of the monitor notification rule to delete. (required)- Throws:
ApiException- if fails to make API call
-
deleteMonitorNotificationRuleAsync
Delete a monitor notification rule.See
deleteMonitorNotificationRuleWithHttpInfoAsync(java.lang.String).- Parameters:
ruleId- ID of the monitor notification rule to delete. (required)- Returns:
- CompletableFuture
-
deleteMonitorNotificationRuleWithHttpInfo
public ApiResponse<Void> deleteMonitorNotificationRuleWithHttpInfo(String ruleId) throws ApiException Deletes a monitor notification rule byrule_id.- Parameters:
ruleId- ID of the monitor notification rule to delete. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteMonitorNotificationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteMonitorNotificationRuleWithHttpInfoAsync(String ruleId) Delete a monitor notification rule.See
deleteMonitorNotificationRuleWithHttpInfo(java.lang.String).- Parameters:
ruleId- ID of the monitor notification rule to delete. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteMonitorUserTemplate
Delete a monitor user template.See
deleteMonitorUserTemplateWithHttpInfo(java.lang.String).- Parameters:
templateId- ID of the monitor user template. (required)- Throws:
ApiException- if fails to make API call
-
deleteMonitorUserTemplateAsync
Delete a monitor user template.See
deleteMonitorUserTemplateWithHttpInfoAsync(java.lang.String).- Parameters:
templateId- ID of the monitor user template. (required)- Returns:
- CompletableFuture
-
deleteMonitorUserTemplateWithHttpInfo
public ApiResponse<Void> deleteMonitorUserTemplateWithHttpInfo(String templateId) throws ApiException Delete an existing monitor user template by its ID.- Parameters:
templateId- ID of the monitor user template. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 404 Not Found - 429 Too many requests -
-
deleteMonitorUserTemplateWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteMonitorUserTemplateWithHttpInfoAsync(String templateId) Delete a monitor user template.See
deleteMonitorUserTemplateWithHttpInfo(java.lang.String).- Parameters:
templateId- ID of the monitor user template. (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
getMonitorConfigPolicy
Get a monitor configuration policy.- Parameters:
policyId- ID of the monitor configuration policy. (required)- Returns:
- MonitorConfigPolicyResponse
- Throws:
ApiException- if fails to make API call
-
getMonitorConfigPolicyAsync
Get a monitor configuration policy.See
getMonitorConfigPolicyWithHttpInfoAsync(java.lang.String).- Parameters:
policyId- ID of the monitor configuration policy. (required)- Returns:
- CompletableFuture<MonitorConfigPolicyResponse>
-
getMonitorConfigPolicyWithHttpInfo
public ApiResponse<MonitorConfigPolicyResponse> getMonitorConfigPolicyWithHttpInfo(String policyId) throws ApiException Get a monitor configuration policy bypolicy_id.- Parameters:
policyId- ID of the monitor configuration policy. (required)- Returns:
- ApiResponse<MonitorConfigPolicyResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
getMonitorConfigPolicyWithHttpInfoAsync
public CompletableFuture<ApiResponse<MonitorConfigPolicyResponse>> getMonitorConfigPolicyWithHttpInfoAsync(String policyId) Get a monitor configuration policy.- Parameters:
policyId- ID of the monitor configuration policy. (required)- Returns:
- CompletableFuture<ApiResponse<MonitorConfigPolicyResponse>>
-
getMonitorNotificationRule
public MonitorNotificationRuleResponse getMonitorNotificationRule(String ruleId) throws ApiException Get a monitor notification rule.- Parameters:
ruleId- ID of the monitor notification rule to fetch. (required)- Returns:
- MonitorNotificationRuleResponse
- Throws:
ApiException- if fails to make API call
-
getMonitorNotificationRuleAsync
public CompletableFuture<MonitorNotificationRuleResponse> getMonitorNotificationRuleAsync(String ruleId) Get a monitor notification rule.- Parameters:
ruleId- ID of the monitor notification rule to fetch. (required)- Returns:
- CompletableFuture<MonitorNotificationRuleResponse>
-
getMonitorNotificationRule
public MonitorNotificationRuleResponse getMonitorNotificationRule(String ruleId, MonitorsApi.GetMonitorNotificationRuleOptionalParameters parameters) throws ApiException Get a monitor notification rule.- Parameters:
ruleId- ID of the monitor notification rule to fetch. (required)parameters- Optional parameters for the request.- Returns:
- MonitorNotificationRuleResponse
- Throws:
ApiException- if fails to make API call
-
getMonitorNotificationRuleAsync
public CompletableFuture<MonitorNotificationRuleResponse> getMonitorNotificationRuleAsync(String ruleId, MonitorsApi.GetMonitorNotificationRuleOptionalParameters parameters) Get a monitor notification rule.- Parameters:
ruleId- ID of the monitor notification rule to fetch. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<MonitorNotificationRuleResponse>
-
getMonitorNotificationRuleWithHttpInfo
public ApiResponse<MonitorNotificationRuleResponse> getMonitorNotificationRuleWithHttpInfo(String ruleId, MonitorsApi.GetMonitorNotificationRuleOptionalParameters parameters) throws ApiException Returns a monitor notification rule byrule_id.- Parameters:
ruleId- ID of the monitor notification rule to fetch. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<MonitorNotificationRuleResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
getMonitorNotificationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<MonitorNotificationRuleResponse>> getMonitorNotificationRuleWithHttpInfoAsync(String ruleId, MonitorsApi.GetMonitorNotificationRuleOptionalParameters parameters) Get a monitor notification rule.- Parameters:
ruleId- ID of the monitor notification rule to fetch. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<MonitorNotificationRuleResponse>>
-
getMonitorNotificationRules
Get all monitor notification rules.- Returns:
- MonitorNotificationRuleListResponse
- Throws:
ApiException- if fails to make API call
-
getMonitorNotificationRulesAsync
Get all monitor notification rules.- Returns:
- CompletableFuture<MonitorNotificationRuleListResponse>
-
getMonitorNotificationRules
public MonitorNotificationRuleListResponse getMonitorNotificationRules(MonitorsApi.GetMonitorNotificationRulesOptionalParameters parameters) throws ApiException Get all monitor notification rules.- Parameters:
parameters- Optional parameters for the request.- Returns:
- MonitorNotificationRuleListResponse
- Throws:
ApiException- if fails to make API call
-
getMonitorNotificationRulesAsync
public CompletableFuture<MonitorNotificationRuleListResponse> getMonitorNotificationRulesAsync(MonitorsApi.GetMonitorNotificationRulesOptionalParameters parameters) Get all monitor notification rules.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<MonitorNotificationRuleListResponse>
-
getMonitorNotificationRulesWithHttpInfo
public ApiResponse<MonitorNotificationRuleListResponse> getMonitorNotificationRulesWithHttpInfo(MonitorsApi.GetMonitorNotificationRulesOptionalParameters parameters) throws ApiException Returns a list of all monitor notification rules.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<MonitorNotificationRuleListResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 429 Too many requests -
-
getMonitorNotificationRulesWithHttpInfoAsync
public CompletableFuture<ApiResponse<MonitorNotificationRuleListResponse>> getMonitorNotificationRulesWithHttpInfoAsync(MonitorsApi.GetMonitorNotificationRulesOptionalParameters parameters) Get all monitor notification rules.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<MonitorNotificationRuleListResponse>>
-
getMonitorUserTemplate
Get a monitor user template.- Parameters:
templateId- ID of the monitor user template. (required)- Returns:
- MonitorUserTemplateResponse
- Throws:
ApiException- if fails to make API call
-
getMonitorUserTemplateAsync
public CompletableFuture<MonitorUserTemplateResponse> getMonitorUserTemplateAsync(String templateId) Get a monitor user template.- Parameters:
templateId- ID of the monitor user template. (required)- Returns:
- CompletableFuture<MonitorUserTemplateResponse>
-
getMonitorUserTemplate
public MonitorUserTemplateResponse getMonitorUserTemplate(String templateId, MonitorsApi.GetMonitorUserTemplateOptionalParameters parameters) throws ApiException Get a monitor user template.- Parameters:
templateId- ID of the monitor user template. (required)parameters- Optional parameters for the request.- Returns:
- MonitorUserTemplateResponse
- Throws:
ApiException- if fails to make API call
-
getMonitorUserTemplateAsync
public CompletableFuture<MonitorUserTemplateResponse> getMonitorUserTemplateAsync(String templateId, MonitorsApi.GetMonitorUserTemplateOptionalParameters parameters) Get a monitor user template.- Parameters:
templateId- ID of the monitor user template. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<MonitorUserTemplateResponse>
-
getMonitorUserTemplateWithHttpInfo
public ApiResponse<MonitorUserTemplateResponse> getMonitorUserTemplateWithHttpInfo(String templateId, MonitorsApi.GetMonitorUserTemplateOptionalParameters parameters) throws ApiException Retrieve a monitor user template by its ID.- Parameters:
templateId- ID of the monitor user template. (required)parameters- Optional parameters for the request.- Returns:
- ApiResponse<MonitorUserTemplateResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 404 Not Found - 429 Too many requests -
-
getMonitorUserTemplateWithHttpInfoAsync
public CompletableFuture<ApiResponse<MonitorUserTemplateResponse>> getMonitorUserTemplateWithHttpInfoAsync(String templateId, MonitorsApi.GetMonitorUserTemplateOptionalParameters parameters) Get a monitor user template.- Parameters:
templateId- ID of the monitor user template. (required)parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<MonitorUserTemplateResponse>>
-
listMonitorConfigPolicies
Get all monitor configuration policies.- Returns:
- MonitorConfigPolicyListResponse
- Throws:
ApiException- if fails to make API call
-
listMonitorConfigPoliciesAsync
Get all monitor configuration policies.- Returns:
- CompletableFuture<MonitorConfigPolicyListResponse>
-
listMonitorConfigPoliciesWithHttpInfo
public ApiResponse<MonitorConfigPolicyListResponse> listMonitorConfigPoliciesWithHttpInfo() throws ApiExceptionGet all monitor configuration policies.- Returns:
- ApiResponse<MonitorConfigPolicyListResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 429 Too many requests -
-
listMonitorConfigPoliciesWithHttpInfoAsync
public CompletableFuture<ApiResponse<MonitorConfigPolicyListResponse>> listMonitorConfigPoliciesWithHttpInfoAsync()Get all monitor configuration policies.- Returns:
- CompletableFuture<ApiResponse<MonitorConfigPolicyListResponse>>
-
listMonitorUserTemplates
Get all monitor user templates.- Returns:
- MonitorUserTemplateListResponse
- Throws:
ApiException- if fails to make API call
-
listMonitorUserTemplatesAsync
Get all monitor user templates.- Returns:
- CompletableFuture<MonitorUserTemplateListResponse>
-
listMonitorUserTemplatesWithHttpInfo
public ApiResponse<MonitorUserTemplateListResponse> listMonitorUserTemplatesWithHttpInfo() throws ApiExceptionRetrieve all monitor user templates.- Returns:
- ApiResponse<MonitorUserTemplateListResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 429 Too many requests -
-
listMonitorUserTemplatesWithHttpInfoAsync
public CompletableFuture<ApiResponse<MonitorUserTemplateListResponse>> listMonitorUserTemplatesWithHttpInfoAsync()Get all monitor user templates.- Returns:
- CompletableFuture<ApiResponse<MonitorUserTemplateListResponse>>
-
updateMonitorConfigPolicy
public MonitorConfigPolicyResponse updateMonitorConfigPolicy(String policyId, MonitorConfigPolicyEditRequest body) throws ApiException Edit a monitor configuration policy.- Parameters:
policyId- ID of the monitor configuration policy. (required)body- Description of the update. (required)- Returns:
- MonitorConfigPolicyResponse
- Throws:
ApiException- if fails to make API call
-
updateMonitorConfigPolicyAsync
public CompletableFuture<MonitorConfigPolicyResponse> updateMonitorConfigPolicyAsync(String policyId, MonitorConfigPolicyEditRequest body) Edit a monitor configuration policy.- Parameters:
policyId- ID of the monitor configuration policy. (required)body- Description of the update. (required)- Returns:
- CompletableFuture<MonitorConfigPolicyResponse>
-
updateMonitorConfigPolicyWithHttpInfo
public ApiResponse<MonitorConfigPolicyResponse> updateMonitorConfigPolicyWithHttpInfo(String policyId, MonitorConfigPolicyEditRequest body) throws ApiException Edit a monitor configuration policy.- Parameters:
policyId- ID of the monitor configuration policy. (required)body- Description of the update. (required)- Returns:
- ApiResponse<MonitorConfigPolicyResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Forbidden - 404 Not Found - 422 Unprocessable Entity - 429 Too many requests -
-
updateMonitorConfigPolicyWithHttpInfoAsync
public CompletableFuture<ApiResponse<MonitorConfigPolicyResponse>> updateMonitorConfigPolicyWithHttpInfoAsync(String policyId, MonitorConfigPolicyEditRequest body) Edit a monitor configuration policy.- Parameters:
policyId- ID of the monitor configuration policy. (required)body- Description of the update. (required)- Returns:
- CompletableFuture<ApiResponse<MonitorConfigPolicyResponse>>
-
updateMonitorNotificationRule
public MonitorNotificationRuleResponse updateMonitorNotificationRule(String ruleId, MonitorNotificationRuleUpdateRequest body) throws ApiException Update a monitor notification rule.- Parameters:
ruleId- ID of the monitor notification rule to update. (required)body- Request body to update the monitor notification rule. (required)- Returns:
- MonitorNotificationRuleResponse
- Throws:
ApiException- if fails to make API call
-
updateMonitorNotificationRuleAsync
public CompletableFuture<MonitorNotificationRuleResponse> updateMonitorNotificationRuleAsync(String ruleId, MonitorNotificationRuleUpdateRequest body) Update a monitor notification rule.- Parameters:
ruleId- ID of the monitor notification rule to update. (required)body- Request body to update the monitor notification rule. (required)- Returns:
- CompletableFuture<MonitorNotificationRuleResponse>
-
updateMonitorNotificationRuleWithHttpInfo
public ApiResponse<MonitorNotificationRuleResponse> updateMonitorNotificationRuleWithHttpInfo(String ruleId, MonitorNotificationRuleUpdateRequest body) throws ApiException Updates a monitor notification rule byrule_id.- Parameters:
ruleId- ID of the monitor notification rule to update. (required)body- Request body to update the monitor notification rule. (required)- Returns:
- ApiResponse<MonitorNotificationRuleResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateMonitorNotificationRuleWithHttpInfoAsync
public CompletableFuture<ApiResponse<MonitorNotificationRuleResponse>> updateMonitorNotificationRuleWithHttpInfoAsync(String ruleId, MonitorNotificationRuleUpdateRequest body) Update a monitor notification rule.- Parameters:
ruleId- ID of the monitor notification rule to update. (required)body- Request body to update the monitor notification rule. (required)- Returns:
- CompletableFuture<ApiResponse<MonitorNotificationRuleResponse>>
-
updateMonitorUserTemplate
public MonitorUserTemplateResponse updateMonitorUserTemplate(String templateId, MonitorUserTemplateUpdateRequest body) throws ApiException Update a monitor user template to a new version.- Parameters:
templateId- ID of the monitor user template. (required)body- (required)- Returns:
- MonitorUserTemplateResponse
- Throws:
ApiException- if fails to make API call
-
updateMonitorUserTemplateAsync
public CompletableFuture<MonitorUserTemplateResponse> updateMonitorUserTemplateAsync(String templateId, MonitorUserTemplateUpdateRequest body) Update a monitor user template to a new version.- Parameters:
templateId- ID of the monitor user template. (required)body- (required)- Returns:
- CompletableFuture<MonitorUserTemplateResponse>
-
updateMonitorUserTemplateWithHttpInfo
public ApiResponse<MonitorUserTemplateResponse> updateMonitorUserTemplateWithHttpInfo(String templateId, MonitorUserTemplateUpdateRequest body) throws ApiException Creates a new version of an existing monitor user template.- Parameters:
templateId- ID of the monitor user template. (required)body- (required)- Returns:
- ApiResponse<MonitorUserTemplateResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 404 Not Found - 429 Too many requests -
-
updateMonitorUserTemplateWithHttpInfoAsync
public CompletableFuture<ApiResponse<MonitorUserTemplateResponse>> updateMonitorUserTemplateWithHttpInfoAsync(String templateId, MonitorUserTemplateUpdateRequest body) Update a monitor user template to a new version.- Parameters:
templateId- ID of the monitor user template. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<MonitorUserTemplateResponse>>
-
validateExistingMonitorUserTemplate
public void validateExistingMonitorUserTemplate(String templateId, MonitorUserTemplateUpdateRequest body) throws ApiException Validate an existing monitor user template.- Parameters:
templateId- ID of the monitor user template. (required)body- (required)- Throws:
ApiException- if fails to make API call
-
validateExistingMonitorUserTemplateAsync
public CompletableFuture<Void> validateExistingMonitorUserTemplateAsync(String templateId, MonitorUserTemplateUpdateRequest body) Validate an existing monitor user template.- Parameters:
templateId- ID of the monitor user template. (required)body- (required)- Returns:
- CompletableFuture
-
validateExistingMonitorUserTemplateWithHttpInfo
public ApiResponse<Void> validateExistingMonitorUserTemplateWithHttpInfo(String templateId, MonitorUserTemplateUpdateRequest body) throws ApiException Validate the structure and content of an existing monitor user template being updated to a new version.- Parameters:
templateId- ID of the monitor user template. (required)body- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 400 Bad Request - 404 Not Found - 429 Too many requests -
-
validateExistingMonitorUserTemplateWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> validateExistingMonitorUserTemplateWithHttpInfoAsync(String templateId, MonitorUserTemplateUpdateRequest body) Validate an existing monitor user template.- Parameters:
templateId- ID of the monitor user template. (required)body- (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
validateMonitorUserTemplate
Validate a monitor user template.- Parameters:
body- (required)- Throws:
ApiException- if fails to make API call
-
validateMonitorUserTemplateAsync
public CompletableFuture<Void> validateMonitorUserTemplateAsync(MonitorUserTemplateCreateRequest body) Validate a monitor user template.- Parameters:
body- (required)- Returns:
- CompletableFuture
-
validateMonitorUserTemplateWithHttpInfo
public ApiResponse<Void> validateMonitorUserTemplateWithHttpInfo(MonitorUserTemplateCreateRequest body) throws ApiException Validate the structure and content of a monitor user template.- Parameters:
body- (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 OK - 400 Bad Request - 429 Too many requests -
-
validateMonitorUserTemplateWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> validateMonitorUserTemplateWithHttpInfoAsync(MonitorUserTemplateCreateRequest body) Validate a monitor user template.- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<Void>>
-