LocationService_GetLocation
GET/infra/v3/partner/{metadata.partner}/location/{metadata.name}
LocationService_GetLocation
Request
Path Parameters
Partner to which the resource belongs
name of the resource
Query Parameters
Default value: infra.k8smgmt.io/v3
API Version
API Version of the resource
Default value: Location
Kind
Kind 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
Default value: infra.k8smgmt.io/v3
API Version of the resource
Default value: Location
Kind of the resource
metadata objectrequired
spec objectrequired
status object
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "Location",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"id": "string",
"name": "string",
"city": "string",
"state": "string",
"country": "string",
"locale": "string",
"latitude": "string",
"longitude": "string",
"countryCode": "string",
"stateCode": "string"
},
"status": {
"conditionType": "string",
"conditionStatus": "StatusNotSet",
"lastUpdated": "2024-02-15T00:40:10.572Z",
"reason": "string"
}
}
- Schema
- Example (from schema)
Schema
Default value: infra.k8smgmt.io/v3
API Version of the resource
Default value: Location
Kind of the resource
metadata objectrequired
spec objectrequired
status object
{
"apiVersion": "infra.k8smgmt.io/v3",
"kind": "Location",
"metadata": {
"name": "some-name",
"project": "defaultproject"
},
"spec": {
"id": "string",
"name": "string",
"city": "string",
"state": "string",
"country": "string",
"locale": "string",
"latitude": "string",
"longitude": "string",
"countryCode": "string",
"stateCode": "string"
},
"status": {
"conditionType": "string",
"conditionStatus": "StatusNotSet",
"lastUpdated": "2024-02-15T00:40:10.572Z",
"reason": "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
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
- Schema
- Example (from schema)
Schema
details object[]
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}
Authorization: X-API-KEYID
name: X-API-KEYIDtype: apiKeyin: header
name: X-API-TOKENtype: apiKeyin: header
name: BasicAuthtype: httpscheme: basic
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X GET 'https://website-qwrdwgng9-paralus.vercel.app' \
-H 'Accept: application/json' \
-H 'X-API-KEYID: <API_KEY_VALUE>' \
-H 'X-API-TOKEN: <API_KEY_VALUE>'