CasC bundle management on Operations Center
The CasC bundle management on Operations Center CLI commands allow users to view the master paths and tokens for all CasC bundles on an Operations Center. They also allow users to assign master paths and regenerate tokens.
Commands
Command | Description | Parameters |
---|---|---|
|
Lists all of the available CasC bundles on the Operations Center. |
None. |
|
Regenerates the token and returns the new bundle information when successful. |
|
|
Assigns a new master path and returns the new bundle information when successful. |
|
Command examples
Command | Command example |
---|---|
|
|
|
|
|
|
In the command examples "admin" is the name of the user attempting to send the request and "https://my-operations-center.com/cjoc/" is the url for the Operations Center. These examples authenticate using an API token. |
Response examples
casc-bundle-list | casc-bundle-regenerate-token -b (--bundle-id) <bundle id> | casc-bundle-set-master -b (--bundle-id) <bundle id> -m (--master-path) <master path> |
---|---|---|
|
|
|
Response examples are formatted for better readability. |
Response model
Element | Type | Description |
---|---|---|
bundles |
array of objects |
List of all bundles available on an Operations Center. |
linkFileContent |
string |
Contains two entries in string format wrapped in quotes and separated by newline characters: url and token. The url is the the bundle URL where Operations Center exposes its content. The token is the access token for the bundle. |
masterPath |
string |
The Master Path attribute is the full path of the master item in Operations Center. Ex. |
name |
string |
The name is the name of the file that contains the CasC bundle. Ex. |
url |
string |
The url is the bundle URL where Operations Center exposes its content. |
token |
string |
The token is the access token for the bundle. |