Globus SDK for JavaScript
    Preparing search index...
    • Parameters

      • configuration: GCSConfiguration
      • node_id: string
      • options:
            | {
                payload: Partial<
                    | {
                        DATA_TYPE: "node#1.0.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active"
                        | "inactive";
                    }
                    | {
                        data_interface?: string
                        | null;
                        DATA_TYPE: "node#1.1.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active" | "inactive";
                    }
                    | {
                        data_interface?: string
                        | null;
                        data_interface6?: string | null;
                        DATA_TYPE: "node#1.2.0";
                        id?: string;
                        incoming_port_range?: number[];
                        ip_addresses: string[];
                        outgoing_port_range?: number[];
                        status: "active" | "inactive";
                    },
                >;
            } & {
                headers?: Headers;
                query?: {
                    [key: string]: | string
                    | number
                    | boolean
                    | (string | number | null | undefined)[]
                    | null
                    | undefined;
                };
            }
            | undefined
      • OptionalsdkOptions: SDKOptions

      Returns Promise<
          JSONFetchResponse<
              {
                  code?: "success";
                  data?: (
                      | {
                          DATA_TYPE: "node#1.0.0";
                          id?: string;
                          incoming_port_range?: number[];
                          ip_addresses: string[];
                          outgoing_port_range?: number[];
                          status: "active"
                          | "inactive";
                      }
                      | {
                          data_interface?: string
                          | null;
                          DATA_TYPE: "node#1.1.0";
                          id?: string;
                          incoming_port_range?: number[];
                          ip_addresses: string[];
                          outgoing_port_range?: number[];
                          status: "active" | "inactive";
                      }
                      | {
                          data_interface?: string
                          | null;
                          data_interface6?: string | null;
                          DATA_TYPE: "node#1.2.0";
                          id?: string;
                          incoming_port_range?: number[];
                          ip_addresses: string[];
                          outgoing_port_range?: number[];
                          status: "active" | "inactive";
                      }
                  )[];
              } & (
                  | {
                      code: string;
                      data?: Record<string, unknown>[];
                      DATA_TYPE: "result#1.0.0";
                      detail?: unknown;
                      has_next_page: boolean;
                      http_response_code: number;
                      marker?: string | null;
                      message?: string;
                  }
                  | {
                      authorization_parameters?: { [key: string]: unknown }
                      | null;
                      code: string;
                      data?: Record<string, unknown>[];
                      DATA_TYPE: "result#1.1.0";
                      detail?: unknown;
                      has_next_page: boolean;
                      http_response_code: number;
                      marker?: string | null;
                      message?: string;
                  }
              ),
          >,
      >