azure.mgmt.resource resources

azure.armresource

Filters

resource-type

properties:
  type:
    enum:
    - resource-type
  values:
    items:
      type: string
    type: array
required:
- values
- type

azure.resourcegroup

Resource Group Resource

example

Finds all Resource Groups in the subscription.

policies:
    - name: find-all-resource-groups
      resource: azure.resourcegroup

Filters

empty-group

properties:
  type:
    enum:
    - empty-group
required:
- type

Actions

delete

properties:
  type:
    enum:
    - delete
required:
- type