Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions Commands/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,9 @@
- [sig](/Commands/sig/readme.md)
: Manage shared image gallery.

- [site](/Commands/site/readme.md)
: Manage Site

- [site-recovery](/Commands/site-recovery/readme.md)
: Manage Site Recovery Service

Expand Down
33 changes: 33 additions & 0 deletions Commands/site/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# [Command] _site create_

Create a site resource scoped to a resource group, subscription, or service group.

Scope Options:\
--resource-group: Scope the site to a specific resource group. Note: When using this option, you must also provide --subscription.\
--subscription: Scope the site to a subscription.\
--service-group: Scope the site to a service group.

## Versions

### [2025-06-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuZWRnZS9zaXRlcy97fQ==/2025-06-01.xml) **Stable**

<!-- mgmt-plane /providers/microsoft.management/servicegroups/{}/providers/microsoft.edge/sites/{} 2025-06-01 -->
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.edge/sites/{} 2025-06-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.edge/sites/{} 2025-06-01 -->

#### examples

- Create a Site at service group scope
```bash
site create --site-name TestSiteName --service-group TestSGName --display-name 'Test Site Display' --description "Test Site" --labels key1="value1" key2="value2" --street-address1="16 TOWNSEND ST" --street-address2="UNIT 1" --city="newyork" --state-or-province="CA" --country="US" --postal-code="94107"
```

- Create a Site at resource group scope
```bash
site create --site-name TestSiteName --resource-group TestRGName --subscription 000000000-0000-0000-0000-000000000000 --display-name 'Test Site Display' --description "Test Site" --street-address1="16 TOWNSEND ST" --street-address2="UNIT 1" --city="newyork" --state-or-province="CA" --country="US" --postal-code="94107"
```

- Create a Site at subscription scope
```bash
site create --site-name TestSiteName --subscription 000000000-0000-0000-0000-000000000000 --display-name 'Test Site Display' --description "Test Site" --labels key1="value1" --street-address1="16 TOWNSEND ST" --street-address2="UNIT 1" --city="newyork" --state-or-province="CA" --country="US" --postal-code="94107"
```
33 changes: 33 additions & 0 deletions Commands/site/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# [Command] _site delete_

Deletes an existing site resource scoped to a resource group, subscription, or service group.

Scope Options:\
--resource-group: Target a site within a specific resource group. Note: Requires --subscription.\
--subscription: Target a site scoped to a subscription.\
--service-group: Target a site scoped to a service group.

## Versions

### [2025-06-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuZWRnZS9zaXRlcy97fQ==/2025-06-01.xml) **Stable**

<!-- mgmt-plane /providers/microsoft.management/servicegroups/{}/providers/microsoft.edge/sites/{} 2025-06-01 -->
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.edge/sites/{} 2025-06-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.edge/sites/{} 2025-06-01 -->

#### examples

- Delete a Site at service group scope
```bash
site delete --site-name TestSiteName --service-group TestSGName
```

- Delete a Site at resource group scope
```bash
site delete --site-name TestSiteName --resource-group TestRGName --subscription 00000000-0000-0000-0000-000000000000
```

- Delete a Site at subscription scope
```bash
site delete --site-name TestSiteName --subscription 00000000-0000-0000-0000-000000000000
```
33 changes: 33 additions & 0 deletions Commands/site/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# [Command] _site list_

Lists all site resources scoped to a resource group, subscription, or service group.

Scope Options:\
--resource-group: List sites within a specific resource group. Note: Requires --subscription.\
--subscription: List sites scoped to a subscription.\
--service-group: List sites scoped to a service group.

## Versions

### [2025-06-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuZWRnZS9zaXRlcw==/2025-06-01.xml) **Stable**

<!-- mgmt-plane /providers/microsoft.management/servicegroups/{}/providers/microsoft.edge/sites 2025-06-01 -->
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.edge/sites 2025-06-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.edge/sites 2025-06-01 -->

#### examples

- List Sites at service group scope
```bash
site list --service-group TestSGName
```

- List Sites at resource group scope
```bash
site list --resource-group TestRGName --subscription 00000000000-0000-0000-0000-000000000000
```

- List Sites at subscription scope
```bash
site list --subscription 00000000000-0000-0000-0000-000000000000
```
33 changes: 33 additions & 0 deletions Commands/site/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# [Command] _site show_

Displays details of a specific site resource scoped to a resource group, subscription, or service group.

Scope Options:\
--resource-group: Show site details within a specific resource group. Note: Requires --subscription.\
--subscription: Show site details scoped to a subscription.\
--service-group: Show site details scoped to a service group.

## Versions

### [2025-06-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuZWRnZS9zaXRlcy97fQ==/2025-06-01.xml) **Stable**

<!-- mgmt-plane /providers/microsoft.management/servicegroups/{}/providers/microsoft.edge/sites/{} 2025-06-01 -->
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.edge/sites/{} 2025-06-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.edge/sites/{} 2025-06-01 -->

#### examples

- Show a Site at service group scope
```bash
site show --site-name TestSiteName --service-group TestSGName
```

- Show a Site at resource group scope
```bash
site show --site-name TestSiteName --resource-group TestRGName --subscription 00000000-0000-0000-0000-000000000000
```

- Show a Site at subscription scope
```bash
site show --site-name TestSiteName --subscription 00000000-0000-0000-0000-000000000000
```
34 changes: 34 additions & 0 deletions Commands/site/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# [Command] _site update_

Updates an existing site resource scoped to a resource group, subscription, or service group.

Scope Options:\
--resource-group: Update a site within a specific resource group.\
Note: Requires --subscription.\
--subscription: Update a site scoped to a subscription.\
--service-group: Update a site scoped to a service group.

## Versions

### [2025-06-01](/Resources/mgmt-plane/L3Byb3ZpZGVycy9taWNyb3NvZnQubWFuYWdlbWVudC9zZXJ2aWNlZ3JvdXBzL3t9L3Byb3ZpZGVycy9taWNyb3NvZnQuZWRnZS9zaXRlcy97fQ==/2025-06-01.xml) **Stable**

<!-- mgmt-plane /providers/microsoft.management/servicegroups/{}/providers/microsoft.edge/sites/{} 2025-06-01 -->
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.edge/sites/{} 2025-06-01 -->
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.edge/sites/{} 2025-06-01 -->

#### examples

- Update a Site at service group scope
```bash
site update --site-name TestSiteName --service-group TestSGName --description "Test Site" --labels key1="value1" key2="value2" --street-address1="17 TOWNSEND ST" --street-address2="UNIT 2" --city="newyork" --state-or-province="CA" --country="US" --postal-code="94107"
```

- Update a Site at resource group scope
```bash
site update --site-name TestSiteName --resource-group TestMSRG --subscription 00000000-0000-0000-0000-000000000000 --description "Test Site" --labels key1="value1" key2="value2" --street-address1="17 TOWNSEND ST" --street-address2="UNIT 2" --city="newyork" --state-or-province="CA" --country="US" --postal-code="94107"
```

- Update a Site at subscription scope
```bash
site update --site-name TestSiteName --subscription 00000000-0000-0000-0000-000000000000 --description "Test Site" --labels key1="value1" key2="value2" --street-address1="17 TOWNSEND ST" --street-address2="UNIT 2" --city="newyork" --state-or-province="CA" --country="US" --postal-code="94107"
```
20 changes: 20 additions & 0 deletions Commands/site/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# [Group] _site_

Manage Site

## Commands

- [create](/Commands/site/_create.md)
: Create a site resource scoped to a resource group, subscription, or service group.

- [delete](/Commands/site/_delete.md)
: Deletes an existing site resource scoped to a resource group, subscription, or service group.

- [list](/Commands/site/_list.md)
: Lists all site resources scoped to a resource group, subscription, or service group.

- [show](/Commands/site/_show.md)
: Displays details of a specific site resource scoped to a resource group, subscription, or service group.

- [update](/Commands/site/_update.md)
: Updates an existing site resource scoped to a resource group, subscription, or service group.
3 changes: 0 additions & 3 deletions Commands/workload-orchestration/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ Manage Edge
- [schema-reference](/Commands/workload-orchestration/schema-reference/readme.md)
: Manage Schema Reference

- [site](/Commands/workload-orchestration/site/readme.md)
: Manage Site

- [solution-template](/Commands/workload-orchestration/solution-template/readme.md)
: Manage Solution Template

Expand Down
11 changes: 0 additions & 11 deletions Commands/workload-orchestration/site/_create.md

This file was deleted.

11 changes: 0 additions & 11 deletions Commands/workload-orchestration/site/_delete.md

This file was deleted.

11 changes: 0 additions & 11 deletions Commands/workload-orchestration/site/_list.md

This file was deleted.

11 changes: 0 additions & 11 deletions Commands/workload-orchestration/site/_show.md

This file was deleted.

11 changes: 0 additions & 11 deletions Commands/workload-orchestration/site/_update.md

This file was deleted.

20 changes: 0 additions & 20 deletions Commands/workload-orchestration/site/readme.md

This file was deleted.

Loading