Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[devcenter] Small updates - fix error string and update data plane help #6374

Merged
merged 377 commits into from
Jun 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
377 commits
Select commit Hold shift + click to select a range
c9d8399
Merge pull request #24 from tbyfield/amlim/addNewWhlForAPIUpdate
am-lim Jan 3, 2023
186a6ed
fix formatting
am-lim Jan 5, 2023
6a3e85f
fix lint errors
am-lim Jan 5, 2023
3106642
Merge pull request #25 from tbyfield/amlim/fixStyle
am-lim Jan 5, 2023
fc83be3
Schedules CLI changes
meenakshidas1996 Jan 5, 2023
5ecd609
Merge pull request #26 from tbyfield/meena/dev
meenakshidas1996 Jan 6, 2023
4ead007
Fix azdev linter errors
am-lim Jan 9, 2023
0d0f362
Merge pull request #27 from tbyfield/amlim/fixLinterErrors
am-lim Jan 9, 2023
0bff203
Set default to user-id
meenakshidas1996 Jan 10, 2023
d6870c1
Merge branch
am-lim Jan 12, 2023
c6957d5
Merge branch 'Azure-main'
am-lim Jan 12, 2023
c02dbfa
Merge pull request #30 from tbyfield/amlim/mergeBranches
am-lim Jan 12, 2023
c74415b
Add devcenter tests and update help
am-lim Jan 13, 2023
a5933b6
Merge branch 'main' into meena/userId
meenakshidas1996 Jan 13, 2023
ffdd7c7
fix azdev linter error
meenakshidas1996 Jan 13, 2023
a933188
Merge pull request #31 from tbyfield/amlim/addTestsAndUpdateHelp
am-lim Jan 13, 2023
cbf9ac9
Fix ARG bug
am-lim Jan 13, 2023
ca0af25
Merge pull request #32 from tbyfield/amlim/fixARGBug
am-lim Jan 13, 2023
9e1fd10
Merge branch 'main' into meena/userId
meenakshidas1996 Jan 13, 2023
170c988
add default 'me' for help and regenerate whl file
meenakshidas1996 Jan 13, 2023
5cb6482
Merge pull request #28 from tbyfield/meena/userId
meenakshidas1996 Jan 13, 2023
17c7f3d
Add project and network connection tests
am-lim Jan 14, 2023
1b1528c
Merge pull request #33 from tbyfield/amlim/addProjectAndNetworkConnec…
am-lim Jan 18, 2023
262bbf4
Add gallery test
am-lim Jan 19, 2023
d523574
update previous tests, reformat
am-lim Jan 19, 2023
d360826
regenerate whl, add recordings
am-lim Jan 20, 2023
6d3dcca
Merge pull request #34 from tbyfield/amlim/galleryTest
am-lim Jan 20, 2023
3f3f5c2
updates to test
am-lim Jan 20, 2023
e07e9f9
Merge remote-tracking branch 'origin/main' into amlim/updatesToTest
am-lim Jan 20, 2023
2acaee1
Fix gallery test
am-lim Jan 20, 2023
6cf7bf1
Merge pull request #35 from tbyfield/amlim/updatesToTest
am-lim Jan 20, 2023
206f577
Add attached network and pool tests
am-lim Jan 21, 2023
f6f26e2
Merge pull request #36 from tbyfield/amlim/attachedNetworkPool
am-lim Jan 21, 2023
e176b56
Pool test recording
am-lim Jan 23, 2023
d03bfd8
Merge pull request #37 from tbyfield/amlim/addPoolRecording
am-lim Jan 23, 2023
4d8f5d1
Add rest of devbox tests
am-lim Jan 23, 2023
2bbac37
add schedule to pool
am-lim Jan 23, 2023
48d1323
Merge pull request #38 from tbyfield/amlim/addRestDevBoxTests
am-lim Jan 23, 2023
fefc90d
Add catalog tests
am-lim Jan 24, 2023
1dabcdd
Handle dogfood dataplane
am-lim Jan 24, 2023
b676e8b
update
am-lim Jan 24, 2023
d4ca43b
Merge pull request #40 from tbyfield/amlim/handleDogfood
am-lim Jan 24, 2023
1cc2f50
add env type tests
am-lim Jan 25, 2023
3fa56cc
Merge pull request #39 from tbyfield/amlim/catalogTest
am-lim Jan 25, 2023
813d4f1
Improve control plane update commands
am-lim Jan 25, 2023
115cb61
Merge remote-tracking branch 'origin/main' into amlim/improveUpdateCmds
am-lim Jan 25, 2023
d64d095
Merge branch 'Azure:main' into main
am-lim Jan 25, 2023
5b5c5e9
rerun tests and edit error messasing
am-lim Jan 27, 2023
281fef5
delete unused files
am-lim Jan 27, 2023
a268f4f
delete unused files
am-lim Jan 27, 2023
374cd30
add defaults for devcenter and project
am-lim Jan 28, 2023
d620217
Not error message for dev project list
am-lim Jan 30, 2023
3a122e3
Merge pull request #41 from tbyfield/amlim/improveUpdateCmds
am-lim Jan 30, 2023
30c21dc
Delay Schedule Customization
meenakshidas1996 Jan 31, 2023
2815077
Merge branch 'main' into meena/delay
meenakshidas1996 Jan 31, 2023
f6315e7
Whl file and style changes
meenakshidas1996 Jan 31, 2023
f2b3f70
Add validation
meenakshidas1996 Feb 1, 2023
394de47
pr comments
meenakshidas1996 Feb 1, 2023
05a2082
Merge pull request #42 from tbyfield/meena/delay
meenakshidas1996 Feb 1, 2023
15851f8
add proj pool and schedule tests
am-lim Feb 1, 2023
3e286a8
Merge remote-tracking branch 'origin/main' into amlim/addProjPoolDpTests
am-lim Feb 1, 2023
cda61d1
add whl file
am-lim Feb 1, 2023
a38c412
uncomment out record only
am-lim Feb 1, 2023
eedfe0d
Merge pull request #43 from tbyfield/amlim/addProjPoolDpTests
am-lim Feb 2, 2023
a6a641d
Add catalog and env type tests
am-lim Feb 4, 2023
231d13e
Merge pull request #44 from tbyfield/amlim/catalogEnvTypeTests
am-lim Feb 4, 2023
db40d51
Update to make clear dummy val
am-lim Feb 6, 2023
0cf8164
Update to make clear dummy ref
am-lim Feb 6, 2023
5cc4299
Add whl file
am-lim Feb 6, 2023
fca8f5a
Merge pull request #45 from tbyfield/amlim/updateRef
am-lim Feb 6, 2023
83194a4
Update to tests, fix dp polling
am-lim Feb 7, 2023
8a3ece0
add dev box test, fix ymls
am-lim Feb 7, 2023
b4fd770
add environment test
am-lim Feb 7, 2023
9a22e12
fix style
am-lim Feb 7, 2023
4430b10
generate whl file
am-lim Feb 7, 2023
470dd78
update yml
am-lim Feb 8, 2023
f6fe2a6
Merge pull request #46 from tbyfield/amlim/updatesToTests
am-lim Feb 8, 2023
166751a
Update README
am-lim Feb 8, 2023
3540edd
Update readme
am-lim Feb 8, 2023
c87328d
correct mispelling
am-lim Feb 8, 2023
5ccd592
Merge pull request #47 from tbyfield/amlim/updateReadme
am-lim Feb 8, 2023
6dd2db5
Fix wording of readme
am-lim Feb 8, 2023
f16ca53
Merge pull request #48 from tbyfield/amlim/updateReadme
am-lim Feb 8, 2023
121dbdc
Update name of extension
am-lim Feb 8, 2023
541ee94
Merge pull request #49 from tbyfield/amlim/updateReadmeName
am-lim Feb 8, 2023
32bf25c
Merge branch 'Azure:main' into main
am-lim Feb 8, 2023
ed1b2f3
Remove fidalgo extension
am-lim Feb 8, 2023
4a16f14
Merge pull request #50 from tbyfield/amlim/removeFidalgoExtension
am-lim Feb 8, 2023
e97e711
Fix PR build errors
am-lim Feb 8, 2023
e1cdaf7
Merge pull request #51 from tbyfield/amlim/fixBuildErrors
am-lim Feb 8, 2023
88e23d8
Fix pool operation and gallery tests
am-lim Feb 8, 2023
c9c298b
Merge pull request #52 from tbyfield/amlim/fixTests
am-lim Feb 8, 2023
313d066
Remove usage command
am-lim Feb 9, 2023
83d7813
Generate new whl file
am-lim Feb 9, 2023
83a7756
Merge pull request #53 from tbyfield/amlim/removeUsageCommand
am-lim Feb 9, 2023
8e41f0e
Fix aio operations
am-lim Feb 14, 2023
4927acb
Fix aio operations
am-lim Feb 14, 2023
fc51a9a
Merge pull request #55 from tbyfield/amlim/fixAioOperations
am-lim Feb 14, 2023
4d0f63e
Reorganize code
am-lim Feb 15, 2023
f8d73d4
Merge remote-tracking branch 'origin/main' into amlim/reorganizeCode
am-lim Feb 15, 2023
49ca295
Generate whl file
am-lim Feb 15, 2023
2148d8e
Merge pull request #56 from tbyfield/amlim/reorganizeCode
am-lim Feb 15, 2023
aab9df7
Update to aaz
am-lim Feb 17, 2023
9b200ad
fix identity
am-lim Feb 17, 2023
af45668
run tests
am-lim Feb 17, 2023
c9afdf2
proj env type test
am-lim Feb 17, 2023
a37decc
Merge remote-tracking branch 'origin/main' into amlim/updateToAaz
am-lim Feb 17, 2023
43ea6bf
fix tests
am-lim Feb 17, 2023
fa8c6de
update parameters for pool
am-lim Feb 21, 2023
305317b
Update 2023-1-1 dataplane API
am-lim Feb 23, 2023
993a702
Update CLI client code
am-lim Feb 24, 2023
9bae0d1
clean up old control plane
am-lim Feb 24, 2023
13fa1d5
add pool logic
am-lim Feb 24, 2023
16fd20c
add customizations
am-lim Feb 28, 2023
e323fc7
update tests
am-lim Mar 1, 2023
1dc91b4
fix gallery test
am-lim Mar 1, 2023
ef37869
update tests
am-lim Mar 1, 2023
fb8f5b8
fix tests
am-lim Mar 1, 2023
2c09c25
comment out control plane
am-lim Mar 1, 2023
a0ddd3e
uncomment tests
am-lim Mar 1, 2023
f764b7c
style and linter fixes
am-lim Mar 1, 2023
0f92966
guid
am-lim Mar 1, 2023
d2f9c6e
update tests
am-lim Mar 1, 2023
42010a5
Merge pull request #57 from tbyfield/amlim/updateToAaz
am-lim Mar 1, 2023
2cdcd04
Delete scheduled tasks
am-lim Mar 1, 2023
421602c
Merge remote-tracking branch 'origin/main' into amlim/updatesToEnv
am-lim Mar 1, 2023
eae3fab
Merge pull request #59 from tbyfield/amlim/updatesToEnv
am-lim Mar 1, 2023
9ca5e34
Clean up extension
am-lim Mar 1, 2023
2df7417
Merge remote-tracking branch 'origin/main' into amlim/smallFixes
am-lim Mar 1, 2023
dc80e29
Merge pull request #60 from tbyfield/amlim/smallFixes
am-lim Mar 1, 2023
5bc37db
Update managed identity api version
am-lim Mar 1, 2023
9f566ea
Merge pull request #61 from tbyfield/amlim/updateIdentityVersion
am-lim Mar 1, 2023
7add861
Merge branch 'Azure:main' into main
am-lim Mar 1, 2023
58d182f
Merge remote-tracking branch 'origin/main' into amlim/update2023-1-1d…
am-lim Mar 2, 2023
bdf15be
add artifacts API
am-lim Mar 2, 2023
f840e91
add artifacts API
am-lim Mar 2, 2023
bc40df9
test updates
am-lim Mar 5, 2023
f9b4cc0
Update aaz
am-lim Mar 6, 2023
5599156
Update aaz
am-lim Mar 6, 2023
c87144b
Merge AAZ calls
am-lim Mar 6, 2023
97a6ae7
remove top
am-lim Mar 6, 2023
3474700
Merge pull request #62 from tbyfield/amlim/mergeCalls
am-lim Mar 6, 2023
d9c439f
Remove top from aaz
am-lim Mar 6, 2023
44e3356
Merge remote-tracking branch 'origin/main' into amlim/removeTopAAZ
am-lim Mar 6, 2023
6cfcaa6
Merge pull request #63 from tbyfield/amlim/removeTopAAZ
am-lim Mar 6, 2023
6cb416b
Remove unused args using aaz dev tools
am-lim Mar 6, 2023
39ba780
Merge remote-tracking branch 'origin/main' into amlim/removeUnusedArgs
am-lim Mar 6, 2023
ea2aa7c
Merge pull request #64 from tbyfield/amlim/removeUnusedArgs
am-lim Mar 6, 2023
cc08f60
Merge remote-tracking branch 'origin/main'
am-lim Mar 8, 2023
6dfafda
Merge pull request #58 from tbyfield/amlim/update2023-1-1dataplane
am-lim Mar 8, 2023
c7223a9
Merge branch 'main' of https://github.com/Azure/azure-cli-extensions
am-lim Mar 8, 2023
6c91e9a
undo changes
am-lim Mar 8, 2023
fb62989
Merge pull request #65 from tbyfield/amlim/mergeWithUpStream
am-lim Mar 8, 2023
5e91286
Control plane 2023-1-1
am-lim Mar 10, 2023
1ed8e9d
fix show and wait
am-lim Mar 10, 2023
ea5f638
update image version and schedule
am-lim Mar 10, 2023
9f44fc4
fix ordering of imports
am-lim Mar 10, 2023
a32cf41
Fix location description
am-lim Mar 10, 2023
d62a66e
Add pool health check customization, fix desc
am-lim Mar 10, 2023
1749b97
add 200 for catalog sync
am-lim Mar 10, 2023
e83e0df
add extra line
am-lim Mar 10, 2023
71359ed
fix style
am-lim Mar 11, 2023
94598ba
Merge pull request #66 from tbyfield/amlim/controlPlane2023-1-1
am-lim Mar 11, 2023
a6d2190
Add update environment command
am-lim Apr 11, 2023
a72a4f8
Merge pull request #67 from tbyfield/amlim/updateEnvironmentCommand
am-lim Apr 11, 2023
b17d833
Delay actions customization
am-lim Apr 11, 2023
e8260d1
Delay actions customization
am-lim Apr 11, 2023
92b6ab6
correct comparison
am-lim Apr 11, 2023
1a6ad8d
Style fixes
am-lim Apr 11, 2023
c4c8e19
Merge pull request #68 from tbyfield/amlim/delayActionsCustomization
am-lim Apr 11, 2023
8865551
Update control plane tests for 2023-01-01-preview
am-lim Apr 13, 2023
b7e0933
Merge pull request #69 from tbyfield/amlim/updateControlPlaneTests
am-lim Apr 13, 2023
7479782
Update data plane tests 2023-01-01-preview
am-lim Apr 14, 2023
fa91e4a
Merge pull request #70 from tbyfield/amlim/updateDataplaneTests
am-lim Apr 14, 2023
cc15f19
Merge remote-tracking branch 'upstream/main'
am-lim Apr 14, 2023
ca9afb4
Merge pull request #71 from tbyfield/amlim/mergeWithUpstream
am-lim Apr 14, 2023
3eb6184
Add 2023-01-01-preview whl file
am-lim Apr 14, 2023
4ad9dfc
Merge pull request #72 from tbyfield/amlim/addWhlFile
am-lim Apr 14, 2023
14c30b7
Merge branch 'Azure:main' into main
am-lim Apr 20, 2023
2283be7
Update dataplane to 2023-04-01 API
am-lim Apr 21, 2023
7eea26e
Fix style errors
am-lim Apr 21, 2023
b63108d
Merge pull request #73 from tbyfield/amlim/updateDataPlane2023-04-01
am-lim Apr 21, 2023
980481d
Update api version
am-lim Apr 25, 2023
29d0b68
Merge pull request #74 from tbyfield/amlim/updateControlPlane2023-04-01
am-lim Apr 25, 2023
e7cb326
Merge branch 'Azure:main' into main
am-lim Apr 25, 2023
5344e8c
Update examples, add usage API
am-lim Apr 26, 2023
8005e24
update dev box definition wait
am-lim Apr 26, 2023
604b551
Merge pull request #75 from tbyfield/amlim/updateControlPlane2023-04-01
am-lim Apr 26, 2023
9f16c6f
Fix list attached network description
am-lim Apr 26, 2023
375ea21
Merge pull request #76 from tbyfield/amlim/fixAttachedNetworkDesc
am-lim Apr 26, 2023
4b2a230
Fix history file
am-lim Apr 26, 2023
ef958a8
Merge pull request #77 from tbyfield/amlim/fixHistoryFormatting
am-lim Apr 26, 2023
78e991a
Update read me to point to correct CLI reference
am-lim Apr 26, 2023
ca2f76c
Merge pull request #78 from tbyfield/amlim/fixReadMe
am-lim Apr 26, 2023
3c2f390
Update help, required params, examples
am-lim Apr 27, 2023
3616505
fix examples
am-lim Apr 27, 2023
a79770a
fix linter issue
am-lim Apr 27, 2023
6f19970
Merge pull request #79 from tbyfield/amlim/improvementsReview
am-lim Apr 27, 2023
080cb6c
Merge branch 'Azure:main' into main
am-lim Apr 27, 2023
835107a
Add endpoint option to data plane cmds
am-lim Apr 27, 2023
c314657
Merge pull request #80 from tbyfield/amlim/addEndpoint
am-lim Apr 27, 2023
564b982
Fix endpoint regex, update to dev box list
am-lim Apr 28, 2023
600b7cc
Merge pull request #81 from tbyfield/amlim/fixEndpointRegex
am-lim Apr 28, 2023
6f655ef
dev center and project tests
am-lim May 3, 2023
fa9e49c
network connection test
am-lim May 3, 2023
f5b18eb
dev box definition test
am-lim May 3, 2023
515ba51
gallery test
am-lim May 3, 2023
a900927
attached network test
am-lim May 3, 2023
a092d05
env type tests
am-lim May 3, 2023
49c7018
pool test
am-lim May 3, 2023
184b524
update tests
am-lim May 4, 2023
2d7c4f8
Merge pull request #82 from tbyfield/amlim/cplaneTests2023-04-01
am-lim May 4, 2023
9657b2d
Merge branch 'Azure:main' into main
am-lim May 4, 2023
52152c0
Merge pull request #83 from tbyfield/amlim/cplaneTests2023-04-01
am-lim May 4, 2023
b0d3ffe
Add usage test
am-lim May 4, 2023
353e10f
updates
am-lim May 4, 2023
63f1d52
Merge pull request #84 from tbyfield/amlim/addUsageTest
am-lim May 4, 2023
ec01dd1
Update data plane tests for API v2023-04-01
am-lim May 5, 2023
eddb06b
fix bugs
am-lim May 8, 2023
293fc17
Merge branch 'Azure:main' into main
am-lim May 10, 2023
dc515a6
catalog tests and improvements to code
am-lim May 11, 2023
9338a25
update pool tests without idle
am-lim May 12, 2023
7ed5cbc
update tests
am-lim May 12, 2023
b8c331b
update last tests
am-lim May 12, 2023
61feea4
Style fixes
am-lim May 12, 2023
ea8575a
Merge pull request #85 from tbyfield/amlim/updateDTests2023-04-01
am-lim May 12, 2023
aabe101
Remove pool run health check
am-lim May 12, 2023
2cd60a4
Merge pull request #86 from tbyfield/amlim/removePoolHealthCheck
am-lim May 12, 2023
ddea149
Add 04-01 whl file
am-lim May 15, 2023
7cf99e0
Merge pull request #87 from tbyfield/amlim/add04-01Version
am-lim May 15, 2023
1ddc616
Improve endpoint error message
am-lim May 15, 2023
097dd0c
Merge pull request #88 from tbyfield/amlim/improveErrorMEssage
am-lim May 15, 2023
4d5bd91
Further improve error message string
am-lim May 15, 2023
2ec10d6
improved wording
am-lim May 15, 2023
f7ec560
Merge pull request #89 from tbyfield/amlim/improveErrorMEssage
am-lim May 15, 2023
5b856be
Fix example name
am-lim May 18, 2023
d71c511
FIx dev box list bug
am-lim May 18, 2023
0f0c797
Add whl file
am-lim May 18, 2023
c4006e0
Merge pull request #90 from tbyfield/amlim/addRestartFixString
am-lim May 18, 2023
55246b4
Merge branch 'Azure:main' into main
am-lim May 18, 2023
fc8f4d5
GA updates
am-lim May 18, 2023
84f5fd0
Pr comments
am-lim May 18, 2023
4b02d59
Merge pull request #91 from tbyfield/amlim/PrComments
am-lim May 18, 2023
bd09852
Add breaking changes to HISTORY.rst
am-lim May 19, 2023
2a6f407
Merge pull request #92 from tbyfield/amlim/updateBreakingChange
am-lim May 19, 2023
5c92667
update for restart test
am-lim May 20, 2023
908bb33
Merge branch 'Azure:main' into main
am-lim May 23, 2023
17f71e2
Fix env create error string, update dp help
am-lim Jun 6, 2023
4c3d36f
Merge pull request #93 from tbyfield/amlim/fixEnvCreateErrorString
am-lim Jun 6, 2023
21a2ce7
Merge branch 'Azure:main' into main
am-lim Jun 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/devcenter/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Release History
===============
1.0.1
++++++
* Update error string for environment create same name validation
* Update data plane help to align with control plane

1.0.0
++++++
* Update control plane and data plane APIs to v2023-04-01
Expand Down
72 changes: 36 additions & 36 deletions src/devcenter/azext_devcenter/_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"devcenter dev"
] = """
type: group
short-summary: "Manages devcenter developer resources."
short-summary: "Manage devcenter developer resources."
"""
helps[
"devcenter dev project"
Expand All @@ -23,7 +23,7 @@
"devcenter dev project list"
] = """
type: command
short-summary: "Lists all projects."
short-summary: "List all projects."
examples:
- name: List using dev center
text: |-
Expand All @@ -37,7 +37,7 @@
"devcenter dev project show"
] = """
type: command
short-summary: "Gets a project."
short-summary: "Get a project."
examples:
- name: Get using dev center
text: |-
Expand All @@ -60,7 +60,7 @@
"devcenter dev pool list"
] = """
type: command
short-summary: "Lists available pools."
short-summary: "List available pools."
examples:
- name: List using dev center
text: |-
Expand All @@ -76,7 +76,7 @@
"devcenter dev pool show"
] = """
type: command
short-summary: "Gets a pool."
short-summary: "Get a pool."
examples:
- name: Get using dev center
text: |-
Expand All @@ -99,7 +99,7 @@
"devcenter dev schedule show"
] = """
type: command
short-summary: "Gets a schedule."
short-summary: "Get a schedule."
examples:
- name: Get using dev center
text: |-
Expand All @@ -122,8 +122,8 @@
"devcenter dev dev-box list"
] = """
type: command
short-summary: "Lists dev boxes for a user, lists dev boxes in the dev center for a \
project and user, or lists dev boxes that the caller has access to in the dev center."
short-summary: "List dev boxes for a user, list dev boxes in the dev center for a \
project and user, or list dev boxes that the caller has access to in the dev center."
examples:
- name: List all dev boxes in the dev center
text: |-
Expand Down Expand Up @@ -153,7 +153,7 @@
"devcenter dev dev-box show"
] = """
type: command
short-summary: "Gets a dev box."
short-summary: "Get a dev box."
examples:
- name: Get using dev center
text: |-
Expand All @@ -169,7 +169,7 @@
"devcenter dev dev-box create"
] = """
type: command
short-summary: "Creates a dev box."
short-summary: "Create a dev box."
examples:
- name: Create using dev center
text: |-
Expand All @@ -185,7 +185,7 @@
"devcenter dev dev-box delete"
] = """
type: command
short-summary: "Deletes a dev box."
short-summary: "Delete a dev box."
examples:
- name: Delete using dev center
text: |-
Expand All @@ -201,7 +201,7 @@
"devcenter dev dev-box show-remote-connection"
] = """
type: command
short-summary: "Gets remote connection info."
short-summary: "Get remote connection info."
examples:
- name: Get remote connection using dev center
text: |-
Expand All @@ -217,7 +217,7 @@
"devcenter dev dev-box start"
] = """
type: command
short-summary: "Starts a dev box."
short-summary: "Start a dev box."
examples:
- name: Start using dev center
text: |-
Expand All @@ -233,7 +233,7 @@
"devcenter dev dev-box restart"
] = """
type: command
short-summary: "Restarts a dev box."
short-summary: "Restart a dev box."
examples:
- name: Restart using dev center
text: |-
Expand All @@ -249,7 +249,7 @@
"devcenter dev dev-box stop"
] = """
type: command
short-summary: "Stops a dev box."
short-summary: "Stop a dev box."
examples:
- name: Stop using dev center
text: |-
Expand All @@ -265,7 +265,7 @@
"devcenter dev dev-box list-action"
] = """
type: command
short-summary: "Lists actions on a dev box."
short-summary: "List actions on a dev box."
examples:
- name: List actions using dev center
text: |-
Expand All @@ -281,7 +281,7 @@
"devcenter dev dev-box delay-action"
] = """
type: command
short-summary: "Delays an action."
short-summary: "Delay an action."
examples:
- name: Delay action using dev center
text: |-
Expand All @@ -299,7 +299,7 @@
"devcenter dev dev-box delay-all-actions"
] = """
type: command
short-summary: "Delays all actions."
short-summary: "Delay all actions."
examples:
- name: Delay all actions using dev center
text: |-
Expand All @@ -317,7 +317,7 @@
"devcenter dev dev-box show-action"
] = """
type: command
short-summary: "Gets an action."
short-summary: "Get an action."
examples:
- name: Get action using dev center
text: |-
Expand All @@ -335,7 +335,7 @@
"devcenter dev dev-box skip-action"
] = """
type: command
short-summary: "Skips an action."
short-summary: "Skip an action."
examples:
- name: Skip action using dev center
text: |-
Expand All @@ -360,7 +360,7 @@
"devcenter dev environment list"
] = """
type: command
short-summary: "Lists the environments for a project or lists the environments for a user within a project."
short-summary: "List the environments for a project or list the environments for a user within a project."
examples:
- name: List by project using dev center
text: |-
Expand All @@ -384,7 +384,7 @@
"devcenter dev environment show"
] = """
type: command
short-summary: "Gets an environment."
short-summary: "Get an environment."
examples:
- name: Get using dev center
text: |-
Expand Down Expand Up @@ -419,7 +419,7 @@
"devcenter dev environment update"
] = """
type: command
short-summary: "Updates an environment."
short-summary: "Update an environment."
examples:
- name: Update using dev center
text: |-
Expand All @@ -437,7 +437,7 @@
"devcenter dev environment deploy"
] = """
type: command
short-summary: "Updates an environment."
short-summary: "Update an environment."
examples:
- name: Update using dev center
text: |-
Expand All @@ -455,12 +455,12 @@
"devcenter dev environment delete"
] = """
type: command
short-summary: "Deletes an environment and all its associated resources."
short-summary: "Delete an environment and all its associated resources."
examples:
- name: Delete using dev center
text: |-
az devcenter dev environment delete --dev-center-name "ContosoDevCenter" \
--name "mydevenv" --project-name "DevProject" --user-id "00000000-0000-0000-0000-000000000000"
--name "mydevenv" --project-name "DevProject" --user-id "00000000-0000-0000-0000-000000000000"
- name: Delete using endpoint
text: |-
az devcenter dev environment delete --endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" \
Expand All @@ -478,7 +478,7 @@
"devcenter dev catalog list"
] = """
type: command
short-summary: "Lists all of the catalogs available for a project."
short-summary: "List all of the catalogs available for a project."
examples:
- name: List using dev center
text: |-
Expand All @@ -494,7 +494,7 @@
"devcenter dev catalog show"
] = """
type: command
short-summary: "Gets the specified catalog within the project."
short-summary: "Get the specified catalog within the project."
examples:
- name: Get using dev center
text: |-
Expand All @@ -517,7 +517,7 @@
"devcenter dev environment-type list"
] = """
type: command
short-summary: "Lists all environment types configured for a project."
short-summary: "List all environment types configured for a project."
examples:
- name: List using dev center
text: |-
Expand All @@ -540,24 +540,24 @@
"devcenter dev environment-definition list"
] = """
type: command
short-summary: "Lists all environment definitions available within a catalog or lists all environment \
short-summary: "List all environment definitions available within a catalog or list all environment \
definitions available for a project."
examples:
- name: List using dev center
text: |-
az devcenter dev environment-definition list --dev-center-name "ContosoDevCenter" \
az devcenter dev environment-definition list --dev-center-name "ContosoDevCenter" \
--project-name "DevProject"
- name: List using endpoint
text: |-
az devcenter dev environment-definition list --dev-center-name "ContosoDevCenter" \
az devcenter dev environment-definition list --dev-center-name "ContosoDevCenter" \
--project-name "DevProject"
- name: List by catalog using dev center
text: |-
az devcenter dev environment-definition list --dev-center-name "ContosoDevCenter" \
az devcenter dev environment-definition list --dev-center-name "ContosoDevCenter" \
--project-name "DevProject" --catalog-name "myCatalog"
- name: List by catalog using endpoint
text: |-
az devcenter dev environment-definition list --endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" \
az devcenter dev environment-definition list --endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" \
--project-name "DevProject" --catalog-name "myCatalog"
"""

Expand All @@ -569,10 +569,10 @@
examples:
- name: Get using dev center
text: |-
az devcenter dev environment-definition show --dev-center-name "ContosoDevCenter" \
az devcenter dev environment-definition show --dev-center-name "ContosoDevCenter" \
--project-name "DevProject" --catalog-name "myCatalog" --definition-name "foo"
- name: Get using endpoint
text: |-
az devcenter dev environment-definition show --endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" \
az devcenter dev environment-definition show --endpoint "https://8a40af38-3b4c-4672-a6a4-5e964b1870ed-contosodevcenter.centralus.devcenter.azure.com/" \
--project-name "DevProject" --catalog-name "myCatalog" --definition-name "foo"
"""
2 changes: 2 additions & 0 deletions src/devcenter/azext_devcenter/_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ def validate_endpoint(endpoint, dev_center):
def validate_env_name_already_exists(env_iterator, name, user_id, project):
for env in env_iterator:
if env.name.casefold() == name.casefold():
if user_id == "me":
user_id = env.user
error_message = f"""An environment with the name '{name}' \
already exists for the user-id '{user_id}' in this project '{project}'."""
raise InvalidArgumentValueError(error_message)
2 changes: 1 addition & 1 deletion src/devcenter/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from setuptools import setup, find_packages

# HISTORY.rst entry.
VERSION = '1.0.0'
VERSION = '1.0.1'
try:
from azext_devcenter.manual.version import VERSION
except ImportError:
Expand Down