Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apigeetool

Package Overview
Dependencies
Maintainers
7
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apigeetool - npm Package Compare versions

Comparing version 0.11.0 to 0.12.0

12

lib/commands/commands.js

@@ -10,2 +10,14 @@ /* jshint node: true */

var Commands = {
createTargetServer: {
description: 'Create a Target Server',
load: function() {
return require('./create-TargetServer');
}
},
deleteTargetServer: {
description: 'Delete a Target Server',
load: function() {
return require('./delete-TargetServer');
}
},
createkvmmap: {

@@ -12,0 +24,0 @@ description: 'Create a KVM map',

2

package.json
{
"name": "apigeetool",
"version": "0.11.0",
"version": "0.12.0",
"description": "A CLI for Apigee Edge",

@@ -5,0 +5,0 @@ "main": "lib/main.js",

@@ -124,2 +124,4 @@ # apigeetool

* [deleteKVMentry](#deleteKVMentry)
* [createTargetServer](#createTargetServer)
* [deleteTargetServer](#deleteTargetServer)

@@ -930,2 +932,52 @@

## <a name="Target Server Operations"></a>Target Server Operations
### <a name="createTargetServer"></a>createTargetServer
Creates a Target Server with the given name.
#### Example
Create Target Server named "test-target" with SSL enabled.
apigeetool createTargetServer -N -o $ORG -e $ENV --targetServerName test-target --targetHost httpbin.org --targetPort 443 --targetSSL true
#### Required parameters
The following parameters are required. However, if any are left unspecified
on the command line, and if apigeetool is running in an interactive shell,
then apigeetool will prompt for them.
See [Common Parameters](#commonargs) for a list of additional parameters, including
the "-u" and "-p" parameters for username and password or preferably -N for .netrc usage.
`--organization -o` (required) The organization to target.
`--environment -e` (required) The environment to target.
`--targetServerName` (required) The name of the Target Server to be created.
`--targetHost` (required) The hostname of the target.
`--targetPort` (required) The port number of the target.
`--targetSSL` (optional) Whether or not SSL is configured, defaults to none.
`--targetEnabled` (optional) Whether or not the Target Server itself is enabled, defaults to true.
### <a name="deleteTargetServer"></a>deleteTargetServer
Deletes a Target Server with the given name.
#### Example
Delete Target Server named "test-target".
apigeetool deleteTargetServer -N -o $ORG -e $ENV --targetServerName test-target
#### Required parameters
The following parameters are required. However, if any are left unspecified
on the command line, and if apigeetool is running in an interactive shell,
then apigeetool will prompt for them.
See [Common Parameters](#commonargs) for a list of additional parameters, including
the "-u" and "-p" parameters for username and password or preferably -N for .netrc usage.
`--organization -o` (required) The organization to target.
`--environment -e` (required) The environment to target.
`--targetServerName` (required) The name of the Target Server to be deleted.
# <a name="sdkreference"></a>SDK Reference

@@ -1078,3 +1130,3 @@

opts.apiProducts = PRODUCT_NAME;
sdk.createAppKey(opts)

@@ -1081,0 +1133,0 @@ .then(function(result){

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc