azure.api-management

API Management Resource

example

policies:
  - name: api-management-no-vnet
    resource: azure.api-management
    filters:
      - type: value
        key: properties.virtualNetworkType
        op: eq
        value: None

Actions

resize

Action to scale api management resource. Required arguments: capacity in units and tier (Developer, Basic, Standard or Premium).

example

This policy will resize api management to Premium tier with 8 units.

policies:
  - name: resize-api
    resource: azure.api-management
    filters:
      - type: value
        key: name
        value: test-api
    actions:
      - type: resize
        tier: Premium
        capacity: 8
properties:
  capacity:
    type: number
  tier:
    enum:
    - Developer
    - Basic
    - Standard
    - Premium
  type:
    enum:
    - resize
required:
- capacity
- tier
- type