Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.AppPlatform to add versi…
Browse files Browse the repository at this point in the history
…on preview/2019-05-01-preview (Azure#10302)

* Fix swagger by adding readonly for properties.

* Update samples.
  • Loading branch information
bowen5 authored Jul 31, 2020
1 parent 5699b02 commit f50289e
Showing 5 changed files with 6 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -2792,11 +2792,13 @@
"properties": {
"resourceName": {
"description": "The name of the bound resource",
"type": "string"
"type": "string",
"readOnly": true
},
"resourceType": {
"description": "The standard Azure resource type of the bound resource",
"type": "string"
"type": "string",
"readOnly": true
},
"resourceId": {
"description": "The Azure resource id of the bound resource",
@@ -3006,7 +3008,8 @@
},
"appName": {
"description": "The app name of domain.",
"type": "string"
"type": "string",
"readOnly": true
},
"certName": {
"description": "The bound certificate name of domain.",
Original file line number Diff line number Diff line change
@@ -2,8 +2,6 @@
"parameters": {
"bindingResource": {
"properties": {
"resourceName": "my-cosmosdb-1",
"resourceType": "Microsoft.DocumentDB",
"resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDB/databaseAccounts/my-cosmosdb-1",
"key": "xxxx",
"bindingParameters": {
Original file line number Diff line number Diff line change
@@ -2,8 +2,6 @@
"parameters": {
"bindingResource": {
"properties": {
"resourceName": null,
"resourceType": null,
"key": "xxxx",
"bindingParameters": {
"databaseName": "db1",
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
"domainResource": {
"properties": {
"thumbprint": "934367bf1c97033f877db0f15cb1b586957d3133",
"appName": "myapp",
"certName": "mycert"
}
},
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
"domainResource": {
"properties": {
"thumbprint": "934367bf1c97033f877db0f15cb1b586957d3133",
"appName": "myapp",
"certName": "mycert"
}
},

0 comments on commit f50289e

Please sign in to comment.