This section explains how to use the
qq multitenancy_modify_tenant
command.Description
Modify a tenant
Usage
qq multitenancy_modify_tenant [-h] --id ID [--name NAME] [--enable-web-ui | --disable-web-ui] [--enable-rest-api | --disable-rest-api] [--enable-ssh | --disable-ssh] [--enable-replication | --disable-replication] [--enable-nfs | --disable-nfs]
[--enable-smb | --disable-smb] [--network-id [NETWORK_ID [NETWORK_ID ...]]]
Flags
Flag Name | Required | Description |
---|---|---|
--id
|
Yes | The unique ID of the tenant to modify. |
--name
|
No | Unique name of the tenant chosen by the user. If not specified, the existing name will be preserved. |
--enable-web-ui
|
No | Web UI is accessible from this tenant. If neither --enable-web-ui nor --disable-web-ui is specified, the existing setting will be preserved. |
--disable-web-ui
|
No | Web UI is not accessible from this tenant. If neither --enable-web-ui nor --disable-web-ui is specified, the existing setting will be preserved. |
--enable-rest-api
|
No | REST API is accessible from this tenant. If neither --enable-rest-api nor --disable-rest-api is specified, the existing setting will be preserved. |
--disable-rest-api
|
No | REST API is not accessible from this tenant. If neither --enable-rest-api nor --disable-rest-api is specified, the existing setting will be preserved. |
--enable-ssh
|
No | SSH is accessible from this tenant. If neither --enable-ssh nor --disable-ssh is specified, the existing setting will be preserved. |
--disable-ssh
|
No | SSH is not accessible from this tenant. If neither --enable-ssh nor --disable-ssh is specified, the existing setting will be preserved. |
--enable-replication
|
No | Replication is accessible from this tenant. If neither --enable-replication nor --disable-replication is specified, the existing setting will be preserved. |
--disable-replication
|
No | Replication is not accessible from this tenant. If neither --enable-replication nor --disable-replication is specified, the existing setting will be preserved. |
--enable-nfs
|
No | NFS is accessible from this tenant. If neither --enable-nfs nor --disable-nfs is specified, the existing setting will be preserved. |
--disable-nfs
|
No | NFS is not accessible from this tenant. If neither --enable-nfs nor --disable-nfs is specified, the existing setting will be preserved. |
--enable-smb
|
No | SMB is accessible from this tenant. If neither --enable-smb nor --disable-smb is specified, the existing setting will be preserved. |
--disable-smb
|
No | SMB is not accessible from this tenant. If neither --enable-smb nor --disable-smb is specified, the existing setting will be preserved. |
--network-id
|
No | List of zero or more network IDs associated with this tenant, as returned by the `network_list_networks` command. Each network ID may be assigned to at most one tenant. If specified, this must contain a complete list of all network IDs to be assigned to the tenant. Any already-assigned networks not present will be unassigned and services will be disabled on those networks. If not specified, the existing networks will be preserved. |