Infrastructure Component Runtime
note
Infrastructure Component Runtime are available starting from the v14 of the Mia-Platform Console.
Infrastructure Component Runtime items are meant to be used in the context of an Infrastructure Project to be able to collect runtime data for visualization within Console.
To create or edit an infrastructure Component Runtime item, you need to provide a manifest, whose resources
property should adhere to the following JSON schema.
tip
The JSON schemas of the infrastructure Component Runtime item and its full manifest are available on GitHub.
- Schema Viewer
- Raw JSON Schema
- Example
Loading ....
{
"$id": "software-catalog-infrastructure-compomnent-runtime-resources.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"description": "The resources of Software Catalog items of type infrastructure-component-runtime.",
"properties": {
"projectId": {
"type": "string",
"description": "project object id"
},
"name": {
"type": "string",
"description": "name of the resource"
},
"tags": {
"type": "array",
"description": "list of tags useful for organize data",
"items": {
"type": "string"
}
},
"runtimeData": {
"type": "object",
"additionalProperties": true
}
},
"title": "Software Catalog infrastructure component runtime resources",
"type": "object",
"examples": [
{
"name": "orders-gcp-bucket",
"projectId": "67e573d5ea16c05de9363dd2",
"runtimeData": {
"address": "google_storage_bucket.orders-gcp-bucket",
"mode": "managed",
"name": "orders-gcp-bucket",
"provider_name": "registry.terraform.io/hashicorp/google",
"schema_version": 3,
"type": "google_storage_bucket"
},
"tags": [
"gcp"
]
}
]
}
{
"name": "orders-gcp-bucket",
"projectId": "67e573d5ea16c05de9363dd2",
"runtimeData": {
"address": "google_storage_bucket.orders-gcp-bucket",
"mode": "managed",
"name": "orders-gcp-bucket",
"provider_name": "registry.terraform.io/hashicorp/google",
"schema_version": 3,
"type": "google_storage_bucket"
},
"tags": [
"gcp"
]
}