Globus SDK for JavaScript
    Preparing search index...
    • Get a list of tunnels.

      Parameters

      • Optionaloptions: { payload?: undefined; query?: undefined } & BaseServiceMethodOptions
      • OptionalsdkOptions: SDKOptions

      Returns Promise<
          JSONFetchResponse<
              {
                  data: {
                      attributes: {
                          created_time: string;
                          initiator_ip_address?: string
                          | null;
                          initiator_port?: number | null;
                          label?: string | null;
                          lifetime_mins: number;
                          listener_ip_address?: string | null;
                          listener_port?: number | null;
                          restartable: boolean;
                          state: string;
                          status: string;
                          submission_id: string;
                      };
                      id: string;
                      relationships?: | {
                          initiator: {
                              data: | { id: string; type: "StreamAccessPoint" }
                              | { id: ...; type: ... }[];
                          };
                          listener: {
                              data: | { id: string; type: "StreamAccessPoint" }
                              | { id: ...; type: ... }[];
                          };
                          owner: {
                              data: { id: string; type: "Identity" }
                              | { id: ...; type: ... }[];
                          };
                      }
                      | null;
                      type: "Tunnel";
                  }[];
                  links?: { next?: string | { href: string } | null }
                  | null;
                  meta: { request_id: string };
              },
          >,
      >