Skip to content

Commit f50289e

Browse files
authored
[Hub Generated] Review request for Microsoft.AppPlatform to add version preview/2019-05-01-preview (#10302)
* Fix swagger by adding readonly for properties. * Update samples.
1 parent 5699b02 commit f50289e

File tree

5 files changed

+6
-9
lines changed

5 files changed

+6
-9
lines changed

specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/appplatform.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2792,11 +2792,13 @@
27922792
"properties": {
27932793
"resourceName": {
27942794
"description": "The name of the bound resource",
2795-
"type": "string"
2795+
"type": "string",
2796+
"readOnly": true
27962797
},
27972798
"resourceType": {
27982799
"description": "The standard Azure resource type of the bound resource",
2799-
"type": "string"
2800+
"type": "string",
2801+
"readOnly": true
28002802
},
28012803
"resourceId": {
28022804
"description": "The Azure resource id of the bound resource",
@@ -3006,7 +3008,8 @@
30063008
},
30073009
"appName": {
30083010
"description": "The app name of domain.",
3009-
"type": "string"
3011+
"type": "string",
3012+
"readOnly": true
30103013
},
30113014
"certName": {
30123015
"description": "The bound certificate name of domain.",

specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_CreateOrUpdate.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
"parameters": {
33
"bindingResource": {
44
"properties": {
5-
"resourceName": "my-cosmosdb-1",
6-
"resourceType": "Microsoft.DocumentDB",
75
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb-1",
86
"key": "xxxx",
97
"bindingParameters": {

specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/Bindings_Update.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
"parameters": {
33
"bindingResource": {
44
"properties": {
5-
"resourceName": null,
6-
"resourceType": null,
75
"key": "xxxx",
86
"bindingParameters": {
97
"databaseName": "db1",

specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_CreateOrUpdate.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"domainResource": {
44
"properties": {
55
"thumbprint": "934367bf1c97033f877db0f15cb1b586957d3133",
6-
"appName": "myapp",
76
"certName": "mycert"
87
}
98
},

specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2019-05-01-preview/examples/CustomDomains_Patch.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"domainResource": {
44
"properties": {
55
"thumbprint": "934367bf1c97033f877db0f15cb1b586957d3133",
6-
"appName": "myapp",
76
"certName": "mycert"
87
}
98
},

0 commit comments

Comments
 (0)