Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria is not supported.
Responses
200
OK
*/*
400
Bad Request
*/*
get
/compute/resources
List Resource Metrics
get
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Query parameters
servicesinteger · int64[]Optional
Service Ids, example: 1234
environmentsstring[]Optional
Environment, example: PRODUCTION,QA
typesstring[]Optional
Technologies of resource. For exemple LINUX,KUBERNETES
consummablebooleanOptional
Count statistic with uncategorized types
kindstringOptional
global|count|obsolescence|service|network, example: global
startstring · date-timeOptional
Start Date (ISO8601 format), example: 2022-07-22T00:00:00.000Z
cloudsintegerOptional
Responses
200
OK
*/*
400
Bad Request
*/*
get
/compute/resources/metrics
Returns a list of parents
get
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Query parameters
resourceIdsinteger · int64[]Required
Responses
200
OK
*/*
400
Bad Request
*/*
get
/compute/resources/parents
Get a compute Resource by its id
get
Gets a compute Resource by its Id.
A Resource is the ITCare base object.
A resource is composed of :
*id* : Unique identifier of the resource
*name* : Name of the resource
*serviceId* : Each resource must be linked to a service . The service is a logical entity that hosts resources per environment, application ...
*environment* : The environment of the resource. Can be for example 'PRODUCTION', 'QA', 'RECETTE_UAT', 'DEV' ...
*creationUser* : The creator of the resource
*creationTime* : When the resource has been created
*comment* : Description of the resource
*category* : High level categorization of the resource
*family* : Family of the resource belonging the category
*status* : status of the resource. It can be 'ACTIVE' (running), 'INACTIVE' (stopped)
*resourceType* : Type of the resource
*cloudId* : Each cloud
*cloudName* : name of the related cloud
*path* : Helper that gives a path or location about which category to find the resource for more details operations
When the resource is retrieved, the *path* attribute allows to navigate to the right category of the resource.
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64Required
Resource Id, example: 123
Responses
200
OK
*/*
400
Bad Request
*/*
get
/compute/resources/{id}
Get a resource backup policy details
get
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64Required
Resource Id, example: 123
Responses
200
OK
*/*
400
Bad Request
*/*
get
/compute/resources/{id}/backup-policies
Update comments
patch
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64Required
Body
descriptionstringOptional
Responses
204
No Content
400
Bad Request
*/*
patch
/compute/resources/{id}/comments
No content
Get a DNS record
get
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64Required
Resource Id, example: 123
Responses
200
OK
application/vnd.cegedim-it.v1+json
400
Bad Request
*/*
get
/compute/resources/{id}/dns-aliases
Create a Dns Record
post
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64Required
Resource Id, example: 123
Body
Model to update a DNS Record
fqdnstringOptional
typestringOptional
valuestringOptional
Responses
200
OK
application/vnd.cegedim-it.v1+json
400
Bad Request
*/*
post
/compute/resources/{id}/dns-aliases
Delete a DNS Record
delete
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64Required
Resource Id, example: 123
fqdnstringRequired
FQDN to delete, example: my.fqdn.cegedim.cloud
Responses
200
OK
No content
400
Bad Request
*/*
delete
/compute/resources/{id}/dns-aliases/{fqdn}
No content
Get networks information of cluster
get
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64Required
Resource Id, example: 123
Responses
200
OK
application/vnd.cegedim-it.v1+json
400
Bad Request
*/*
get
/compute/resources/{id}/farm-networks
List the action history of a resource.
get
Retrieves all operations and events that occurs on a resource : start, stop, monitoring operations ...
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64Required
Resource Id, example: 123
Query parameters
actionsstring[]Optional
Actions, example: enable_monitoring
statusesstring[]Optional
Statuses, example: SUCCESS
cloudsintegerOptional
pagestringOptional
Results page you want to retrieve (0..N)
sizestringOptional
Number of records per page.
sortanyOptional
Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria is not supported.
Responses
200
OK
application/vnd.cegedim-it.v1+json
400
Bad Request
*/*
get
/compute/resources/{id}/history
List Load Balancers
get
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64Required
id, example: 500060340
Query parameters
typestringRequired
type, example: MESSAGE_BROKERS
Responses
200
OK
application/vnd.cegedim-it.v1+json
400
Bad Request
*/*
get
/compute/resources/{id}/loadbalancers
Get network information of a resource
get
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64Required
Resource Id, example: 123
Responses
200
OK
application/vnd.cegedim-it.v1+json
400
Bad Request
*/*
get
/compute/resources/{id}/networks
List nodes
get
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64Required
id, example: 500060340
Query parameters
typestringRequired
type, example: MESSAGE_BROKERS
Responses
200
OK
application/vnd.cegedim-it.v1+json
400
Bad Request
*/*
get
/compute/resources/{id}/nodes
Get Parent Node
get
Get the cluster containing the managed node or the load balancer if the resource is an URL
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64Required
Responses
200
OK
application/vnd.cegedim-it.v1+json
400
Bad Request
*/*
get
/compute/resources/{id}/parent
Get patch party policy
get
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64Required
Resource Id, example: 123
Responses
200
OK
application/vnd.cegedim-it.v1+json
400
Bad Request
*/*
get
/compute/resources/{id}/patch-policy
Remove Tags from a Resource
delete
Tags allows you to qualify your resources with a custom set of key-value pairs. Tags will be accessible using ITCare search.
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64RequiredExample: 123
Body
Simple key/value object to put on resources (services, instances, loadbalancers) to be able to search across resources easily, and to benefit dynamic resource groups.
tagKeystringRequired
Key of tag
tagValuestringRequired
Value of tag
Responses
204
No Content
400
Bad Request
*/*
delete
/compute/resources/{id}/tags
No content
List Tags
get
Tags allows you to qualify your resources with a custom set of key-value pairs. Tags will be accessible using ITCare search.
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64Required
Resource Id
Responses
200
OK
application/vnd.cegedim-it.v1+json
400
Bad Request
*/*
get
/compute/resources/{id}/tags
Add a Tag to a Resource
post
Tags allows you to qualify your resources with a custom set of key-value pairs. Tags will be accessible using ITCare search.
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64RequiredExample: 123
Body
Simple key/value object to put on resources (services, instances, loadbalancers) to be able to search across resources easily, and to benefit dynamic resource groups.
tagKeystringRequired
Key of tag
tagValuestringRequired
Value of tag
Responses
200
OK
application/vnd.cegedim-it.v1+json
400
Bad Request
*/*
post
/compute/resources/{id}/tags
Replace Tags
put
Tags allows you to qualify your resources with a custom set of key-value pairs. Tags will be accessible using ITCare search.
Authorizations
OAuth2implicitRequired
OAuth2 flow
Authorization URL:
Available scopes:
: openid
: email
Path parameters
idinteger · int64RequiredExample: 123
Bodyobject[]
Simple key/value object to put on resources (services, instances, loadbalancers) to be able to search across resources easily, and to benefit dynamic resource groups.