-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jackylui ms devopsinfrastructure microsoft.dev ops infrastructure 202…
…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
1 parent
ffb0ef9
commit 4ec0f9b
Showing
21 changed files
with
3,062 additions
and
6 deletions.
There are no files selected for viewing
111 changes: 111 additions & 0 deletions
111
...ucture/Microsoft.DevOpsInfrastructure/examples/2024-03-26-preview/CreateOrUpdatePool.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...infrastructure/Microsoft.DevOpsInfrastructure/examples/2024-03-26-preview/DeletePool.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
45 changes: 45 additions & 0 deletions
45
...opsinfrastructure/Microsoft.DevOpsInfrastructure/examples/2024-03-26-preview/GetPool.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...astructure/Microsoft.DevOpsInfrastructure/examples/2024-03-26-preview/ListOperations.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...e/Microsoft.DevOpsInfrastructure/examples/2024-03-26-preview/ListPoolsBySubscription.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...psInfrastructure/examples/2024-03-26-preview/ListPoolsBySubscriptionAndResourceGroup.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...icrosoft.DevOpsInfrastructure/examples/2024-03-26-preview/ResourceDetails_ListByPool.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.