-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f26a94a
commit 1eec2c8
Showing
3 changed files
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@description('ACR replication resource location') | ||
param acrReplicationLocation string | ||
|
||
@description('Parent ACR resource name') | ||
param acrReplicationParentAcrName string | ||
|
||
@minLength(5) | ||
@maxLength(40) | ||
@description('ACR replication name (must be globally unique)') | ||
param acrReplicationReplicaName string | ||
|
||
resource parentAcr 'Microsoft.ContainerRegistry/registries@2023-11-01-preview' existing = { | ||
name: acrReplicationParentAcrName | ||
} | ||
|
||
resource acrReplication 'Microsoft.ContainerRegistry/registries/replications@2023-11-01-preview' = { | ||
parent: parentAcr | ||
name: acrReplicationReplicaName | ||
location: acrReplicationLocation | ||
properties: { | ||
regionEndpointEnabled: true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters