vcf_vcfops_alert

Execution module for VCF Operations alert and symptom definitions.

saltext.vcf.modules.vcf_vcfops_alert.alerts_list(page=0, page_size=1000)[source]

Alerts list.

CLI Example:

salt '*' vcf_vcfops_alert.alerts_list <page> <page_size>
saltext.vcf.modules.vcf_vcfops_alert.alerts_get(alert_id)[source]

Alerts get.

CLI Example:

salt '*' vcf_vcfops_alert.alerts_get <alert_id>
saltext.vcf.modules.vcf_vcfops_alert.alerts_create(spec, profile=None)[source]

Create an alert definition.

CLI Example:

salt '*' vcf_vcfops_alert.alerts_create '{"name": "...", ...}'
saltext.vcf.modules.vcf_vcfops_alert.alerts_update(alert_id, spec, profile=None)[source]

Update the alert definition identified by alert_id.

CLI Example:

salt '*' vcf_vcfops_alert.alerts_update <alert_id> '{"name": "...", ...}'
saltext.vcf.modules.vcf_vcfops_alert.alerts_delete(alert_id, profile=None)[source]

Delete the alert definition identified by alert_id.

CLI Example:

salt '*' vcf_vcfops_alert.alerts_delete <alert_id>
saltext.vcf.modules.vcf_vcfops_alert.symptoms_list(page=0, page_size=1000)[source]

Symptoms list.

CLI Example:

salt '*' vcf_vcfops_alert.symptoms_list <page> <page_size>
saltext.vcf.modules.vcf_vcfops_alert.symptoms_get(symptom_id)[source]

Symptoms get.

CLI Example:

salt '*' vcf_vcfops_alert.symptoms_get <symptom_id>
saltext.vcf.modules.vcf_vcfops_alert.symptoms_create(spec, profile=None)[source]

Create a symptom definition.

CLI Example:

salt '*' vcf_vcfops_alert.symptoms_create '{"name": "...", ...}'
saltext.vcf.modules.vcf_vcfops_alert.symptoms_update(symptom_id, spec, profile=None)[source]

Update the symptom definition identified by symptom_id.

CLI Example:

salt '*' vcf_vcfops_alert.symptoms_update <symptom_id> '{"name": "...", ...}'
saltext.vcf.modules.vcf_vcfops_alert.symptoms_delete(symptom_id, profile=None)[source]

Delete the symptom definition identified by symptom_id.

CLI Example:

salt '*' vcf_vcfops_alert.symptoms_delete <symptom_id>
saltext.vcf.modules.vcf_vcfops_alert.active_list(page=0, page_size=1000, **params)[source]

List active alerts. Extra kwargs become server-side filters.

CLI Example:

salt '*' vcf_vcfops_alert.active_list <page> <page_size>
saltext.vcf.modules.vcf_vcfops_alert.active_get(alert_id)[source]

Active get.

CLI Example:

salt '*' vcf_vcfops_alert.active_get <alert_id>