Description
Overview of feature request
Today, there are a fixed set of portable Radius resources:
- Applications.Dapr/stateStores
- Applications.Dapr/pubSubBrokers
- Applications.Datastores/redisCaches
- Applications.Datastores/sqlDatabases
- ...
These resources have a fixed schema and it allows teams to only select from a pre-defined list.
What's missing is a way for a team at an organization like Contoso to model their own schema and abstractions to work with.
For example, Contoso may want a resource type like:
resource storage 'Contoso.Storage/database' = {
name: 'inventory'
properties: {...}
}
This would allow developers to select from resource types that are custom to Contoso. This also doesn't have to be limited to storage/messaging resources. Custom types could also encapsulate entire services or dependencies such as:
resource storage 'Contoso.Monitoring/diagnostics' = {
name: 'inventory'
properties: {...}
}
Acceptance criteria
- Users can define their own types + schema
- These resources can be modeled in Bicep, acting as a key/value store for the properties
- Recipes should work with the resources, allowing IT operators to define Recipe templates that spin up the actual backing infrastructure.