Skip to content

Commit d7c196f

Browse files
drielenrleti367
andauthored
DevCenter DataPlane v2023-04-01 stable SDK from TypeSpec (#35257)
* Generate with models * Updates after arch board meetting. Missing enum rename. * regen after merge main * regen after tsp updates * Add script for custom tsp update * Update tsp commit in main and regen * Update tests to use model * Break down tests * Add samples * Add snippets and update readme * clean up imports * Update changelog * Update version * Fix samples * Fix formatting * Regen after merge main * update latest tsp commit * Push recordings to assets repo and update tag reference * Add words to be ignored by cspell * Revert removal of skip_quote * Re-record failing tests and fix create dev box test * fix vcpus cspell file path * Regen latest main * Revert removal of skip_quote * Regen using latest tsp * temp fix api version * Fix readme section reference * Revert "temp fix api version" This reverts commit fcc70bd. * Regen latest main * Rename to Operation Status * Use the lro model in test assertion * Update changelong * Update readme and code snippets * Rename samples * add async tests and update recordings * add aync samples * fix issue in async samples * Update tests recordings * Update tests and re-record tests * patch waiting in playback mode --------- Co-authored-by: Lei Tian <[email protected]>
1 parent 8a68f71 commit d7c196f

33 files changed

+6056
-1679
lines changed

.vscode/cspell.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1678,7 +1678,14 @@
16781678
"ctxt",
16791679
"unflattened",
16801680
"deseralize",
1681-
"wday"
1681+
"wday",
1682+
"mros"
1683+
]
1684+
},
1685+
{
1686+
"filename": "sdk/devcenter/azure-developer-devcenter/azure/developer/devcenter/models/*.py",
1687+
"words": [
1688+
"vcpus"
16821689
]
16831690
},
16841691
{

sdk/devcenter/azure-developer-devcenter/CHANGELOG.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,76 @@
11
# Release History
22

3+
## 1.0.0 (2024-05-02)
4+
5+
This release targets Azure Dev Center 2023-04-01 General Available API, which is the same version as the previous 1.0.0-beta.3 release. The main improvement was the addition of models as Convenience API was enabled for the SDK.
6+
7+
### Features Added
8+
9+
- Added classes for each Dev Center concept.
10+
- `models`:
11+
- Catalog
12+
- DevBox
13+
- DevBoxAction
14+
- DevBoxActionDelayResult
15+
- DevBoxNextAction
16+
- Environment
17+
- EnvironmentDefinition
18+
- EnvironmentDefinitionParameter
19+
- EnvironmentType
20+
- Error
21+
- HardwareProfile
22+
- ImageReference
23+
- InnerError
24+
- OperationDetails
25+
- OSDisk
26+
- Pool
27+
- Project
28+
- RemoteConnection
29+
- Schedule
30+
- StopOnDisconnectConfiguration
31+
- StorageProfile
32+
33+
- `enums`:
34+
- DevBoxActionDelayStatus
35+
- DevBoxActionType
36+
- DevBoxProvisioningState
37+
- EnvironmentProvisioningState
38+
- EnvironmentTypeStatus
39+
- HibernateSupport
40+
- LocalAdministratorStatus
41+
- OperationStatus
42+
- OSType
43+
- ParameterType
44+
- PoolHealthStatus
45+
- PowerState
46+
- ScheduledFrequency
47+
- ScheduledType
48+
- SkuName
49+
- StopOnDisconnectEnableStatus
50+
51+
52+
- Updated each previous client method to return the correspondent model. E.g. The response type for `get_dev_box` was updated from `JSON` to `DevBox` model.
53+
54+
### Breaking Changes
55+
56+
- Removed `filter` and `top` as optional request parameters from all list operations
57+
- list_pools
58+
- list_schedules
59+
- list_dev_boxes
60+
- list_all_dev_boxes
61+
- list_all_dev_boxes_by_user
62+
- list_projects
63+
- list_environments
64+
- list_all_environments
65+
- list_environment_definitions
66+
- list_environment_definitions_by_catalog
67+
- list_environment_types
68+
- list_catalogs
69+
70+
### Other Changes
71+
72+
- Added more samples
73+
374
## 1.0.0b3 (2023-11-02)
475

576
This release updates the Azure DevCenter library to use the 2023-04-01 GA API.
@@ -42,3 +113,5 @@ This release updates the Azure DevCenter library to use the 2022-11-11-preview A
42113
## 1.0.0b1 (2022-11-11)
43114

44115
- Initial version for the DevCenter service
116+
117+

0 commit comments

Comments
 (0)