Compute - Delete
Deletes specified Machine Learning compute.
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}?api-version=2023-10-01&underlyingResourceAction={underlyingResourceAction}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
compute
|
path | True |
string |
Name of the Azure Machine Learning compute. |
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string |
The ID of the target subscription. |
workspace
|
path | True |
string |
Name of Azure Machine Learning workspace. Regex pattern: |
api-version
|
query | True |
string |
The API version to use for this operation. |
underlying
|
query | True |
Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
The request was successful; the request was well-formed and received properly. |
|
202 Accepted |
Compute deletion initiated. Headers
|
|
204 No Content |
No content; The target compute does not exist. |
|
Other Status Codes |
Error response describing why the request failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow.
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Delete Compute
Sample Request
DELETE https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.MachineLearningServices/workspaces/workspaces123/computes/compute123?api-version=2023-10-01&underlyingResourceAction=Delete
Sample Response
Azure-AsyncOperation: https://management.azure.com/subscriptions/...pathToOperationStatus...
Location: https://management.azure.com/subscriptions/...pathToOperationResult...
Definitions
Name | Description |
---|---|
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Underlying |
Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'. |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
UnderlyingResourceAction
Delete the underlying compute if 'Delete', or detach the underlying compute from workspace if 'Detach'.
Name | Type | Description |
---|---|---|
Delete |
string |
|
Detach |
string |