@nebius/js-sdk - v0.1.4
Services Index
GitHub
Preparing search index...
api/nebius/vpc/v1alpha1
SubnetServiceBaseClient
Interface SubnetServiceBaseClient
interface
SubnetServiceBaseClient
{
close
()
:
void
;
get
(
request
:
GetSubnetRequest
,
metadata
:
Metadata
,
options
:
Partial
<
CallOptions
>
,
callback
:
(
error
:
ServiceError
|
null
,
response
:
Subnet
)
=>
void
,
)
:
SurfaceCall
;
getByName
(
request
:
GetSubnetByNameRequest
,
metadata
:
Metadata
,
options
:
Partial
<
CallOptions
>
,
callback
:
(
error
:
ServiceError
|
null
,
response
:
Subnet
)
=>
void
,
)
:
SurfaceCall
;
getChannel
()
:
Channel
;
list
(
request
:
ListSubnetsRequest
,
metadata
:
Metadata
,
options
:
Partial
<
CallOptions
>
,
callback
:
(
error
:
ServiceError
|
null
,
response
:
ListSubnetsResponse
,
)
=>
void
,
)
:
SurfaceCall
;
listByNetwork
(
request
:
ListSubnetsByNetworkRequest
,
metadata
:
Metadata
,
options
:
Partial
<
CallOptions
>
,
callback
:
(
error
:
ServiceError
|
null
,
response
:
ListSubnetsResponse
,
)
=>
void
,
)
:
SurfaceCall
;
makeBidiStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
metadata
:
Metadata
,
options
?:
CallOptions
,
)
:
ClientDuplexStream
<
RequestType
,
ResponseType
>
;
makeBidiStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
options
?:
CallOptions
,
)
:
ClientDuplexStream
<
RequestType
,
ResponseType
>
;
makeClientStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
metadata
:
Metadata
,
options
:
CallOptions
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
ClientWritableStream
<
RequestType
>
;
makeClientStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
metadata
:
Metadata
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
ClientWritableStream
<
RequestType
>
;
makeClientStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
options
:
CallOptions
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
ClientWritableStream
<
RequestType
>
;
makeClientStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
ClientWritableStream
<
RequestType
>
;
makeServerStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
argument
:
RequestType
,
metadata
:
Metadata
,
options
?:
CallOptions
,
)
:
ClientReadableStream
<
ResponseType
>
;
makeServerStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
argument
:
RequestType
,
options
?:
CallOptions
,
)
:
ClientReadableStream
<
ResponseType
>
;
makeUnaryRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
argument
:
RequestType
,
metadata
:
Metadata
,
options
:
CallOptions
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
SurfaceCall
;
makeUnaryRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
argument
:
RequestType
,
metadata
:
Metadata
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
SurfaceCall
;
makeUnaryRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
argument
:
RequestType
,
options
:
CallOptions
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
SurfaceCall
;
makeUnaryRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
argument
:
RequestType
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
SurfaceCall
;
waitForReady
(
deadline
:
Deadline
,
callback
:
(
error
?:
Error
)
=>
void
)
:
void
;
}
Hierarchy
Client
SubnetServiceBaseClient
Index
Methods
close
get
get
By
Name
get
Channel
list
list
By
Network
make
Bidi
Stream
Request
make
Client
Stream
Request
make
Server
Stream
Request
make
Unary
Request
wait
For
Ready
Methods
close
close
()
:
void
Returns
void
get
get
(
request
:
GetSubnetRequest
,
metadata
:
Metadata
,
options
:
Partial
<
CallOptions
>
,
callback
:
(
error
:
ServiceError
|
null
,
response
:
Subnet
)
=>
void
,
)
:
SurfaceCall
Parameters
request
:
GetSubnetRequest
metadata
:
Metadata
options
:
Partial
<
CallOptions
>
callback
:
(
error
:
ServiceError
|
null
,
response
:
Subnet
)
=>
void
Returns
SurfaceCall
get
By
Name
getByName
(
request
:
GetSubnetByNameRequest
,
metadata
:
Metadata
,
options
:
Partial
<
CallOptions
>
,
callback
:
(
error
:
ServiceError
|
null
,
response
:
Subnet
)
=>
void
,
)
:
SurfaceCall
Parameters
request
:
GetSubnetByNameRequest
metadata
:
Metadata
options
:
Partial
<
CallOptions
>
callback
:
(
error
:
ServiceError
|
null
,
response
:
Subnet
)
=>
void
Returns
SurfaceCall
get
Channel
getChannel
()
:
Channel
Returns
Channel
list
list
(
request
:
ListSubnetsRequest
,
metadata
:
Metadata
,
options
:
Partial
<
CallOptions
>
,
callback
:
(
error
:
ServiceError
|
null
,
response
:
ListSubnetsResponse
,
)
=>
void
,
)
:
SurfaceCall
Parameters
request
:
ListSubnetsRequest
metadata
:
Metadata
options
:
Partial
<
CallOptions
>
callback
:
(
error
:
ServiceError
|
null
,
response
:
ListSubnetsResponse
)
=>
void
Returns
SurfaceCall
list
By
Network
listByNetwork
(
request
:
ListSubnetsByNetworkRequest
,
metadata
:
Metadata
,
options
:
Partial
<
CallOptions
>
,
callback
:
(
error
:
ServiceError
|
null
,
response
:
ListSubnetsResponse
,
)
=>
void
,
)
:
SurfaceCall
Parameters
request
:
ListSubnetsByNetworkRequest
metadata
:
Metadata
options
:
Partial
<
CallOptions
>
callback
:
(
error
:
ServiceError
|
null
,
response
:
ListSubnetsResponse
)
=>
void
Returns
SurfaceCall
make
Bidi
Stream
Request
makeBidiStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
metadata
:
Metadata
,
options
?:
CallOptions
,
)
:
ClientDuplexStream
<
RequestType
,
ResponseType
>
Type Parameters
RequestType
ResponseType
Parameters
method
:
string
serialize
:
(
value
:
RequestType
)
=>
Buffer
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
metadata
:
Metadata
Optional
options
:
CallOptions
Returns
ClientDuplexStream
<
RequestType
,
ResponseType
>
makeBidiStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
options
?:
CallOptions
,
)
:
ClientDuplexStream
<
RequestType
,
ResponseType
>
Type Parameters
RequestType
ResponseType
Parameters
method
:
string
serialize
:
(
value
:
RequestType
)
=>
Buffer
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
Optional
options
:
CallOptions
Returns
ClientDuplexStream
<
RequestType
,
ResponseType
>
make
Client
Stream
Request
makeClientStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
metadata
:
Metadata
,
options
:
CallOptions
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
ClientWritableStream
<
RequestType
>
Type Parameters
RequestType
ResponseType
Parameters
method
:
string
serialize
:
(
value
:
RequestType
)
=>
Buffer
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
metadata
:
Metadata
options
:
CallOptions
callback
:
UnaryCallback
<
ResponseType
>
Returns
ClientWritableStream
<
RequestType
>
makeClientStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
metadata
:
Metadata
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
ClientWritableStream
<
RequestType
>
Type Parameters
RequestType
ResponseType
Parameters
method
:
string
serialize
:
(
value
:
RequestType
)
=>
Buffer
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
metadata
:
Metadata
callback
:
UnaryCallback
<
ResponseType
>
Returns
ClientWritableStream
<
RequestType
>
makeClientStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
options
:
CallOptions
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
ClientWritableStream
<
RequestType
>
Type Parameters
RequestType
ResponseType
Parameters
method
:
string
serialize
:
(
value
:
RequestType
)
=>
Buffer
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
options
:
CallOptions
callback
:
UnaryCallback
<
ResponseType
>
Returns
ClientWritableStream
<
RequestType
>
makeClientStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
ClientWritableStream
<
RequestType
>
Type Parameters
RequestType
ResponseType
Parameters
method
:
string
serialize
:
(
value
:
RequestType
)
=>
Buffer
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
callback
:
UnaryCallback
<
ResponseType
>
Returns
ClientWritableStream
<
RequestType
>
make
Server
Stream
Request
makeServerStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
argument
:
RequestType
,
metadata
:
Metadata
,
options
?:
CallOptions
,
)
:
ClientReadableStream
<
ResponseType
>
Type Parameters
RequestType
ResponseType
Parameters
method
:
string
serialize
:
(
value
:
RequestType
)
=>
Buffer
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
argument
:
RequestType
metadata
:
Metadata
Optional
options
:
CallOptions
Returns
ClientReadableStream
<
ResponseType
>
makeServerStreamRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
argument
:
RequestType
,
options
?:
CallOptions
,
)
:
ClientReadableStream
<
ResponseType
>
Type Parameters
RequestType
ResponseType
Parameters
method
:
string
serialize
:
(
value
:
RequestType
)
=>
Buffer
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
argument
:
RequestType
Optional
options
:
CallOptions
Returns
ClientReadableStream
<
ResponseType
>
make
Unary
Request
makeUnaryRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
argument
:
RequestType
,
metadata
:
Metadata
,
options
:
CallOptions
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
SurfaceCall
Type Parameters
RequestType
ResponseType
Parameters
method
:
string
serialize
:
(
value
:
RequestType
)
=>
Buffer
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
argument
:
RequestType
metadata
:
Metadata
options
:
CallOptions
callback
:
UnaryCallback
<
ResponseType
>
Returns
SurfaceCall
makeUnaryRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
argument
:
RequestType
,
metadata
:
Metadata
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
SurfaceCall
Type Parameters
RequestType
ResponseType
Parameters
method
:
string
serialize
:
(
value
:
RequestType
)
=>
Buffer
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
argument
:
RequestType
metadata
:
Metadata
callback
:
UnaryCallback
<
ResponseType
>
Returns
SurfaceCall
makeUnaryRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
argument
:
RequestType
,
options
:
CallOptions
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
SurfaceCall
Type Parameters
RequestType
ResponseType
Parameters
method
:
string
serialize
:
(
value
:
RequestType
)
=>
Buffer
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
argument
:
RequestType
options
:
CallOptions
callback
:
UnaryCallback
<
ResponseType
>
Returns
SurfaceCall
makeUnaryRequest
<
RequestType
,
ResponseType
>
(
method
:
string
,
serialize
:
(
value
:
RequestType
)
=>
Buffer
,
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
,
argument
:
RequestType
,
callback
:
UnaryCallback
<
ResponseType
>
,
)
:
SurfaceCall
Type Parameters
RequestType
ResponseType
Parameters
method
:
string
serialize
:
(
value
:
RequestType
)
=>
Buffer
deserialize
:
(
value
:
Buffer
)
=>
ResponseType
argument
:
RequestType
callback
:
UnaryCallback
<
ResponseType
>
Returns
SurfaceCall
wait
For
Ready
waitForReady
(
deadline
:
Deadline
,
callback
:
(
error
?:
Error
)
=>
void
)
:
void
Parameters
deadline
:
Deadline
callback
:
(
error
?:
Error
)
=>
void
Returns
void
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
close
get
get
By
Name
get
Channel
list
list
By
Network
make
Bidi
Stream
Request
make
Client
Stream
Request
make
Server
Stream
Request
make
Unary
Request
wait
For
Ready
Services Index
Services Index
GitHub
@nebius/js-sdk - v0.1.4
Loading...