Interface LinuxOperatingSystemConfiguration.Builder

  • Method Details

    • privilegeMode

      LinuxOperatingSystemConfiguration.Builder privilegeMode(String privilegeMode)

      The privilege mode of the agents. If you omit this field, the agents run in STANDARD privilege mode. The following values are possible:

      • STANDARD – The agent runs without elevated privileges. This is the default.

      • PRIVILEGED – The agent runs with elevated privileges on its instance. Use this mode for agents that build container images, run containers, or install system packages. A session that runs a PRIVILEGED agent runs only that agent.

      Parameters:
      privilegeMode - The privilege mode of the agents. If you omit this field, the agents run in STANDARD privilege mode. The following values are possible:

      • STANDARD – The agent runs without elevated privileges. This is the default.

      • PRIVILEGED – The agent runs with elevated privileges on its instance. Use this mode for agents that build container images, run containers, or install system packages. A session that runs a PRIVILEGED agent runs only that agent.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • privilegeMode

      The privilege mode of the agents. If you omit this field, the agents run in STANDARD privilege mode. The following values are possible:

      • STANDARD – The agent runs without elevated privileges. This is the default.

      • PRIVILEGED – The agent runs with elevated privileges on its instance. Use this mode for agents that build container images, run containers, or install system packages. A session that runs a PRIVILEGED agent runs only that agent.

      Parameters:
      privilegeMode - The privilege mode of the agents. If you omit this field, the agents run in STANDARD privilege mode. The following values are possible:

      • STANDARD – The agent runs without elevated privileges. This is the default.

      • PRIVILEGED – The agent runs with elevated privileges on its instance. Use this mode for agents that build container images, run containers, or install system packages. A session that runs a PRIVILEGED agent runs only that agent.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: