forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request Azure#1 from am-lim/amlim/devCenter11-11
[devcenter] Add devcenter 2022-11-11-preview
- Loading branch information
Showing
170 changed files
with
14,153 additions
and
0 deletions.
There are no files selected for viewing
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,16 @@ | ||
# [Command] _devcenter admin attached-network create_ | ||
|
||
Create an attached network connection. | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9hdHRhY2hlZG5ldHdvcmtzL3t9/2022-11-11-preview.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/attachednetworks/{} 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- Create | ||
```bash | ||
devcenter admin attached-network create --attached-network-connection-name "{attachedNetworkConnectionName}" --network-connection-id "/subscriptions/{subscriptionId}/resourceGroups/rg1/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}" --dev-center-name "Contoso" --resource-group "rg1" | ||
``` |
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,16 @@ | ||
# [Command] _devcenter admin attached-network delete_ | ||
|
||
Delete a NetworkConnection. | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9hdHRhY2hlZG5ldHdvcmtzL3t9/2022-11-11-preview.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/attachednetworks/{} 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- Delete | ||
```bash | ||
devcenter admin attached-network delete --attached-network-connection-name "{attachedNetworkConnectionName}" --dev-center-name "Contoso" --resource-group "rg1" | ||
``` |
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,22 @@ | ||
# [Command] _devcenter admin attached-network list_ | ||
|
||
List the attached NetworkConnections for a Project. | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9hdHRhY2hlZG5ldHdvcmtz/2022-11-11-preview.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/attachednetworks 2022-11-11-preview --> | ||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/projects/{}/attachednetworks 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- List by dev center | ||
```bash | ||
devcenter admin attached-network list --dev-center-name "Contoso" --resource-group "rg1" | ||
``` | ||
|
||
- List by project | ||
```bash | ||
devcenter admin attached-network list --project-name "{projectName}" --resource-group "rg1" | ||
``` |
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,22 @@ | ||
# [Command] _devcenter admin attached-network show_ | ||
|
||
Get an attached NetworkConnection. | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9hdHRhY2hlZG5ldHdvcmtzL3t9/2022-11-11-preview.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/attachednetworks/{} 2022-11-11-preview --> | ||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/projects/{}/attachednetworks/{} 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- Show dev center attached network connection | ||
```bash | ||
devcenter admin attached-network show --name "{attachedNetworkConnectionName}" --dev-center-name "Contoso" --resource-group "rg1" | ||
``` | ||
|
||
- Show project attached network connection | ||
```bash | ||
devcenter admin attached-network show --name "{attachedNetworkConnectionName}" --project-name "{projectName}" --resource-group "rg1" | ||
``` |
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,17 @@ | ||
# [Group] _devcenter admin attached-network_ | ||
|
||
Manage attached network with devcenter | ||
|
||
## Commands | ||
|
||
- [create](/Commands/devcenter/admin/attached-network/_create.md) | ||
: Create an attached network connection. | ||
|
||
- [delete](/Commands/devcenter/admin/attached-network/_delete.md) | ||
: Delete a NetworkConnection. | ||
|
||
- [list](/Commands/devcenter/admin/attached-network/_list.md) | ||
: List the attached NetworkConnections for a Project. | ||
|
||
- [show](/Commands/devcenter/admin/attached-network/_show.md) | ||
: Get an attached NetworkConnection. |
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 @@ | ||
# [Command] _devcenter admin catalog create_ | ||
|
||
Create a catalog. | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9jYXRhbG9ncy97fQ==/2022-11-11-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/catalogs/{} 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- Create using an Azure DevOps repository | ||
```bash | ||
devcenter admin catalog create --ado-git path="/templates" branch="main" secret-identifier="https://contosokv.vault.azure.net/secrets/CentralRepoPat" uri="https://contoso@dev.azure.com/contoso/contosoOrg/_git/centralrepo-fakecontoso" --name "{catalogName}" --dev-center-name "Contoso" --resource-group "rg1" | ||
``` | ||
|
||
- Create using a GitHub repository | ||
```bash | ||
devcenter admin catalog create --git-hub path="/templates" branch="main" secret-identifier="https://contosokv.vault.azure.net/secrets/CentralRepoPat" uri="https://github.com/Contoso/centralrepo-fake.git" --name "{catalogName}" --dev-center-name "Contoso" --resource-group "rg1" | ||
``` |
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,16 @@ | ||
# [Command] _devcenter admin catalog delete_ | ||
|
||
Delete a catalog resource. | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9jYXRhbG9ncy97fQ==/2022-11-11-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/catalogs/{} 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- Delete | ||
```bash | ||
devcenter admin catalog delete --name "{catalogName}" --dev-center-name "Contoso" --resource-group "rg1" | ||
``` |
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,16 @@ | ||
# [Command] _devcenter admin catalog list_ | ||
|
||
List catalogs for a devcenter. | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9jYXRhbG9ncw==/2022-11-11-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/catalogs 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- List | ||
```bash | ||
devcenter admin catalog list --dev-center-name "Contoso" --resource-group "rg1" | ||
``` |
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,16 @@ | ||
# [Command] _devcenter admin catalog show_ | ||
|
||
Get a catalog | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9jYXRhbG9ncy97fQ==/2022-11-11-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/catalogs/{} 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- Show | ||
```bash | ||
devcenter admin catalog show --name "{catalogName}" --dev-center-name "Contoso" --resource-group "rg1" | ||
``` |
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,16 @@ | ||
# [Command] _devcenter admin catalog sync_ | ||
|
||
Syncs templates for a template source. | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9jYXRhbG9ncy97fS9zeW5j/2022-11-11-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/catalogs/{}/sync 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- Sync | ||
```bash | ||
devcenter admin catalog sync --name "{catalogName}" --dev-center-name "Contoso" --resource-group "rg1" | ||
``` |
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,16 @@ | ||
# [Command] _devcenter admin catalog update_ | ||
|
||
Update updates a catalog. | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9jYXRhbG9ncy97fQ==/2022-11-11-preview.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/catalogs/{} 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- Update | ||
```bash | ||
devcenter admin catalog update --git-hub path="/environments" --name "{catalogName}" --dev-center-name "Contoso" --resource-group "rg1" | ||
``` |
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,23 @@ | ||
# [Group] _devcenter admin catalog_ | ||
|
||
Manage catalog with dev center | ||
|
||
## Commands | ||
|
||
- [create](/Commands/devcenter/admin/catalog/_create.md) | ||
: Create a catalog. | ||
|
||
- [delete](/Commands/devcenter/admin/catalog/_delete.md) | ||
: Delete a catalog resource. | ||
|
||
- [list](/Commands/devcenter/admin/catalog/_list.md) | ||
: List catalogs for a devcenter. | ||
|
||
- [show](/Commands/devcenter/admin/catalog/_show.md) | ||
: Get a catalog | ||
|
||
- [sync](/Commands/devcenter/admin/catalog/_sync.md) | ||
: Syncs templates for a template source. | ||
|
||
- [update](/Commands/devcenter/admin/catalog/_update.md) | ||
: Update updates a catalog. |
16 changes: 16 additions & 0 deletions
16
Commands/devcenter/admin/check-name-availability/_execute.md
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,16 @@ | ||
# [Command] _devcenter admin check-name-availability execute_ | ||
|
||
Check the availability of name for resource | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvY2hlY2tuYW1lYXZhaWxhYmlsaXR5/2022-11-11-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.devcenter/checknameavailability 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- Check name availability | ||
```bash | ||
devcenter admin check-name-availability execute --name "name1" --type "Microsoft.DevCenter/devcenters" | ||
``` |
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,8 @@ | ||
# [Group] _devcenter admin check-name-availability_ | ||
|
||
Manage check name availability with devcenter | ||
|
||
## Commands | ||
|
||
- [execute](/Commands/devcenter/admin/check-name-availability/_execute.md) | ||
: Check the availability of name for resource |
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,16 @@ | ||
# [Command] _devcenter admin devbox-definition create_ | ||
|
||
Create a Dev Box definition. | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9kZXZib3hkZWZpbml0aW9ucy97fQ==/2022-11-11-preview.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/devboxdefinitions/{} 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- Create | ||
```bash | ||
devcenter admin devbox-definition create --location "eastus" --hibernate-support "Enabled" --image-reference id="/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/version/1.0.0" --os-storage-type "ssd_1024gb" --sku name="general_a_8c32gb_v1" --name "WebDevBox" --dev-center-name "Contoso" --resource-group "rg1" | ||
``` |
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,16 @@ | ||
# [Command] _devcenter admin devbox-definition delete_ | ||
|
||
Delete a Dev Box definition | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9kZXZib3hkZWZpbml0aW9ucy97fQ==/2022-11-11-preview.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/devboxdefinitions/{} 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- Delete | ||
```bash | ||
devcenter admin devbox-definition delete --name "WebDevBox" --dev-center-name "Contoso" --resource-group "rg1" | ||
``` |
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,22 @@ | ||
# [Command] _devcenter admin devbox-definition list_ | ||
|
||
List Dev Box definitions configured for a project. | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9kZXZib3hkZWZpbml0aW9ucw==/2022-11-11-preview.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/devboxdefinitions 2022-11-11-preview --> | ||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/projects/{}/devboxdefinitions 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- List by dev center | ||
```bash | ||
devcenter admin devbox-definition list --dev-center-name "Contoso" --resource-group "rg1" | ||
``` | ||
|
||
- List by project | ||
```bash | ||
devcenter admin devbox-definition list --project-name "ContosoProject" --resource-group "rg1" | ||
``` |
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,22 @@ | ||
# [Command] _devcenter admin devbox-definition show_ | ||
|
||
Get a Dev Box definition | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9kZXZib3hkZWZpbml0aW9ucy97fQ==/2022-11-11-preview.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/devboxdefinitions/{} 2022-11-11-preview --> | ||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/projects/{}/devboxdefinitions/{} 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- Show dev center dev box definition | ||
```bash | ||
devcenter admin devbox-definition show --name "WebDevBox" --dev-center-name "Contoso" --resource-group "rg1" | ||
``` | ||
|
||
- Show project dev box definition | ||
```bash | ||
devcenter admin devbox-definition show --name "WebDevBox" --project-name "ContosoProject" --resource-group "rg1" | ||
``` |
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,16 @@ | ||
# [Command] _devcenter admin devbox-definition update_ | ||
|
||
Update a Dev Box definition. | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9kZXZib3hkZWZpbml0aW9ucy97fQ==/2022-11-11-preview.xml) **Stable** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/devboxdefinitions/{} 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- Update | ||
```bash | ||
devcenter admin devbox-definition update --image-reference id="/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.DevCenter/devcenters/Contoso/galleries/contosogallery/images/exampleImage/version/2.0.0" --name "WebDevBox" --dev-center-name "Contoso" --resource-group "rg1" | ||
``` |
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 @@ | ||
# [Group] _devcenter admin devbox-definition_ | ||
|
||
Manage dev box definition with devcenter | ||
|
||
## Commands | ||
|
||
- [create](/Commands/devcenter/admin/devbox-definition/_create.md) | ||
: Create a Dev Box definition. | ||
|
||
- [delete](/Commands/devcenter/admin/devbox-definition/_delete.md) | ||
: Delete a Dev Box definition | ||
|
||
- [list](/Commands/devcenter/admin/devbox-definition/_list.md) | ||
: List Dev Box definitions configured for a project. | ||
|
||
- [show](/Commands/devcenter/admin/devbox-definition/_show.md) | ||
: Get a Dev Box definition | ||
|
||
- [update](/Commands/devcenter/admin/devbox-definition/_update.md) | ||
: Update a Dev Box definition. |
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,17 @@ | ||
# [Command] _devcenter admin devcenter create_ | ||
|
||
Create a dev center | ||
|
||
## Versions | ||
|
||
### [2022-11-11-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fQ==/2022-11-11-preview.xml) **Preview** | ||
|
||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{} 2022-11-11-preview --> | ||
|
||
#### examples | ||
|
||
- Create | ||
```bash | ||
devcenter admin devcenter create --location "eastus" --tags CostCode="12345" --name "Contoso" --resource-group "rg1" | ||
devcenter admin devcenter create --identity-type "UserAssigned" --user-assigned-identities "{\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/identityGroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/testidentity1\\":{}}" --location "eastus" --tags CostCode="12345" --name "Contoso" --resource-group "rg1" | ||
``` |
Oops, something went wrong.