ArmsFunctions

Functions

Link copied to clipboard

This data source provides the Arms Alert Contact Groups of the current Alibaba Cloud user.

suspend fun getAlertContactGroups(alertContactGroupName: String? = null, contactId: String? = null, contactName: String? = null, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null): GetAlertContactGroupsResult
Link copied to clipboard

This data source provides the Arms Alert Contacts of the current Alibaba Cloud user.

suspend fun getAlertContacts(alertContactName: String? = null, email: String? = null, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null, phoneNum: String? = null): GetAlertContactsResult
Link copied to clipboard

This data source provides the Arms Dispatch Rules of the current Alibaba Cloud user.

suspend fun getDispatchRules(dispatchRuleName: String? = null, enableDetails: Boolean? = null, ids: List<String>? = null, nameRegex: String? = null, outputFile: String? = null): GetDispatchRulesResult
Link copied to clipboard

This data source provides the Arms Prometheus Alert Rules of the current Alibaba Cloud user.

suspend fun getPrometheusAlertRules(clusterId: String, ids: List<String>? = null, matchExpressions: String? = null, nameRegex: String? = null, outputFile: String? = null, status: Int? = null, type: String? = null): GetPrometheusAlertRulesResult