Update Kubernetes Resources

Update Kubernetes Resources

Updates the information for resources allocated in Kubernetes cluster. This API will not modify Kubernetes resources allocated for current container app. To change container app's settings, please use app's update custom values API. This API requires 'App: Reconcile Container App' right. Returns 400 if app type is anything but ContainerApp.

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

id

string
id
Required

id


Request Body
KubernetesResources of type(s) application/json
Required
This request body class requires 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"
        }
    ]
}
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns KubernetesResources of type(s) application/json;version=38.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"
        }
    ]
}