Skip to content

Commit 949ff43

Browse files
authored
Fix swagger correctness for appplatform 2021-06-01-preview (#15031)
1 parent 8c8839f commit 949ff43

File tree

1 file changed

+37
-9
lines changed
  • specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2021-06-01-preview

1 file changed

+37
-9
lines changed

specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2021-06-01-preview/appplatform.json

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3066,23 +3066,43 @@
30663066
"properties": {
30673067
"serviceRuntimeSubnetId": {
30683068
"description": "Fully qualified resource Id of the subnet to host Azure Spring Cloud Service Runtime",
3069-
"type": "string"
3069+
"type": "string",
3070+
"x-ms-mutability": [
3071+
"create",
3072+
"read"
3073+
]
30703074
},
30713075
"appSubnetId": {
30723076
"description": "Fully qualified resource Id of the subnet to host Azure Spring Cloud Apps",
3073-
"type": "string"
3077+
"type": "string",
3078+
"x-ms-mutability": [
3079+
"create",
3080+
"read"
3081+
]
30743082
},
30753083
"serviceCidr": {
30763084
"description": "Azure Spring Cloud service reserved CIDR",
3077-
"type": "string"
3085+
"type": "string",
3086+
"x-ms-mutability": [
3087+
"create",
3088+
"read"
3089+
]
30783090
},
30793091
"serviceRuntimeNetworkResourceGroup": {
30803092
"description": "Name of the resource group containing network resources of Azure Spring Cloud Service Runtime",
3081-
"type": "string"
3093+
"type": "string",
3094+
"x-ms-mutability": [
3095+
"create",
3096+
"read"
3097+
]
30823098
},
30833099
"appNetworkResourceGroup": {
30843100
"description": "Name of the resource group containing network resources of Azure Spring Cloud Apps",
3085-
"type": "string"
3101+
"type": "string",
3102+
"x-ms-mutability": [
3103+
"create",
3104+
"read"
3105+
]
30863106
},
30873107
"outboundIPs": {
30883108
"description": "Desired outbound IP resources for Azure Spring Cloud instance.",
@@ -3413,11 +3433,16 @@
34133433
},
34143434
"fqdn": {
34153435
"description": "Fully qualified dns Name.",
3416-
"type": "string"
3436+
"type": "string",
3437+
"x-ms-mutability": [
3438+
"create",
3439+
"read"
3440+
]
34173441
},
34183442
"httpsOnly": {
34193443
"description": "Indicate if only https is allowed.",
3420-
"type": "boolean"
3444+
"type": "boolean",
3445+
"default": false
34213446
},
34223447
"createdTime": {
34233448
"format": "date-time",
@@ -3435,7 +3460,8 @@
34353460
},
34363461
"enableEndToEndTLS": {
34373462
"description": "Indicate if end to end TLS is enabled.",
3438-
"type": "boolean"
3463+
"type": "boolean",
3464+
"default": false
34393465
}
34403466
}
34413467
},
@@ -3452,7 +3478,8 @@
34523478
},
34533479
"mountPath": {
34543480
"description": "Mount path of the temporary disk",
3455-
"type": "string"
3481+
"type": "string",
3482+
"default": "/tmp"
34563483
}
34573484
}
34583485
},
@@ -4018,6 +4045,7 @@
40184045
},
40194046
"runtimeVersion": {
40204047
"description": "Runtime version",
4048+
"default": "Java_8",
40214049
"enum": [
40224050
"Java_8",
40234051
"Java_11",

0 commit comments

Comments
 (0)