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

Merge from master, update tests, generated code for 2021-03-01 #21336

Merged
merged 893 commits into from
May 25, 2021
Merged
Changes from 1 commit
Commits
Show all changes
893 commits
Select commit Hold shift + click to select a range
f4f025c
[FR] Add API version to new methods in 2.1-preview.x (#20817)
maririos May 4, 2021
bb2d0e7
Topic filter sample (#20816)
JoshLove-msft May 4, 2021
2650a69
Update identity to enable live testing in sovereign clouds for multip…
Luyunmt May 4, 2021
32d3cf2
[autorest.csharp] Bump to latest, write transforms to correct 2 swagg…
chamons May 4, 2021
fdab703
Pick up updated T2 mgmt generator (#20839)
pakrym May 4, 2021
d34514c
Reference correct version (#20844)
JoshLove-msft May 4, 2021
b600289
Turn BearerTokenAuthenticationPolicy into BearerTokenChallengeAuthent…
christothes May 4, 2021
459e239
Update AutoRest C# version to 3.0.0-beta.20210504.2 (#20851)
azure-sdk May 5, 2021
3146fe4
Add QueryTimeSpan type (#20841)
pakrym May 5, 2021
8a30dbb
add comments to properties (#20849)
maririos May 5, 2021
21f1f09
Temporary remove the NetworkTimeout (#20860)
pakrym May 5, 2021
05144b7
[TSI] Readme for samples (#20765)
bikamani May 5, 2021
4e1a7f0
Regenerated from an updated 2020-03-01 swagger that removed faulty pr…
May 5, 2021
49f34a5
Updated TPM attestation APIs to remove BinaryData parameters. (#20843)
LarryOsterman May 5, 2021
24adb39
[Event Hubs Client] Move Partition Initialization to the Background (…
jsquire May 5, 2021
475dd78
Update ConfidentialLedger CI path (#20868)
christothes May 5, 2021
0d92d3f
[FR] Flatten TextSyle in TextAppearance (#20857)
maririos May 5, 2021
1b9292a
updated readme and changelog for may release (#20871)
glorialimicrosoft May 6, 2021
fa09779
Update samples to use #if SNIPPET (#20847)
JoshLove-msft May 6, 2021
37690e4
[Event Hubs Processor] Validate at Startup (#20861)
jsquire May 6, 2021
faa8b96
Update AutoRest C# version (#20869)
azure-sdk May 6, 2021
4e0698b
[ACR] Cache Refresh Token (#20753)
annelo-msft May 6, 2021
2a53511
Initial Confidential Ledger generated client (#20865)
christothes May 6, 2021
a2b0d0d
[TSI] Address internal feedback for samples and readme (#20878)
bikamani May 6, 2021
fa061ce
Regenerate SDK for new Swagger File, to remove 400 as expected respon…
aditimalladi May 6, 2021
4d8ec84
[Event Hubs Client] Test Configuration Adjustments (#20888)
jsquire May 6, 2021
4635967
Prepare Azure.Core release (#20885)
pakrym May 6, 2021
1c3405f
[TSI] Address Managed Team API Review comments (#20879)
May 6, 2021
ad66750
Rename (#20890)
christothes May 6, 2021
020443e
update changelongs for release (#20891)
christothes May 6, 2021
ebc00da
[TSI] Clarify where a variant type came from (#20894)
May 6, 2021
9cf31fa
Create SUPPORT.md for .NET repo (#20848)
elraikhm May 6, 2021
d20ec22
[Event Hubs Processor] Incorporate Validation Feedback (#20884)
jsquire May 6, 2021
4910219
improve docstrings (#20881)
maririos May 6, 2021
b67ac69
Add public API spell check to Analyze job (#20088)
danieljurek May 6, 2021
96559b6
Samples for labeled tables (#20840)
maririos May 6, 2021
a47a11a
Revert changes to SetDevVersion. (#20900)
azure-sdk May 6, 2021
98311bc
Back out SetDevVersion changes. (#20899)
mitchdenny May 6, 2021
ab7400c
Add source generator for system event mapping/constants (#20873)
JoshLove-msft May 6, 2021
8c3f01b
Comment out assert in test (#20876)
JoshLove-msft May 7, 2021
724f78f
Increment version for core releases (#20903)
azure-sdk May 7, 2021
28d8a61
Remove APICompat from released packages (#20886)
ankitarorabit May 7, 2021
d9de440
Extend Check Enforcer timeout (#20875)
mitchdenny May 7, 2021
30dd325
Increment version for eventhub releases (#20893)
azure-sdk May 7, 2021
8601ce1
Support modifying feature flag filter parameters (#20866)
pakrym May 7, 2021
cf5bbec
Prepare releases of extensions packages and AppConfig (#20887)
pakrym May 7, 2021
dbec0df
Add a JsonPath sanitization callback (#20892)
pakrym May 7, 2021
ba1cb04
Update Azure.Core and Experimental (#20915)
pakrym May 7, 2021
ddad158
tests (#20896)
maririos May 7, 2021
501bfb4
update the version in the .csproj file to 1.0.1, fix formatting in ch…
glorialimicrosoft May 7, 2021
6576bf4
Remove Azure.Core.props (#20917)
pakrym May 7, 2021
031bc7c
[Service Bus] Populate TransportType (#20920)
jsquire May 7, 2021
f863d37
[Messaging Function Extension] README Updates (#20924)
jsquire May 7, 2021
b734011
Upgrade MSAL and MSAL extesion library dependencies to latest (#20922)
schaabs May 7, 2021
df0571b
SDK update for TemplateSpecs GA API 2021-05-01 (#20846)
Xynoclafe May 7, 2021
d3e3141
Preparing for Storage STG 77 beta (#20812)
seanmcc-msft May 7, 2021
9c11803
Cleaned up breaking change description (#20929)
LarryOsterman May 7, 2021
7227b59
Add spell check for changed files (#20822)
danieljurek May 7, 2021
ffe08fc
Add better error handling in Prepare-Release (#20933)
azure-sdk May 8, 2021
6b3796b
Increment version for attestation releases (#20932)
azure-sdk May 8, 2021
9fc7224
Fix build warnings (#20921)
pakrym May 8, 2021
d473f73
Confidential Ledger samples (#20930)
christothes May 10, 2021
f57b415
CL samples (#20943)
christothes May 10, 2021
209a768
Enable anonymous access for ACR (#20919)
annelo-msft May 10, 2021
1782afc
Prepare for 11.3.0-beta.2 release for Search (#20948)
Mohit-Chakraborty May 10, 2021
d369751
[synapse] Add changelog for release (#20867)
chamons May 10, 2021
660d917
[Event Hubs] May Release Preparation (#20944)
jsquire May 10, 2021
0391a46
regenerating recoveryservices-backup C# SDK for swagger spec V2021-03…
chandrikagonuguntla May 10, 2021
446333a
[Communication] - SDK - Renamed EVs to consolidated set (#20925)
jbeauregardb May 10, 2021
69ff421
Prepare for EG release (#20956)
JoshLove-msft May 10, 2021
b7e138d
[Communication] Update the repeatabilityFirstSent timestamp to correc…
minnieliu May 10, 2021
e74f399
Add KV extension RBAC info (#20952)
pakrym May 10, 2021
3f8f6c6
ACR Beta2 Changelog updates (#20966)
annelo-msft May 11, 2021
fa3941a
Increment version for eventhub releases (#20975)
azure-sdk May 11, 2021
4a92b46
Increment version for tables releases (#20977)
azure-sdk May 11, 2021
d0a84e5
[Event Hubs Processor] May Release Preparation (#20976)
jsquire May 11, 2021
d45f1d3
Increment version for eventhub releases (#20978)
azure-sdk May 11, 2021
c368b4f
Increment version for synapse releases (#20983)
azure-sdk May 11, 2021
b83be61
Increment version for search releases (#20980)
azure-sdk May 11, 2021
22583bd
Setup INT live tests (#20906)
sacheun May 11, 2021
17a5e48
[MetricsAdvisor] Renamed all TopCount occurrences to MaxPageSize (#20…
kinelski May 11, 2021
1209ec2
Don't log task canceled exceptions as errors when stopping processor.…
JoshLove-msft May 11, 2021
73e40eb
Update AutoRest C# version (#20928)
azure-sdk May 11, 2021
85dad30
Update CHANGELOG.md with change info (#20988)
jastenze May 11, 2021
ace4898
Increment version for confidentialledger releases (#20987)
azure-sdk May 11, 2021
939e15a
SQL V5 SDK Release (#20267)
viparek May 11, 2021
70fe7ec
[MetricsAdvisor] Renamed SkipCount to Skip (#20990)
kinelski May 11, 2021
75b8dba
Update Event Grid version (#21004)
JoshLove-msft May 11, 2021
44b2795
Remove UseLegacyPowerShell (#20986)
christothes May 11, 2021
f6d49e3
Prepare Key Vault 4.2-beta release (#20901)
heaths May 11, 2021
b140b95
Make the query batch a simpler model (#21009)
pakrym May 11, 2021
2f3fb58
[Communication] - Divide live test pipeline for each SDK (#20902)
minnieliu May 11, 2021
d9b1026
[FR] Move to 2.1 GA (#20967)
maririos May 12, 2021
fb1f8a2
[TA] Targets service version 3.1-preview.5 (#20994)
maririos May 12, 2021
118cdfa
Added new api version 2021-02-01 in Az networking (#20989)
MikhailTryakhov May 12, 2021
976bb9e
Increment version for keyvault releases (#21015)
azure-sdk May 12, 2021
377a8a7
Increment version for communication releases (#21012)
azure-sdk May 12, 2021
52cd74b
Increment version for extensions releases (#21007)
azure-sdk May 12, 2021
b01eeb4
Increment version for eventgrid releases (#21002)
azure-sdk May 12, 2021
841eb21
Increment version for objectanchors releases (#20999)
azure-sdk May 12, 2021
bb5ebf8
Increment version for containerregistry releases (#20998)
azure-sdk May 12, 2021
c16509d
[LLC] Add draft of 'protocol method' help text (#20951)
chamons May 12, 2021
0677c04
Adding support for new storage serviceUri configurations (#19647)
karshinlin May 12, 2021
9d8c4d7
[CODEOWNERS] WebPubSub (#21003)
jsquire May 12, 2021
a98877b
[Smoke Tests] May Release Version Bumps (#21006)
jsquire May 12, 2021
74331a8
Prepare for release (#21022)
JoshLove-msft May 12, 2021
c63d99f
Dispose non buffered content streams (#20985)
pakrym May 12, 2021
518f191
Prepared Storage for release (#21013)
seanmcc-msft May 12, 2021
a69b2ff
set version to 3.1.0 (#21029)
maririos May 12, 2021
4f59d64
Sync eng/common directory with azure-sdk-tools for PR 1594 (#20958)
azure-sdk May 12, 2021
40b94f1
Unify Key Vault Administration APIs (#20968)
heaths May 12, 2021
d59fb44
Update Changelog for 1.4.0 GA release (#21030)
christothes May 12, 2021
6b59e17
changed back Tables api version from 2020-10 to 2020-08 (#20936)
dabenhamMic May 12, 2021
0ded17e
Increment version for storage releases (#21034)
azure-sdk May 12, 2021
ee390d2
Make Azure.Core cspell-clean (#21027)
pakrym May 12, 2021
7d5ea2b
[Communication] - Clean up communication pipeline parameters (#21033)
minnieliu May 12, 2021
019764a
Increment version for identity releases (#21037)
azure-sdk May 12, 2021
a58b18c
[TSI] - Address comments from SDK Board API review (#20962)
May 12, 2021
2e7c833
Rename EV (#21036)
armansabaa May 12, 2021
12be0ad
Remove note on v4 for Microsoft.Azure.ServiceBus as v5 is already out…
ramya-rao-a May 12, 2021
62091a1
[MetricsAdvisor] Updated test hook ID (#21039)
kinelski May 12, 2021
2be22f9
[TA] Add parameter DisableServiceLogs (#21028)
maririos May 12, 2021
b59fda0
[Purview] Regenerate Catalog Client (#21008)
ellismg May 12, 2021
6794341
[Purview Scanning] Update README.md and CHANGELOG.md (#21014)
ellismg May 12, 2021
5a1955c
Update service bus dependency (#21044)
JoshLove-msft May 12, 2021
6bef664
[MetricsAdvisor] Added Value and ExpectedValue properties (#20995)
kinelski May 13, 2021
557ebce
Increment package version after release of Azure.Messaging.ServiceBus…
azure-sdk May 13, 2021
77dded6
Increment version for eventgrid releases (#21052)
azure-sdk May 13, 2021
da09485
test changes for #13552 and #13578 (#21057)
christothes May 13, 2021
5c465ed
Increment version for purview releases (#21049)
azure-sdk May 13, 2021
b48a92c
Update owners (#20692)
omziv May 13, 2021
5d6e50e
Add StorageClientProvider support to EventHubs extension (#21047)
pakrym May 13, 2021
8c444d1
Fix AppendPath locic for escaped strings (#21061)
christothes May 13, 2021
afe8b73
Adding SDK for Microsoft.DataProtection (#20683)
mayankagg9722 May 13, 2021
aff1189
[Storage] Upgrade API version to 2021-04-01 (#20939)
blueww May 13, 2021
aef16b5
[synapse] Bump to fc5e2fbcfc3f585d38bdb1c513ce1ad2c570cf3d for hotfix…
chamons May 13, 2021
4decde8
generated new sdk and change test case (#20720)
ruiminhu May 13, 2021
fbd8b70
[Resources] Regenerate from API version 2021-01-01 and 2021-04-01 (#2…
shenglol May 13, 2021
67b971d
Remove analyzer suppressions (#21050)
JoshLove-msft May 13, 2021
e29e9a1
Remove receiver from MessageProcessor constructor (#21054)
JoshLove-msft May 13, 2021
d9fcc1d
[syanpse] Update CHANGELOG (#21064)
chamons May 13, 2021
d152fa5
[CODEOWNERS] Remove Wildcards in Messaging (#21060)
jsquire May 13, 2021
bda2134
Take Core reference (#21067)
christothes May 13, 2021
475d6a5
Prepare for release (#21051)
JoshLove-msft May 13, 2021
466298d
Add INT testing in sdk pipelines (#21068)
sacheun May 13, 2021
d4564ef
Ledger Digest Upload SDK (#21021)
rewongmicrosoft May 13, 2021
3558e77
Microsoft.StoragePool New Service SDK (#21040)
harshitha-akkaraju May 13, 2021
bad8607
Update gallery example, use 'Reset' rather than 'ResetToPrivate' (#20…
kangsun-ctrl May 13, 2021
964511e
Use column types for GetObject calls (#21071)
pakrym May 13, 2021
d234ae1
[Core] Improve OperationHelpers used by our LROs (#19105)
kinelski May 14, 2021
885e526
Prepare extensions release (#21077)
pakrym May 14, 2021
ccc25cb
[Communication] - SMS - Repeatability accepted check for SMS tests (#…
minnieliu May 14, 2021
e84f026
Update SubscriptionProperties.cs (#21081)
oscarcabrero May 14, 2021
f178168
allow multiple invocations of archetype-sdk-tests-generate (#21080)
azure-sdk May 14, 2021
a702f41
Update keyvault to enable live testing in sovereign clouds for multip…
zedy-wj May 14, 2021
40f3c7f
SDK changes for TrafficManager API 2018-08-01 (#20905)
allencal May 14, 2021
834a82f
[ACR] Implementation of API Updates for Beta 3 (#21078)
annelo-msft May 14, 2021
eb4a350
Update IoT Hub control plane to new version (#21072)
May 15, 2021
78b0e0a
Increment version for extensions releases (#21086)
azure-sdk May 15, 2021
acfc313
[MetricsAdvisor] Re-enabled GetHooksAsync sample (#21091)
kinelski May 17, 2021
b6ade84
[MetricsAdvisor] Whitelisted redacted headers for logging (#21093)
kinelski May 17, 2021
5437a95
enable healthcare again and updating pii tests (#21108)
maririos May 17, 2021
9e9700d
update readme issue (#21103)
v-yilinhu May 17, 2021
d6fd3a0
update readme issue (#21104)
v-yilinhu May 17, 2021
bd922d8
[MetricsAdvisor] Removed HttpRequest and Elasticsearch data sources (…
kinelski May 17, 2021
4e030e9
[Media] AVA SDK Addition (#20700)
hivyas May 17, 2021
26d6b81
Increment version for synapse releases (#21111)
azure-sdk May 17, 2021
0848378
Use explicit service version (#20770)
Mohit-Chakraborty May 17, 2021
1db9bf1
Initial Checkin for AVA Management SDK (#21070)
giakas May 17, 2021
5f16365
let's see (#21116)
kasobol-msft May 17, 2021
cc8b418
Blobs migration additions (#20965)
jaschrep-msft May 17, 2021
43d3823
Added support for message metadata. (#21097)
juancamilor May 17, 2021
9d30d33
Update AVA Management SDK to use beta instead of preview in version (…
giakas May 17, 2021
8045c0f
add more to changelog (#21110)
christothes May 17, 2021
4ff2606
[TA] Implement new Analyze sentiment in Analyze endpoint (#21109)
maririos May 17, 2021
c112a86
Make AzureKeyVaultConfigurationProvider case insensitive again (#21141)
pakrym May 18, 2021
c37f38b
Updates for ACR Beta 3 (#21123)
annelo-msft May 18, 2021
466362e
Add endpoint parameter to LogsClient and MetricsClient (#21073)
pakrym May 18, 2021
9a7801a
Increment version for extensions releases (#21146)
azure-sdk May 18, 2021
baf292f
Make MetricUnit an extensible enum, use DateTimeRange in MetricQueryR…
pakrym May 18, 2021
fb0de38
add release date (#21147)
maririos May 18, 2021
89a228c
Storage Extension release prep. (#21151)
kasobol-msft May 18, 2021
b37797b
Increment version for textanalytics releases (#21154)
azure-sdk May 18, 2021
fdd823e
remove hardcoded latest (#21159)
maririos May 18, 2021
4213ed5
update new swagger (#21158)
maririos May 18, 2021
c74b70f
Increment version for eventhub releases (#21152)
azure-sdk May 18, 2021
aed8abe
[TA] Rename analyze to remove batch from the name (#21134)
maririos May 18, 2021
97515da
Resource Identity fixes for SQL Server (#21136)
viparek May 18, 2021
fb3caae
Increment version for storage releases (#21168)
azure-sdk May 18, 2021
3533e97
Increment version for storage releases (#21169)
azure-sdk May 18, 2021
36267f6
Merge branch 'master' into hotfix/storage/webjobs_release_2021_05_18
kasobol-msft May 18, 2021
6e2fa32
Merge from master and merge Disk and Gallery test changes that were p…
Sandido May 18, 2021
e439762
Generated a .NET SDK based on new api-version 2020-12-01 (#20300)
Kotasudhakarreddy May 18, 2021
55357eb
Move DateTimeRange to Azure.Core.Experimental (#21149)
pakrym May 18, 2021
e8db319
Statistics as BinaryData property and parameter renames (#21164)
pakrym May 18, 2021
d25efe3
Merge AppConfig 1.0.3 path branch (#21115)
pakrym May 18, 2021
a5afb86
Add metric query sample, cleanup logs samples (#21171)
pakrym May 18, 2021
53bed52
Sync eng/common directory with azure-sdk-tools for PR 1585 (#21161)
azure-sdk May 18, 2021
91f9eb3
SB extension API updates (#21165)
JoshLove-msft May 19, 2021
558de77
[AVA] Updating links in ReadMe (#21176)
hivyas May 19, 2021
2103c38
Fix ShareLink sample to be able to build again (#21170)
heaths May 19, 2021
2032102
[Communication] - Azure.Communication.NetworkTraversal - Adding the A…
ajpeacock0 May 19, 2021
9ec1961
Revert "Merge from master and merge Disk and Gallery test changes tha…
Sandido May 19, 2021
aaee5a4
[TextAnalytics] Updated Text Analytics to use new OperationInternal c…
kinelski May 19, 2021
3347127
[MetricsAdvisor] Moved Admin-related models to the Administration nam…
kinelski May 19, 2021
eb77a2e
[MetricsAdvisor] Updating code with the latest swagger changes (#21179)
kinelski May 19, 2021
c06e1d2
Update CODEOWNERS (#21198)
maririos May 19, 2021
aa70a80
Add heaths to codeowners for videoanalyzer (#21194)
heaths May 19, 2021
f639127
Fix changelog. (#21201)
kasobol-msft May 19, 2021
47d4b29
Increment package version after release of Microsoft.Azure.WebJobs.Ex…
azure-sdk May 19, 2021
0f765b9
Update ContentRange.cs due to large 2gb+ file transfers causing excep…
csolonowicz May 19, 2021
46d1d18
Sync Compute folder from Master, and updated tests for 2021-03 (#21209)
Sandido May 19, 2021
9322654
[TA] Add action types (#21197)
maririos May 19, 2021
4334368
rename TextAnalyticsActionDetails to TextAnalyticsActionResult (#21207)
maririos May 19, 2021
cd05ee9
Updated Changelog (#21210)
amnguye May 19, 2021
5710ec8
Update Key Vault READMEs with links for RBAC (#21212)
heaths May 20, 2021
a7934ec
general change for all livetest pipelines (#20835)
paolamvhz May 20, 2021
748df71
[TSI] Address more feedback for API review (#21189)
bikamani May 20, 2021
bc54448
Increment version for videoanalyzer releases (#21200)
azure-sdk May 20, 2021
7470a86
update metadata for 2021-03 release tentative (#21224)
Sandido May 20, 2021
f01f5a3
Update AutoRest C# version (#21000)
azure-sdk May 20, 2021
4064c94
InteractiveBrowser LoginHint (#21082)
christothes May 20, 2021
4d563aa
generated code for 2021-03 (#21227)
Sandido May 20, 2021
3cfc85a
Update order of resources in the support.md (#21163)
ramya-rao-a May 20, 2021
9e0b6ea
Add code samples for document translator sdk (#21214)
FadyEssam May 20, 2021
4448d5f
SDK update for adding GetbackupUsageSummaries API in passive (#21221)
pratimaupadhyay02 May 20, 2021
8a27c26
[DataFactory]Added new features into 4.19.0 (#21018)
Jingshu923 May 20, 2021
2156cd3
Update compute_resource-manager.txt
Sandido May 20, 2021
14f5981
enable custom forms no labels (#21233)
maririos May 20, 2021
74aea93
Update AutoRest C# version (#21232)
chamons May 20, 2021
f911201
Update README.md (#21235)
maririos May 20, 2021
864ef54
[Farmbeats] Initial Package Generation (#20818)
ellismg May 20, 2021
7f83727
Move GeoJson types to Azure.Core (#21208)
pakrym May 20, 2021
71b7d9d
Add read-only lun field (#21220)
harshitha-akkaraju May 20, 2021
22fb0b6
[NetAppFiles] Update to api-version 2021-02-01 (#21223)
audunn May 20, 2021
8e17e23
Sync eng/common directory with azure-sdk-tools for PR 1615 (#21234)
azure-sdk May 20, 2021
ce1c3a9
[Event Grid Client] Overview README (#21190)
jsquire May 20, 2021
5696f9c
[FarmBeats] Use new directives in autorest.md (#21238)
ellismg May 20, 2021
c3ceaaf
API updates to support function level autocomplete (#21181)
JoshLove-msft May 20, 2021
e943412
Updating autorest readme link (#21244)
minnieliu May 20, 2021
48f5961
reduce number of allocations. (#21243)
kasobol-msft May 20, 2021
7b2837d
Rename StartSelectiveRestore to StartSelectiveKeyRestore (#21249)
heaths May 20, 2021
54ac556
Only ignore OperationCanceledException if cancellationToken is cancel…
mikeharder May 21, 2021
12f4845
[ACR] Add performance tests for common scenarios (#21229)
annelo-msft May 21, 2021
5073265
Revert "generated code for 2021-03 (#21227)" (#21266)
Sandido May 21, 2021
19d5646
Revert "Revert "generated code for 2021-03 (#21227)" (#21266)" (#21267)
Sandido May 21, 2021
9e6c98a
[ACR] Remove delays after deletes in tests. (#21268)
annelo-msft May 21, 2021
2651804
onlyCompute track1 merge from master
grizzlytheodore May 24, 2021
5aa2616
generated sdk code
grizzlytheodore May 25, 2021
bc867ca
Merge branch 'cplat_2021-03-01' into cplat202103fixes
Sandido May 25, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[ACR] Add performance tests for common scenarios (#21229)
* initial addition of perf tests

* further updates to perf tests

* use separate scenarios

* doc bug

* pr fb

* pr fb
annelo-msft authored May 21, 2021
commit 12f48452f749ced52b5fd8158cb62c50ebed071b
Original file line number Diff line number Diff line change
@@ -15,6 +15,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Containers.ContainerR
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core", "..\..\core\Azure.Core\src\Azure.Core.csproj", "{F62DCD51-5101-4427-B6C9-C24974F9DD3F}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Containers.ContainerRegistry.Perf", "perf\Azure.Containers.ContainerRegistry.Perf\Azure.Containers.ContainerRegistry.Perf.csproj", "{D8B4B378-8339-44AB-BBEC-056B82A15A0A}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -45,6 +47,10 @@ Global
{F62DCD51-5101-4427-B6C9-C24974F9DD3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F62DCD51-5101-4427-B6C9-C24974F9DD3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F62DCD51-5101-4427-B6C9-C24974F9DD3F}.Release|Any CPU.Build.0 = Release|Any CPU
{D8B4B378-8339-44AB-BBEC-056B82A15A0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D8B4B378-8339-44AB-BBEC-056B82A15A0A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D8B4B378-8339-44AB-BBEC-056B82A15A0A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D8B4B378-8339-44AB-BBEC-056B82A15A0A}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Azure.Management.ContainerRegistry" VersionOverride="4.0.0" />
<PackageReference Include="Microsoft.Azure.Management.ContainerRegistry.Fluent"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="$(MSBuildThisFileDirectory)..\..\src\Azure.Containers.ContainerRegistry.csproj" />
<ProjectReference Include="$(MSBuildThisFileDirectory)..\..\..\..\..\common\Perf\Azure.Test.Perf\Azure.Test.Perf.csproj" />
<ProjectReference Include="$(MSBuildThisFileDirectory)..\..\..\..\core\Azure.Core.TestFramework\src\Azure.Core.TestFramework.csproj" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Azure.Test.Perf;
using Microsoft.Azure.Management.ContainerRegistry;
using Microsoft.Azure.Management.ContainerRegistry.Models;
using Microsoft.Azure.Management.ResourceManager.Fluent;
using Microsoft.Azure.Management.ResourceManager.Fluent.Authentication;
using Task = System.Threading.Tasks.Task;

namespace Azure.Containers.ContainerRegistry.Perf
{
public abstract class ContainerRegistryPerfTest : PerfTest<PerfOptions>
{
public ContainerRegistryPerfTest(PerfOptions options) : base(options)
{
}

public async Task ImportImageAsync(string registry, string repository, string tag)
{
await ImportImageAsync(registry, repository, new List<string>() { tag });
}

public async Task ImportImageAsync(string registry, string repository, List<string> tags)
{
var credential = new AzureCredentials(
new ServicePrincipalLoginInformation
{
ClientId = PerfTestEnvironment.Instance.ClientId,
ClientSecret = PerfTestEnvironment.Instance.ClientSecret,
},
PerfTestEnvironment.Instance.TenantId,
AzureEnvironment.AzureGlobalCloud);

var managementClient = new ContainerRegistryManagementClient(credential.WithDefaultSubscription(PerfTestEnvironment.Instance.SubscriptionId));
managementClient.SubscriptionId = PerfTestEnvironment.Instance.SubscriptionId;

var importSource = new ImportSource
{
SourceImage = repository,
RegistryUri = "registry.hub.docker.com"
};

var targetTags = tags.Select(tag => $"{repository}:{tag}");

await managementClient.Registries.ImportImageAsync(
resourceGroupName: PerfTestEnvironment.Instance.ResourceGroup,
registryName: registry,
parameters:
new ImportImageParameters
{
Mode = ImportMode.Force,
Source = importSource,
TargetTags = targetTags.ToList()
});
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using Azure.Core.TestFramework;

namespace Azure.Containers.ContainerRegistry.Perf
{
/// <summary>
/// Represents the ambient environment in which the test suite is being run, offering access to information such as environment variables.
/// </summary>
internal sealed class PerfTestEnvironment : TestEnvironment
{
/// <summary>
/// The shared instance of the <see cref="PerfTestEnvironment"/> to be used during test runs.
/// </summary>
public static PerfTestEnvironment Instance { get; } = new PerfTestEnvironment();

/// <summary>
/// The endpoint of the Container Registry resource to test against.
/// </summary>
/// <value>The endpoint, read from the "CONTAINERREGISTRY_ENDPOINT" environment variable.</value>
public string Endpoint => GetVariable("CONTAINERREGISTRY_ENDPOINT");

/// <summary>
/// The name of the registry to test against.
/// </summary>
/// <value>The registry name, read from the "CONTAINERREGISTRY_REGISTRY_NAME" environment variable.</value>
public string Registry => GetVariable("CONTAINERREGISTRY_REGISTRY_NAME");
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System.Reflection;
using Azure.Test.Perf;

await PerfProgram.Main(Assembly.GetEntryAssembly(), args);
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Azure Container Registry performance tests

This folder contains performance tests for the [Azure Container Registry client library for .NET](https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/containerregistry/Azure.Containers.ContainerRegistry) and its associated ecosystem. The artifacts in this library are intended to be used primarily with the Azure SDK engineering system's testing infrastructure, but may also be run as stand-alone applications from the command line.

## Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

Please see our [contributing guide](https://github.com/Azure/azure-sdk-for-net/blob/master/CONTRIBUTING.md) for more information.

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-net%2Fsdk%2Fcontainerregistry%2FAzure.Containers.ContainerRegistry.Perf%2FREADME.png)
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using System.Threading;
using System.Threading.Tasks;
using Azure.Test.Perf;

namespace Azure.Containers.ContainerRegistry.Perf
{
public sealed class ListArtifacts : ContainerRegistryPerfTest
{
private readonly ContainerRegistryClient _client;
private ContainerRepository _repository;

public ListArtifacts(PerfOptions options) : base(options)
{
_client = new ContainerRegistryClient(new Uri(PerfTestEnvironment.Instance.Endpoint), PerfTestEnvironment.Instance.Credential);
}

public override async Task GlobalSetupAsync()
{
// Global setup code that runs once at the beginning of test execution.
await base.GlobalSetupAsync();

string repository = $"library/node";
string tag = "test-perf";

await ImportImageAsync(PerfTestEnvironment.Instance.Registry, repository, tag);
}

public override async Task SetupAsync()
{
await base.SetupAsync();

_repository = _client.GetRepository($"library/node");
}

public override void Run(CancellationToken cancellationToken)
{
foreach (var manifest in _repository.GetManifests())
{
_client.GetArtifact($"library/node", manifest.Digest);
}
}

public override async Task RunAsync(CancellationToken cancellationToken)
{
await foreach (var manifest in _repository.GetManifestsAsync())
{
_client.GetArtifact($"library/node", manifest.Digest);
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using System.Threading;
using System.Threading.Tasks;
using Azure.Test.Perf;

namespace Azure.Containers.ContainerRegistry.Perf
{
public sealed class ListRepositories : ContainerRegistryPerfTest
{
private readonly ContainerRegistryClient _client;

public ListRepositories(PerfOptions options) : base(options)
{
_client = new ContainerRegistryClient(new Uri(PerfTestEnvironment.Instance.Endpoint), PerfTestEnvironment.Instance.Credential);
}

public override void Run(CancellationToken cancellationToken)
{
foreach (var repositoryName in _client.GetRepositoryNames())
{
_client.GetRepository(repositoryName);
}
}

public override async Task RunAsync(CancellationToken cancellationToken)
{
await foreach (var repositoryName in _client.GetRepositoryNamesAsync())
{
_client.GetRepository(repositoryName);
}
}
}
}