Skip to content

Commit

Permalink
Merge pull request #5424 from rabbitmq/mergify/bp/v3.11.x/pr-5418
Browse files Browse the repository at this point in the history
rabbitmqctl(8): add new virtual host information items (follow-up to #5399) (backport #5418)
  • Loading branch information
michaelklishin committed Aug 2, 2022
2 parents c95c630 + 8645ed5 commit dc729e3
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions deps/rabbit/docs/rabbitmqctl.8
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,14 @@ can take any value from the list that follows:
The name of the virtual host with non-ASCII characters escaped as in C.
.It Cm tracing
Whether tracing is enabled for this virtual host.
.It Cm default_queue_type
Default queue type for this vhost.
.It Cm description
Virtual host description.
.It Cm tags
Virtual host tags.
.It Cm cluster_state
Virtual host state: nodedown, running, stopped.
.El
.Pp
If no
Expand Down Expand Up @@ -1695,19 +1703,25 @@ not be visible to
.Nm .
.Bl -tag -width Ds
.\" ------------------------------------------------------------------
.It Cm add_vhost Ar vhost
.It Cm add_vhost Ar vhost Op Fl description Ar desc Fl tags Ar tags Fl default-queue-type Ar default-q-type
.Bl -tag -width Ds
.It Ar vhost
The name of the virtual host entry to create.
.It Ar desc
Arbitrary virtual host description, e.g. its purpose, for operator's convenience.
.It Ar tags
A comma-separated list of virtual host tags for operator's convenient
.It Ar default-q-type
If clients do not specify queue type explicitly, this type will be used. One of: quorum, stream.
.El
.Pp
Creates a virtual host.
.Pp
For example, this command instructs the RabbitMQ broker to create a new
virtual host called
.Qq test :
.Qq project9_dev_18 :
.Pp
.Dl rabbitmqctl add_vhost test
.Dl rabbitmqctl add_vhost project9_dev_18 --description 'Dev environment no. 18' --tags "dev,project9"
.\" ------------------------------------------------------------------
.It Cm clear_vhost_limits Op Fl p Ar vhost
.Pp
Expand Down

0 comments on commit dc729e3

Please sign in to comment.