incident_io_client.models.catalog_type_v2_response_body
CatalogTypeV2ResponseBody
Example
{'annotations': {'incident.io/catalog-importer/id': 'id-of-config'}, 'color': 'yellow', 'created_at': '2021-08-17T13:28:57.801578Z', 'description': 'Represents Kubernetes clusters that we run inside of GKE.', 'dynamic_resource_parameter': 'abc123', 'estimated_count': 7, 'icon': 'bolt', 'id': '01FCNDV6P870EA6S7TK1DSYDG0', 'is_editable': False, 'last_synced_at': '2021-08-17T13:28:57.801578Z', 'name': 'Kubernetes Cluster', 'ranked': True, 'registry_type': 'PagerDutyService', 'required_integrations': ['pager_duty'], 'schema': {'attributes': [{'array': False, 'backlink_attribute': 'abc123', 'id': '01GW2G3V0S59R238FAHPDS1R66', 'mode': 'manual', 'name': 'tier', 'path': [{'attribute_id': 'abc123', 'attribute_name': 'abc123'}], 'type': 'Custom["Service"]'}], 'version': 1}, 'semantic_type': 'custom', 'source_repo_url': 'https://github.com/my-company/incident-io-catalog', 'type_name': 'Custom["BackstageGroup"]', 'updated_at': '2021-08-17T13:28:57.801578Z'}
Attributes:
Name | Type | Description |
---|---|---|
annotations |
CatalogTypeV2ResponseBodyAnnotations
|
Annotations that can track metadata about this type Example: {'incident.io/catalog-importer/id': 'id-of-config'}. |
color |
CatalogTypeV2ResponseBodyColor
|
Sets the display color of this type in the dashboard Example: yellow. |
created_at |
datetime
|
When this type was created Example: 2021-08-17T13:28:57.801578Z. |
description |
str
|
Human readble description of this type Example: Represents Kubernetes clusters that we run inside of GKE.. |
icon |
CatalogTypeV2ResponseBodyIcon
|
Sets the display icon of this type in the dashboard Example: bolt. |
id |
str
|
ID of this catalog type Example: 01FCNDV6P870EA6S7TK1DSYDG0. |
is_editable |
bool
|
Catalog types that are synced with external resources can't be edited |
name |
str
|
Name is the human readable name of this type Example: Kubernetes Cluster. |
ranked |
bool
|
If this type should be ranked Example: True. |
schema |
CatalogTypeSchemaV2ResponseBody
|
Example: {'attributes': [{'array': False, 'backlink_attribute': 'abc123', 'id': '01GW2G3V0S59R238FAHPDS1R66', 'mode': 'manual', 'name': 'tier', 'path': [{'attribute_id': 'abc123', 'attribute_name': 'abc123'}], 'type': 'Custom["Service"]'}], 'version': 1}. |
semantic_type |
str
|
Semantic type of this resource (unused) Example: custom. |
type_name |
str
|
The type name of this catalog type, to be used when defining attributes. This is immutable once a CatalogType has been created. For non-externally sync types, it must follow the pattern Custom["SomeName "] Example: Custom["BackstageGroup"]. |
updated_at |
datetime
|
When this type was last updated Example: 2021-08-17T13:28:57.801578Z. |
dynamic_resource_parameter |
Union[Unset, str]
|
If this is a dynamic catalog type, this will be the unique parameter for identitfying this resource externally. Example: abc123. |
estimated_count |
Union[Unset, int]
|
If populated, gives an estimated count of entries for this type Example: 7. |
last_synced_at |
Union[Unset, datetime]
|
When this type was last synced (if it's ever been sync'd) Example: 2021-08-17T13:28:57.801578Z. |
registry_type |
Union[Unset, str]
|
The registry resource this type is synced from, if any Example: PagerDutyService. |
required_integrations |
Union[Unset, List[str]]
|
If populated, the integrations required for this type Example: ['pager_duty']. |
source_repo_url |
Union[Unset, str]
|
The url of the external repository where this type is managed Example: https://github.com/my-company/incident-io-catalog. |
Source code in incident_io_client/models/catalog_type_v2_response_body.py
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 |
|