Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Latest commit

 

History

History
43 lines (28 loc) · 876 Bytes

README.md

File metadata and controls

43 lines (28 loc) · 876 Bytes

armor

Simple API integration with Google compute API.

Installation

make armor
bin/armor

Endpoints

Get

/projects/{project}/policies/{policy}
/projects/{project}/policies"
/projects/{project}/policies/{policy}/rules/{priority}
/projects/{project}/preConfiguredRules
/projects/{project}/backendServices

Post

NB requires policy or rule to be specified in the body.

/projects/{project}/policies/{policy}/rules
/projects/{project}/policies/{policy}
/projects/{project}/policies/{policy}/backendServices/{backend}

Delete

/projects/{project}/policies/{policy}
/projects/{project}/policies/{policy}/rules/{priority}

Patch

NB requires policy or rule to be specified in the body.

/projects/{project}/policies/{policy}
/projects/{project}/policies/{policy}/rules/{priority}