-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Set a product as retired, staged, published, deprecated, or archived. Should model this step after the products:replace or products:publish steps.
apic products:set documentation below.
$ apic products:set -help
Usage: apic products:set OPTIONS PRODUCT_NAME[:VERSION]
Update a product in a catalog
Options
--status
staged update the status to staged
published update the status to published
deprecated update the status to deprecated
retired update the status to retired
archived update the status to archived
--visibility
public unauthenticated or authenticated users
authenticated authenticated users
ORG | TAG ... users in the ORG or in any ORG tagged with TAG
--subscribability
authenticated authenticated users
ORG | TAG ... users in the ORG or in any ORG tagged with TAG
-c, --catalog CATALOG catalog name (required)
-o, --organization ORGANIZATION provider organization name (required)
-s, --server SERVER management server endpoint (required)
Publish a product
$ apic products:set climbon --status published --catalog production --organization climbonorg --server mgmnthost.com
Updated climbon:1.0.0 in climbonorg:production (status: published)
Update a product's visibility and subscribability
$ apic products:set climbon --visibility public --subscribability authenticated --catalog production --organization climbonorg --server mgmnthost.com
Updated climbon:1.0.0 in climbonorg:production (visibility: public, subscribability: authenticated)