Microsoft.DevCenter (stable:2023-04-01)

2025/02/13 • 6 updated methods

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 ,
}
,
}
,
}
,
}
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 ,
}

⚐ 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 ,
}
,
}
,
}
,
}