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
{
"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"
}
]
}
Responses
200
OK
Returns KubernetesResources of type(s) application/json;version=38.0
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"
}
]
}
400
Invalid configuration.
Returns Error of type(s) application/json;version=38.0
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
Availability
Added in 39.0.0-alpha
On This Page
App Operations
POST
Create App
DELETE
Delete App
GET
Get App
GET
Get Custom Values
GET
Query Apps
GET
Query Kubernetes Resources
PUT
Update App
PUT
Update Custom Values
PUT
Update Kubernetes Resources