Skip to content

Commit

Permalink
Fixed cluster application PUT parameter (#3565)
Browse files Browse the repository at this point in the history
  • Loading branch information
wawon-msft authored and hovsepm committed Aug 2, 2018
1 parent 90464a8 commit f9e6a10
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ApplicationProperties"
"$ref": "#/definitions/Application"
},
"description": "The application create request."
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,36 @@
"api-version": "2015-03-01-preview",
"subscriptionId": "subid",
"parameters": {
"computeProfile": {
"roles": [{
"name": "edgenode",
"targetInstanceCount": 1,
"hardwareProfile": {
"vmSize": "Standard_D12_v2"
}
}]
},
"installScriptActions": [{
"name": "app-install-app1",
"uri": "https://.../install.sh",
"parameters": "-version latest -port 20000",
"roles": [
"edgenode"
]
}],
"uninstallScriptActions": [],
"httpsEndpoints": [{
"subDomainSuffix": "dss",
"destinationPort": 20000,
"accessModes": [
"WebPage"
]
}],
"provisioningState": "",
"applicationType": "CustomApplication",
"errors": []
"properties": {
"computeProfile": {
"roles": [{
"name": "edgenode",
"targetInstanceCount": 1,
"hardwareProfile": {
"vmSize": "Standard_D12_v2"
}
}]
},
"installScriptActions": [{
"name": "app-install-app1",
"uri": "https://.../install.sh",
"parameters": "-version latest -port 20000",
"roles": [
"edgenode"
]
}],
"uninstallScriptActions": [],
"httpsEndpoints": [{
"subDomainSuffix": "dss",
"destinationPort": 20000,
"accessModes": [
"WebPage"
]
}],
"provisioningState": "",
"applicationType": "CustomApplication",
"errors": []
}
}
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/ApplicationProperties"
"$ref": "#/definitions/Application"
},
"description": "The application create request."
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,36 @@
"api-version": "2018-06-01-preview",
"subscriptionId": "subid",
"parameters": {
"computeProfile": {
"roles": [{
"name": "edgenode",
"targetInstanceCount": 1,
"hardwareProfile": {
"vmSize": "Standard_D12_v2"
}
}]
},
"installScriptActions": [{
"name": "app-install-app1",
"uri": "https://.../install.sh",
"parameters": "-version latest -port 20000",
"roles": [
"edgenode"
]
}],
"uninstallScriptActions": [],
"httpsEndpoints": [{
"subDomainSuffix": "dss",
"destinationPort": 20000,
"accessModes": [
"WebPage"
]
}],
"provisioningState": "",
"applicationType": "CustomApplication",
"errors": []
"properties": {
"computeProfile": {
"roles": [{
"name": "edgenode",
"targetInstanceCount": 1,
"hardwareProfile": {
"vmSize": "Standard_D12_v2"
}
}]
},
"installScriptActions": [{
"name": "app-install-app1",
"uri": "https://.../install.sh",
"parameters": "-version latest -port 20000",
"roles": [
"edgenode"
]
}],
"uninstallScriptActions": [],
"httpsEndpoints": [{
"subDomainSuffix": "dss",
"destinationPort": 20000,
"accessModes": [
"WebPage"
]
}],
"provisioningState": "",
"applicationType": "CustomApplication",
"errors": []
}
}
},
"responses": {
Expand Down

0 comments on commit f9e6a10

Please sign in to comment.