request service instance lock
Syntax
request service instance lock service-instance-name lock-reason lock-reason lock-time lock-time
Description
Set a lock for a service instance.
Options
service-instance-name |
The name of the service instance that you want to lock. |
lock-reason lock-reason |
The reason for locking the service instance. For example, Upload service instance. |
lock-time lock-time |
The duration (in seconds) for which you want to lock the service instance. For example, 300. After the specified duration, the service instance is automatically unlocked. As a superuser, you can unlock a service instance before the lock
duration is over by using the |
Output Field
Table 1 lists the output for the request service instance
lock
command.
Field |
Description |
---|---|
Lock token |
The secure lock token is stored in the Paragon Automation
database. Save the lock token for future use such as unlocking a
service instance by using the |
Sample Output
request service instance lock
root@cmgd-594bd779bd-qqb56> request service instance lock internal_vpn lock-reason cmgd-test lock-time 300 Locking service instance: internal_vpn Lock token: cb6a0544-26f3-11ef-b3ef-764115448f0a_vpn:22:_i-wNXz---_
Release Information
Command introduced in Paragon Automation Release 2.1.0.