Skip to content

Commit c38db06

Browse files
authored
[devcenter] Update control plane and data plane cmdlets for 2025-04-01-preview (#27998)
1 parent 9e1ab09 commit c38db06

File tree

483 files changed

+25263
-10044
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

483 files changed

+25263
-10044
lines changed

src/DevCenter/DevCenter.AutoRest/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - DevCenter")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.0.1")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("2.0.1")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.0.2")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("2.0.2")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
2626
[assembly: System.CLSCompliantAttribute(false)]

src/DevCenter/DevCenter.AutoRest/README.md

Lines changed: 34 additions & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ For information on how to develop for `Az.DevCenter`, see [how-to.md](how-to.md)
2828
2929
```yaml
3030
# pin the swagger version by using the commit id instead of branch name
31-
commit: 490e7fec728b018ff3ab103a6e1cb09644452ccf
31+
commit: 4689e75cdeaa04dbeead0237b72cae8dc8dbba4d
3232
require:
3333
# readme.azure.noprofile.md is the common configuration file
3434
- $(this-folder)/../../readme.azure.noprofile.md
3535
input-file:
36-
- $(repo)/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2024-05-01-preview/commonDefinitions.json
37-
- $(repo)/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2024-05-01-preview/devcenter.json
38-
- $(repo)/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2024-05-01-preview/vdi.json
36+
- $(repo)/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2025-04-01-preview/commonDefinitions.json
37+
- $(repo)/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2025-04-01-preview/devcenter.json
38+
- $(repo)/specification/devcenter/resource-manager/Microsoft.DevCenter/preview/2025-04-01-preview/vdi.json
3939
# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
4040
use-extension:
4141
"@autorest/powershell": "3.x"
@@ -166,28 +166,50 @@ directive:
166166
"description": "OK. The request has succeeded."
167167
}
168168
- from: swagger-document
169-
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/plans/{planName}"].delete.responses
169+
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}/runHealthChecks"].post.responses
170170
transform: >
171171
$['200'] = {
172172
"description": "OK. The request has succeeded."
173173
}
174174
- from: swagger-document
175-
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/plans/{planName}/members/{memberName}"].delete.responses
175+
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/runHealthChecks"].post.responses
176176
transform: >
177177
$['200'] = {
178178
"description": "OK. The request has succeeded."
179179
}
180180
- from: swagger-document
181-
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}/runHealthChecks"].post.responses
181+
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/devcenters/{devCenterName}/projectPolicies/{projectPolicyName}"].delete.responses
182182
transform: >
183183
$['200'] = {
184184
"description": "OK. The request has succeeded."
185185
}
186186
- from: swagger-document
187-
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/pools/{poolName}/runHealthChecks"].post.responses
187+
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/builds/{buildName}/cancel"].post.responses
188188
transform: >
189189
$['200'] = {
190-
"description": "OK. The request has succeeded."
190+
"description": "OK. The request has succeeded.",
191+
"headers": {
192+
"Azure-AsyncOperation": {
193+
"type": "string"
194+
},
195+
"Location": {
196+
"type": "string"
197+
}
198+
}
199+
}
200+
- from: swagger-document
201+
where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/projects/{projectName}/catalogs/{catalogName}/imageDefinitions/{imageDefinitionName}/buildImage"].post.responses
202+
transform: >
203+
$['200'] = {
204+
"description": "OK. The request has succeeded.",
205+
"headers": {
206+
"Azure-AsyncOperation": {
207+
"type": "string"
208+
},
209+
"Location": {
210+
"type": "string"
211+
}
212+
}
191213
}
192214
#Use v3 for OperationStatus, remove this for breaking change version
193215
- from: swagger-document
@@ -198,7 +220,7 @@ directive:
198220
"type": "object",
199221
"allOf": [
200222
{
201-
"$ref": "https://github.com/Azure/azure-rest-api-specs/blob/490e7fec728b018ff3ab103a6e1cb09644452ccf/specification/common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
223+
"$ref": "https://github.com/Azure/azure-rest-api-specs/blob/4689e75cdeaa04dbeead0237b72cae8dc8dbba4d/specification/common-types/resource-management/v3/types.json#/definitions/OperationStatusResult"
202224
}
203225
],
204226
"properties": {
@@ -241,9 +263,6 @@ directive:
241263
set:
242264
default:
243265
script: '"default"'
244-
- where:
245-
subject: Schedule
246-
hide: true
247266
- where:
248267
subject: Pool
249268
parameter-name: LicenseType
@@ -335,144 +354,15 @@ directive:
335354
hide: true
336355
- where:
337356
verb: New
338-
subject: ^AttachedNetwork$|^Catalog$|^DevBoxDefinition$|^Gallery$|^NetworkConnection$|^Pool$|^Project$|^ProjectEnvironmentType$|^ProjectCatalog$|^Plan$|^PlanMember$
357+
subject: ^AttachedNetwork$|^Catalog$|^DevBoxDefinition$|^Gallery$|^NetworkConnection$|^Pool$|^Project$|^ProjectEnvironmentType$|^ProjectCatalog$
339358
hide: true
340359
- where:
341-
subject: ^CatalogDevBoxDefinition$|^CatalogDevBoxDefinitionErrorDetail$|^EncryptionSet$
360+
subject: ^CatalogDevBoxDefinition$|^CatalogDevBoxDefinitionErrorDetail$|^EncryptionSet$|^DevCenterCatalogImageDefinitionImage$|^DevCenterCatalogImageDefinition$|^DevCenterCatalogImageDefinitionBuild$|^DevCenterCatalogImageDefinitionBuildDetail$|^DevCenterCatalogImageDefinitionErrorDetail$
342361
hide: true
343362
- where:
344363
subject: OperationStatuses
345364
set:
346365
subject: OperationStatus
347-
#Breaking changes
348-
- where:
349-
subject: ^Plan$|^PlanMember$
350-
set:
351-
breaking-change:
352-
change-description: The Plan and PlanMember resources will be removed.
353-
deprecated-by-version: 3.0.0
354-
deprecated-by-azversion: 15.0.0
355-
change-effective-date: 2025/11/18
356-
- where:
357-
verb: Connect
358-
subject: ^Catalog$|^ProjectCatalog$
359-
set:
360-
breaking-change:
361-
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
362-
change-description: PlanName and MemberName will be removed from the InputObject parameter.
363-
deprecated-by-version: 3.0.0
364-
deprecated-by-azversion: 15.0.0
365-
change-effective-date: 2025/11/18
366-
- where:
367-
verb: Get|Update|New|Remove
368-
subject: DevCenter
369-
set:
370-
breaking-change:
371-
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdminDevCenter")
372-
change-description: PlanName and MemberName will be removed from the InputObject parameter.
373-
deprecated-by-version: 3.0.0
374-
deprecated-by-azversion: 15.0.0
375-
change-effective-date: 2025/11/18
376-
- where:
377-
subject: DevCenter
378-
set:
379-
breaking-change:
380-
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdminDevCenter")
381-
deprecated-cmdlet-output-type: DevCenter
382-
deprecated-output-properties:
383-
- PlanId
384-
change-description: PlanId will be removed from the DevCenter output.
385-
deprecated-by-version: 3.0.0
386-
deprecated-by-azversion: 15.0.0
387-
change-effective-date: 2025/11/18
388-
- where:
389-
verb: Get
390-
subject: ^AttachedNetwork$|^Catalog$|^CatalogSyncErrorDetail$|^CustomizationTask$|^CustomizationTaskErrorDetail$|^DevBoxDefinition$|^EnvironmentDefinition$|^EnvironmentDefinitionErrorDetail$|^EnvironmentType$|^Gallery$|^Image$|^ImageVersion$|^NetworkConnection$|^NetworkConnectionHealthDetail$|^OperationStatus$|^Pool$|^Project$|^ProjectAllowedEnvironmentType$|^ProjectCatalog$|^ProjectCatalogSyncErrorDetail$|^ProjectEnvironmentDefinition$|^ProjectEnvironmentType$|^ProjectInheritedSetting$|^ProjectEnvironmentDefinitionErrorDetail$|^Schedule$
391-
set:
392-
breaking-change:
393-
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
394-
change-description: PlanName and MemberName will be removed from the InputObject parameter.
395-
deprecated-by-version: 3.0.0
396-
deprecated-by-azversion: 15.0.0
397-
change-effective-date: 2025/11/18
398-
- where:
399-
verb: Get
400-
subject: ImageVersion
401-
variant: List
402-
set:
403-
breaking-change:
404-
change-description: The default parameter set will change from list dev center image versions to list project image versions.
405-
deprecated-by-version: 3.0.0
406-
deprecated-by-azversion: 15.0.0
407-
change-effective-date: 2025/11/18
408-
- where:
409-
parameter-name: PlanId
410-
set:
411-
breaking-change:
412-
change-description: PlanId parameter will be removed.
413-
deprecated-by-version: 3.0.0
414-
deprecated-by-azversion: 15.0.0
415-
change-effective-date: 2025/11/18
416-
- where:
417-
verb: Invoke
418-
subject: ^ExecuteCheckNameAvailability$|^ExecuteCheckScopedNameAvailability$
419-
set:
420-
breaking-change:
421-
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
422-
change-description: PlanName and MemberName will be removed from the InputObject parameter.
423-
deprecated-by-version: 3.0.0
424-
deprecated-by-azversion: 15.0.0
425-
change-effective-date: 2025/11/18
426-
- where:
427-
verb: New
428-
subject: ^AttachedNetwork$|^Catalog$|^DevBoxDefinition$|^EnvironmentType$|^Gallery$|^NetworkConnection$|^Pool$|^Project$|^ProjectCatalog$|^ProjectEnvironmentType$|^Schedule$
429-
set:
430-
breaking-change:
431-
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
432-
change-description: PlanName and MemberName will be removed from the InputObject parameter.
433-
deprecated-by-version: 3.0.0
434-
deprecated-by-azversion: 15.0.0
435-
change-effective-date: 2025/11/18
436-
- where:
437-
verb: Remove
438-
subject: ^AttachedNetwork$|^Catalog$|^DevBoxDefinition$|^EnvironmentType$|^Gallery$|^NetworkConnection$|^Pool$|^Project$|^ProjectCatalog$|^ProjectEnvironmentType$|^Schedule$
439-
set:
440-
breaking-change:
441-
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
442-
change-description: PlanName and MemberName will be removed from the InputObject parameter.
443-
deprecated-by-version: 3.0.0
444-
deprecated-by-azversion: 15.0.0
445-
change-effective-date: 2025/11/18
446-
- where:
447-
verb: Start
448-
subject: ^NetworkConnectionHealthCheck$|^PoolHealthCheck$
449-
set:
450-
breaking-change:
451-
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
452-
change-description: PlanName and MemberName will be removed from the InputObject parameter.
453-
deprecated-by-version: 3.0.0
454-
deprecated-by-azversion: 15.0.0
455-
change-effective-date: 2025/11/18
456-
- where:
457-
verb: Sync
458-
subject: ^Catalog$|^ProjectCatalog$
459-
set:
460-
breaking-change:
461-
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
462-
change-description: PlanName and MemberName will be removed from the InputObject parameter.
463-
deprecated-by-version: 3.0.0
464-
deprecated-by-azversion: 15.0.0
465-
change-effective-date: 2025/11/18
466-
- where:
467-
verb: Update
468-
subject: ^Catalog$|^DevBoxDefinition$|^EnvironmentType$|^NetworkConnection$|^Pool$|^Project$|^ProjectCatalog$|^ProjectEnvironmentType$|^Schedule$
469-
set:
470-
breaking-change:
471-
replacement-cmdlet: $.replace("DevCenter", "AzDevCenterAdmin")
472-
change-description: PlanName and MemberName will be removed from the InputObject parameter.
473-
deprecated-by-version: 3.0.0
474-
deprecated-by-azversion: 15.0.0
475-
change-effective-date: 2025/11/18
476366
- where:
477367
subject: ^(.*)
478368
set:

src/DevCenter/DevCenter.AutoRest/UX/Microsoft.DevCenter/devcenters-attachednetworks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "devcenters/attachednetworks",
3-
"apiVersion": "2024-05-01-preview",
3+
"apiVersion": "2025-04-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.devcenter"
66
},

src/DevCenter/DevCenter.AutoRest/UX/Microsoft.DevCenter/devcenters-catalogs-environmentDefinitions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "devcenters/catalogs/environmentDefinitions",
3-
"apiVersion": "2024-05-01-preview",
3+
"apiVersion": "2025-04-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.devcenter"
66
},

src/DevCenter/DevCenter.AutoRest/UX/Microsoft.DevCenter/devcenters-catalogs-tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "devcenters/catalogs/tasks",
3-
"apiVersion": "2024-05-01-preview",
3+
"apiVersion": "2025-04-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.devcenter"
66
},

src/DevCenter/DevCenter.AutoRest/UX/Microsoft.DevCenter/devcenters-catalogs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "devcenters/catalogs",
3-
"apiVersion": "2024-05-01-preview",
3+
"apiVersion": "2025-04-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.devcenter"
66
},

src/DevCenter/DevCenter.AutoRest/UX/Microsoft.DevCenter/devcenters-devboxdefinitions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "devcenters/devboxdefinitions",
3-
"apiVersion": "2024-05-01-preview",
3+
"apiVersion": "2025-04-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.devcenter"
66
},

src/DevCenter/DevCenter.AutoRest/UX/Microsoft.DevCenter/devcenters-environmentTypes.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "devcenters/environmentTypes",
3-
"apiVersion": "2024-05-01-preview",
3+
"apiVersion": "2025-04-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.devcenter"
66
},

src/DevCenter/DevCenter.AutoRest/UX/Microsoft.DevCenter/devcenters-galleries-images-versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "devcenters/galleries/images/versions",
3-
"apiVersion": "2024-05-01-preview",
3+
"apiVersion": "2025-04-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.devcenter"
66
},

src/DevCenter/DevCenter.AutoRest/UX/Microsoft.DevCenter/devcenters-galleries-images.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "devcenters/galleries/images",
3-
"apiVersion": "2024-05-01-preview",
3+
"apiVersion": "2025-04-01-preview",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.devcenter"
66
},

0 commit comments

Comments
 (0)