Microsoft.DevCenter (preview:2024-10-01)

2025/02/13 • 10 updated methods

DevBoxes_ValidateCustomizationTasksAction (updated)
Description Validates a list of customization tasks.
Reference Link ¶

⚶ Changes

{
  "#id": "DevBoxes_ValidateCustomizationTasksAction",
  "$responses": {
    "202": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /projects/{projectName}/customizationTasks:validateGroup
{
api-version: string ,
projectName: string ,
body:
{
tasks:
[
{
name: string ,
parameters: object ,
displayName: string ,
timeoutInSeconds: integer ,
runAs: enum ,
id: string ,
logUri: string ,
status: enum ,
startTime: string ,
endTime: string ,
}
,
]
,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
operation-location: string ,
}
,
$schema:
{
id: string ,
name: string ,
status: enum ,
resourceId: string ,
startTime: string ,
endTime: string ,
percentComplete: number ,
properties: object ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
result:
{
validationResult: enum ,
errors:
[
{
target:
{
name: string ,
parameters: object ,
displayName: string ,
timeoutInSeconds: integer ,
runAs: enum ,
id: string ,
logUri: string ,
status: enum ,
startTime: string ,
endTime: string ,
}
,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
}
,
]
,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
OperationStatuses_Get (updated)
Description Get the status of an operation.
Reference Link ¶

⚶ Changes

{
  "#id": "OperationStatuses_Get",
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    }
  }
}

⚼ Request

GET:  /projects/{projectName}/operationstatuses/{operationId}
{
api-version: string ,
projectName: string ,
operationId: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
status: enum ,
resourceId: string ,
startTime: string ,
endTime: string ,
percentComplete: number ,
properties: object ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
DevBoxes_DeleteDevBox (updated)
Description Deletes a Dev Box.
Reference Link ¶

⚶ Changes

{
  "#id": "DevBoxes_DeleteDevBox",
  "$responses": {
    "202": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    }
  }
}

⚼ Request

DELETE:  /projects/{projectName}/users/{userId}/devboxes/{devBoxName}
{
api-version: string ,
projectName: string ,
userId: string ,
devBoxName: string ,
}

⚐ Response (202)

{
$headers:
{
location: string ,
operation-location: string ,
}
,
$schema:
{
id: string ,
name: string ,
status: enum ,
resourceId: string ,
startTime: string ,
endTime: string ,
percentComplete: number ,
properties: object ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
DevBoxes_StartDevBox (updated)
Description Starts a Dev Box.
Reference Link ¶

⚶ Changes

{
  "#id": "DevBoxes_StartDevBox",
  "$responses": {
    "202": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /projects/{projectName}/users/{userId}/devboxes/{devBoxName}:start
{
api-version: string ,
projectName: string ,
userId: string ,
devBoxName: string ,
}

⚐ Response (202)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
id: string ,
name: string ,
status: enum ,
resourceId: string ,
startTime: string ,
endTime: string ,
percentComplete: number ,
properties: object ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
DevBoxes_StopDevBox (updated)
Description Stops a Dev Box.
Reference Link ¶

⚶ Changes

{
  "#id": "DevBoxes_StopDevBox",
  "$responses": {
    "202": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /projects/{projectName}/users/{userId}/devboxes/{devBoxName}:stop
{
api-version: string ,
projectName: string ,
userId: string ,
devBoxName: string ,
hibernate: boolean ,
}

⚐ Response (202)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
id: string ,
name: string ,
status: enum ,
resourceId: string ,
startTime: string ,
endTime: string ,
percentComplete: number ,
properties: object ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
DevBoxes_RestartDevBox (updated)
Description Restarts a Dev Box.
Reference Link ¶

⚶ Changes

{
  "#id": "DevBoxes_RestartDevBox",
  "$responses": {
    "202": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /projects/{projectName}/users/{userId}/devboxes/{devBoxName}:restart
{
api-version: string ,
projectName: string ,
userId: string ,
devBoxName: string ,
}

⚐ Response (202)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
id: string ,
name: string ,
status: enum ,
resourceId: string ,
startTime: string ,
endTime: string ,
percentComplete: number ,
properties: object ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
DevBoxes_RepairDevBox (updated)
Description Attempts automated repair steps to resolve common problems on a Dev Box. The Dev Box may restart during this operation.
Reference Link ¶

⚶ Changes

{
  "#id": "DevBoxes_RepairDevBox",
  "$responses": {
    "202": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /projects/{projectName}/users/{userId}/devboxes/{devBoxName}:repair
{
api-version: string ,
projectName: string ,
userId: string ,
devBoxName: string ,
}

⚐ Response (202)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
id: string ,
name: string ,
status: enum ,
resourceId: string ,
startTime: string ,
endTime: string ,
percentComplete: number ,
properties: object ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
DevBoxes_RestoreSnapshot (updated)
Description Restores a Dev Box to a specified snapshot.
Reference Link ¶

⚶ Changes

{
  "#id": "DevBoxes_RestoreSnapshot",
  "$responses": {
    "202": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /projects/{projectName}/users/{userId}/devboxes/{devBoxName}:restoreSnapshot
{
api-version: string ,
projectName: string ,
userId: string ,
devBoxName: string ,
snapshotId: string ,
}

⚐ Response (202)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
id: string ,
name: string ,
status: enum ,
resourceId: string ,
startTime: string ,
endTime: string ,
percentComplete: number ,
properties: object ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
DevBoxes_CaptureSnapshot (updated)
Description Captures a manual snapshot of the Dev Box. Upon completion, a snapshotId will be generated. To retrieve all snapshots and their corresponding IDs, use the list snapshots endpoint.
Reference Link ¶

⚶ Changes

{
  "#id": "DevBoxes_CaptureSnapshot",
  "Description": {
    "new": "Captures a manual snapshot of the Dev Box. \nUpon completion, a snapshotId will be generated. \nTo retrieve all snapshots and their corresponding IDs, use the list snapshots endpoint.",
    "old": "Captures a manual snapshot of the Dev Box."
  },
  "$responses": {
    "202": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    }
  }
}

⚼ Request

POST:  /projects/{projectName}/users/{userId}/devboxes/{devBoxName}:captureSnapshot
{
api-version: string ,
projectName: string ,
userId: string ,
devBoxName: string ,
}

⚐ Response (202)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
id: string ,
name: string ,
status: enum ,
resourceId: string ,
startTime: string ,
endTime: string ,
percentComplete: number ,
properties: object ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
Environments_DeleteEnvironment (updated)
Description Deletes an environment and all its associated resources
Reference Link ¶

⚶ Changes

{
  "#id": "Environments_DeleteEnvironment",
  "$responses": {
    "202": {
      "$properties": [
        {
          "#name": "properties",
          "Type": {
            "new": "object",
            "old": "string"
          }
        }
      ]
    }
  }
}

⚼ Request

DELETE:  /projects/{projectName}/users/{userId}/environments/{environmentName}
{
api-version: string ,
projectName: string ,
userId: string ,
environmentName: string ,
force: boolean ,
}

⚐ Response (202)

{
$headers:
{
location: string ,
operation-location: string ,
}
,
$schema:
{
id: string ,
name: string ,
status: enum ,
resourceId: string ,
startTime: string ,
endTime: string ,
percentComplete: number ,
properties: object ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}