@grafana/openapi 13.1.0-26988652987 → 13.1.0-27176567230

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5490,10 +5490,10 @@
5490
5490
  "type": "string"
5491
5491
  },
5492
5492
  "target": {
5493
- "description": "When syncing, where values are saved\n\nPossible enum values:\n - `\"folder\"` Resources will be saved into a folder managed by this repository It will contain a copy of everything from the remote The folder k8s name will be the same as the repository k8s name\n - `\"instance\"` Resources are saved in the global context Only one repository may specify the `instance` target When this exists, the UI will promote writing to the instance repo rather than the grafana database (where possible)",
5493
+ "description": "When syncing, where values are saved\n\nPossible enum values:\n - `\"folder\"` Resources will be saved into a folder managed by this repository It will contain a copy of everything from the remote The folder k8s name will be the same as the repository k8s name\n - `\"folderless\"` Resources are saved at the top level without a wrapper folder. Like `folder`, multiple `folderless` repositories may coexist with each other, with `folder` repositories, and with unprovisioned resources. Unlike `folder`, no repo-named container folder is created: files at the repository path root become top-level resources and subdirectories become top-level folders. Ownership is tracked per-resource via manager annotations rather than by folder containment. NOTE: The folderless target is not fully implemented yet. It is gated by the provisioning `allowed_targets` setting (which defaults to `folder`), so it must be explicitly enabled, and its behavior may still change.\n - `\"instance\"` Resources are saved in the global context Only one repository may specify the `instance` target When this exists, the UI will promote writing to the instance repo rather than the grafana database (where possible)",
5494
5494
  "type": "string",
5495
5495
  "default": "",
5496
- "enum": ["folder", "instance"]
5496
+ "enum": ["folder", "folderless", "instance"]
5497
5497
  },
5498
5498
  "title": {
5499
5499
  "description": "Repository display",
@@ -5537,7 +5537,7 @@
5537
5537
  "items": {
5538
5538
  "type": "string",
5539
5539
  "default": "",
5540
- "enum": ["folder", "instance"]
5540
+ "enum": ["folder", "folderless", "instance"]
5541
5541
  }
5542
5542
  },
5543
5543
  "apiVersion": {
@@ -5553,6 +5553,17 @@
5553
5553
  "enum": ["bitbucket", "git", "github", "githubEnterprise", "gitlab", "local"]
5554
5554
  }
5555
5555
  },
5556
+ "availableResources": {
5557
+ "description": "AvailableResources is the list of resource types declared for provisioning in this instance, including disabled ones (see SupportedResource.Disabled).",
5558
+ "type": "array",
5559
+ "items": {
5560
+ "allOf": [
5561
+ {
5562
+ "$ref": "#/components/schemas/SupportedResource"
5563
+ }
5564
+ ]
5565
+ }
5566
+ },
5556
5567
  "items": {
5557
5568
  "type": "array",
5558
5569
  "items": {
@@ -5945,6 +5956,27 @@
5945
5956
  }
5946
5957
  }
5947
5958
  },
5959
+ "SupportedResource": {
5960
+ "description": "SupportedResource describes a resource type declared for provisioning. A resource is identified by its group and kind; the API version and plural resource are resolved at runtime via discovery, so they are not part of this descriptor.",
5961
+ "type": "object",
5962
+ "required": ["group", "kind"],
5963
+ "properties": {
5964
+ "disabled": {
5965
+ "description": "Disabled reports whether the resource is declared but not acted on by provisioning. Active resources omit this field.",
5966
+ "type": "boolean"
5967
+ },
5968
+ "group": {
5969
+ "description": "Group is the API group of the resource (e.g. \"dashboard.grafana.app\").",
5970
+ "type": "string",
5971
+ "default": ""
5972
+ },
5973
+ "kind": {
5974
+ "description": "Kind is the kind of the resource (e.g. \"Dashboard\").",
5975
+ "type": "string",
5976
+ "default": ""
5977
+ }
5978
+ }
5979
+ },
5948
5980
  "SyncJobOptions": {
5949
5981
  "type": "object",
5950
5982
  "required": ["incremental"],
@@ -5971,10 +6003,10 @@
5971
6003
  "format": "int64"
5972
6004
  },
5973
6005
  "target": {
5974
- "description": "Where values should be saved\n\nPossible enum values:\n - `\"folder\"` Resources will be saved into a folder managed by this repository It will contain a copy of everything from the remote The folder k8s name will be the same as the repository k8s name\n - `\"instance\"` Resources are saved in the global context Only one repository may specify the `instance` target When this exists, the UI will promote writing to the instance repo rather than the grafana database (where possible)",
6006
+ "description": "Where values should be saved\n\nPossible enum values:\n - `\"folder\"` Resources will be saved into a folder managed by this repository It will contain a copy of everything from the remote The folder k8s name will be the same as the repository k8s name\n - `\"folderless\"` Resources are saved at the top level without a wrapper folder. Like `folder`, multiple `folderless` repositories may coexist with each other, with `folder` repositories, and with unprovisioned resources. Unlike `folder`, no repo-named container folder is created: files at the repository path root become top-level resources and subdirectories become top-level folders. Ownership is tracked per-resource via manager annotations rather than by folder containment. NOTE: The folderless target is not fully implemented yet. It is gated by the provisioning `allowed_targets` setting (which defaults to `folder`), so it must be explicitly enabled, and its behavior may still change.\n - `\"instance\"` Resources are saved in the global context Only one repository may specify the `instance` target When this exists, the UI will promote writing to the instance repo rather than the grafana database (where possible)",
5975
6007
  "type": "string",
5976
6008
  "default": "",
5977
- "enum": ["folder", "instance"]
6009
+ "enum": ["folder", "folderless", "instance"]
5978
6010
  }
5979
6011
  }
5980
6012
  },
@@ -5106,10 +5106,10 @@
5106
5106
  "type": "string"
5107
5107
  },
5108
5108
  "target": {
5109
- "description": "When syncing, where values are saved\n\nPossible enum values:\n - `\"folder\"` Resources will be saved into a folder managed by this repository It will contain a copy of everything from the remote The folder k8s name will be the same as the repository k8s name\n - `\"instance\"` Resources are saved in the global context Only one repository may specify the `instance` target When this exists, the UI will promote writing to the instance repo rather than the grafana database (where possible)",
5109
+ "description": "When syncing, where values are saved\n\nPossible enum values:\n - `\"folder\"` Resources will be saved into a folder managed by this repository It will contain a copy of everything from the remote The folder k8s name will be the same as the repository k8s name\n - `\"folderless\"` Resources are saved at the top level without a wrapper folder. Like `folder`, multiple `folderless` repositories may coexist with each other, with `folder` repositories, and with unprovisioned resources. Unlike `folder`, no repo-named container folder is created: files at the repository path root become top-level resources and subdirectories become top-level folders. Ownership is tracked per-resource via manager annotations rather than by folder containment. NOTE: The folderless target is not fully implemented yet. It is gated by the provisioning `allowed_targets` setting (which defaults to `folder`), so it must be explicitly enabled, and its behavior may still change.\n - `\"instance\"` Resources are saved in the global context Only one repository may specify the `instance` target When this exists, the UI will promote writing to the instance repo rather than the grafana database (where possible)",
5110
5110
  "type": "string",
5111
5111
  "default": "",
5112
- "enum": ["folder", "instance"]
5112
+ "enum": ["folder", "folderless", "instance"]
5113
5113
  },
5114
5114
  "title": {
5115
5115
  "description": "Repository display",
@@ -5153,7 +5153,7 @@
5153
5153
  "items": {
5154
5154
  "type": "string",
5155
5155
  "default": "",
5156
- "enum": ["folder", "instance"]
5156
+ "enum": ["folder", "folderless", "instance"]
5157
5157
  }
5158
5158
  },
5159
5159
  "apiVersion": {
@@ -5169,6 +5169,17 @@
5169
5169
  "enum": ["bitbucket", "git", "github", "githubEnterprise", "gitlab", "local"]
5170
5170
  }
5171
5171
  },
5172
+ "availableResources": {
5173
+ "description": "AvailableResources is the list of resource types declared for provisioning in this instance, including disabled ones (see SupportedResource.Disabled).",
5174
+ "type": "array",
5175
+ "items": {
5176
+ "allOf": [
5177
+ {
5178
+ "$ref": "#/components/schemas/SupportedResource"
5179
+ }
5180
+ ]
5181
+ }
5182
+ },
5172
5183
  "items": {
5173
5184
  "type": "array",
5174
5185
  "items": {
@@ -5496,6 +5507,27 @@
5496
5507
  }
5497
5508
  }
5498
5509
  },
5510
+ "SupportedResource": {
5511
+ "description": "SupportedResource describes a resource type declared for provisioning. A resource is identified by its group and kind; the API version and plural resource are resolved at runtime via discovery, so they are not part of this descriptor.",
5512
+ "type": "object",
5513
+ "required": ["group", "kind"],
5514
+ "properties": {
5515
+ "disabled": {
5516
+ "description": "Disabled reports whether the resource is declared but not acted on by provisioning. Active resources omit this field.",
5517
+ "type": "boolean"
5518
+ },
5519
+ "group": {
5520
+ "description": "Group is the API group of the resource (e.g. \"dashboard.grafana.app\").",
5521
+ "type": "string",
5522
+ "default": ""
5523
+ },
5524
+ "kind": {
5525
+ "description": "Kind is the kind of the resource (e.g. \"Dashboard\").",
5526
+ "type": "string",
5527
+ "default": ""
5528
+ }
5529
+ }
5530
+ },
5499
5531
  "SyncJobOptions": {
5500
5532
  "type": "object",
5501
5533
  "required": ["incremental"],
@@ -5522,10 +5554,10 @@
5522
5554
  "format": "int64"
5523
5555
  },
5524
5556
  "target": {
5525
- "description": "Where values should be saved\n\nPossible enum values:\n - `\"folder\"` Resources will be saved into a folder managed by this repository It will contain a copy of everything from the remote The folder k8s name will be the same as the repository k8s name\n - `\"instance\"` Resources are saved in the global context Only one repository may specify the `instance` target When this exists, the UI will promote writing to the instance repo rather than the grafana database (where possible)",
5557
+ "description": "Where values should be saved\n\nPossible enum values:\n - `\"folder\"` Resources will be saved into a folder managed by this repository It will contain a copy of everything from the remote The folder k8s name will be the same as the repository k8s name\n - `\"folderless\"` Resources are saved at the top level without a wrapper folder. Like `folder`, multiple `folderless` repositories may coexist with each other, with `folder` repositories, and with unprovisioned resources. Unlike `folder`, no repo-named container folder is created: files at the repository path root become top-level resources and subdirectories become top-level folders. Ownership is tracked per-resource via manager annotations rather than by folder containment. NOTE: The folderless target is not fully implemented yet. It is gated by the provisioning `allowed_targets` setting (which defaults to `folder`), so it must be explicitly enabled, and its behavior may still change.\n - `\"instance\"` Resources are saved in the global context Only one repository may specify the `instance` target When this exists, the UI will promote writing to the instance repo rather than the grafana database (where possible)",
5526
5558
  "type": "string",
5527
5559
  "default": "",
5528
- "enum": ["folder", "instance"]
5560
+ "enum": ["folder", "folderless", "instance"]
5529
5561
  }
5530
5562
  }
5531
5563
  },