Skip to content

Commit

Permalink
CodeGen from PR 21461 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Fix format of cert password for env custom domain (#21461)

* fix

* fix
  • Loading branch information
SDKAuto committed Nov 9, 2022
1 parent d9d0841 commit 0567d67
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
3 changes: 2 additions & 1 deletion schemas/2022-01-01-preview/Microsoft.App.json
Original file line number Diff line number Diff line change
Expand Up @@ -2812,7 +2812,8 @@
"maxReplicas": {
"oneOf": [
{
"type": "integer"
"type": "integer",
"default": "10"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down
3 changes: 2 additions & 1 deletion schemas/2022-03-01/Microsoft.App.json
Original file line number Diff line number Diff line change
Expand Up @@ -2838,7 +2838,8 @@
"maxReplicas": {
"oneOf": [
{
"type": "integer"
"type": "integer",
"default": "10"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down
13 changes: 3 additions & 10 deletions schemas/2022-06-01-preview/Microsoft.App.json
Original file line number Diff line number Diff line change
Expand Up @@ -1907,15 +1907,7 @@
"type": "object",
"properties": {
"certificatePassword": {
"oneOf": [
{
"type": "string",
"pattern": "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-Za-z0-9+\\/]{3}=)?$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"type": "string",
"description": "Certificate password"
},
"certificateValue": {
Expand Down Expand Up @@ -3611,7 +3603,8 @@
"maxReplicas": {
"oneOf": [
{
"type": "integer"
"type": "integer",
"default": "10"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down

0 comments on commit 0567d67

Please sign in to comment.