close-servers - NICE DCV Session Manager
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

close-servers

Closes one or more NICE DCV servers. When you close a NICE DCV server, you make it unavailable for NICE DCV session placement. You can't create NICE DCV sessions on closed servers. Closing a server ensures that no sessions are running on it and that users can't create new sessions on it.

Synopsis

close-servers --server-ids <value> [--force]

Options

--server-ids

The comma-separated list of IDs of the NICE DCV servers to close.

Type: String

Required: Yes

--force

Operation that forces the server to close. By default, this is disabled.

Type: Boolean

Required: No

Example

dcvsm close-servers --server-ids "server123,server456"