forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from RichardZhaoW/newVersion20210701
Add a new compute type Kubernetes to MLC
- Loading branch information
Showing
3 changed files
with
295 additions
and
4 deletions.
There are no files selected for viewing
123 changes: 123 additions & 0 deletions
123
...LearningServices/stable/2021-07-01/examples/Compute/createOrUpdate/KubernetesCompute.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,123 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "testrg123", | ||
"workspaceName": "workspaces123", | ||
"computeName": "compute123", | ||
"api-version": "2021-07-01", | ||
"parameters": { | ||
"location": "eastus", | ||
"properties": { | ||
"description": "some compute", | ||
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", | ||
"computeType": "Kubernetes", | ||
"properties": { | ||
"namespace": "default", | ||
"defaultInstanceType": "defaultInstanceType", | ||
"instanceTypes": { | ||
"defaultInstanceType": { | ||
"nodeSelector": null, | ||
"resources": { | ||
"requests": { | ||
"cpu": "1", | ||
"memory": "4Gi", | ||
"nvidia.com/gpu": null | ||
}, | ||
"limits": { | ||
"cpu": "1", | ||
"memory": "4Gi", | ||
"nvidia.com/gpu": null | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", | ||
"type": "Microsoft.MachineLearningServices/workspaces/computes", | ||
"name": "compute123", | ||
"location": "eastus", | ||
"properties": { | ||
"description": "some compute", | ||
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", | ||
"computeType": "Kubernetes", | ||
"provisioningState": "Creating", | ||
"properties": { | ||
"relayConnectionString": null, | ||
"serviceBusConnectionString": null, | ||
"extensionPrincipalId": null, | ||
"extensionInstanceReleaseTrain": "stable", | ||
"vcName": null, | ||
"namespace": "default", | ||
"defaultInstanceType": "defaultInstanceType", | ||
"instanceTypes": { | ||
"defaultInstanceType": { | ||
"nodeSelector": null, | ||
"resources": { | ||
"requests": { | ||
"cpu": "1", | ||
"memory": "4Gi", | ||
"nvidia.com/gpu": null | ||
}, | ||
"limits": { | ||
"cpu": "1", | ||
"memory": "4Gi", | ||
"nvidia.com/gpu": null | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", | ||
"type": "Microsoft.MachineLearningServices/workspaces/computes", | ||
"name": "compute123", | ||
"location": "eastus", | ||
"properties": { | ||
"description": "some compute", | ||
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", | ||
"computeType": "Kubernetes", | ||
"provisioningState": "Creating", | ||
"properties": { | ||
"relayConnectionString": null, | ||
"serviceBusConnectionString": null, | ||
"extensionPrincipalId": null, | ||
"extensionInstanceReleaseTrain": "stable", | ||
"vcName": null, | ||
"namespace": "default", | ||
"defaultInstanceType": "defaultInstanceType", | ||
"instanceTypes": { | ||
"defaultInstanceType": { | ||
"nodeSelector": null, | ||
"resources": { | ||
"requests": { | ||
"cpu": "1", | ||
"memory": "4Gi", | ||
"nvidia.com/gpu": null | ||
}, | ||
"limits": { | ||
"cpu": "1", | ||
"memory": "4Gi", | ||
"nvidia.com/gpu": null | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/...pathToOperationStatus..." | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...oft.MachineLearningServices/stable/2021-07-01/examples/Compute/get/KubernetesCompute.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,54 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "testrg123", | ||
"workspaceName": "workspaces123", | ||
"computeName": "compute123", | ||
"api-version": "2021-07-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123", | ||
"type": "Microsoft.MachineLearningServices/workspaces/computes", | ||
"name": "compute123", | ||
"location": "eastus", | ||
"properties": { | ||
"createdOn": "2021-04-01T22:00:00.0000000+00:00", | ||
"modifiedOn": "2021-04-01T22:00:00.0000000+00:00", | ||
"description": "some compute", | ||
"resourceId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourcegroups/testrg123/providers/Microsoft.ContainerService/managedClusters/compute123-56826-c9b00420020b2", | ||
"computeType": "Kubernetes", | ||
"provisioningState": "Succeeded", | ||
"isAttachedCompute": true, | ||
"properties": { | ||
"relayConnectionString": null, | ||
"serviceBusConnectionString": null, | ||
"extensionPrincipalId": null, | ||
"extensionInstanceReleaseTrain": "stable", | ||
"vcName": null, | ||
"namespace": "default", | ||
"defaultInstanceType": "defaultInstanceType", | ||
"instanceTypes": { | ||
"defaultInstanceType": { | ||
"nodeSelector": null, | ||
"resources": { | ||
"requests": { | ||
"cpu": "1", | ||
"memory": "4Gi", | ||
"nvidia.com/gpu": null | ||
}, | ||
"limits": { | ||
"cpu": "1", | ||
"memory": "4Gi", | ||
"nvidia.com/gpu": null | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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