Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing resource names/short names for Container Apps and Container Apps Environment. #37

Closed
omon77 opened this issue Nov 3, 2023 · 2 comments

Comments

@omon77
Copy link

omon77 commented Nov 3, 2023

Tool version
v3.1.1

Describe the bug
Missing some of the resource types and their abbreivations, specifically Container Apps and Container Apps Environments.

Resource Resource provider namespace Abbreviation
Container apps Microsoft.App/containerApps ca
Container apps environment Microsoft.App/managedEnvironments cae

To Reproduce
N/A

Expected behavior

Screenshots
N/A

Installation Method
N/A

Additional context
Please see this for reference: https://learn.microsoft.com/en-us/azure/cloud-adoption-framework/ready/azure-best-practices/resource-abbreviations

@jamasten
Copy link
Contributor

jamasten commented Dec 6, 2023

@omon77 we have added this to our backlog and will add these in a future update. Thanks!

@jamasten jamasten closed this as completed Dec 6, 2023
@cyrilzhouibo
Copy link

cyrilzhouibo commented Jun 3, 2024

Has this been fixed? I can't find Container apps in V 4.2.0

I can find the naming rule for container app here:
https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.ContainerApp.Name/

I can't find the one for Container apps environment.

I imported the followings according to the new Container Apps Environment UI:

{
    "Resource": "Microsoft.App/containerApps",
    "Optional": "UnitDept",
    "Exclude": "Org,Function",
    "Property": "",
    "ShortName": "ca",
    "Scope": "resource group",
    "LengthMin": "2",
    "LengthMax": "32",
    "ValidText": "Lowercase letters, numbers, and hyphens. Start with lowercase letter.  End with lowercase letter or number",
    "InvalidText": "",
    "InvalidCharacters": "",
    "InvalidCharactersStart": "",
    "InvalidCharactersEnd": "",
    "InvalidCharactersConsecutive": "",
    "Regx": "^[a-z][a-z0-9-]{2,30}[a-z0-9]$",
    "StaticValues": "",
    "Enabled": true,
    "ApplyDelimiter": true
},
{
    "Resource": "Microsoft.App/managedEnvironments",
    "Optional": "UnitDept",
    "Exclude": "Org,Function",
    "Property": "",
    "ShortName": "cae",
    "Scope": "region",
    "LengthMin": "2",
    "LengthMax": "60",
    "ValidText": "Alphanumerics and hyphens.",
    "InvalidText": "",
    "InvalidCharacters": "",
    "InvalidCharactersStart": "",
    "InvalidCharactersEnd": "",
    "InvalidCharactersConsecutive": "",
    "Regx": "^[a-zA-Z0-9-]{2,60}$",
    "StaticValues": "",
    "Enabled": true,
    "ApplyDelimiter": true
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants