CreateAutomationRuleRequest

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A unique identifier to ensure idempotency of the request.

Link copied to clipboard

A set of conditions that specify which recommended action qualify for implementation. When a rule is active and a recommended action matches these criteria, Compute Optimizer implements the action at the scheduled run time.

Link copied to clipboard

A description of the automation rule.

Link copied to clipboard
val name: String?

The name of the automation rule.

Link copied to clipboard

Configuration for organization-level rules. Required for OrganizationRule type.

Link copied to clipboard

A string representation of a decimal number between 0 and 1 (having up to 30 digits after the decimal point) that determines the priority of the rule. When multiple rules match the same recommended action, Compute Optimizer assigns the action to the rule with the lowest priority value (highest priority), even if that rule is scheduled to run later than other matching rules.

Link copied to clipboard

The types of recommended actions this rule will automate.

Link copied to clipboard

The type of rule.

Link copied to clipboard

The schedule for when the rule should run.

Link copied to clipboard

The status of the rule

Link copied to clipboard
val tags: List<Tag>?

The tags to associate with the rule.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String