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
26 changes: 26 additions & 0 deletions Commands/sig/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,29 @@ Create a shared image gallery.
```bash
sig create --resource-group MyResourceGroup --gallery-name MyGallery
```

### [2025-03-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fQ==/2025-03-03.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{} 2025-03-03 -->

#### examples

- Create a shared image gallery
```bash
sig create --resource-group MyResourceGroup --gallery-name MyGallery
```

- Create a shared image gallery with enabled system assigned identity.
```bash
sig create --resource-group MyResourceGroup --gallery-name MyGallery123 --system-assigned
```

- Create a shared image gallery with a user assigned identity.
```bash
sig create --resource-group MyResourceGroup --gallery-name MyGallery123 --user-assigned id1
```

- Create a shared image gallery with both system and user assigned identity.
```bash
sig create --resource-group MyResourceGroup --gallery-name MyGallery123 --system-assigned --user-assigned id1
```
4 changes: 4 additions & 0 deletions Commands/sig/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ Delete a Shared Image Gallery.
### [2021-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fQ==/2021-10-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{} 2021-10-01 -->

### [2025-03-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fQ==/2025-03-03.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{} 2025-03-03 -->
4 changes: 4 additions & 0 deletions Commands/sig/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ Retrieve information about a Shared Image Gallery.
### [2021-10-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fQ==/2021-10-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{} 2021-10-01 -->

### [2025-03-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fQ==/2025-03-03.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{} 2025-03-03 -->
16 changes: 16 additions & 0 deletions Commands/sig/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,19 @@ Update a Shared Image Gallery.
```bash
sig update -g myResourceGroup --gallery-name myGallery --permissions Community --publisher-uri myPublisherUri --publisher-email myPublisherEmail --eula myEula --public-name-prefix myPublicNamePrefix
```

### [2025-03-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fQ==/2025-03-03.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{} 2025-03-03 -->

#### examples

- Enable gallery to be shared to subscription or tenant
```bash
sig update --resource-group myResourceGroup --gallery-name myGallery --permissions groups
```

- Update gallery from private to community
```bash
sig update -g myResourceGroup --gallery-name myGallery --permissions Community --publisher-uri myPublisherUri --publisher-email myPublisherEmail --eula myEula --public-name-prefix myPublicNamePrefix
```
31 changes: 31 additions & 0 deletions Commands/sig/identity/_assign.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# [Command] _sig identity assign_

Assign the user or system managed identities.

## Versions

### [2025-03-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fQ==/2025-03-03.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{} 2025-03-03 identity -->

#### examples

- Enable the system assigned identity.
```bash
sig identity assign -g MyResourceGroup -r MyGalleryName --system-assigned
```

- Add a user assigned identity.
```bash
sig identity assign -g MyResourceGroup -r MyGalleryName --user-assigned id1
```

- Add 2 user assigned identities.
```bash
sig identity assign -g MyResourceGroup -r MyGalleryName --user-assigned id1 id2
```

- Enable system assigned identity and add a user assigned identity.
```bash
sig identity assign -g MyResourceGroup -r MyGalleryName --system-assigned --user-assigned id1
```
36 changes: 36 additions & 0 deletions Commands/sig/identity/_remove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# [Command] _sig identity remove_

Remove the user or system managed identities.

## Versions

### [2025-03-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fQ==/2025-03-03.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{} 2025-03-03 identity -->

#### examples

- Remove the system assigned identity.
```bash
sig identity remove -g myResourceGroup -r myGalleryName --system-assigned
```

- Remove a user assigned identity.
```bash
sig identity remove -g myResourceGroup -r myGalleryName --user-assigned id1
```

- Remove 2 user assigned identities.
```bash
sig identity remove -g myResourceGroup -r myGalleryName --user-assigned id1 id2
```

- Remove all user assigned identities.
```bash
sig identity remove -g myResourceGroup -r myGalleryName --user-assigned
```

- Remove the system assigned ientity and user assigned identity.
```bash
sig identity remove -g myResourceGroup -r myGalleryName --system-assigned --user-assigned
```
16 changes: 16 additions & 0 deletions Commands/sig/identity/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _sig identity show_

Show the details of managed identities.

## Versions

### [2025-03-03](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2dhbGxlcmllcy97fQ==/2025-03-03.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.compute/galleries/{} 2025-03-03 identity -->

#### examples

- Show the managed identity.
```bash
sig identity show -g myResourceGroup -r myGalleryName
```
14 changes: 14 additions & 0 deletions Commands/sig/identity/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# [Group] _sig identity_

Manage Identity

## Commands

- [assign](/Commands/sig/identity/_assign.md)
: Assign the user or system managed identities.

- [remove](/Commands/sig/identity/_remove.md)
: Remove the user or system managed identities.

- [show](/Commands/sig/identity/_show.md)
: Show the details of managed identities.
3 changes: 3 additions & 0 deletions Commands/sig/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ Manage shared image gallery.
- [gallery-application](/Commands/sig/gallery-application/readme.md)
: Manage gallery application.

- [identity](/Commands/sig/identity/readme.md)
: Manage Identity

- [image-definition](/Commands/sig/image-definition/readme.md)
: Manage shared gallery image with VM

Expand Down

Large diffs are not rendered by default.

Loading
Loading