expire-in
inctl vm expire-in
Extend the expiration time of a leased VM by a duration relative to now.
Synopsis
Extend the expiration time of a lease by a duration relative to now.
Use the time units "m" and "h". Specify --extend-only to only update the lease expiration time if it is longer than the current one.
Example: inctl vm expire-in vmp-3f30-x9t7q72u 1h --org <my-org>
You can also pass a context-alias for a VM: inctl vm expire-in vmkube 1h --org <my-org>
inctl vm expire-in [flags]
Options
--extend-only Only update the lease expiration time if it is longer than the current one.
-h, --help help for expire-in
Options inherited from parent commands
-e, --email string User email to be used for access control. Optional, will fall back to $USER@google.com if unset.
--org string The Intrinsic organization to use. You can set the environment variable
INTRINSIC_ORG=organization to set a default organization.
-o, --output string (optional) Output format. One of: (json, ndjson)
--print-trace Print the trace identifier when exiting.
-p, --project string The Google Cloud Project (GCP) project to use. You can set the environment variable
INTRINSIC_PROJECT=project_name to set a default project name.
SEE ALSO
- inctl vm - Administer and work with virtual machines