Skip to main content

Create Plan Rule

Api to create plan rules. Request body will suggest plan against which rule need to be created and type of entities(workloads type, server groups, regions and all) that need to be referenced for applying that rule against a workload.

Request Body
  • plan object required
  • id int32
  • name string
  • rank int32

    Optional field to suggest priority/rank of the rule. If not present, we will process rule in the same order they are created.

  • workloads object[]

    This will include list of apptypes that should be evaluated against workload apptype for plan association.

  • id int32
  • name string
  • serverGroups object[]

    This will include list of Server groups that should be evaluated against workload server group for plan association.

  • id int32
  • name string
  • regions object[]

    This will include list of regions that should be evaluated against workload region for plan association.

  • id int32
  • name string
  • solutions object[]

    This will include list of solutions that should be evaluated against workload for plan association

  • id int32
  • name string
  • company object
  • id int32
  • name string
  • tags object[]

    This will include list of tags that should be evaluated against workload for plan association

  • id int32

    Id for the tag

  • name string

    Name for the plan rule tag which need to be matched against tag of the workload.

  • value string

    Possible value that need to matched against value of tag associated to workload.

Responses

OK


Schema
  • id int32
  • name string
Loading...