@@ -327,36 +327,37 @@ tags:
327
327
valid URN has the following format: `do:resource_type:resource_id`. The
328
328
following resource types are supported:
329
329
330
- Resource Type | Example URN
331
- --------------|------------
332
- Database | `do:dbaas:83c7a55f-0d84-4760-9245-aba076ec2fb2`
333
- Domain | `do:domain:example.com`
334
- Droplet | `do:droplet:4126873`
335
- Floating IP | `do:floatingip:192.168.99.100`
336
- Load Balancer | `do:loadbalancer:39052d89-8dd4-4d49-8d5a-3c3b6b365b5b`
337
- Space | `do:space:my-website-assets`
338
- Volume | `do:volume:6fc4c277-ea5c-448a-93cd-dd496cfef71f`
330
+ Resource Type | Example URN
331
+ -------------------|------------
332
+ Database | `do:dbaas:83c7a55f-0d84-4760-9245-aba076ec2fb2`
333
+ Domain | `do:domain:example.com`
334
+ Droplet | `do:droplet:4126873`
335
+ Floating IP | `do:floatingip:192.168.99.100`
336
+ Kubernetes Cluster | `do:kubernetes:bd5f5959-5e1e-4205-a714-a914373942af`
337
+ Load Balancer | `do:loadbalancer:39052d89-8dd4-4d49-8d5a-3c3b6b365b5b`
338
+ Space | `do:space:my-website-assets`
339
+ Volume | `do:volume:6fc4c277-ea5c-448a-93cd-dd496cfef71f`
339
340
340
341
### Resource Status Codes
341
342
342
343
When assigning and retrieving resources in projects, a `status` attribute
343
344
is returned that indicates if a resource was successfully retrieved or
344
345
assigned. The status codes can be one of the following:
345
346
346
- Status Code | Explanation
347
- ------------|------------
348
- `ok` | There was no problem retrieving or assigning a resource.
349
- `not_found` | The resource was not found.
350
- `assigned` | The resource was successfully assigned.
347
+ Status Code | Explanation
348
+ ------------------- |------------
349
+ `ok` | There was no problem retrieving or assigning a resource.
350
+ `not_found` | The resource was not found.
351
+ `assigned` | The resource was successfully assigned.
351
352
`already_assigned` | The resource was already assigned.
352
353
`service_down` | There was a problem retrieving or assigning a resource. Please try again.
353
354
354
355
- name : Projects
355
356
description : >-
356
- Projects allow you to organize your resources into groups that fit the way
357
- you work. You can group resources (like Droplets, Spaces, load balancers,
358
- domains, and floating IPs) in ways that align with the applications
359
- you host on DigitalOcean.
357
+ Projects allow you to organize your resources into groups that fit the way
358
+ you work. You can group resources (like Droplets, Spaces, load balancers,
359
+ domains, and floating IPs) in ways that align with the applications
360
+ you host on DigitalOcean.
360
361
361
362
- name : Regions
362
363
description : Provides information about DigitalOcean data center regions.
@@ -503,11 +504,11 @@ paths:
503
504
/v2/apps/propose :
504
505
post :
505
506
$ref : ' resources/apps/propose_app.yml'
506
-
507
+
507
508
/v2/apps/{app_id}/alerts :
508
509
get :
509
510
$ref : ' resources/apps/list_alerts.yml'
510
-
511
+
511
512
/v2/apps/{app_id}/alerts/{alert_id}/destinations :
512
513
post :
513
514
$ref : ' resources/apps/assign_alert_destinations.yml'
0 commit comments