Expand description
Knowledge-source migration transforms: convert an indexed knowledge
source (azureBlob, azureSql, oneLake, …) with an Azure-generated
pipeline into the explicit searchIndex shape plus first-class
data-source/index/skillset/indexer definitions.
Everything here is a pure document transform — the rigg migrate command
writes files, and rigg push performs the actual replace.
Functions§
- created_
resources - The generated sub-resources named by a knowledge source’s
createdResourcesobject (found at any nesting depth — the live shape nests it under<kind>Parameters). Unknown member names are ignored. - derive_
names - Derive side-by-side names for the new pipeline: when a generated name
starts with the old knowledge-source name, that prefix is swapped for the
new name (
regulatory-index→reg2-index); otherwise a conventional<new>-<kind>name is used. - is_
indexed_ with_ created - Whether this knowledge source is an indexed kind with a generated
pipeline that can be migrated (i.e. carries a non-empty
createdResources). Remote kinds (web, MCP, …) andsearchIndexsources have nothing to migrate. - to_
search_ index_ ks - Build the explicit
searchIndexknowledge-source document replacing an indexed one: preservesnameanddescription, points atindex_name, and drops every<kind>Parameterspayload.