Cake.Apigee

Cake Aliases for Apigee

#addin nuget:?package=Cake.Apigee&version=2.0.0

<package id="Cake.Apigee" version="2.0.0" />

dotnet add package Cake.Apigee --version 2.0.0

<PackageReference Include="Cake.Apigee" Version="2.0.0" />

Aliases

Contains functionality for proxy import and deployments within Apigee.

General

CreateKeyValueMap(ICakeContext, string, KeyValueMap, CreateKeyValueMapSettings) Create an organisation or environment scoped key value map (KVM) in Apigee.
DeleteAllUndeployedApiProxyRevisions(ICakeContext, string, string, DeleteAllUndeployedApiProxyRevisionsSettings) Delete all undeployed proxy revisions. This attempts to delete ALL proxy revisions but Apigee won't let already deployed revisions be removed.
DeleteApiProxyRevision(ICakeContext, string, string, string, DeleteApiProxyRevisionSettings) Delete a particular revision of a proxy.
DeleteKeyValueMap(ICakeContext, string, string, DeleteKeyValueMapSettings) Delete a key value map (KVM).
DeployProxy(ICakeContext, string, string, ImportProxyResult, DeployProxySettings) Deploy a proxy within Apigee to an environment in Apigee using the results of an import. By default, if settings are supplied, they will use override and a 15 second delay to minimize downtime as described in: http://docs.apigee.com/api-services/content/deploy-api-proxies-using-management-api#seamless
DeployProxy(ICakeContext, string, string, string, string, DeployProxySettings) Deploy a proxy to Apigee using a specific revision number.
GetApiProxy(ICakeContext, string, string, GetApiProxySettings) Retrieve API proxy metadata such as the list of revisions and when the proxy was created.
ImportProxy(ICakeContext, string, string, FilePath, ImportProxySettings) Import a proxy into Apigee from a zip file. The zip file should contain an apiproxy folder at the top level.
InstallNodePackagedModules(ICakeContext, string, ImportProxyResult, InstallNodePackagedModulesSettings) Run "npm install" on NodeJS embedded as a resource in the proxy based on a previous import. This can be useful if your proxy exceeds the 15MB limit imposed by Apigee.
InstallNodePackagedModules(ICakeContext, string, string, string, InstallNodePackagedModulesSettings) Run "npm install" on NodeJS embedded as a resource in the proxy. This can be useful if your proxy exceeds the 15MB limit imposed by Apigee.
ListKeyValueMaps(ICakeContext, string, ListKeyValueMapsSettings) List all of the key value maps at either organisation or environment scope.