Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>apigee-policy-generatorNew to Visual Studio Code? Get it now.
apigee-policy-generator

apigee-policy-generator

APIX Scrum B

|
1,189 installs
| (1) | Free
Code completion and generation of apigee compatible files for particular project setup
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Apigee policies generator for Visual Studio

How to use

  • Open command palette and see the command Apigee Policy Generator: Generate policy...

  • Run the command and you will se a list of different policy types. Choose the needed policy from there or enter custom name in the text box

  • You will see a new xml template file in apiproxy folder. If the policy is a JavaScript one, the needed folders and JS files will also be generated for you. The policy templates are taken from https://docs.apigee.com/api-platform/reference/policies documentation.

  • the [type] part in the policy name is a two letter key from the following mapping:

    JS: "Apigee Javascript",
    SC: "Apigee ServiceCallout",
    JC: "Apigee ServiceCallout",
    FC: "Apigee FlowCallout",
    STC: "Apigee StatisticsCollector",
    ML: "Apigee MessageLogging",
    JTX: "Apigee JSON To XML",
    XTJ: "Apigee XML To JSON",
    RF: "Apigee Raise Fault",
    XT: "Apigee XSL Transform",
    SMV: "Apigee Message Validation",
    AM: "Apigee Assign Message",
    EV: "Apigee Extract Variables",
    AE: "Apigee Access Entity",
    KVMO: "Apigee Key Value Map Operations",
    BA: "Apigee BasicAuthentication",
    XTP: "Apigee XMLThreatProtection",
    JTP: "Apigee JSONThreatProtection",
    REP: "Apigee RegularExpressionProtection",
    OA2: "Apigee OAuthV2",
    GOA2: "Apigee GetOAuthV2Info",
    SOA2: "Apigee SetOAuthV2Info",
    DOA2: "Apigee DeleteOAuthV2Info",
    VAK: "Apigee VerifyAPIKey",
    AC: "Apigee AccessControl",
    GSA: "Apigee GenerateSAMLAssertion",
    VSA: "Apigee ValidateSAMLAssertion",
    Q: "Apigee Quota",
    SA: "Apigee SpikeArrest",
    CRL: "Apigee ConcurrentRatelimit",
    RC: "Apigee ResponseCache",
    LC: "Apigee LookupCache",
    PC: "Apigee PopulateCache",
    IC: "Apigee InvalidateCache",
    RQ: "Apigee ResetQuota"
    

    Have fun!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft