Get list of resource groups
Bad Request
Internal Server Error
This contains a list of Resource Groups
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Create a resource group
This contains the details required to create a Resource Group
required | object (ResourcegroupResourceGroupV2) Contains information of Resource Group |
Bad Request
Internal Server Error
Successfully created a Resource Group
{- "resourceGroup": {
- "accountIdentifier": "string",
- "orgIdentifier": "string",
- "projectIdentifier": "string",
- "identifier": "string",
- "name": "string",
- "color": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "description": "string",
- "allowedScopeLevels": [
- "string"
], - "includedScopes": [
- {
- "filter": "EXCLUDING_CHILD_SCOPES",
- "accountIdentifier": "string",
- "orgIdentifier": "string",
- "projectIdentifier": "string"
}
], - "resourceFilter": {
- "resources": [
- {
- "resourceType": "string",
- "identifiers": [
- "string"
], - "attributeFilter": {
- "attributeName": "string",
- "attributeValues": [
- "string"
]
}
}
], - "includeAllResources": true
}
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Get a resource group by identifier
Bad Request
Internal Server Error
This returns a Resource Group specific to the Identifier
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Update a resource group
This contains the details required to create a Resource Group
required | object (ResourcegroupResourceGroupV2) Contains information of Resource Group |
Bad Request
Internal Server Error
Successfully updated a Resource Group
{- "resourceGroup": {
- "accountIdentifier": "string",
- "orgIdentifier": "string",
- "projectIdentifier": "string",
- "identifier": "string",
- "name": "string",
- "color": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}, - "description": "string",
- "allowedScopeLevels": [
- "string"
], - "includedScopes": [
- {
- "filter": "EXCLUDING_CHILD_SCOPES",
- "accountIdentifier": "string",
- "orgIdentifier": "string",
- "projectIdentifier": "string"
}
], - "resourceFilter": {
- "resources": [
- {
- "resourceType": "string",
- "identifiers": [
- "string"
], - "attributeFilter": {
- "attributeName": "string",
- "attributeValues": [
- "string"
]
}
}
], - "includeAllResources": true
}
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Delete a resource group
Bad Request
Internal Server Error
Successfully deleted a Resource Group
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
This fetches a filtered list of Resource Groups
Filter Resource Groups based on multiple parameters
Bad Request
Internal Server Error
This fetches the list of Resource Groups filtered by multiple fields.
{- "accountIdentifier": "string",
- "orgIdentifier": "string",
- "projectIdentifier": "string",
- "searchTerm": "string",
- "identifierFilter": [
- "string"
], - "resourceSelectorFilterList": [
- {
- "resourceType": "string",
- "resourceIdentifier": "string"
}
], - "managedFilter": "NO_FILTER"
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}