Query Kubernetes Resources

Query Kubernetes Resources

Retrieves a list of Kubernetes resources allocated for a container app. Returns 400 if app type is anything but ContainerApp.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/apps/{id}/kubernetesResources
COPY
Path Parameters
string
id
Required

id

Query Parameters
string
filter
Optional

Filter for a query. FIQL format.

string
sortAsc
Optional

Field to use for ascending sort

string
sortDesc
Optional

Field to use for descending sort

integer
page
Required
Constraints: minimum: 1 default: 1

Page to fetch, zero offset.

integer
pageSize
Required
Constraints: minimum: 0 maximum: 128 default: 25

Results per page to fetch.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns KubernetesResources of type(s) application/json;version=39.1
This response body class contains all of the following: Page , InlineKubernetesResources1
{
    "0": "P",
    "1": "a",
    "2": "g",
    "3": "e",
    "4": " ",
    "5": "O",
    "6": "b",
    "7": "j",
    "8": "e",
    "9": "c",
    "10": "t",
    "values": [
        {
            "resourceType": "string",
            "name": "string",
            "kind": "string",
            "apiVersion": "string"
        }
    ]
}

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/apps/{id}/kubernetesResources?page=value&pageSize=v