Getting information about a broker
Note
The broker is at the Preview stage.
To find out the ID
or NAME
of a broker, get a list of brokers in a folder.
Getting a list of brokers in a folder
- In the management console
, select the folder where you want to get a list of brokers. - Select IoT Core.
- In the left-hand panel, select Brokers. A list of brokers will be displayed on the Brokers page.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
Get a list of brokers in the folder:
yc iot broker list
Result:
+----------------------+-------------+
| ID | NAME |
+----------------------+-------------+
| b91ki3851h********** | my-broker |
+----------------------+-------------+
To get a list of brokers, use the list REST API method for the Broker resource or the BrokerService/List gRPC API call.
Getting detailed information about a broker
To access a broker, use the ID
or NAME
parameters from the previous item.
- In the management console
, select the folder where the broker is located. - Select IoT Core.
- In the left-hand panel, select Brokers.
- Select the broker. Detailed information about the broker will be displayed on the Overview page.
If you do not have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
Get detailed information about the broker:
yc iot broker get <broker_name>
Result:
id: b91ki3851h**********
folder_id: aoek49ghmk**********
created_at: "2022-05-28T11:29:42.420Z"
name: my-broker
To get detailed information about a broker, use the get REST API method for the Broker resource or the BrokerService/Get gRPC API call.