Skip to content

Commit

Permalink
Add preview APIs for deploying Azure machine learning services (Azure…
Browse files Browse the repository at this point in the history
…#9592)

* add new preview version

* add GET services and example

* update description

* update description

* update tag

* add put on services

* remove produces and consumes

* update examples/description

* update examples, use detailed service response

* add path for get by service id

* add example for getservicebyid

* add example for createService

* add example for delete service

* use full resource uri

* add 2020-05-01 to readme

* fix modelvalidation checks

* add words to cspell ignore list

* fix prettier issues

* fix model validation

* fix lint errors

* include newly added templates and exmaples from 2020-04-01-preview

* remove UNREFERENCED_JSON_FILE

* fix lint and avaocado errors

* update description in examples

* sync changes from previous preview version Azure#9649

* fix Potential new SDK errors

* mark properties on paginated list response as readonly

* sync changes from preview/2020-04-01 Azure#9703

* rename operationId

* remove createdby

* remove createdtime and modifiedtime. Will populate system metadata
instead once RP starts populating it.

* use 201 instead of 202 on put /services

* Revert "remove createdtime and modifiedtime. Will populate system metadata"

This reverts commit 8daee90fcdf6d0c96f7802180c8a7d7860c46296.

* use servicename parameter instead of id

* add apiversionparameter

* move PUT from /services to /services/{serivceName}

* wrap machine learning service object inside arm resource envelope

* fix prettierchecks

* set modelAsString to true

* dont have to populate operationId

* update description of the location

* add required fields

* use directref instead of allof for containerresourcerequirements

* add long running operation on PUT /services/{name}

* delete on service is not a long running operation, remove 202

* remove createdtime and modifiedtime. Will populate system metadata

instead once RP starts populating it. mark some properties as readonly

* update description for ssl cert and ssl key

* add description for conda dependencies

* add example for service update

* set x-ms-secret on authtoken, username and password

* fix prettier errors

* remove unused file

* set readonly for id, name, type. Azure#9948
sync changes from Azure#9948

* on response dont populate username, password and authtoken

* set x-ms-azure-resource, sync changes from Azure#9948

* fix lint errors

Co-authored-by: Keerthi Adusumilli <keadusum@microsoft.com>
  • Loading branch information
2 people authored and 00Kai0 committed Oct 12, 2020
1 parent 615c624 commit 1f76b4e
Show file tree
Hide file tree
Showing 41 changed files with 8,604 additions and 0 deletions.
5 changes: 5 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ bingspellcheck
bingvideosearch
bingvisualsearch
bingwebsearch
Bioconductor
Bitbucket
Bitlocker
bitness
Expand Down Expand Up @@ -344,6 +345,7 @@ costmanagement
Couchbase
cpim
CPIM
Cran
creatable
createconsumergroup
createorupdate
Expand Down Expand Up @@ -933,6 +935,7 @@ monitoringconfiguration
monitoringconfigurations
Monospace
MPNS
MRAN
MSAZR
MSAZRDE
MSCONCAT
Expand Down Expand Up @@ -1322,6 +1325,7 @@ rscc
rscd
rsce
rscl
rscript
rsct
Rslp
RSNULL
Expand Down Expand Up @@ -1483,6 +1487,7 @@ streamingendpoint
streamingjobs
streamingservice
subcomponent
subdir
subdomain
subexpressions
subfolder
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"parameters": {
"api-version": "2020-05-01-preview",
"subscriptionId": "{subscription-id}"
},
"responses": {
"200": {
"body": {
"value": [
{
"resourceType": "workspaces",
"name": "Basic",
"tier": "Basic",
"locations": [
"westus"
],
"locationInfo": [
{
"location": "westus",
"zones": [
"westus-AZ02",
"westus-AZ01"
]
}
],
"capabilities": [
{
"name": "automatedml_readhyperdrivesdk",
"value": "{\n \"id\": \"automatedml_ readhyperdrivesdk\",\n \"name\": \"Read hyperdrive SDK\",\n \"description\": \"Read only access to Hyperdrive in the SDK\"\n}"
},
{
"name": "workspace_upgradeworkspacesdk",
"value": "{\n \"id\": \"workspace_upgradeworkspacesdk\",\n \"name\": \"Upgrade workspace SDK\",\n \"description\": \"Upgrade workspace from Basic to enterprise from the SDK\"\n}"
}
],
"restrictions": []
},
{
"resourceType": "workspaces",
"name": "Enterprise",
"tier": "Enterprise",
"locations": [
"westus"
],
"locationInfo": [
{
"location": "westus",
"zones": [
"westus-AZ01"
],
"zoneDetails": [
{
"name": [
"westus-AZ01"
],
"capabilities": [
{
"name": "automatedml_createeditexperimentssdk",
"value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}"
}
]
}
]
}
],
"capabilities": [
{
"name": "automatedml_createeditexperimentssdk",
"value": "{\n \"id\": \"automatedml_createeditexperimentssdk\",\n \"name\": \"Create edit experiments SDK\",\n \"description\": \"Create, edit or delete AutoML experiments in the SDK\"\n}"
}
],
"restrictions": []
}
],
"nextLink": null
}
}
}
}
Loading

0 comments on commit 1f76b4e

Please sign in to comment.