Skip to content

Commit

Permalink
Update to control plane v2023-06-01
Browse files Browse the repository at this point in the history
  • Loading branch information
am-lim committed Aug 22, 2023
1 parent 4d534f6 commit 753fb59
Show file tree
Hide file tree
Showing 163 changed files with 12,826 additions and 7 deletions.
11 changes: 11 additions & 0 deletions Commands/devcenter/admin/attached-network/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Create an attached network connection.
```bash
devcenter admin attached-network create --attached-network-connection-name "network-uswest3" --network-connection-id "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3" --dev-center-name "Contoso" --resource-group "rg1"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9hdHRhY2hlZG5ldHdvcmtzL3t9/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/attachednetworks/{} 2023-06-01-preview -->

#### examples

- Create
```bash
devcenter admin attached-network create --attached-network-connection-name "network-uswest3" --network-connection-id "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/rg1/providers/Microsoft.DevCenter/NetworkConnections/network-uswest3" --dev-center-name "Contoso" --resource-group "rg1"
```
11 changes: 11 additions & 0 deletions Commands/devcenter/admin/attached-network/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Delete an attached network connection.
```bash
devcenter admin attached-network delete --attached-network-connection-name "network-uswest3" --dev-center-name "Contoso" --resource-group "rg1"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9hdHRhY2hlZG5ldHdvcmtzL3t9/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/attachednetworks/{} 2023-06-01-preview -->

#### examples

- Delete
```bash
devcenter admin attached-network delete --attached-network-connection-name "network-uswest3" --dev-center-name "Contoso" --resource-group "rg1"
```
17 changes: 17 additions & 0 deletions Commands/devcenter/admin/attached-network/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,20 @@ List the attached network connections configured for a dev center or project.
```bash
devcenter admin attached-network list --project-name "DevProject" --resource-group "rg1"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9hdHRhY2hlZG5ldHdvcmtz/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/attachednetworks 2023-06-01-preview -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/projects/{}/attachednetworks 2023-06-01-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 "DevProject" --resource-group "rg1"
```
17 changes: 17 additions & 0 deletions Commands/devcenter/admin/attached-network/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,20 @@ Get an attached network connection configured for a dev center or project.
```bash
az devcenter admin attached-network show --name "network-uswest3" --project-name "{projectName}" --resource-group "rg1"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9hdHRhY2hlZG5ldHdvcmtzL3t9/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/attachednetworks/{} 2023-06-01-preview -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/projects/{}/attachednetworks/{} 2023-06-01-preview -->

#### examples

- Get a dev center attached network connection
```bash
devcenter admin attached-network show --name" network-uswest3" --dev-center-name "Contoso" --resource-group "rg1"
```

- Get a project attached network connection
```bash
az devcenter admin attached-network show --name "network-uswest3" --project-name "{projectName}" --resource-group "rg1"
```
16 changes: 16 additions & 0 deletions Commands/devcenter/admin/catalog-devbox-definition/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _devcenter admin catalog-devbox-definition list_

List dev box definitions in the catalog.

## Versions

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9jYXRhbG9ncy97fS9kZXZib3hkZWZpbml0aW9ucw==/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/catalogs/{}/devboxdefinitions 2023-06-01-preview -->

#### examples

- List
```bash
devcenter admin catalog-devbox-definition list --catalog-name "CentralCatalog" --dev-center-name "Contoso" --resource-group "rg1"
```
16 changes: 16 additions & 0 deletions Commands/devcenter/admin/catalog-devbox-definition/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _devcenter admin catalog-devbox-definition show_

Get a dev box definition from the catalog

## Versions

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9jYXRhbG9ncy97fS9kZXZib3hkZWZpbml0aW9ucy97fQ==/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/catalogs/{}/devboxdefinitions/{} 2023-06-01-preview -->

#### examples

- Get
```bash
devcenter admin catalog-devbox-definition show --catalog-name "CentralCatalog" -devbox-definition-name "devBoxDef" --dev-center-name "Contoso" --resource-group "rg1"
```
11 changes: 11 additions & 0 deletions Commands/devcenter/admin/catalog-devbox-definition/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# [Group] _devcenter admin catalog-devbox-definition_

Manage catalog dev box definitions.

## Commands

- [list](/Commands/devcenter/admin/catalog-devbox-definition/_list.md)
: List dev box definitions in the catalog.

- [show](/Commands/devcenter/admin/catalog-devbox-definition/_show.md)
: Get a dev box definition from the catalog
16 changes: 16 additions & 0 deletions Commands/devcenter/admin/catalog/_connect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _devcenter admin catalog connect_

Connects a catalog to enable syncing.

## Versions

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9jYXRhbG9ncy97fS9jb25uZWN0/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/catalogs/{}/connect 2023-06-01-preview -->

#### examples

- Connect
```bash
devcenter admin catalog connect --name "CentralCatalog" --dev-center-name "Contoso" --resource-group "rg1"
```
16 changes: 16 additions & 0 deletions Commands/devcenter/admin/catalog/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,19 @@ Create a catalog.
```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 "CentralCatalog" --dev-center-name "Contoso" --resource-group "rg1"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9jYXRhbG9ncy97fQ==/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/catalogs/{} 2023-06-01-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 "CentralCatalog" --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 "CentralCatalog" --dev-center-name "Contoso" --resource-group "rg1"
```
11 changes: 11 additions & 0 deletions Commands/devcenter/admin/catalog/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Delete a catalog resource.
```bash
devcenter admin catalog delete --name "CentralCatalog" --dev-center-name "Contoso" --resource-group "rg1"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9jYXRhbG9ncy97fQ==/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/catalogs/{} 2023-06-01-preview -->

#### examples

- Delete
```bash
devcenter admin catalog delete --name "CentralCatalog" --dev-center-name "Contoso" --resource-group "rg1"
```
11 changes: 11 additions & 0 deletions Commands/devcenter/admin/catalog/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ List catalogs for a dev center.
```bash
devcenter admin catalog list --dev-center-name "Contoso" --resource-group "rg1"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9jYXRhbG9ncw==/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/catalogs 2023-06-01-preview -->

#### examples

- List
```bash
devcenter admin catalog list --dev-center-name "Contoso" --resource-group "rg1"
```
11 changes: 11 additions & 0 deletions Commands/devcenter/admin/catalog/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Get a catalog.
```bash
devcenter admin catalog show --name "CentralCatalog" --dev-center-name "Contoso" --resource-group "rg1"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9jYXRhbG9ncy97fQ==/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/catalogs/{} 2023-06-01-preview -->

#### examples

- Get
```bash
devcenter admin catalog show --name "CentralCatalog" --dev-center-name "Contoso" --resource-group "rg1"
```
11 changes: 11 additions & 0 deletions Commands/devcenter/admin/catalog/_sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Syncs templates for a template source.
```bash
devcenter admin catalog sync --name "CentralCatalog" --dev-center-name "Contoso" --resource-group "rg1"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9jYXRhbG9ncy97fS9zeW5j/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/catalogs/{}/sync 2023-06-01-preview -->

#### examples

- Sync
```bash
devcenter admin catalog sync --name "CentralCatalog" --dev-center-name "Contoso" --resource-group "rg1"
```
11 changes: 11 additions & 0 deletions Commands/devcenter/admin/catalog/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Update a catalog.
```bash
devcenter admin catalog update --git-hub path="/environments" --name "CentralCatalog" --dev-center-name "Contoso" --resource-group "rg1"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9jYXRhbG9ncy97fQ==/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/catalogs/{} 2023-06-01-preview -->

#### examples

- Update
```bash
devcenter admin catalog update --git-hub path="/environments" --name "CentralCatalog" --dev-center-name "Contoso" --resource-group "rg1"
```
3 changes: 3 additions & 0 deletions Commands/devcenter/admin/catalog/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Manage catalogs.

## Commands

- [connect](/Commands/devcenter/admin/catalog/_connect.md)
: Connects a catalog to enable syncing.

- [create](/Commands/devcenter/admin/catalog/_create.md)
: Create a catalog.

Expand Down
11 changes: 11 additions & 0 deletions Commands/devcenter/admin/check-name-availability/_execute.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Check the availability of name for resource.
```bash
devcenter admin check-name-availability execute --name "name1" --type "Microsoft.DevCenter/devcenters"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvY2hlY2tuYW1lYXZhaWxhYmlsaXR5/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.devcenter/checknameavailability 2023-06-01-preview -->

#### examples

- Check name availability
```bash
devcenter admin check-name-availability execute --name "name1" --type "Microsoft.DevCenter/devcenters"
```
11 changes: 11 additions & 0 deletions Commands/devcenter/admin/devbox-definition/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Create a dev box definition.
```bash
devcenter admin devbox-definition create --location "eastus" --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"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9kZXZib3hkZWZpbml0aW9ucy97fQ==/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/devboxdefinitions/{} 2023-06-01-preview -->

#### examples

- Create
```bash
devcenter admin devbox-definition create --location "eastus" --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"
```
11 changes: 11 additions & 0 deletions Commands/devcenter/admin/devbox-definition/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Delete a dev box definition.
```bash
devcenter admin devbox-definition delete --name "WebDevBox" --dev-center-name "Contoso" --resource-group "rg1"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9kZXZib3hkZWZpbml0aW9ucy97fQ==/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/devboxdefinitions/{} 2023-06-01-preview -->

#### examples

- Delete
```bash
devcenter admin devbox-definition delete --name "WebDevBox" --dev-center-name "Contoso" --resource-group "rg1"
```
17 changes: 17 additions & 0 deletions Commands/devcenter/admin/devbox-definition/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,20 @@ List dev box definitions configured for a dev center or project.
```bash
devcenter admin devbox-definition list --project-name "ContosoProject" --resource-group "rg1"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9kZXZib3hkZWZpbml0aW9ucw==/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/devboxdefinitions 2023-06-01-preview -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/projects/{}/devboxdefinitions 2023-06-01-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"
```
17 changes: 17 additions & 0 deletions Commands/devcenter/admin/devbox-definition/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,20 @@ Get a dev box definition configured for a dev center or a project.
```bash
devcenter admin devbox-definition show --name "WebDevBox" --project-name "ContosoProject" --resource-group "rg1"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9kZXZib3hkZWZpbml0aW9ucy97fQ==/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/devboxdefinitions/{} 2023-06-01-preview -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/projects/{}/devboxdefinitions/{} 2023-06-01-preview -->

#### examples

- Get a dev center dev box definition
```bash
devcenter admin devbox-definition show --name "WebDevBox" --dev-center-name "Contoso" --resource-group "rg1"
```

- Get a project dev box definition
```bash
devcenter admin devbox-definition show --name "WebDevBox" --project-name "ContosoProject" --resource-group "rg1"
```
11 changes: 11 additions & 0 deletions Commands/devcenter/admin/devbox-definition/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Update a dev box definition.
```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"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fS9kZXZib3hkZWZpbml0aW9ucy97fQ==/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{}/devboxdefinitions/{} 2023-06-01-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"
```
12 changes: 12 additions & 0 deletions Commands/devcenter/admin/devcenter/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,15 @@ Create a dev center.
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"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fQ==/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{} 2023-06-01-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"
```
11 changes: 11 additions & 0 deletions Commands/devcenter/admin/devcenter/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,14 @@ Delete a dev center.
```bash
devcenter admin devcenter delete --name "Contoso" --resource-group "rg1"
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycy97fQ==/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters/{} 2023-06-01-preview -->

#### examples

- Delete
```bash
devcenter admin devcenter delete --name "Contoso" --resource-group "rg1"
```
17 changes: 17 additions & 0 deletions Commands/devcenter/admin/devcenter/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,20 @@ List all dev centers in a resource group.
```bash
devcenter admin devcenter list
```

### [2023-06-01-preview](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5kZXZjZW50ZXIvZGV2Y2VudGVycw==/2023-06-01-preview.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.devcenter/devcenters 2023-06-01-preview -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.devcenter/devcenters 2023-06-01-preview -->

#### examples

- List by resource group
```bash
devcenter admin devcenter list --resource-group "rg1"
```

- List by subscription
```bash
devcenter admin devcenter list
```
Loading

0 comments on commit 753fb59

Please sign in to comment.