Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"parameters": {
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
"resourceGroupName": "testrg123",
"workspaceName": "workspaces123",
"computeName": "compute123",
"api-version": "2022-06-01-preview",
"parameters": {
"idleTimeBeforeShutdown": "PT120M"
}
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1270,6 +1270,57 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/computes/{computeName}/updateIdleShutdownSetting": {
Comment thread
teochaban marked this conversation as resolved.
"post": {
Comment thread
teochaban marked this conversation as resolved.
"tags": [
"MachineLearningComputes"
],
"operationId": "Compute_UpdateIdleShutdownSetting",
"description": "Updates the idle shutdown setting of a compute instance.",
"x-ms-examples": {
"Update idle shutdown setting of ComputeInstance": {
"$ref": "./examples/Compute/updateIdleShutdownSetting.json"
}
},
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/ComputeNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"description": "The object for updating idle shutdown setting of specified ComputeInstance.",
"schema": {
"$ref": "#/definitions/IdleShutdownSetting"
}
}
],
"responses": {
"200": {
"description": "Success."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/privateEndpointConnections": {
"get": {
"tags": [
Expand Down Expand Up @@ -3662,6 +3713,10 @@
"x-nullable": true,
"readOnly": true
},
"idleTimeBeforeShutdown": {
Comment thread
teochaban marked this conversation as resolved.
"type": "string",
"description": "Stops compute instance after user defined period of inactivity. Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days."
},
Comment thread
teochaban marked this conversation as resolved.
"enableNodePublicIp": {
"type": "boolean",
"title": "Enable node public IP.",
Expand Down Expand Up @@ -5661,6 +5716,16 @@
]
}
}
},
"IdleShutdownSetting": {
"type": "object",
"description": "Stops compute instance after user defined period of inactivity.",
"properties": {
"idleTimeBeforeShutdown": {
"type": "string",
"description": "Time is defined in ISO8601 format. Minimum is 15 min, maximum is 3 days."
}
}
}
}
}