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

Alias request: Microsoft.Network/virtualNetworks/subnets[*].serviceEndpoints[*] #891

Open
F-r-a-n-k-D opened this issue Jan 20, 2022 · 3 comments
Labels
alias-request Requests for new alias creation (either modifiable or not)

Comments

@F-r-a-n-k-D
Copy link

Details of the scenario you tried and the problem that is occurring

Deny the creation of serviceEndpoints in all scenario's:
Creation from virtual network/settings/subnets/
Creation from virtual network/settings/service endpoints

Suggested solution to the issue

Register an alias to support using Microsoft.Network/virtualNetworks/subnets[].serviceEndpoints[] in a policy as follows:

"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.Network/virtualNetworks"
},
{
"count": {
"field": "Microsoft.Network/virtualNetworks/subnets[].serviceEndpoints[]"
},
"greaterOrEquals": 1
}
]
}

@nehakulkarni123 nehakulkarni123 added the alias-request Requests for new alias creation (either modifiable or not) label Jan 31, 2022
@kenieva
Copy link
Collaborator

kenieva commented Feb 9, 2022

@F-r-a-n-k-D , these are the aliases exposed today:
Microsoft.Network/virtualNetworks/subnets[].serviceEndpoints[].locations[]
Microsoft.Network/virtualNetworks/subnets[
].serviceEndpoints[*].service

@F-r-a-n-k-D
Copy link
Author

Thank you!
How long does it take for these new aliases to be available in region West-Europe?

@kenieva
Copy link
Collaborator

kenieva commented Feb 10, 2022

Those should be available in West-Europe...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alias-request Requests for new alias creation (either modifiable or not)
Projects
None yet
Development

No branches or pull requests

3 participants