Azure / Azure/azure-powershell

[Feature]: Support to attach ACR by resourceId when create a new AKS cluster

Open
#20,517 1 comment 0 reactions 1 assignee Assigned to @YanaXu View on GitHub
act-observability-squad AKS feature-request Tracking
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description of the new feature

Current `New-AzAksCluster` only support to attach the ACR in the same subscription with the aks cluster.
Please support to attach the ACR in another subscription by using resourceId.

### Proposed implementation details (optional)
Current code use ACR name to query the resourceId and use the resourceId to grant the permission of ACR. We can just use the resourceId from parameter to do the same thing.
_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.