Creating a Lifecycle Environment Profile

Create a profile to associate an instance with a specific lifecycle stage during registration 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.