ListUILinks
Retrieves a list of links to web interfaces being proxied by Data Proc UI Proxy.
- TypeScript
- Python
import { cloudApi, serviceClients, Session } from "@yandex-cloud/nodejs-sdk";
const ListUILinksRequest = cloudApi.dataproc.cluster_service.ListUILinksRequest;
(async () => {
const authToken = process.env["YC_OAUTH_TOKEN"];
const session = new Session({ oauthToken: authToken });
const client = session.client(serviceClients.ClusterServiceClient);
const result = await client.listUiLinks(
ListUILinksRequest.fromPartial({
// clusterId: "clusterId"
})
);
console.log(result);
})();
import os
import grpc
import yandexcloud
from yandex.cloud.dataproc.v1.cluster_service_pb2_grpc import ClusterServiceStub
from yandex.cloud.dataproc.v1.cluster_service_pb2 import ListUILinksRequest
token = os.getenv("YC_OAUTH_TOKEN")
sdk = yandexcloud.SDK(token=token)
service = sdk.client(ClusterServiceStub)
response = service.ListUILinks(
ListUILinksRequest(
# cluster_id = "clusterId"
)
)
print(response)
ListUILinksRequest
clusterId
: string
Required. ID of the Hadoop cluster.
ListUILinksResponse
links
: UILink
Requested list of ui links.