Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions schemas/alpha/azure.yaml.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@
"host"
],
"properties": {
"apiVersion": {
"type": "string",
"title": "Resource provider API version for deployments",
"description": "Optional. The resource provider API version to use for the service. If not specified, the default SDK API version is used. Only valid when host is 'containerapp'."
},
"resourceGroup": {
"type": "string",
"title": "Name of the Azure resource group that contains the resource",
Expand Down Expand Up @@ -344,6 +349,22 @@
}
}
},
{
"if": {
"not": {
"properties": {
"host": {
"const": "containerapp"
}
}
}
},
"then": {
"properties": {
"apiVersion": false
}
}
},
{
"properties": {
"dist": {
Expand Down
26 changes: 26 additions & 0 deletions schemas/v1.0/azure.yaml.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,16 @@
"host"
],
"properties": {
"apiVersion": {
"type": "string",
"title": "Resource provider API version for deployments",
"description": "Optional. The resource provider API version to use for the service. If not specified, the default SDK API version is used. Only valid when host is 'containerapp'."
},
"resourceGroup": {
"type": "string",
"title": "Name of the Azure resource group that contains the resource",
"description": "By default, the CLI will discover the Azure resource within the default resource group. When specified, the CLI will instead find the Azure resource within the specified resource group. Supports environment variable substitution."
},
"resourceName": {
"type": "string",
"title": "Name of the Azure resource that implements the service",
Expand Down Expand Up @@ -315,6 +325,22 @@
}
}
},
{
"if": {
"not": {
"properties": {
"host": {
"const": "containerapp"
}
}
}
},
"then": {
"properties": {
"apiVersion": false
}
}
},
{
"properties": {
"dist": {
Expand Down