rhoas_service-registry_artifact_state-set
rhoas service-registry artifact state-set#
[beta] Set artifact state
Synopsis#
Set artifact state by setting one of possible values
- ENABLED (Enable artifact)
- DISABLED (Disable artifact usage)
- DEPRECATED (Deprecate artifact)
This command is available as part of the Development Preview release.
rhoas service-registry artifact state-set [flags]Examples#
## Set artifact state to DISABLEDrhoas service-registry artifact state-set --artifact-id=my-artifact --state=DISABLED
Options#
--artifact-id string ID of the artifact -g, --group string Artifact group (default "default") --instance-id string ID of the Service Registry instance to be used. By default, uses the currently selected instance --state string new artifact stateOptions inherited from parent commands#
-h, --help Show help for a command -v, --verbose Enable verbose modeSEE ALSO#
- rhoas service-registry artifact - [beta] Manage Service Registry artifacts