File tree Expand file tree Collapse file tree 2 files changed +41
-0
lines changed
Expand file tree Collapse file tree 2 files changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ @description ('Ledger Name' )
2+ @minLength (3 )
3+ @maxLength (24 )
4+ param ledgerName string = resourceGroup ().name
5+
6+ @description ('The client OID to grant access to test resources.' )
7+ param testApplicationOid string
8+
9+ @description ('The location of the resource. By default, this is the same as the resource group.' )
10+ param location string = resourceGroup ().location
11+
12+ var azureConfidentialLedgerUrl = 'https://${ledgerName }.confidential-ledger.azure.com'
13+
14+ resource ledgerName_resource 'Microsoft.ConfidentialLedger/ledgers@2022-05-13' = {
15+ name : ledgerName
16+ location : location
17+ properties : {
18+ ledgerType : 'Public'
19+ aadBasedSecurityPrincipals : [
20+ {
21+ principalId : testApplicationOid
22+ ledgerRoleName : 'Administrator'
23+ }
24+ ]
25+ }
26+ }
27+
28+ output CONFIDENTIALLEDGER_ENDPOINT string = azureConfidentialLedgerUrl
Original file line number Diff line number Diff line change 1+ trigger : none
2+
3+ stages :
4+ - template : /eng/pipelines/templates/stages/archetype-sdk-tests.yml
5+ parameters :
6+ BuildTargetingString : azure-confidentialledger*
7+ ServiceDirectory : confidentialledger
8+ MatrixReplace :
9+ - TestSamples=.*/true
10+ MaxParallel : 1
11+ EnvVars :
12+ TEST_MODE : " RunLiveNoRecord" # use when allowing preparers to create the rgs for you
13+ AZURE_TEST_RUN_LIVE : " true" # use when utilizing the New-TestResources Script
You can’t perform that action at this time.
0 commit comments