Globus SDK for JavaScript
Preparing search index...
@globus/sdk
transfer
tunnel
create
Function create
create
(
options
:
{
payload
:
{
data
:
{
attributes
:
{
label
?:
string
|
null
;
lifetime_mins
:
number
;
listener_ip_address
?:
string
|
null
;
listener_port
?:
number
|
null
;
restartable
:
boolean
;
submission_id
:
string
;
}
;
relationships
:
{
initiator
:
{
data
?:
{
id
?:
string
;
type
:
"StreamAccessPoint"
}
|
null
;
}
;
listener
:
{
data
?:
{
id
?:
string
;
type
:
"StreamAccessPoint"
}
|
null
}
;
}
;
type
:
"Tunnel"
;
}
;
}
;
query
?:
undefined
;
}
&
BaseServiceMethodOptions
,
sdkOptions
?:
SDKOptions
,
)
:
Promise
<
JSONFetchResponse
<
{
data
:
{
attributes
:
{
created_time
?:
string
|
null
;
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"
}
|
null
;
}
;
listener
:
{
data
?:
{
id
?:
string
;
type
:
"StreamAccessPoint"
}
|
null
}
;
owner
?:
|
{
data
?:
{
id
?:
(...)
|
(...)
|
(...)
;
type
:
string
}
|
null
}
|
null
;
}
;
type
:
"Tunnel"
;
}
;
meta
:
{
request_id
:
string
}
;
}
,
>
,
>
Create a new tunnel.
Parameters
options
:
{
payload
:
{
data
:
{
attributes
:
{
label
?:
string
|
null
;
lifetime_mins
:
number
;
listener_ip_address
?:
string
|
null
;
listener_port
?:
number
|
null
;
restartable
:
boolean
;
submission_id
:
string
;
}
;
relationships
:
{
initiator
:
{
data
?:
{
id
?:
string
;
type
:
"StreamAccessPoint"
}
|
null
;
}
;
listener
:
{
data
?:
{
id
?:
string
;
type
:
"StreamAccessPoint"
}
|
null
}
;
}
;
type
:
"Tunnel"
;
}
;
}
;
query
?:
undefined
;
}
&
BaseServiceMethodOptions
Optional
sdkOptions
:
SDKOptions
Returns
Promise
<
JSONFetchResponse
<
{
data
:
{
attributes
:
{
created_time
?:
string
|
null
;
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"
}
|
null
;
}
;
listener
:
{
data
?:
{
id
?:
string
;
type
:
"StreamAccessPoint"
}
|
null
}
;
owner
?:
|
{
data
?:
{
id
?:
(...)
|
(...)
|
(...)
;
type
:
string
}
|
null
}
|
null
;
}
;
type
:
"Tunnel"
;
}
;
meta
:
{
request_id
:
string
}
;
}
,
>
,
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Globus SDK for JavaScript
Loading...
Create a new tunnel.