Skip to content

Commit b7fd112

Browse files
authored
Merge pull request #16 from SzySteve/docs/managed_services_creds
add credentials as a param for managed services
2 parents eeb6530 + 1191b12 commit b7fd112

File tree

2 files changed

+17
-10
lines changed

2 files changed

+17
-10
lines changed

src/data/endpoints/managed.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,15 @@ endpoints:
171171
value: If the Linode needs to be rebooted, please contact us first.
172172
limit: 0-1000 characters
173173
optional: true
174+
credentials:
175+
type: Array
176+
subtype: Integer
177+
value: [12345, 23456, 34567]
178+
editable: true
179+
optional: true
180+
description: >
181+
An array of credential IDs to associate with this service.
182+
seeAlso: ["reference/endpoints/managed/credentials"]
174183
examples:
175184
curl: |
176185
curl -H "Content-Type: application/json" \

src/data/objects/managedservice.yaml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,14 @@ schema:
6969
editable: true
7070
description: >
7171
If the address is a private IP, you must use the region (as a slug) for the service being monitored. Otherwise, do not use.
72-
# TODO - uncomment in ARB-301
73-
#credentials:
74-
# type: String
75-
# isArray: true
76-
# subtype: integer
77-
# filterable: true
78-
# value: 12345,23456,34567
79-
# optional: true
80-
# description: >
81-
# An array of credentials associated with this service.
72+
credentials:
73+
type: Array
74+
subtype: Integer
75+
value: [12345, 23456, 34567]
76+
editable: true
77+
optional: true
78+
description: >
79+
An array of credentials IDs associated with this service.
8280
enums:
8381
ManagedServiceStatus:
8482
new: A newly-created Service.

0 commit comments

Comments
 (0)