-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MFE 2023-08-01-preview mfe.json (#24764)
* add mfe.json * labeling jobs update descriptions * add examples for ServerlessEndpoint * update labelingjob examples * label job examples remove additional properties * adding sku to patch * add identity to patch * add in operationresult to examples --------- Co-authored-by: Kayla Ames <kaseager@microsoft.com>
- Loading branch information
Showing
10 changed files
with
1,316 additions
and
95 deletions.
There are no files selected for viewing
111 changes: 106 additions & 5 deletions
111
...rosoft.MachineLearningServices/preview/2023-08-01-preview/examples/LabelingJob/pause.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,113 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "workspace-1234", | ||
"workspaceName": "testworkspace", | ||
"api-version": "2023-08-01-preview", | ||
"id": "testLabelingJob" | ||
"resourceGroupName": "test-rg", | ||
"workspaceName": "my-aml-workspace", | ||
"id": "string", | ||
"api-version": "2023-08-01-preview" | ||
}, | ||
"responses": { | ||
"200": {} | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"description": "string", | ||
"tags": { | ||
"string": "string" | ||
}, | ||
"properties": { | ||
"string": "string" | ||
}, | ||
"displayName": "string", | ||
"status": "Queued", | ||
"experimentName": "string", | ||
"services": { | ||
"string": { | ||
"jobServiceType": "string", | ||
"port": 1, | ||
"endpoint": "string", | ||
"status": "string", | ||
"errorMessage": "string", | ||
"properties": { | ||
"string": "string" | ||
}, | ||
"nodes": { | ||
"nodesValueType": "All" | ||
} | ||
} | ||
}, | ||
"computeId": "string", | ||
"isArchived": false, | ||
"identity": { | ||
"identityType": "AMLToken" | ||
}, | ||
"componentId": "string", | ||
"notificationSetting": { | ||
"emails": [ | ||
"string" | ||
], | ||
"emailOn": [ | ||
"JobFailed" | ||
], | ||
"webhooks": { | ||
"string": { | ||
"eventType": "string", | ||
"webhookType": "AzureDevOps" | ||
} | ||
} | ||
}, | ||
"secretsConfiguration": { | ||
"string": { | ||
"workspaceSecretName": "string", | ||
"uri": null | ||
} | ||
}, | ||
"jobType": "Labeling", | ||
"provisioningState": "InProgress", | ||
"labelCategories": { | ||
"string": { | ||
"displayName": "string", | ||
"multiSelect": "Disabled", | ||
"classes": { | ||
"string": { | ||
"displayName": "string", | ||
"subclasses": null | ||
} | ||
} | ||
} | ||
}, | ||
"jobInstructions": { | ||
"uri": "string" | ||
}, | ||
"dataConfiguration": { | ||
"dataId": "string", | ||
"incrementalDataRefresh": "Disabled" | ||
}, | ||
"mlAssistConfiguration": { | ||
"mlAssist": "Enabled", | ||
"inferencingComputeBinding": "string", | ||
"trainingComputeBinding": "string" | ||
}, | ||
"labelingJobMediaProperties": { | ||
"mediaType": "Image", | ||
"annotationType": "Classification" | ||
}, | ||
"projectId": "00000000-1111-2222-3333-444444444444", | ||
"progressMetrics": { | ||
"totalDatapointCount": 1, | ||
"completedDatapointCount": 1, | ||
"skippedDatapointCount": 1, | ||
"incrementalDataLastRefreshDateTime": "2020-01-01T12:34:56.999+00:21" | ||
}, | ||
"statusMessages": [ | ||
{ | ||
"level": "Information", | ||
"code": "string", | ||
"message": "string", | ||
"createdDateTime": "2020-01-01T12:34:56.999+00:21" | ||
} | ||
], | ||
"createdDateTime": "2020-01-01T12:34:56.999+00:21" | ||
} | ||
} | ||
} | ||
} |
113 changes: 107 additions & 6 deletions
113
...osoft.MachineLearningServices/preview/2023-08-01-preview/examples/LabelingJob/resume.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
122 changes: 122 additions & 0 deletions
122
...ices/preview/2023-08-01-preview/examples/Workspace/ServerlessEndpoint/createOrUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "test-rg", | ||
"workspaceName": "my-aml-workspace", | ||
"name": "string", | ||
"api-version": "2023-08-01-preview", | ||
"body": { | ||
"properties": { | ||
"modelProfile": { | ||
"modelUri": "string" | ||
} | ||
}, | ||
"tags": {}, | ||
"location": "string", | ||
"kind": "string", | ||
"identity": { | ||
"type": "SystemAssigned", | ||
"userAssignedIdentities": { | ||
"string": {} | ||
} | ||
}, | ||
"sku": { | ||
"name": "string", | ||
"tier": "Standard", | ||
"size": "string", | ||
"family": "string", | ||
"capacity": 1 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"id": "string", | ||
"name": "string", | ||
"type": "string", | ||
"properties": { | ||
"modelProfile": { | ||
"modelUri": "string" | ||
}, | ||
"inferenceUri": "https://www.contoso.com/example", | ||
"provisioningState": "Deleting" | ||
}, | ||
"systemData": { | ||
"createdAt": "2020-01-01T12:34:56.999+00:11", | ||
"createdBy": "string", | ||
"createdByType": "Application", | ||
"lastModifiedAt": "2020-01-01T12:34:56.999+00:11", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "User" | ||
}, | ||
"tags": {}, | ||
"location": "string", | ||
"kind": "string", | ||
"identity": { | ||
"type": "None", | ||
"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": "Standard", | ||
"size": "string", | ||
"family": "string", | ||
"capacity": 1 | ||
} | ||
} | ||
}, | ||
"201": { | ||
"headers": {}, | ||
"body": { | ||
"id": "string", | ||
"name": "string", | ||
"type": "string", | ||
"properties": { | ||
"modelProfile": { | ||
"modelUri": "string" | ||
}, | ||
"inferenceUri": "https://www.contoso.com/example", | ||
"provisioningState": "Updating" | ||
}, | ||
"systemData": { | ||
"createdAt": "2020-01-01T12:34:56.999+00:11", | ||
"createdBy": "string", | ||
"createdByType": "Key", | ||
"lastModifiedAt": "2020-01-01T12:34:56.999+00:11", | ||
"lastModifiedBy": "string", | ||
"lastModifiedByType": "ManagedIdentity" | ||
}, | ||
"tags": {}, | ||
"location": "string", | ||
"kind": "string", | ||
"identity": { | ||
"type": "UserAssigned", | ||
"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": "Standard", | ||
"size": "string", | ||
"family": "string", | ||
"capacity": 1 | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...ningServices/preview/2023-08-01-preview/examples/Workspace/ServerlessEndpoint/delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-1111-2222-3333-444444444444", | ||
"resourceGroupName": "test-rg", | ||
"workspaceName": "my-aml-workspace", | ||
"name": "string", | ||
"api-version": "2023-08-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/locations/centraluseuap/mfeOperationResults/prefix:F0C6B8EC-0D53-432C-913B-1CD9E8CDE3A0" | ||
} | ||
}, | ||
"204": {} | ||
} | ||
} |
Oops, something went wrong.