Microsoft.DevOpsInfrastructure (stable:2025-01-21)

2025/01/27 • 12 new methods

Operations_List (new)
Description List the operations for the provider
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.DevOpsInfrastructure/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Pools_CheckNameAvailability (new)
Description Checks that the pool name is valid and is not already in use.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/checkNameAvailability
{
api-version: string ,
subscriptionId: string ,
body:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (200)

{
available: enum ,
message: string ,
name: string ,
reason: enum ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Sku_ListByLocation (new)
Description List ResourceSku resources by subscription ID
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/locations/{locationName}/skus
{
api-version: string ,
subscriptionId: string ,
locationName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
resourceType: string ,
tier: string ,
size: string ,
family: string ,
locations:
[
string ,
]
,
locationInfo:
[
{
location: string ,
zones:
[
string ,
]
,
zoneDetails:
[
{
name:
[
string ,
]
,
capabilities:
[
{
name: string ,
value: string ,
}
,
]
,
}
,
]
,
}
,
]
,
capabilities:
[
{
name: string ,
value: string ,
}
,
]
,
restrictions:
[
{
type: enum ,
values:
[
string ,
]
,
restrictionInfo:
{
locations:
[
string ,
]
,
zones:
[
string ,
]
,
}
,
reasonCode: enum ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SubscriptionUsages_Usages (new)
Description List Quota resources by subscription ID
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/locations/{location}/usages
{
subscriptionId: string ,
location: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name:
{
value: string ,
localizedValue: string ,
}
,
id: string ,
unit: string ,
currentValue: integer ,
limit: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Pools_ListBySubscription (new)
Description List Pool resources by subscription ID
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/pools
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
maximumConcurrency: integer ,
organizationProfile:
{
kind: string ,
}
,
agentProfile:
{
kind: string ,
resourcePredictions: object ,
resourcePredictionsProfile:
{
kind: enum ,
}
,
}
,
fabricProfile:
{
kind: string ,
}
,
devCenterProjectResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ImageVersions_ListByImage (new)
Description List ImageVersion resources by Image
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/images/{imageName}/versions
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
imageName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
version: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Pools_ListByResourceGroup (new)
Description List Pool resources by resource group
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: enum ,
maximumConcurrency: integer ,
organizationProfile:
{
kind: string ,
}
,
agentProfile:
{
kind: string ,
resourcePredictions: object ,
resourcePredictionsProfile:
{
kind: enum ,
}
,
}
,
fabricProfile:
{
kind: string ,
}
,
devCenterProjectResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Pools_Get (new)
Description Get a Pool
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
poolName: string ,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
maximumConcurrency: integer ,
organizationProfile:
{
kind: string ,
}
,
agentProfile:
{
kind: string ,
resourcePredictions: object ,
resourcePredictionsProfile:
{
kind: enum ,
}
,
}
,
fabricProfile:
{
kind: string ,
}
,
devCenterProjectResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Pools_CreateOrUpdate (new)
Description Create a Pool
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
poolName: string ,
resource:
{
properties:
{
provisioningState: enum ,
maximumConcurrency: integer ,
organizationProfile:
{
kind: string ,
}
,
agentProfile:
{
kind: string ,
resourcePredictions: object ,
resourcePredictionsProfile:
{
kind: enum ,
}
,
}
,
fabricProfile:
{
kind: string ,
}
,
devCenterProjectResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
maximumConcurrency: integer ,
organizationProfile:
{
kind: string ,
}
,
agentProfile:
{
kind: string ,
resourcePredictions: object ,
resourcePredictionsProfile:
{
kind: enum ,
}
,
}
,
fabricProfile:
{
kind: string ,
}
,
devCenterProjectResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (201)

{
$headers:
{
retry-after: integer ,
}
,
$schema:
{
properties:
{
provisioningState: enum ,
maximumConcurrency: integer ,
organizationProfile:
{
kind: string ,
}
,
agentProfile:
{
kind: string ,
resourcePredictions: object ,
resourcePredictionsProfile:
{
kind: enum ,
}
,
}
,
fabricProfile:
{
kind: string ,
}
,
devCenterProjectResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Pools_Update (new)
Description Update a Pool
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
poolName: string ,
properties:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
tags: object ,
properties:
{
provisioningState: enum ,
maximumConcurrency: integer ,
organizationProfile:
{
kind: string ,
}
,
agentProfile:
{
kind: string ,
resourcePredictions: object ,
resourcePredictionsProfile:
{
kind: enum ,
}
,
}
,
fabricProfile:
{
kind: string ,
}
,
devCenterProjectResourceId: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
provisioningState: enum ,
maximumConcurrency: integer ,
organizationProfile:
{
kind: string ,
}
,
agentProfile:
{
kind: string ,
resourcePredictions: object ,
resourcePredictionsProfile:
{
kind: enum ,
}
,
}
,
fabricProfile:
{
kind: string ,
}
,
devCenterProjectResourceId: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
userAssignedIdentities: object ,
}
,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Pools_Delete (new)
Description Delete a Pool
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
poolName: string ,
}

⚐ Response (202)

{
location: string ,
retry-after: integer ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ResourceDetails_ListByPool (new)
Description List ResourceDetailsObject resources by Pool
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/pools/{poolName}/resources
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
poolName: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
status: enum ,
image: string ,
imageVersion: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}