Skip to content

Commit 3643f8e

Browse files
authored
Merge pull request #197071 from sandeepraichura/patch-1
Update troubleshooting-shared-images.md
2 parents 2197116 + d913991 commit 3643f8e

File tree

1 file changed

+8
-29
lines changed

1 file changed

+8
-29
lines changed

articles/virtual-machines/troubleshooting-shared-images.md

Lines changed: 8 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -20,35 +20,14 @@ If you have problems performing any operations on Azure Compute Gallery (formerl
2020

2121
## Creating or modifying a gallery ##
2222

23-
**Message**: *Gallery name is invalid. Allowed characters are English alphanumeric characters, with underscores, and periods allowed in the middle, up to 80 characters total. All other special characters, including dashes, are disallowed.*
24-
**Cause**: The name for the gallery does not meet the naming requirements.
25-
**Workaround**: Choose a name that meets the following conditions:
26-
- Has an 80-character limit
27-
- Contains only English letters, numbers, underscores, and periods
28-
- Starts and ends with English letters or numbers
29-
30-
**Message**: *The provided resource name \<galleryName\> has these invalid trailing characters: \<character\>. The name can not end with characters: \<character\>*
31-
**Cause**: The name for the gallery ends with a period or underscore.
32-
**Workaround**: Choose a name for the gallery that meets the following conditions:
33-
- Has an 80-character limit
34-
- Contains only English letters, numbers, underscores, and periods
35-
- Starts and ends with English letters or numbers
36-
37-
**Message**: *The provided location \<region\> is not available for resource type 'Microsoft.Compute/galleries'. List of available regions for the resource type is …*
38-
**Cause**: The region specified for the gallery is incorrect or requires an access request.
39-
**Workaround**: Check that the region name is correct. If the region name is correct, submit [an access request](/troubleshoot/azure/general/region-access-request-process) for the region.
40-
41-
**Message**: *Can not delete resource before nested resources are deleted.*
42-
**Cause**: You've tried to delete a gallery that contains at least one existing image definition. A gallery must be empty before it can be deleted.
43-
**Workaround**: Delete all image definitions inside the gallery and then proceed to delete the gallery. If the image definition contains image versions, you must delete the image versions before you delete the image definitions.
44-
45-
**Message**: *The gallery name \<galleryName\> is not unique within the subscription \<subscriptionID\>. Please pick another gallery name.*
46-
**Cause**: You have an existing gallery with the same name and have tried to create another gallery with the same name.
47-
**Workaround**: Choose a different name for the gallery.
48-
49-
**Message**: *The resource \<galleryName\> already exists in location \<region\_1\> in resource group \<resourceGroup\>. A resource with the same name cannot be created in location \<region\_2\>. Please select a new resource name.*
50-
**Cause**: You have an existing gallery with the same name and have tried to create another gallery with the same name.
51-
**Workaround**: Choose a different name for the gallery.
23+
| Error Message | Cause | Mitigation |
24+
| :-------------| :-----| :----------|
25+
| Gallery name is invalid. Allowed characters are English alphanumeric characters, with underscores, and periods allowed in the middle, up to 80 characters total. All other special characters, including dashes, are disallowed. | The name for the gallery does not meet the naming requirements | Choose a name that meets the following conditions: - <ol><li> Has an 80-character limit</li><li>Contains only English letters, numbers, underscores, and periods</li><li>Starts and ends with English letters or numbers</ol> |
26+
| The provided resource name \<galleryName\> has these invalid trailing characters: \<character\>. The name can not end with characters: \<character\> | The name for the gallery ends with a period or underscore | Choose a name for the gallery that meets the following conditions: - <ol><li> Has an 80-character limit</li><li>Contains only English letters, numbers, underscores, and periods</li><li>Starts and ends with English letters or numbers</ol> |
27+
| The provided location \<region\> is not available for resource type 'Microsoft.Compute/galleries'. List of available regions for the resource type is … | The region specified for the gallery is incorrect or requires an access request | Check that the region name is correct. If the region name is correct, submit [an access request](/troubleshoot/azure/general/region-access-request-process) for the region|
28+
| Can not delete resource before nested resources are deleted | You've tried to delete a gallery that contains at least one existing image definition. A gallery must be empty before it can be deleted | Delete all image definitions inside the gallery and then proceed to delete the gallery. If the image definition contains image versions, you must delete the image versions before you delete the image definitions |
29+
| The gallery name \<galleryName\> is not unique within the subscription \<subscriptionID\>. Please pick another gallery name | You have an existing gallery with the same name and have tried to create another gallery with the same name | Choose a different name for the gallery |
30+
| The resource \<galleryName\> already exists in location \<region\_1\> in resource group \<resourceGroup\>. A resource with the same name cannot be created in location \<region\_2\>. Please select a new resource name | You have an existing gallery with the same name and have tried to create another gallery with the same name | Choose a different name for the gallery
5231

5332
## Creating or modifying image definitions ##
5433

0 commit comments

Comments
 (0)