Refresh your connection

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • Update the available commands from the instance for the given profile. Refresh your connection after modifying any of the commands on the corresponding instance in order to keep the CLI up-to-date.

    Avant de commencer

    A default profile must first exist to communicate with an instance.

    Role required: none.

    Procédure

    Open your system's command-line tool and execute this command.

    Include the [--profile profile-name] argument to refresh connection information from a named profile. If you do not include the argument, the CLI refreshes the default profile.

    $ snc configure profile refresh [--profile profile-name]

    Résultats

    The CLI connects to the instance in the designated connection profile and updates any commands that may have changed.