Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Juniper Paragon Automation User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

request service instance lock

date_range 23-Aug-24

Syntax

content_copy zoom_out_map
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 request service instance unlock command.

Output Field

Table 1 lists the output for the request service instance lock command.

Table 1: request service instance lock Output Field

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 request service instance unlock command.

Sample Output

request service instance lock

content_copy zoom_out_map
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.

footer-navigation