Skip to content

Commit

Permalink
DevCenter DataPlane v2023-04-01 stable SDK from TypeSpec (#35257)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
drielenr and leti367 authored May 16, 2024
1 parent 8a68f71 commit d7c196f
Show file tree
Hide file tree
Showing 33 changed files with 6,056 additions and 1,679 deletions.
9 changes: 8 additions & 1 deletion .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -1678,7 +1678,14 @@
"ctxt",
"unflattened",
"deseralize",
"wday"
"wday",
"mros"
]
},
{
"filename": "sdk/devcenter/azure-developer-devcenter/azure/developer/devcenter/models/*.py",
"words": [
"vcpus"
]
},
{
Expand Down
73 changes: 73 additions & 0 deletions sdk/devcenter/azure-developer-devcenter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,76 @@
# Release History

## 1.0.0 (2024-05-02)

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.

### Features Added

- Added classes for each Dev Center concept.
- `models`:
- Catalog
- DevBox
- DevBoxAction
- DevBoxActionDelayResult
- DevBoxNextAction
- Environment
- EnvironmentDefinition
- EnvironmentDefinitionParameter
- EnvironmentType
- Error
- HardwareProfile
- ImageReference
- InnerError
- OperationDetails
- OSDisk
- Pool
- Project
- RemoteConnection
- Schedule
- StopOnDisconnectConfiguration
- StorageProfile

- `enums`:
- DevBoxActionDelayStatus
- DevBoxActionType
- DevBoxProvisioningState
- EnvironmentProvisioningState
- EnvironmentTypeStatus
- HibernateSupport
- LocalAdministratorStatus
- OperationStatus
- OSType
- ParameterType
- PoolHealthStatus
- PowerState
- ScheduledFrequency
- ScheduledType
- SkuName
- StopOnDisconnectEnableStatus


- 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.

### Breaking Changes

- Removed `filter` and `top` as optional request parameters from all list operations
- list_pools
- list_schedules
- list_dev_boxes
- list_all_dev_boxes
- list_all_dev_boxes_by_user
- list_projects
- list_environments
- list_all_environments
- list_environment_definitions
- list_environment_definitions_by_catalog
- list_environment_types
- list_catalogs

### Other Changes

- Added more samples

## 1.0.0b3 (2023-11-02)

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

- Initial version for the DevCenter service


Loading

0 comments on commit d7c196f

Please sign in to comment.