v0.3.7
Feature added
- Introduce auto-filling fields to
createorsubmitcommand #22571
We add the auto-filling feature to actions that create new resources. It happens when a required field (a few optional cases) is omitted and is supported by auto-filling.
We take create PhApp by example:
Before auto-filling was introduced, we put all required fields to create an app:
$ primehub apps create <<EOF
{
"templateId": "code-server",
"id": "code-server-26fcc",
"displayName": "my-code-server-26fcc",
"instanceType": "cpu-1",
"scope": "primehub"
}
EOF
After auto-filling was supported, we remove the id and it will be generated with templateId prefix ( code-server-{random-hex} )
$ primehub apps create <<EOF
{
"templateId": "code-server",
"displayName": "my-code-server-26fcc",
"instanceType": "cpu-1",
"scope": "primehub"
}
EOF
Changes and bugfixes
- Rename the original command group
datasetstovolumes#22666 - Rename the original command group
scheduletorecurring-jobs#23065 - Make
instancetypes listoutput more information #23015 - Bugfix: some errors not formatted well #23027