apigeetool
Advanced tools
Comparing version 0.11.0 to 0.12.0
@@ -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', |
{ | ||
"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){ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
222366
5994
1172