BareMetal API, gRPC: VrfService.Get
Returns the specific VRF resource.
To get the list of available VRFs, make a List request.
gRPC request
rpc Get (GetVrfRequest) returns (Vrf)
GetVrfRequest
{
"vrf_id": "string"
}
|
Field |
Description |
|
vrf_id |
string ID of the VRF to return. Value must match the regular expression |
Vrf
{
"id": "string",
"cloud_id": "string",
"folder_id": "string",
"name": "string",
"description": "string",
"status": "Status",
"static_routes": [
{
"destination_cidr": "string",
"next_hop_ip_address": "string",
"redistribution_type": "RedistributionType"
}
],
"created_at": "google.protobuf.Timestamp",
"labels": "map<string, string>"
}
|
Field |
Description |
|
id |
string ID of the VRF. |
|
cloud_id |
string ID of the cloud that the private subnet belongs to. |
|
folder_id |
string ID of the folder that the private subnet belongs to. |
|
name |
string Name of the VRF. |
|
description |
string Optional description of the VRF. |
|
status |
enum Status Status of the VRF.
|
|
static_routes[] |
Static routes. |
|
created_at |
Creation timestamp. |
|
labels |
object (map<string, string>) Resource labels as |
StaticRoute
|
Field |
Description |
|
destination_cidr |
string Destination network CIDR block. |
|
next_hop_ip_address |
string Next hop host IP address. |
|
redistribution_type |
enum RedistributionType Redistribution type.
|