Skip to main content

Update

Update beta Azure Cloud Assembly resource

Path Parameters
  • accountId int64 required
  • projectId string required
  • cloudAssemblyId int64 required
Request Body required
  • resourceSelectionStrategy object
  • selectionType string
  • tags object[]
  • key string
  • value string
  • conditions string
  • resourceGroups string[]
  • excludeTagStrategy object
  • isEnabled boolean
  • excludedTags object[]
  • key string
  • value string
  • conditions string
  • selectedResources object[]
  • cloudResourceReferenceId string
  • resourceName string
  • resourceType string
Responses

OK


Schema
  • id int64
  • tenantId string
  • projectId int64
  • cloudType string
  • selectedResources object[]
  • cloudResourceReferenceId string
  • resourceName string
  • resourceType string
  • resourceSelectionStrategy object
  • selectionType string
  • tags object[]
  • key string
  • value string
  • conditions string
  • resourceGroups string[]
  • excludeTagStrategy object
  • isEnabled boolean
  • excludedTags object[]
  • key string
  • value string
  • conditions string
  • createdAt date-time
  • updatedAt date-time
PATCH /api/v1/account/:accountid/project/:projectid/cloud-assembly/azure/:cloudassemblyid/resources    

Authorization

Request

Click Edit to configure Base URL
https://api.appranix.net
Bearer Token
accountId — path required
projectId — path required
cloudAssemblyId — path required
Body required
{
"resourceSelectionStrategy": {
"selectionType": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string",
"resourceGroups": [
"string"
],
"excludeTagStrategy": {
"isEnabled": true,
"excludedTags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string"
}
},
"selectedResources": [
{
"cloudResourceReferenceId": "string",
"resourceName": "string",
"resourceType": "string"
}
]
}
curl -L -X PATCH 'https://api.appranix.net/api/v1/account/:accountId/project/:projectId/cloud-assembly/azure/:cloudAssemblyId/resources' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
--data-raw '{
"resourceSelectionStrategy": {
"selectionType": "string",
"tags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string",
"resourceGroups": [
"string"
],
"excludeTagStrategy": {
"isEnabled": true,
"excludedTags": [
{
"key": "string",
"value": "string"
}
],
"conditions": "string"
}
},
"selectedResources": [
{
"cloudResourceReferenceId": "string",
"resourceName": "string",
"resourceType": "string"
}
]
}'