anypoint-cli-api-mgr-plugin
API Manager plugin
Usage
$ npm install -g @mulesoft/anypoint-cli-api-mgr-plugin
$ @mulesoft/anypoint-cli-api-mgr-plugin COMMAND
running command...
$ @mulesoft/anypoint-cli-api-mgr-plugin (--version|-v)
@mulesoft/anypoint-cli-api-mgr-plugin/0.4.0 darwin-x64 node-v14.17.5
$ @mulesoft/anypoint-cli-api-mgr-plugin --help [COMMAND]
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin COMMAND
...
Commands
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:alert:add APIINSTANCEID NAME
Create API instance alert
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:alert:add [APIINSTANCEID] [NAME] --severity Info|Warning|Critical
--type request-count|response-code|policy-violation|response-time --operator gt|lt|eq --threshold <value> --periods
<value> --duration <value> --durationUnit days|hours|minutes [--password <value> [--username <value> | --client_id
<value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment <value>]
[--host <value>] [--collectMetrics] [-h] [--enabled] [--recipient <value>] [--email <value>] [--responseTime
<value>] [--responseCode <value>] [--policyId <value>]
FLAGS
-h, --help Show CLI help.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--duration=<value> (required) Condition occurrence period duration
--durationUnit=<option> (required) Condition occurrence period duration unit
<options: days|hours|minutes>
--email=<value>... Email to send alert notification to. Can be used multiple times to specify multiple
emails
--enabled Whether alert should be enabled
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--operator=<option> (required) Condition operator explaining values relation to threshold
<options: gt|lt|eq>
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--periods=<value> (required) Number of consecutive periods condition should occur for
--policyId=<value> ID of a policy applied to API instance to trigger "policy-violation" alert type
--recipient=<value>... Username to send alert notification to. Can be used multiple times to specify multiple
usernames
--responseCode=<value>... Response codes to trigger "response-code" alert type. Can be used multiple times to
specify multiple codes
--responseTime=<value> Response time to trigger "response-time" alert type
--severity=<option> (required) Alert severity
<options: Info|Warning|Critical>
--threshold=<value> (required) Condition occurrences threshold number
--type=<option> (required) Alert type/condition
<options: request-count|response-code|policy-violation|response-time>
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Create API instance alert
See code: src/commands/api-mgr/alert/add.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:alert:list APIINSTANCEID
List alerts for an API instance
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:alert:list [APIINSTANCEID] [--password <value> [--username <value> |
--client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment
<value>] [--host <value>] [--collectMetrics] [--limit <value>] [--offset <value>] [--sort <value>] [-h] [-o <value>]
FLAGS
-h, --help Show CLI help.
-o, --output=<value> [default: table] Format for commands output. Supported values are table (default) and
json
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--limit=<value> [default: 10] Number of results to retrieve
--offset=<value> Offset
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--sort=<value> [default: id] Field to sort results
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
List alerts for an API instance
See code: src/commands/api-mgr/alert/list.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:autodiscovery APIINSTANCEID GATEWAYVERSION
Show details of an API autodiscovery
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:autodiscovery [APIINSTANCEID] [GATEWAYVERSION] [--password <value>
[--username <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization
<value>] [--environment <value>] [--host <value>] [--collectMetrics] [-h] [-o <value>]
FLAGS
-h, --help Show CLI help.
-o, --output=<value> [default: table] Format for commands output. Supported values are table (default) and
json
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Show details of an API autodiscovery
See code: src/commands/api-mgr/api/autodiscovery.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:change-specification APIINSTANCEID ASSETVERSION
Change asset version for an API instance by choosing a new version from Exchange
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:change-specification [APIINSTANCEID] [ASSETVERSION] [--password <value>
[--username <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization
<value>] [--environment <value>] [--host <value>] [--collectMetrics] [-h]
FLAGS
-h, --help Show CLI help.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Change asset version for an API instance by choosing a new version from Exchange
See code: src/commands/api-mgr/api/change-specification.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:classify DESTENVNAME APIINSTANCEID
Classify an API instance in a given environment
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:classify [DESTENVNAME] [APIINSTANCEID] [--password <value>
[--username <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization
<value>] [--environment <value>] [--host <value>] [--collectMetrics] [-h]
FLAGS
-h, --help Show CLI help.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Classify an API instance in a given environment
See code: src/commands/api-mgr/api/classify.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:delete APIINSTANCEID
Deletes an API
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:delete [APIINSTANCEID] [--password <value> [--username <value> |
--client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment
<value>] [--host <value>] [--collectMetrics] [-h]
FLAGS
-h, --help Show CLI help.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Deletes an API
See code: src/commands/api-mgr/api/delete.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:deploy APIINSTANCEID
Deploy an API to Cloudhub, Hybrid server or Runtime Fabric
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:deploy [APIINSTANCEID] [--password <value> [--username <value> |
--client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment
<value>] [--host <value>] [--collectMetrics] [--target <value>] [--applicationName <value>] [--environmentName
<value>] [--gatewayVersion <value>] [--overwrite]
FLAGS
--applicationName=<value> Application name
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--environmentName=<value> Target environment name. Must be provided to deploy APIs from unclassified environments.
--gatewayVersion=<value> Cloudhub Gateway version
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--overwrite Update application if exists
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--target=<value> Hybrid or RTF deployment target ID
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Deploy an API to Cloudhub, Hybrid server or Runtime Fabric
See code: src/commands/api-mgr/api/deploy.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:deprecate APIINSTANCEID
Deprecate an API instance
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:deprecate [APIINSTANCEID] [--password <value> [--username <value> |
--client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment
<value>] [--host <value>] [--collectMetrics] [-h]
FLAGS
-h, --help Show CLI help.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Deprecate an API instance
See code: src/commands/api-mgr/api/deprecate.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:describe APIINSTANCEID
Show details of an API
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:describe [APIINSTANCEID] [--password <value> [--username <value> |
--client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment
<value>] [--host <value>] [--collectMetrics] [-h] [-o <value>]
FLAGS
-h, --help Show CLI help.
-o, --output=<value> [default: table] Format for commands output. Supported values are table (default) and
json
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Show details of an API
See code: src/commands/api-mgr/api/describe.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:download-proxy APIINSTANCEID TARGETPATH
Download API proxy zip file to a local directory
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:download-proxy [APIINSTANCEID] [TARGETPATH] [--password <value>
[--username <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization
<value>] [--environment <value>] [--host <value>] [--collectMetrics] [-h] [--gatewayVersion <value>]
FLAGS
-h, --help Show CLI help.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--gatewayVersion=<value> Gateway Version. Defaults to the latest version.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Download API proxy zip file to a local directory
See code: src/commands/api-mgr/api/download-proxy.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:edit APIINSTANCEID
Edit an API instance
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:edit [APIINSTANCEID] [--password <value> [--username <value> |
--client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment
<value>] [--host <value>] [--collectMetrics] [-p] [-r] [-m] [--deploymentType cloudhub|hybrid|rtf] [--uri <value>]
[--scheme http|https] [--port <value>] [--path <value>] [--providerId <value>] [--responseTimeout <value>]
[--apiInstanceLabel <value>] [--serviceName <value>] [--serviceNamespace <value>] [--servicePort <value>]
[--endpointUri <value>] [--type http|raml|wsdl]
FLAGS
-m, --muleVersion4OrAbove Indicates whether you are managing this API in Mule 4 or above.
-p, --withProxy Indicates whether the endpoint should use a proxy. Accepted Values: true, false
-r, --referencesUserDomain Indicates whether a proxy should reference a user domain
--apiInstanceLabel=<value> API instance label. Optional. String.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--deploymentType=<option> Deployment type. Supported Values: cloudhub, hybrid, rtf
<options: cloudhub|hybrid|rtf>
--endpointUri=<value> Consumer endpoint URL
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--path=<value> Proxy path
--port=<value> Proxy port
--providerId=<value> Client Identity Provider Id in which the API will be associated with. Optional. String.
--responseTimeout=<value> Response timeout
--scheme=<option> Proxy scheme. Supported Values: http, https
<options: http|https>
--serviceName=<value> WSDL service name
--serviceNamespace=<value> WSDL service namespace
--servicePort=<value> WSDL service port
--type=<option> Endpoint type. Supported Values: http, raml, wsdl
<options: http|raml|wsdl>
--uri=<value> Implementation URI
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Edit an API instance
See code: src/commands/api-mgr/api/edit.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:list
Lists all APIs in API Manager
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:list [--password <value> [--username <value> | --client_id
<value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment <value>]
[--host <value>] [--collectMetrics] [--limit <value>] [--offset <value>] [--sort <value>] [-h] [--assetId <value>]
[--apiVersion <value>] [--instanceLabel <value>] [-o <value>]
FLAGS
-h, --help Show CLI help.
-o, --output=<value> [default: table] Format for commands output. Supported values are table (default) and
json
--apiVersion=<value> API version to filter results by
--assetId=<value> Asset ID to filter results by
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--instanceLabel=<value> API instance label to filter results by
--limit=<value> [default: 10] Number of results to retrieve
--offset=<value> Offset
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--sort=<value> How to sort the results
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Lists all APIs in API Manager
See code: src/commands/api-mgr/api/list.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:manage ASSETID ASSETVERSION
Manage a new API or API version or new instance with an asset from exchange
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:manage [ASSETID] [ASSETVERSION] [--password <value> [--username
<value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>]
[--environment <value>] [--host <value>] [--collectMetrics] [-p] [-r] [-m] [--deploymentType cloudhub|hybrid|rtf]
[--uri <value>] [--scheme http|https] [--port <value>] [--path <value>] [--providerId <value>] [--responseTimeout
<value>] [--apiInstanceLabel <value>] [--serviceName <value>] [--serviceNamespace <value>] [--servicePort <value>]
[--endpointUri <value>] [--type http|raml|wsdl]
FLAGS
-m, --muleVersion4OrAbove Indicates whether you are managing this API in Mule 4 or above.
-p, --withProxy Indicates whether the endpoint should use a proxy. Accepted Values: true, false
-r, --referencesUserDomain Indicates whether a proxy should reference a user domain
--apiInstanceLabel=<value> API instance label. Optional. String.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--deploymentType=<option> Deployment type. Supported Values: cloudhub, hybrid, rtf
<options: cloudhub|hybrid|rtf>
--endpointUri=<value> Consumer endpoint URL
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--path=<value> Proxy path
--port=<value> Proxy port
--providerId=<value> Client Identity Provider Id in which the API will be associated with. Optional. String.
--responseTimeout=<value> Response timeout
--scheme=<option> Proxy scheme. Supported Values: http, https
<options: http|https>
--serviceName=<value> WSDL service name
--serviceNamespace=<value> WSDL service namespace
--servicePort=<value> WSDL service port
--type=<option> Endpoint type. Supported Values: http, raml, wsdl
<options: http|raml|wsdl>
--uri=<value> Implementation URI
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Manage a new API or API version or new instance with an asset from exchange
See code: src/commands/api-mgr/api/manage.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:promote APIINSTANCEID SOURCEENVID
Promote an API instance from source environment
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:promote [APIINSTANCEID] [SOURCEENVID] [--password <value>
[--username <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization
<value>] [--environment <value>] [--host <value>] [--collectMetrics] [-h] [-a true|false] [-p true|false] [-t
true|false] [--providerId <value>]
FLAGS
-a, --copyAlerts=<option> [default: true] Indicates whether to copy alerts. Accepted Values: true, false. Defaults
to true
<options: true|false>
-h, --help Show CLI help.
-p, --copyPolicies=<option> [default: true] Indicates whether to copy policies. Accepted Values: true, false.
Defaults to true
<options: true|false>
-t, --copyTiers=<option> [default: true] Indicates whether to copy tiers. Accepted Values: true, false. Defaults
to true
<options: true|false>
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--providerId=<value> Client Identity Provider Id in which the promoted API will be associated with
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Promote an API instance from source environment
See code: src/commands/api-mgr/api/promote.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:redeploy APIINSTANCEID
Deploy an API to Cloudhub, Hybrid server or Runtime Fabric
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:redeploy [APIINSTANCEID] [--password <value> [--username <value> |
--client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment
<value>] [--host <value>] [--collectMetrics] [--target <value>] [--applicationName <value>] [--environmentName
<value>] [--gatewayVersion <value>] [--overwrite]
FLAGS
--applicationName=<value> Application name
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--environmentName=<value> Target environment name. Must be provided to deploy APIs from unclassified environments.
--gatewayVersion=<value> Cloudhub Gateway version
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--overwrite Update application if exists
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--target=<value> Hybrid or RTF deployment target ID
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Deploy an API to Cloudhub, Hybrid server or Runtime Fabric
See code: src/commands/api-mgr/api/redeploy.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:undeprecate APIINSTANCEID
Undeprecate an API instance
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:api:undeprecate [APIINSTANCEID] [--password <value> [--username <value> |
--client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment
<value>] [--host <value>] [--collectMetrics] [-h]
FLAGS
-h, --help Show CLI help.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Undeprecate an API instance
See code: src/commands/api-mgr/api/undeprecate.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:contract:delete APIINSTANCEID CLIENTID
Delete a given API contract
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:contract:delete [APIINSTANCEID] [CLIENTID] [--password <value> [--username
<value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>]
[--environment <value>] [--host <value>] [--collectMetrics] [-h]
FLAGS
-h, --help Show CLI help.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Delete a given API contract
See code: src/commands/api-mgr/contract/delete.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:contract:list APIINSTANCEID [SEARCHTEXT]
Lists all contracts to a given API instanceLists environments
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:contract:list [APIINSTANCEID] [SEARCHTEXT] [--password <value>
[--username <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization
<value>] [--environment <value>] [--host <value>] [--collectMetrics] [--limit <value>] [--offset <value>] [--sort
<value>] [-h] [-o <value>]
FLAGS
-h, --help Show CLI help.
-o, --output=<value> [default: table] Format for commands output. Supported values are table (default) and
json
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--limit=<value> [default: 10] Number of results to retrieve
--offset=<value> Offset
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--sort=<value> [default: id] Field to sort results
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Lists all contracts to a given API instanceLists environments
See code: src/commands/api-mgr/contract/list.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:policy:apply APIINSTANCEID POLICYID
Apply a policy to a given API instance. Examples:
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:policy:apply [APIINSTANCEID] [POLICYID] [--password <value> [--username
<value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>]
[--environment <value>] [--host <value>] [--collectMetrics] [--policyVersion <value>] [--groupId <value>] [-c
<value>] [--configFile <value>] [--pointcut <value>] [-h]
FLAGS
-c, --config=<value> Configuration data as JSON string. E.g `api-mgr policy apply (...) -c '{"property":
"value"}'`
-h, --help Show CLI help.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--configFile=<value> Configuration data as JSON file. E.g `api-mgr policy apply (...) -c ./configFile.json`
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--groupId=<value> Mule4 policy group ID. Defaults to MuleSoft group ID when not provided
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--pointcut=<value> Pointcut data as JSON string. E.g. `api-mgr policy apply (...) -p
'[{"methodRegex":"GET|PUT","uriTemplateRegex":"/users*"}]'`
--policyVersion=<value> Mule4 policy version
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Apply a policy to a given API instance. Examples:
Mule 3: api-mgr policy apply 123 client-id-enforcement
The policyId corresponds to Id in the response of api-mgr policy list.
Mule 4: api-mgr policy apply 123 client-id-enforcement --policyVersion 1.0.0
The policyId, policyVersion correspond to Asset ID and Version in the response of api-mgr policy list -m
See code: src/commands/api-mgr/policy/apply.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:policy:describe POLICYID
Show the description and available configuration properties of a given policy template. Examples:
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:policy:describe [POLICYID] [--password <value> [--username <value> |
--client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment
<value>] [--host <value>] [--collectMetrics] [--policyVersion <value>] [--groupId <value>] [-h] [-o <value>]
FLAGS
-h, --help Show CLI help.
-o, --output=<value> [default: table] Format for commands output. Supported values are table (default) and
json
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--groupId=<value> Mule4 policy group ID. Defaults to MuleSoft group ID when not provided
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--policyVersion=<value> Mule4 policy version
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Show the description and available configuration properties of a given policy template. Examples:
Mule 3: api-mgr policy describe client-id-enforcement
The policyId corresponds to Id in the response of api-mgr policy list.
Mule 4: api-mgr policy describe client-id-enforcement --policyVersion 1.0.0
The policyId, policyVersion correspond to Asset ID and Version in the response of api-mgr policy list -m
See code: src/commands/api-mgr/policy/describe.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:policy:disable APIINSTANCEID POLICYID
Disable a policy from a given API instance
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:policy:disable [APIINSTANCEID] [POLICYID] [--password <value> [--username
<value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>]
[--environment <value>] [--host <value>] [--collectMetrics] [-h]
FLAGS
-h, --help Show CLI help.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Disable a policy from a given API instance
See code: src/commands/api-mgr/policy/disable.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:policy:edit APIINSTANCEID POLICYID
Edit the policy configuration of a given API instance
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:policy:edit [APIINSTANCEID] [POLICYID] [--password <value> [--username
<value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>]
[--environment <value>] [--host <value>] [--collectMetrics] [-c <value>] [-p <value>] [-h]
FLAGS
-c, --config=<value> Configuration data as JSON string. Completely overrides current configuration data. E.g.
`api-mgr policy apply (...) -c '{"property": "value"}'`
-h, --help Show CLI help.
-p, --pointcut=<value> Pointcut data as JSON string. Completely overrides current Pointcut data. E.g. `api-mgr
policy apply (...) -p '[{"methodRegex":"GET|PUT","uriTemplateRegex":"/users*"}]'`
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Edit the policy configuration of a given API instance
See code: src/commands/api-mgr/policy/edit.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:policy:enable APIINSTANCEID POLICYID
Enable a policy from a given API instance
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:policy:enable [APIINSTANCEID] [POLICYID] [--password <value> [--username
<value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>]
[--environment <value>] [--host <value>] [--collectMetrics] [-h]
FLAGS
-h, --help Show CLI help.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Enable a policy from a given API instance
See code: src/commands/api-mgr/policy/enable.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:policy:list [APIINSTANCEID]
List policies. When [apiInstanceId] param is specified, policies applied to that API instance are listed. All available policies are listed otherwise
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:policy:list [APIINSTANCEID] [--password <value> [--username <value> |
--client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>] [--environment
<value>] [--host <value>] [--collectMetrics] [-m] [-h]
FLAGS
-h, --help Show CLI help.
-m, --muleVersion4OrAbove Whether to list Mule 4+ policies
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
List policies. When [apiInstanceId] param is specified, policies applied to that API instance are listed. All
available policies are listed otherwise
See code: src/commands/api-mgr/policy/list.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:policy:remove APIINSTANCEID POLICYID
Remove a policy from a given API instance
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:policy:remove [APIINSTANCEID] [POLICYID] [--password <value> [--username
<value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>]
[--environment <value>] [--host <value>] [--collectMetrics] [-h]
FLAGS
-h, --help Show CLI help.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Remove a policy from a given API instance
See code: src/commands/api-mgr/policy/remove.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:tier:add APIINSTANCEID
Create SLA tier.
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:tier:add [APIINSTANCEID] --name <value> [--password <value>
[--username <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization
<value>] [--environment <value>] [--host <value>] [--collectMetrics] [-h] [--description <value>] [-l <value>] [-a]
FLAGS
-a, --autoApprove
Indicates whether tier should be auto-approved.
-h, --help
Show CLI help.
-l, --limit=<value>
Single instance of a tier limit in the form "--limit A,B,C" whereby:
"A" is a boolean indicating whether or not this limit should be visible;
"B" is a number of requests per "C" time period.
Time period options are: ms(millisecond), sec(second), min(minute), hr(hour), d(day), wk(week), mo(month) or
yr(year).
E.g. "--limit true,100,min" is a "visible" limit of 100 requests per minute.
To create multiple limits, you can provide multiple "--limit" options.
E.g. "-l true,100,sec -l false,20,min"
--bearer=<value>
Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value>
Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value>
Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics
collect metrics. You can define this in the COLLECT_METRICS environment variable.
--description=<value>
Tier description
--environment=<value>
Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com
[default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST environment variable.
--name=<value>
(required) Tier name
--organization=<value>
Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value>
Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value>
Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Create SLA tier.
See code: src/commands/api-mgr/tier/add.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:tier:copy SOURCEAPIINSTANCEID TARGETAPIINSTANCEID
Copy SLA tiers from source to target API Instance.
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:tier:copy [SOURCEAPIINSTANCEID] [TARGETAPIINSTANCEID] [--password
<value> [--username <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ]
[--organization <value>] [--environment <value>] [--host <value>] [--collectMetrics] [-h]
FLAGS
-h, --help Show CLI help.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Copy SLA tiers from source to target API Instance.
See code: src/commands/api-mgr/tier/copy.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:tier:delete APIINSTANCEID TIERID
Delete SLA tier from an API instance.
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:tier:delete [APIINSTANCEID] [TIERID] [--password <value> [--username
<value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization <value>]
[--environment <value>] [--host <value>] [--collectMetrics] [-h]
FLAGS
-h, --help Show CLI help.
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Delete SLA tier from an API instance.
See code: src/commands/api-mgr/tier/delete.ts
@mulesoft/anypoint-cli-api-mgr-plugin api-mgr:tier:list APIINSTANCEID [SEARCHTEXT]
Lists API instance SLA tiers
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin api-mgr:tier:list [APIINSTANCEID] [SEARCHTEXT] [--password <value>
[--username <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> | | ] [--organization
<value>] [--environment <value>] [--host <value>] [--collectMetrics] [--limit <value>] [--offset <value>] [--sort
<value>] [-h] [-o <value>]
FLAGS
-h, --help Show CLI help.
-o, --output=<value> [default: table] Format for commands output. Supported values are table (default) and
json
--bearer=<value> Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
--client_id=<value> Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
--client_secret=<value> Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
--collectMetrics collect metrics. You can define this in the COLLECT_METRICS environment variable.
--environment=<value> Environment Name. You can define this in the ANYPOINT_ENV environment variable.
--host=anypoint.mulesoft.com [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
environment variable.
--limit=<value> [default: 10] Number of results to retrieve
--offset=<value> Offset
--organization=<value> Organization Name. You can define this in the ANYPOINT_ORG environment variable.
--password=<value> Password. You can define this in the ANYPOINT_PASSWORD environment variable.
--sort=<value> [default: id] Field to sort results
--username=<value> Username. You can define this in the ANYPOINT_USERNAME environment variable.
DESCRIPTION
Lists API instance SLA tiers
See code: src/commands/api-mgr/tier/list.ts
@mulesoft/anypoint-cli-api-mgr-plugin conf [KEY] [VALUE]
manage configuration
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin conf [KEY] [VALUE] [-h] [-k <value>] [-v <value>] [-d] [-p
<value>] [-n <value>] [-d <value>]
ARGUMENTS
KEY key of the config
VALUE value of the config
FLAGS
-d, --cwd=<value> config file location
-d, --delete delete?
-h, --help show CLI help
-k, --key=<value> key of the config
-n, --name=<value> config file name
-p, --project=<value> project name
-v, --value=<value> value of the config
DESCRIPTION
manage configuration
See code: conf-cli
@mulesoft/anypoint-cli-api-mgr-plugin help [COMMAND]
Display help for @mulesoft/anypoint-cli-api-mgr-plugin.
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for @mulesoft/anypoint-cli-api-mgr-plugin.
See code: @oclif/plugin-help
@mulesoft/anypoint-cli-api-mgr-plugin version
USAGE
$ @mulesoft/anypoint-cli-api-mgr-plugin version [--json] [--verbose]
FLAGS
--verbose Show additional information about the CLI.
GLOBAL FLAGS
--json Format output as json.
FLAG DESCRIPTIONS
--verbose Show additional information about the CLI.
Additionally shows the architecture, node version, operating system, and versions of plugins that the CLI is using.
See code: @oclif/plugin-version