feat: add generated parent modify resources

Introduce the modifier YAML kind for delayed parent-level modify operations and generate dedicated Terraform resources with typed parameters. Keep modifier parameters out of the ordinary instance CRUD resource, register modifiers separately, and leave delete as a no-op until an inverse API payload is confirmed. Mark vcOrg and vcNsxt modify operations during YAML generation so the contract survives regeneration.
This commit is contained in:
Repinoid
2026-09-20 18:05:24 +03:00
parent 33672e05bf
commit a48b658d78
7 changed files with 236 additions and 8 deletions
+1
View File
@@ -41,6 +41,7 @@ type OperationSpec struct {
ID int `yaml:"id"`
Kind string `yaml:"kind"`
Action string `yaml:"action"`
Modifier string `yaml:"modifier,omitempty"`
Subresource string `yaml:"subresource,omitempty"`
Man string `yaml:"man,omitempty"`
Params []ParamSpec `yaml:"params"`