LocationService_GetLocations
GET/infra/v3/partner/{metadata.partner}/location
LocationService_GetLocations
Request
Path Parameters
Partner to which the resource belongs
Query Parameters
Default value: infra.k8smgmt.io/v3
API Version
API Version of the resource
Default value: Location
Kind
Kind of the resource
Name
name of the resource
Display Name
display name of the resource
Description
description of the resource
Labels
This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18
Annotations
This is a request variable of the map type. The query format is "map_name[key]=value", e.g. If the map name is Age, the key type is string, and the value type is integer, the query parameter is expressed as Age["bob"]=18
Project
Project of the resource
Organization
Organization to which the resource belongs
ID of Location
ID Location of the cluster
Location
Location of the cluster
City
City of the location
State
State of the location
Country
country of the location
Locale
locale of the location
Latitude
Latitude of the location
Longitude
Longitude of the location
CountryCode
CountryCode of the location
StateCode
StateCode of the location
Condition Type
type of the status condition
Possible values: [StatusNotSet
, StatusSubmitted
, StatusOK
, StatusFailed
]
Default value: StatusNotSet
Condition Status
status of the condition
Last Updated
when the condition status is last updated
Reason
reason of the last condition status
Responses
- 200
- 403
- 404
- default
A successful response.
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
Default value: infra.k8smgmt.io/v3
API Version of the list resource
Default value: LocationList
Kind of the list resource
metadata object
Metadata of the list resource
items object[]
List of the resources
ID Location of the cluster
Location of the cluster
City of the location
State of the location
country of the location
locale of the location
Latitude of the location
Longitude of the location
CountryCode of the location
StateCode of the location
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "LocationList",
"metadata": {
"count": "string",
"offset": "string",
"limit": "string"
},
"items": [
{
"id": "string",
"name": "string",
"city": "string",
"state": "string",
"country": "string",
"locale": "string",
"latitude": "string",
"longitude": "string",
"countryCode": "string",
"stateCode": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
Default value: infra.k8smgmt.io/v3
API Version of the list resource
Default value: LocationList
Kind of the list resource
metadata object
Metadata of the list resource
items object[]
List of the resources
ID Location of the cluster
Location of the cluster
City of the location
State of the location
country of the location
locale of the location
Latitude of the location
Longitude of the location
CountryCode of the location
StateCode of the location
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "LocationList",
"metadata": {
"count": "string",
"offset": "string",
"limit": "string"
},
"items": [
{
"id": "string",
"name": "string",
"city": "string",
"state": "string",
"country": "string",
"locale": "string",
"latitude": "string",
"longitude": "string",
"countryCode": "string",
"stateCode": "string"
}
]
}
Returned when the user does not have permission to access the resource.
- application/json
- application/yaml
- Schema
Schema
- any
- Schema
Schema
- any
Returned when the resource does not exist.
- application/json
- application/yaml
- Schema
Schema
string
- Schema
Schema
string
An unexpected error response.
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
- Array [
- ]
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}