BareMetal API, gRPC: ConfigurationService.ListConfigurationRentalPeriods
Retrieves the list of RentalPeriods for the specified Configuration resource.
https://google.aip.dev/130 --)
gRPC request
rpc ListConfigurationRentalPeriods (ListConfigurationRentalPeriodsRequest) returns (ListConfigurationRentalPeriodsResponse)
ListConfigurationRentalPeriodsRequest
{
"configuration_id": "string",
"page_size": "int64",
"page_token": "string"
}
|
Field |
Description |
|
configuration_id |
string ID of the Configuration resource to return. Value must match the regular expression |
|
page_size |
int64 The maximum number of results per page to return. If the number of available The maximum value is 1000. |
|
page_token |
string Page token. To get the next page of results, set |
ListConfigurationRentalPeriodsResponse
{
"rental_periods": [
{
"rental_period_id": "string"
}
],
"next_page_token": "string"
}
|
Field |
Description |
|
rental_periods[] |
List of RentalPeriod resources. |
|
next_page_token |
string Token for getting the next page of the list. If the number of results is greater than Each subsequent page will have its own |
RentalPeriod
A period of time for which a Bare Metal Server can be rented. e.g., 1 month, 3 months, 6 months,
a year.
|
Field |
Description |
|
rental_period_id |
string Rental period identifier. |