These actions can be applied to a specific resource type, such as
Perform delete operation on any ARM resource. Can be used with generic resource type armresource or on any other more specific ARM resource type supported by Cloud Custodian.
- policies: - name: delete-test-resources description: | Deletes any ARM resource with 'test' in the name resource: azure.armresource filters: - type: value name: test op: in actions: - type: delete
The delete action also works with a specified resource type:
- policies: - name: delete-test-nsg description: | Deletes any Network Security Group with 'test' in the name resource: azure.networksecuritygroup filters: - type: value name: test op: in actions: - type: delete