Skip to content

Commit

Permalink
Jackylui ms devopsinfrastructure microsoft.dev ops infrastructure 202…
Browse files Browse the repository at this point in the history
…4 03 26 preview (#28459)

* Adds base for updating Microsoft.DevOpsInfrastructure from version preview/2023-12-13-preview to version 2024-03-26-preview

* Updates readme

* Updates API version in new specs and examples

* up

* update version

* ResourceDetailsObject rolls off the tongue better

* data disks

* clean up

* added/updated examples

* prettier

* formatting

* properties

* up

* update examples

* update examples
  • Loading branch information
jackylui-ms authored Mar 29, 2024
1 parent ffb0ef9 commit 4ec0f9b
Show file tree
Hide file tree
Showing 21 changed files with 3,062 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{
"title": "Pools_CreateOrUpdate",
"operationId": "Pools_CreateOrUpdate",
"parameters": {
"api-version": "2024-03-26-preview",
"subscriptionId": "a2e95d27-c161-4b61-bda4-11512c14c2c2",
"resourceGroupName": "rg",
"poolName": "pool",
"resource": {
"location": "eastus",
"properties": {
"provisioningState": "Succeeded",
"maximumConcurrency": 10,
"devCenterProjectResourceId": "/subscriptions/222e81d0-cf38-4dab-baa5-289bf16baaa4/resourceGroups/rg-1es-devcenter/providers/Microsoft.DevCenter/projects/1ES",
"organizationProfile": {
"kind": "AzureDevOps",
"organizations": [
{
"url": "https://mseng.visualstudio.com"
}
]
},
"agentProfile": {
"kind": "Stateless"
},
"fabricProfile": {
"kind": "Vmss",
"sku": {
"name": "Standard_D4ads_v5"
},
"images": [
{
"resourceId": "/MicrosoftWindowsServer/WindowsServer/2019-Datacenter/latest"
}
]
}
}
}
},
"responses": {
"201": {
"headers": {
"Azure-AsyncOperation": "https://contoso.com/operationstatus"
},
"body": {
"properties": {
"provisioningState": "Succeeded",
"maximumConcurrency": 10,
"devCenterProjectResourceId": "/subscriptions/222e81d0-cf38-4dab-baa5-289bf16baaa4/resourceGroups/rg-1es-devcenter/providers/Microsoft.DevCenter/projects/1ES",
"organizationProfile": {
"kind": "AzureDevOps",
"organizations": [
{
"url": "https://mseng.visualstudio.com"
}
]
},
"agentProfile": {
"kind": "Stateless"
},
"fabricProfile": {
"kind": "Vmss",
"sku": {
"name": "Standard_D4ads_v5"
},
"images": [
{
"resourceId": "/MicrosoftWindowsServer/WindowsServer/2019-Datacenter/latest"
}
]
}
},
"id": "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/rg/providers/Microsoft.DevOpsInfrastructure/Pools/pool",
"location": "eastus"
}
},
"200": {
"body": {
"properties": {
"provisioningState": "Succeeded",
"maximumConcurrency": 10,
"devCenterProjectResourceId": "/subscriptions/222e81d0-cf38-4dab-baa5-289bf16baaa4/resourceGroups/rg-1es-devcenter/providers/Microsoft.DevCenter/projects/1ES",
"organizationProfile": {
"kind": "AzureDevOps",
"organizations": [
{
"url": "https://mseng.visualstudio.com"
}
]
},
"agentProfile": {
"kind": "Stateless"
},
"fabricProfile": {
"kind": "Vmss",
"sku": {
"name": "Standard_D4ads_v5"
},
"images": [
{
"resourceId": "/MicrosoftWindowsServer/WindowsServer/2019-Datacenter/latest"
}
]
}
},
"id": "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/rg/providers/Microsoft.DevOpsInfrastructure/Pools/pool",
"location": "eastus"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"title": "Pools_Delete",
"operationId": "Pools_Delete",
"parameters": {
"api-version": "2024-03-26-preview",
"subscriptionId": "a2e95d27-c161-4b61-bda4-11512c14c2c2",
"resourceGroupName": "rg",
"poolName": "pool"
},
"responses": {
"202": {
"headers": {
"location": "https://contoso.com/operationstatus"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"title": "Pools_Get",
"operationId": "Pools_Get",
"parameters": {
"api-version": "2024-03-26-preview",
"subscriptionId": "a2e95d27-c161-4b61-bda4-11512c14c2c2",
"resourceGroupName": "rg",
"poolName": "pool"
},
"responses": {
"200": {
"body": {
"properties": {
"provisioningState": "Succeeded",
"maximumConcurrency": 10,
"devCenterProjectResourceId": "/subscriptions/222e81d0-cf38-4dab-baa5-289bf16baaa4/resourceGroups/rg-1es-devcenter/providers/Microsoft.DevCenter/projects/1ES",
"organizationProfile": {
"kind": "AzureDevOps",
"organizations": [
{
"url": "https://mseng.visualstudio.com"
}
]
},
"agentProfile": {
"kind": "Stateless"
},
"fabricProfile": {
"kind": "Vmss",
"sku": {
"name": "Standard_D4ads_v5"
},
"images": [
{
"resourceId": "/MicrosoftWindowsServer/WindowsServer/2019-Datacenter/latest"
}
]
}
},
"id": "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/rg/providers/Microsoft.DevOpsInfrastructure/Pools/pool",
"location": "eastus"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"title": "Operations_List",
"operationId": "Operations_List",
"parameters": {
"api-version": "2024-03-26-preview"
},
"responses": {
"200": {
"body": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"title": "Pools_ListBySubscription",
"operationId": "Pools_ListBySubscription",
"parameters": {
"api-version": "2024-03-26-preview",
"subscriptionId": "a2e95d27-c161-4b61-bda4-11512c14c2c2"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/aoiresourceGroupName/providers/Microsoft.DevOpsInfrastructure/Pools/pool",
"location": "eastus"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"title": "Pools_ListByResourceGroup",
"operationId": "Pools_ListByResourceGroup",
"parameters": {
"api-version": "2024-03-26-preview",
"subscriptionId": "a2e95d27-c161-4b61-bda4-11512c14c2c2",
"resourceGroupName": "rg"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/a2e95d27-c161-4b61-bda4-11512c14c2c2/resourceGroups/rg/providers/Microsoft.DevOpsInfrastructure/Pools/pool",
"location": "eastus"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"title": "ResourceDetails_ListByPool",
"operationId": "ResourceDetails_ListByPool",
"parameters": {
"api-version": "2024-03-26-preview",
"subscriptionId": "a2e95d27-c161-4b61-bda4-11512c14c2c2",
"resourceGroupName": "my-resource-group",
"poolName": "my-dev-ops-pool"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "my-dev-ops-pool:04dcde21-626e-5a7e-8659-ce12f9284b29:dd8cc705c_0",
"name": "dd8cc705c000000",
"properties": {
"image": "my-image",
"imageVersion": "4.0.0",
"status": "Ready"
}
},
{
"id": "my-dev-ops-pool:04dcde21-626e-5a7e-8659-ce12f9284b29:dd8cc705c_1",
"name": "dd8cc705c000001",
"properties": {
"image": "my-image",
"imageVersion": "4.0.0",
"status": "Allocated"
}
}
],
"nextLink": null
}
}
}
}
Loading

0 comments on commit 4ec0f9b

Please sign in to comment.