Attaching an Instance to a Lifecycle Environment
Add an instance to a lifecycle environment to associate it with a lifecycle stage in OS Management Hub.
Use the oci os-management-hub lifecycle-stage attach-managed-instance command and required parameters to attach a managed instance to a lifecycle stage.
oci os-management-hub lifecycle-stage attach-managed-instance --stage-id ocid --managed-instance-details instance.json [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the AttachManagedInstancesToLifecycleStage operation to attach a managed instance to a lifecycle stage.