Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.MachineLearningServices …
Browse files Browse the repository at this point in the history
…to add version stable/2022-05-01 (#18645)

* Adds base for updating Microsoft.MachineLearning from version stable/2019-10-01 to version 2022-05-01

* Updates readme

* Updates API version in new specs and examples

* add 2022-05-01 mfe.json

* add 2022-02-01-preview mls.json

* add workspaceFeatures.json from 2022-02-01-preview

* add example files

* update readme

* Update mfe spec

- Update discriminator values from PascalCase to snake_case
- Remove job schedules
- Add MLTable

* Add ScheduleBase types to machineLearningServices.json

* Updated custom-words.txt

* Update examples

* Update readme

* add workspace connection v2 changes

* Update readme

* Update readme

* fix example validation error

* Update mfe swagger

* Updated examples

* Moved 2022-05-01 specs from machinelearning to machinelearningservices

* Update readme

* port 2022-02-01-preview mfe.json Schedule to machineLearningServices.json

* update example w/ provisioningState

* Rename workspace connection related auth type

* description change to try to trigger pipelines

* Revert "description change to try to trigger pipelines"

This reverts commit 899cb59.

* update missed common-types v2 -> v3

* Remove unnecessary Credentials properties

* fix propertyBag schema

* add x-ms-secret

* remove checkNameAvailability api

* remove traffic property from PartialOnlineEndpoint

* prettier

* Revert "port 2022-02-01-preview mfe.json Schedule to machineLearningServices.json"

This reverts commit 4268210.

* add v1LegacyMode to workpsace properties.

* update description and add default value.

* update description

* [MLC] label sslConfiguration and virtualMachineImage as nullable

* reduce PATCH to bare minimum

* update examples w/ new spec

* [MLC] Mark as null-able for properties Getting API

* TEST enum as x-nullable

* Revert "TEST enum as x-nullable"

This reverts commit 616291c.

* [MLC] Mark as null-able for properties of List API

* remove x-nullable from properties with defaults

* description update

* enum ordering

* fix XmsEnumValidation error for MLC

* change x-ms-enum name of SSLConfiguration

* update descriptions

* change x-ms-client-name 'Details' to 'Properties'

* removed x-ms-client-name 'Data' suffix

* reorder SecretsType enum

Co-authored-by: Teddy <[email protected]>
Co-authored-by: zhaomuzhi <[email protected]>
Co-authored-by: Xi Jin <[email protected]>
Co-authored-by: ZhidaLiu <[email protected]>
Co-authored-by: Teddy Todorov <[email protected]>
Co-authored-by: Bingchen Li <[email protected]>
  • Loading branch information
7 people authored May 25, 2022
1 parent 6c56ae4 commit 1d8d2d7
Show file tree
Hide file tree
Showing 145 changed files with 24,937 additions and 1 deletion.
4 changes: 4 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ autopatching
autopool
Autoregressive
autorest
autosave
autoscale
autoscaler
autoscalesettings
Expand Down Expand Up @@ -1258,7 +1259,9 @@ mixedreality
Mkdirs
mktorest
mlapi
mlflow
mlFlowTrackingUri
mltable
ML's
mnist
modelmanagement
Expand Down Expand Up @@ -1934,6 +1937,7 @@ snapshotsdr
snaptshot
SNAT
SNMP
Sobol
softwareplan
SOHSV
solaris
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ batch:
- package-commitmentPlans: true
package-name: "@azure/arm-commitmentplans"
output-folder: $(typescript-sdks-folder)/sdk/machinelearning/arm-commitmentplans
clear-output-folder: true
- package-webservices: true
package-name: "@azure/arm-webservices"
output-folder: $(typescript-sdks-folder)/sdk/machinelearning/arm-webservices
clear-output-folder: true
- package-workspaces: true
package-name: "@azure/arm-workspaces"
output-folder: $(typescript-sdks-folder)/sdk/machinelearning/arm-workspaces
clear-output-folder: true
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "my-aml-workspace",
"endpointName": "testEndpointName",
"deploymentName": "testDeploymentName",
"api-version": "2022-05-01",
"body": {
"properties": {
"description": "string",
"properties": {
"string": "string"
},
"codeConfiguration": {
"codeId": "string",
"scoringScript": "string"
},
"environmentId": "string",
"environmentVariables": {
"string": "string"
},
"compute": "string",
"errorThreshold": 1,
"retrySettings": {
"maxRetries": 1,
"timeout": "PT5M"
},
"miniBatchSize": 1,
"loggingLevel": "Info",
"model": {
"referenceType": "Id",
"assetId": "string"
},
"maxConcurrencyPerInstance": 1,
"outputAction": "SummaryOnly",
"outputFileName": "string",
"resources": {
"instanceCount": 1,
"instanceType": "string",
"properties": {
"string": {
"cd3c37dc-2876-4ca4-8a54-21bd7619724a": null
}
}
}
},
"tags": {},
"location": "string",
"kind": "string",
"identity": {
"type": "SystemAssigned",
"userAssignedIdentities": {
"string": {}
}
},
"sku": {
"name": "string",
"tier": "Free",
"size": "string",
"family": "string",
"capacity": 1
}
}
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "string",
"name": "string",
"type": "string",
"properties": {
"description": "string",
"properties": {
"string": "string"
},
"codeConfiguration": {
"codeId": "string",
"scoringScript": "string"
},
"environmentId": "string",
"environmentVariables": {
"string": "string"
},
"compute": "string",
"errorThreshold": 1,
"retrySettings": {
"maxRetries": 1,
"timeout": "PT5M"
},
"miniBatchSize": 1,
"loggingLevel": "Info",
"model": {
"referenceType": "Id",
"assetId": "string"
},
"maxConcurrencyPerInstance": 1,
"outputAction": "SummaryOnly",
"outputFileName": "string",
"resources": {
"instanceCount": 1,
"instanceType": "string",
"properties": {
"string": {
"4939850d-8eae-4343-8566-0826259a2ad1": null
}
}
},
"provisioningState": "Creating"
},
"systemData": {
"createdAt": "2020-01-01T12:34:56.999Z",
"createdBy": "string",
"createdByType": "User",
"lastModifiedAt": "2020-01-01T12:34:56.999Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User"
},
"tags": {},
"location": "string",
"kind": "string",
"identity": {
"type": "SystemAssigned",
"principalId": "00000000-1111-2222-3333-444444444444",
"tenantId": "00000000-1111-2222-3333-444444444444",
"userAssignedIdentities": {
"string": {
"principalId": "00000000-1111-2222-3333-444444444444",
"clientId": "00000000-1111-2222-3333-444444444444"
}
}
},
"sku": {
"name": "string",
"tier": "Free",
"size": "string",
"family": "string",
"capacity": 1
}
}
},
"201": {
"headers": {},
"body": {
"id": "string",
"name": "string",
"type": "string",
"properties": {
"description": "string",
"properties": {
"string": "string"
},
"codeConfiguration": {
"codeId": "string",
"scoringScript": "string"
},
"environmentId": "string",
"environmentVariables": {
"string": "string"
},
"compute": "string",
"errorThreshold": 1,
"retrySettings": {
"maxRetries": 1,
"timeout": "PT5M"
},
"miniBatchSize": 1,
"loggingLevel": "Info",
"model": {
"referenceType": "Id",
"assetId": "string"
},
"maxConcurrencyPerInstance": 1,
"outputAction": "SummaryOnly",
"outputFileName": "string",
"resources": {
"instanceCount": 1,
"instanceType": "string",
"properties": {
"string": {
"b76755e4-16bf-45d4-b625-6634df7444cc": null
}
}
},
"provisioningState": "Creating"
},
"systemData": {
"createdAt": "2020-01-01T12:34:56.999Z",
"createdBy": "string",
"createdByType": "User",
"lastModifiedAt": "2020-01-01T12:34:56.999Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User"
},
"tags": {},
"location": "string",
"kind": "string",
"identity": {
"type": "SystemAssigned",
"principalId": "00000000-1111-2222-3333-444444444444",
"tenantId": "00000000-1111-2222-3333-444444444444",
"userAssignedIdentities": {
"string": {
"principalId": "00000000-1111-2222-3333-444444444444",
"clientId": "00000000-1111-2222-3333-444444444444"
}
}
},
"sku": {
"name": "string",
"tier": "Free",
"size": "string",
"family": "string",
"capacity": 1
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "my-aml-workspace",
"endpointName": "testEndpointName",
"deploymentName": "testDeploymentName",
"api-version": "2022-05-01"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "my-aml-workspace",
"endpointName": "testEndpointName",
"deploymentName": "testDeploymentName",
"api-version": "2022-05-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "string",
"name": "string",
"type": "string",
"properties": {
"description": "string",
"properties": {
"string": "string"
},
"codeConfiguration": {
"codeId": "string",
"scoringScript": "string"
},
"environmentId": "string",
"environmentVariables": {
"string": "string"
},
"compute": "string",
"errorThreshold": 1,
"retrySettings": {
"maxRetries": 1,
"timeout": "PT5M"
},
"miniBatchSize": 1,
"loggingLevel": "Info",
"model": {
"referenceType": "Id",
"assetId": "string"
},
"maxConcurrencyPerInstance": 1,
"outputAction": "SummaryOnly",
"outputFileName": "string",
"resources": {
"instanceCount": 1,
"instanceType": "string",
"properties": {
"string": {
"843c2bb4-e5f1-4267-98c8-ba22a99dbb00": null
}
}
},
"provisioningState": "Creating"
},
"systemData": {
"createdAt": "2020-01-01T12:34:56.999Z",
"createdBy": "string",
"createdByType": "User",
"lastModifiedAt": "2020-01-01T12:34:56.999Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User"
},
"tags": {},
"location": "string",
"kind": "string",
"identity": {
"type": "SystemAssigned",
"principalId": "00000000-1111-2222-3333-444444444444",
"tenantId": "00000000-1111-2222-3333-444444444444",
"userAssignedIdentities": {
"string": {
"principalId": "00000000-1111-2222-3333-444444444444",
"clientId": "00000000-1111-2222-3333-444444444444"
}
}
},
"sku": {
"name": "string",
"tier": "Free",
"size": "string",
"family": "string",
"capacity": 1
}
}
}
}
}
Loading

0 comments on commit 1d8d2d7

Please sign in to comment.