Creating a Lifecycle Environment Profile
Create a profile so that you can associate an instance with a lifecycle stage when registering the instance with OS Management Hub.
Use the oci os-management-hub profile create-lifecycle-profile command and required parameters to create a profile for a lifecycle environment.
oci os-management-hub profile create-lifecycle-profile --compartment-id ocid --display-name profile-name --stage-id ocid [OPTIONS]
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the CreateProfile operation to create a profile for a lifecycle environment.