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

[AutoPR Microsoft.Azure.Management.Reservations] Adding list reservations API to Microsoft.Capacity #4433

Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
673 commits
Select commit Hold shift + click to select a range
aec5c75
Enabled Sample Testing by making samples Inherit from DocumentTransla…
AhmedLeithy Aug 4, 2021
45b78ba
ADT: e2e: Add integration test for deserializing responses of queries…
azabbasi Aug 4, 2021
0c42a52
[Event Hubs] Update snippet syntax (#23015)
jsquire Aug 4, 2021
b6bade2
[TextAnalytics] Merging feature branch with Extractive Summarization …
kinelski Aug 4, 2021
4059195
[TextAnalytics] Updated Extractive Summarization links (#23114)
kinelski Aug 4, 2021
efe3ac7
Fix README.md in NuGet packages (#23106)
pakrym Aug 4, 2021
dd5b014
Allow concurrency to be changed dynamically (#23043)
JoshLove-msft Aug 4, 2021
674ee24
[TextAnalytics] Reduced size of Analyze Operation samples (#23115)
kinelski Aug 4, 2021
7b64ed2
Pass AdditionalTestArguments to tests (#23081)
pakrym Aug 4, 2021
a81e04e
[DataFactory]Added new features into 4.22.0 (#23089)
Jingshu923 Aug 5, 2021
a2184fe
[Azure.Core] Update TokenCredential Remarks (#23020)
jsquire Aug 5, 2021
7b41484
Add ability to leave SourceBranch empty when queueing a build (builds…
azure-sdk Aug 5, 2021
b232089
[Storage] Test managed disks. (#23083)
kasobol-msft Aug 5, 2021
021b553
Fixed sample comments to include the correct environment variable nam…
AhmedLeithy Aug 5, 2021
0e028f1
Replace link placeholder with absolute link (#23047)
JonathanCrd Aug 5, 2021
5b49e6d
enable filters in list_all_** apis (#22699)
Aug 5, 2021
f128cf3
[Storage] More managed disk coverage (#23140)
kasobol-msft Aug 5, 2021
f84628a
Fix build tabs for Key Vault sample (#23107)
heaths Aug 5, 2021
786f25b
[TextAnalytics] Rerecorded missing tests (#23147)
kinelski Aug 6, 2021
035c75f
functions -> features (#23148)
maririos Aug 6, 2021
89866f9
Ensure SessionReceiverManager is cleaned up when closing (#23121)
JoshLove-msft Aug 6, 2021
f07fd00
[StorageSync] Updating SDK to support 2020-09-01 API version (#22883)
anpint Aug 6, 2021
e5928ea
[TextAnalytics] Added live tests to Extractive Text Summarization (#2…
kinelski Aug 6, 2021
49f841e
Update AzureCliCredential.cs (#23159)
tomas-pajurek Aug 6, 2021
386e852
[Event Hubs] Client Configuration Sample Updates (#23113)
jsquire Aug 6, 2021
ee13fff
rename AZURE_POD_IDENTITY_TOKEN_URL (#22890)
christothes Aug 6, 2021
3d88643
Adding changelog entry for community contributed fix (#23165)
schaabs Aug 6, 2021
bd74270
Add new system event (#23166)
JoshLove-msft Aug 6, 2021
f4f4d32
Add support for response classification to RequestOptions (#22923)
pakrym Aug 6, 2021
8defcf0
Add ConfigurationSetting constructor that takes ETag (#23099)
pakrym Aug 6, 2021
8390847
[Purview] Fix `dotnet add package` gesture in README.md (#23162)
ellismg Aug 6, 2021
f8c2d01
Add Activity Links support (#23110)
vishweshbankwar Aug 6, 2021
4810906
Update AutoRest C# version to 3.0.0-beta.20210805.1 (#22971)
azure-sdk Aug 9, 2021
0ff1ee1
update changelog (#23204)
maririos Aug 9, 2021
1911ff2
Update cloud configuration API (#23141)
annelo-msft Aug 9, 2021
13e41de
Regenerate KV events (#23208)
JoshLove-msft Aug 9, 2021
b76e582
[TextAnalytics] Preparing for release (#23211)
kinelski Aug 9, 2021
2b2dfcd
Minor doc updates for Key Vault Keys (#23209)
heaths Aug 9, 2021
0323678
Consistency review fixes (#23168)
pakrym Aug 9, 2021
7087960
Prepare Azure.Monitor.Query 1.0.0-beta.3 release (#23217)
pakrym Aug 10, 2021
e3bed4d
[MetricsAdvisor] Added model factory and updated release version to 1…
kinelski Aug 10, 2021
38e50e6
[Event Hubs] August Release Prep (#23213)
jsquire Aug 10, 2021
e0fbedb
Increment version for textanalytics releases (#23216)
azure-sdk Aug 10, 2021
dfc9b4d
Increment version for eventhub releases (#23227)
azure-sdk Aug 10, 2021
289595d
Add Builder extension for just Uri (#23222)
flcdrg Aug 10, 2021
89c08f2
Prepare Azure.Data.AppConfiguration 1.2.0-beta.1 release (#23215)
pakrym Aug 10, 2021
6ebfa68
[Event Hubs Processor] August Release Prep (#23228)
jsquire Aug 10, 2021
ddfb117
Add IsLoggingPIIEnabled to TokenCredentialOptions (#22852)
christothes Aug 10, 2021
3fa209a
Update ACR 1.0.0 beta.4 changelog (#23231)
annelo-msft Aug 10, 2021
93b63b6
Increment version for monitor releases (#23233)
azure-sdk Aug 10, 2021
c9506fa
Increment version for appconfiguration releases (#23232)
azure-sdk Aug 10, 2021
65437f0
Increment version for eventhub releases (#23234)
azure-sdk Aug 10, 2021
5714cdd
Increment version for translation releases (#23237)
azure-sdk Aug 10, 2021
50ceced
Delete unused ci.yml file
weshaggard Aug 10, 2021
efc94ac
Implement AzureApplicationCredential (#23218)
christothes Aug 10, 2021
997fa3a
[CredScan] Adding Event Hubs fake secret to suppression file (#23236)
kinelski Aug 10, 2021
8de69bc
Increment package version after release of Azure.Containers.Container…
azure-sdk Aug 10, 2021
ad0bae4
Prep for release (#23244)
christothes Aug 10, 2021
1f9b7e5
prep for release (#23245)
christothes Aug 10, 2021
aa2ed3c
Increment version for metricsadvisor releases (#23247)
azure-sdk Aug 10, 2021
3975c87
Update containerinstance client to the 2021-03-01 api (#22701)
joseph-porter Aug 10, 2021
d033b1b
[CredScan] Adding Identity mock file to suppression file (#23240)
kinelski Aug 10, 2021
1dd45c6
Key Vault SDK beta release (#23142)
heaths Aug 10, 2021
6c213b3
remove blank changelog section (#23254)
christothes Aug 10, 2021
fed3fda
Prepare for release (#23224)
JoshLove-msft Aug 10, 2021
b40d0fa
[Storage] Fix vlw cleanup (#23253)
kasobol-msft Aug 11, 2021
3b9003d
temp fix for response stream getting disposed (#23249)
m-nash Aug 11, 2021
0a2dd78
Increment version for identity releases (#23257)
azure-sdk Aug 11, 2021
0fa15fd
Increment version for tables releases (#23255)
azure-sdk Aug 11, 2021
b761510
Removed unused sections from Key Vault changelogs (#23259)
heaths Aug 11, 2021
14bfb2c
Update http request mapping (#23206)
vishweshbankwar Aug 11, 2021
414f518
Mitigate issues found by Component Governance (#23214)
heaths Aug 11, 2021
a118c84
Update change log (#23271)
JoshLove-msft Aug 11, 2021
06910c0
[MetricsAdvisor] Ignoring AAD tests (#23269)
kinelski Aug 11, 2021
6169e89
[Batch] Fix managed identity support on the data plane (#23164)
dpwatrous Aug 11, 2021
87d2fd5
Sync eng/common directory with azure-sdk-tools for PR 1866 (#23246)
azure-sdk Aug 11, 2021
51fccad
[Perf] Remove unused options replaced by TestProxy (#23258)
mikeharder Aug 11, 2021
b227271
[Storage] Decrease srp load (#23273)
kasobol-msft Aug 11, 2021
5f9e928
combine resource and resource operations classes (#23205)
m-nash Aug 11, 2021
276b6f0
Remove unicode char from change log (#23276)
JoshLove-msft Aug 11, 2021
042eef1
Add caching to SchemaRegistryClient (#23274)
JoshLove-msft Aug 11, 2021
6199b39
Include information about caching in README (#23279)
JoshLove-msft Aug 12, 2021
4c10b87
[SqlManagement] Ledger SDK Update (#23137)
rewongmicrosoft Aug 12, 2021
40aa41b
rename tagoperatoins property (#23280)
m-nash Aug 12, 2021
08a8b3b
change XML docs on ServiceBusReceiver.ReceiveDeferred methods (#23283)
dlumpp Aug 12, 2021
1e7927f
Increment version for servicebus releases (#23278)
azure-sdk Aug 12, 2021
c7f75b0
Increment version for batch releases (#23277)
azure-sdk Aug 12, 2021
b55d609
Increment version for keyvault releases (#23270)
azure-sdk Aug 12, 2021
4801e43
[Smoke Tests] Mitigate Failures (#23287)
jsquire Aug 12, 2021
738985e
Previous documentation referenced ServiceBusConnection class to updat…
aturabi Aug 12, 2021
69ee6a6
Trace the ProcessRunner (#20354)
christothes Aug 12, 2021
8f20807
[Event Hubs] Doc Comment Updates (#23300)
jsquire Aug 12, 2021
849fd2f
fix(communication): use new redirect policy from core (#23272)
chrwhit Aug 12, 2021
1012567
Add Core tests to resourcemanager build (#23294)
weshaggard Aug 12, 2021
6c803cd
Prepare Synapse libraries for release (#23132)
annelo-msft Aug 12, 2021
8c45474
Synapse August Release Changelogs (#23306)
annelo-msft Aug 12, 2021
cd17068
Sync eng/common directory with azure-sdk-tools for PR 1894 (#23309)
azure-sdk Aug 13, 2021
63eb523
Update remote dependency url as per common schema mapping (#23281)
vishweshbankwar Aug 13, 2021
49dbd1c
Increment version for eventgrid releases (#23312)
azure-sdk Aug 13, 2021
9b91128
Sync eng/common directory with azure-sdk-tools for PR 1876 (#23307)
azure-sdk Aug 13, 2021
b41f087
Smoke test isolation per package (#23310)
ckairen Aug 13, 2021
3a5ac7a
Rename PIIDetectionSkillMaskingMode.cs to PiiDetectionSkillMaskingMod…
Mohit-Chakraborty Aug 13, 2021
b094edf
Add Rest Method checks to Prepare-Release (#23329)
azure-sdk Aug 13, 2021
7a2cb15
Fix resource clean-up script (#23328)
azure-sdk Aug 13, 2021
5747c1e
Increment version for synapse releases (#23323)
azure-sdk Aug 14, 2021
07ac326
Add support for 'files' configuration (#23327)
azure-sdk Aug 16, 2021
33f778d
Prevent wildcard expansion in git sparse checkout add (#23325)
azure-sdk Aug 16, 2021
184e321
Handle relative urls in Location redirect header (#23252)
pakrym Aug 16, 2021
71e5e6a
Revert unconditional log attachment (#23343)
pakrym Aug 16, 2021
774caf6
[Messaging] Stop Unnecessary Refresh of JWT Tokens (#23129)
jsquire Aug 16, 2021
4bff5d7
Add test and sample for custom serialization (#23345)
christothes Aug 16, 2021
928d436
Sync eng/common directory with azure-sdk-tools for PR 1909 (#23347)
azure-sdk Aug 17, 2021
72780aa
Documentation tweak and addition of ParseCertificate method (#23341)
christothes Aug 17, 2021
bfd20d2
Enable API review approval check for Java spring packages (#23362)
azure-sdk Aug 17, 2021
d92a7c8
[CredScan] Renamed Core test secrets (#23364)
kinelski Aug 17, 2021
2bbf6ab
Prepare for release (#23366)
JoshLove-msft Aug 17, 2021
7e36c08
Increment version for schemaregistry releases (#23373)
azure-sdk Aug 17, 2021
31d7bde
Relax ctor selection rules and improve the error message (#23375)
pakrym Aug 17, 2021
2271e49
Make the accept session concurrency dynamic (#23356)
JoshLove-msft Aug 17, 2021
5ca981c
Removing C:\Git\azure-sdk-tools\eng\common\scripts\FilterPoliCheckRes…
azure-sdk Aug 17, 2021
4566597
Update Microsoft.NETFramework.ReferenceAssemblies to latest version (…
weshaggard Aug 18, 2021
d1fca0c
Update to Azure/azure-rest-api-specs@7a42f16 (#23380)
heaths Aug 18, 2021
e132ef7
Produce more descriptive error for GenerateSasUri when using TokenCre…
christothes Aug 18, 2021
1368281
Add test for the buffered error response bodies fix (#23340)
pakrym Aug 18, 2021
3d9ee7a
Public API spell check (#23150)
danieljurek Aug 18, 2021
a2e976c
test-resources.json and test changes (#23117)
orenmichaely Aug 18, 2021
42d2f5d
Prepare Azure.Core 1.18 release (#23396)
pakrym Aug 18, 2021
5091c54
Sync eng/common directory with azure-sdk-tools for PR 1912 (#23394)
azure-sdk Aug 18, 2021
2a8f920
[Messaging] Change Logs (#23402)
jsquire Aug 18, 2021
f9cedc4
Fix query batch processing (#23401)
azure-sdk Aug 18, 2021
ae0d4c8
Update dependency target and type mapping (#23330)
vishweshbankwar Aug 18, 2021
bfebcf2
remobe old code and test for target mapping (#23403)
vishweshbankwar Aug 18, 2021
77205be
[Document Translation] Removing the word All from GetAll [Translation…
AhmedLeithy Aug 18, 2021
912d936
Removing the double 'l' in "Cancelled" and "Cancelling" (#23342)
AhmedLeithy Aug 18, 2021
2f06cbc
modify template accordingly to recent changes (#23155)
ArcturusZhang Aug 19, 2021
878e25f
Renamed TranslationFilter and DocumentFilter to Get[Translation/Docum…
AhmedLeithy Aug 19, 2021
8616071
DocumentFilterProperties asc property renaming. (#23409)
ZulaMostafa Aug 19, 2021
155559c
Add factory methods for RuntimeProperties models (#23408)
JoshLove-msft Aug 19, 2021
1903efc
Increment version for core releases (#23412)
azure-sdk Aug 19, 2021
b4281e2
[Service Bus] Processor Event docs (#23411)
jsquire Aug 19, 2021
8e9d708
Update to Azure.Core 1.18.0 (#23413)
pakrym Aug 19, 2021
75c1b02
[DT] Making document filter properties (CreatedBefore and CreatedAfte…
AhmedLeithy Aug 19, 2021
87ac273
Remove old unused update changelog script (#23415)
azure-sdk Aug 19, 2021
f54fada
Refactor TelemetryPartA and TelemetryPartB (#23407)
vishweshbankwar Aug 19, 2021
fe7d498
Fixing a doc bug for GetContainerClient (#23416)
amishra-dev Aug 19, 2021
b7ae53d
Fix IoT Models Repository Readme issues (#21135)
v-yilinhu Aug 19, 2021
2c2b10e
doc updates to reflect latest archboard changes (#23303)
m-nash Aug 20, 2021
a20301d
Add TryCreate to Identifier structures (#23419)
heaths Aug 20, 2021
915e27a
[DataFactory]Supported power query GA payload (#23355)
Jingshu923 Aug 20, 2021
19672c1
Update Provider and add more PropertyReferenceTypes (#23091)
fengzhou-msft Aug 20, 2021
99bcab0
[MySQL] changing resource provider casing from DBForMySQL to DBforMyS…
DaeunYim Aug 20, 2021
a4f6ce0
Support for User MSI and CMK for Vaults (#23284)
asmaskar Aug 20, 2021
9ee2286
Update Microsoft.Security SDK (#23226)
GalGrinblat Aug 20, 2021
d9f6642
Handle SAS generation properly when constructing a client with a conn…
christothes Aug 20, 2021
db47fd6
API Skeleton for EventHubBufferedProducerClient (#23400)
m-redding Aug 20, 2021
0e00e32
Update RecordedTestSanitizer.cs to Sanitize Leaked Secrets (#23250)
nisha-bhatia Aug 20, 2021
04c1095
[Event Hubs] Documentation Updates (#23398)
jsquire Aug 20, 2021
c1c77d8
Adding Tests and Design (#23453)
m-redding Aug 20, 2021
d500cd4
[MetricsAdvisor] Merged CreateAndGet Data Feed tests (#23414)
kinelski Aug 20, 2021
967c3ae
[MetricsAdvisor] Merged Update Data Feed tests (#23454)
kinelski Aug 20, 2021
f6c7a4f
Add claim check sample (#23406)
JoshLove-msft Aug 20, 2021
9c2b9fa
Update alias related models based on resources version 2021-04-01 (#2…
fengzhou-msft Aug 23, 2021
6b0c901
Update AutoRest C# version (#23223)
azure-sdk Aug 23, 2021
3e1d919
autogen common types with reference type attributes (#23457)
m-nash Aug 23, 2021
33afacd
fix: typo spelling grammar (#23131)
slowy07 Aug 23, 2021
a17b3d3
[AKS] Update API version to 2021-07-01 (#23193)
kaiqzhan Aug 23, 2021
371fe33
Added HttpAuthorization (#23368)
seanmcc-msft Aug 23, 2021
92b8817
Update AutoRest C# version to 3.0.0-beta.20210822.2 (#23469)
azure-sdk Aug 23, 2021
a35d8ff
[Core.Experimental] Fix JsonData To<T> Bug (#23452)
ellismg Aug 23, 2021
bdb87f7
bump core version and fix errordetail reference (#23478)
m-nash Aug 23, 2021
94095c6
Increased sleep time after cancelling a translation operation during …
AhmedLeithy Aug 23, 2021
624ae9f
Mnash arm version (#23486)
m-nash Aug 23, 2021
e17808f
Fix SystemData and v1 ErrorResponse, remove PropertyReferenceType for…
fengzhou-msft Aug 24, 2021
dc6d557
LLC purview Account (#23334)
chunyu3 Aug 24, 2021
303b753
Rename classes and properties in Azure.Monitor (#23488)
nisha-bhatia Aug 24, 2021
a4b0b18
Sync eng/common directory with azure-sdk-tools for PR 1918 (#23397)
azure-sdk Aug 24, 2021
d65144f
[Purview] Prepare for Release (#23503)
ellismg Aug 24, 2021
3dfbbb1
[Synapse] - Add deserializer for more models (#23458)
idear1203 Aug 24, 2021
7aa356f
Operation name mapping for server spans (#23448)
vishweshbankwar Aug 25, 2021
1b38f43
Communication: Add new CallingServerClient constructor to support cre…
melneubert Aug 25, 2021
175737f
ASR new VMware to Azure provider RCMPrime support changes (#23501)
pradheepm Aug 25, 2021
cae139f
[EngSys] Updating Storage tests to use suppressed secrets (#23509)
kinelski Aug 25, 2021
f34705e
Log MSAL for ConfidentialClient (#23516)
christothes Aug 25, 2021
b0403de
Call AcquireTokenSilent after AuthenticationRecord has been fetched (…
christothes Aug 25, 2021
15d3fce
Add ai.location.ip and ai.user.userAgent mapping (#23524)
vishweshbankwar Aug 25, 2021
7290878
update namespace for model types and use new mgmt telemetrypolicy (#2…
m-nash Aug 26, 2021
106aabf
add nullability to file used in autorest (#23544)
m-nash Aug 26, 2021
4f3ace9
bump arm version (#23547)
m-nash Aug 26, 2021
22895cb
Update AutoRest C# version to 3.0.0-beta.20210825.2 (#23534)
azure-sdk Aug 26, 2021
cfac87d
Storage STG 78 GA Arch Board Comments (#23522)
seanmcc-msft Aug 26, 2021
c4af027
Storage STG 78 GA Arch Board comments #2 (#23571)
seanmcc-msft Aug 26, 2021
66c0647
Update AutoRest C# version to 3.0.0-beta.20210826.1 (#23565)
azure-sdk Aug 26, 2021
ba52863
Add InProc dependency type and update db target mapping. (#23541)
vishweshbankwar Aug 26, 2021
6f49b5a
run prepare-release (#23573)
m-nash Aug 26, 2021
dbcf945
Increment package version after release of Azure.ResourceManager (#23…
azure-sdk Aug 26, 2021
f8862e2
bump version (#23579)
m-nash Aug 26, 2021
adc178f
[EngSys] Updating Tables tests to use suppressed secrets (#23574)
kinelski Aug 26, 2021
11e4846
Update Network Track 2 Mgmt Recordings (#23562)
nisha-bhatia Aug 26, 2021
d79968f
update Eventhub track 2 mgmt tests (#23548)
nisha-bhatia Aug 26, 2021
2a98922
Stip empty changelog sections before release (#23590)
azure-sdk Aug 26, 2021
e336a5b
Changes in StartRecordingCall Request models for Mixed Audio Only Fea…
ninikasharma Aug 26, 2021
0ff680b
Renamed SendCloudEvents to SendCloudNativeCloudEvents (#23593)
JoshLove-msft Aug 27, 2021
c770ea4
Stabilizing GetTranslationStatusesFilterByStatusTest by ensuring canc…
AhmedLeithy Aug 27, 2021
737d952
Fixed issue where QueueClient.ReceiveMassageAsync() created two Diago…
seanmcc-msft Aug 27, 2021
0462580
Update AutoRest C# version to 3.0.0-beta.20210826.2 (#23589)
azure-sdk Aug 27, 2021
0dd8cfb
Update AppConfiguration Track 2 Mgmt Recordings (#23597)
nisha-bhatia Aug 27, 2021
8e4fcb8
Update DatabaseAccountListConnectionStringsTest()Async.json (#23595)
nisha-bhatia Aug 27, 2021
a031339
ensure test principal creation succeeds properly (#23613)
azure-sdk Aug 27, 2021
78bee52
Increment package version after release of Azure.Analytics.Purview.Ac…
azure-sdk Aug 27, 2021
deafaca
Upgrade AMQP library dependency (#23596)
JoshLove-msft Aug 27, 2021
10f7a9e
[Event Hubs] Minor Formatting and Docs Tweaks (#23479)
jsquire Aug 27, 2021
013a5dd
Adding a note for default values (#23619)
jbogard Aug 27, 2021
5a0384b
Autogenerate Microsoft.Azure.Management.IotHub SDK 4.1.0 from swagger…
vinagesh Aug 27, 2021
4e2d067
Release Track2 KeyVault (#23263)
HarveyLink Aug 27, 2021
882eab0
Sync eng/common directory with azure-sdk-tools for PR 1943 (#23621)
azure-sdk Aug 27, 2021
7ee360a
Mark as extension client library (#23622)
JoshLove-msft Aug 28, 2021
31431b9
Compute mgmt track 2 library (#22944)
ArcturusZhang Aug 28, 2021
aca2b75
Remove link from active links when creation fails (#23628)
JoshLove-msft Aug 29, 2021
a6fe61c
add abandonment remarks to AutoCompleteMessages docs (#23528)
zamzowd Aug 29, 2021
1b0fcbf
fix links after the compute PR gets merged (#23636)
ArcturusZhang Aug 30, 2021
a6372dc
[DataFactory]Supported AmazonRdsForOracle Source (#23635)
Jingshu923 Aug 30, 2021
7f63e73
Sample for demonstrating the use of AzureEventSourceListener (#23495)…
andreyshihov Aug 30, 2021
dcc9a8f
Renaming DocumentStatus and TranslationStatus (#23390)
ZulaMostafa Aug 30, 2021
6a69e8b
Added tests for GetDocumentStatusesFilterCreatedAfter and GetDocument…
AhmedLeithy Aug 30, 2021
5266d2d
Change TranslationTo to TranslatedToLanguageCode (#23399)
ZulaMostafa Aug 30, 2021
79b4bdf
Clarify Key Vault client creation instructions (#23594)
heaths Aug 30, 2021
aa3291f
Update codeowners for Microsoft.Azure.ServiceBus (#23654)
ramya-rao-a Aug 30, 2021
544d1d5
Add storage role assignment to extension tests (#23643)
pakrym Aug 30, 2021
fe1a256
Adding Installation Check in Pre-Release Stage (#23575)
ckairen Aug 30, 2021
80de9c4
doc(sdk): update getting started tutorial for mgmt track2 preview (#2…
archerzz Aug 30, 2021
2214295
Do not print red success message (#23210)
heaths Aug 30, 2021
972760d
Default RoleInstance to HostName (#23592)
vishweshbankwar Aug 30, 2021
1e927e2
Clarify LogsQueryClient query parameter description (#23660)
scottaddie Aug 30, 2021
779fe55
Update AutoRest C# version to 3.0.0-beta.20210830.1 (#23616)
azure-sdk Aug 30, 2021
4e3a33b
Route test failure notifications to the right teams (SB & EH) (#23663)
ramya-rao-a Aug 30, 2021
09e8242
[Event Hubs] Assorted Minor Updates (#23655)
jsquire Aug 31, 2021
1a2ef7d
Skip eng common workflow enforcer for private repos (#23658)
azure-sdk Aug 31, 2021
f7436b5
Sync eng/common directory with azure-sdk-tools for PR 1953 (#23661)
azure-sdk Aug 31, 2021
0d28825
update ARM to use new SLRO pattern (#23666)
m-nash Aug 31, 2021
03e7ee9
Increment version for resourcemanager releases (#23670)
azure-sdk Aug 31, 2021
a480413
prepare release of mgmt track 2 compute library (#23672)
ArcturusZhang Aug 31, 2021
672d7c6
Update changelog for KeyVault (#23671)
HarveyLink Aug 31, 2021
e3372bd
[DT] Updated CHANGELOG (#23673)
AhmedLeithy Aug 31, 2021
85e5e1e
Network mgmt track 2 library (#23049)
archerzz Aug 31, 2021
01fd9e6
Increment package version after release of Azure.ResourceManager.KeyV…
azure-sdk Aug 31, 2021
1757478
update links (#23686)
m-nash Aug 31, 2021
e618fb8
Consume snippet generator as a tool (#22783)
chidozieononiwu Aug 31, 2021
8cd3eef
Increment version for compute releases (#23682)
azure-sdk Aug 31, 2021
9c73c3e
Update Microsoft.Internal.NetSdkBuild.Mgmt.Tools from 0.12.0-dev.2021…
chidozieononiwu Aug 31, 2021
dba0e53
CodeGen from PR 14849 in Azure/azure-rest-api-specs
Aug 31, 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
[Event Hubs] Update snippet syntax (Azure#23015)
The focus of these changes is to shift to using the SNIPPET compiler
constant to differentiate snippet code from test code, replacing the
specialized comment form previously used.
  • Loading branch information
jsquire authored Aug 4, 2021
commit 0c42a52f4a5385aa9487341a84b52d0587048b51
18 changes: 11 additions & 7 deletions sdk/eventhub/Azure.Messaging.EventHubs.Processor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ var eventHubsConnectionString = "<< CONNECTION STRING FOR THE EVENT HUBS NAMESPA
var eventHubName = "<< NAME OF THE EVENT HUB >>";
var consumerGroup = "<< NAME OF THE EVENT HUB CONSUMER GROUP >>";

BlobContainerClient storageClient = new BlobContainerClient(storageConnectionString, blobContainerName);
var storageClient = new BlobContainerClient(storageConnectionString, blobContainerName);

EventProcessorClient processor = new EventProcessorClient
var processor = new EventProcessorClient
(
storageClient,
consumerGroup,
Expand All @@ -124,6 +124,7 @@ async Task processEventHandler(ProcessEventArgs eventArgs)
{
// Perform the application-specific processing for an event. This method
// is intended for illustration and is not defined in this snippet.

await DoSomethingWithTheEvent(eventArgs.Partition, eventArgs.Data);
}
catch
Expand All @@ -138,6 +139,7 @@ async Task processErrorHandler(ProcessErrorEventArgs eventArgs)
{
// Perform the application-specific processing for an error. This method
// is intended for illustration and is not defined in this snippet.

await DoSomethingWithTheError(eventArgs.Exception);
}
catch
Expand Down Expand Up @@ -183,6 +185,7 @@ try
{
// The processor performs its work in the background; block until cancellation
// to allow processing to take place.

await Task.Delay(Timeout.Infinite, cancellationSource.Token);
}
catch (TaskCanceledException)
Expand All @@ -197,6 +200,7 @@ try
finally
{
// To prevent leaks, the handlers should be removed when processing is complete.

processor.ProcessEventAsync -= processEventHandler;
processor.ProcessErrorAsync -= processErrorHandler;
}
Expand All @@ -211,16 +215,16 @@ To make use of an Active Directory principal, one of the available credentials f
To make use of an Active Directory principal with Azure Storage blob containers, the fully qualified URL to the container must be provided when creating the storage client. Details about the valid URI formats for accessing Blob storage may be found in [Naming and Referencing Containers, Blobs, and Metadata](https://docs.microsoft.com/rest/api/storageservices/Naming-and-Referencing-Containers--Blobs--and-Metadata#resource-uri-syntax).

```C# Snippet:EventHubs_Processor_ReadMe_CreateWithIdentity
TokenCredential credential = new DefaultAzureCredential();

string blobStorageUrl ="<< FULLY-QUALIFIED CONTAINER URL (like https://myaccount.blob.core.windows.net/mycontainer) >>";
BlobContainerClient storageClient = new BlobContainerClient(new Uri(blobStorageUrl), credential);
var credential = new DefaultAzureCredential();
var blobStorageUrl ="<< FULLY-QUALIFIED CONTAINER URL (like https://myaccount.blob.core.windows.net/mycontainer) >>";

var fullyQualifiedNamespace = "<< FULLY-QUALIFIED EVENT HUBS NAMESPACE (like something.servicebus.windows.net) >>";
var eventHubName = "<< NAME OF THE EVENT HUB >>";
var consumerGroup = "<< NAME OF THE EVENT HUB CONSUMER GROUP >>";

EventProcessorClient processor = new EventProcessorClient
var storageClient = new BlobContainerClient(new Uri(blobStorageUrl), credential);

var processor = new EventProcessorClient
(
storageClient,
consumerGroup,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The `EventProcessorClient` is safe to cache and use for the lifetime of the appl
## Processing events with identity-based authorization

```C# Snippet:EventHubs_Processor_Sample05_DefaultAzureCredential
TokenCredential credential = new DefaultAzureCredential();
var credential = new DefaultAzureCredential();

var storageEndpoint = "<< STORAGE ENDPOINT (likely similar to {your-account}.blob.core.windows.net) >>";
var blobContainerName = "<< NAME OF THE BLOB CONTAINER >>";
Expand Down Expand Up @@ -120,10 +120,11 @@ finally
## Processing events with Shared Access Signature authorization

```C# Snippet:EventHubs_Processor_Sample05_SharedAccessSignature
var credential = new AzureSasCredential("<< SHARED ACCESS KEY STRING >>");

var storageConnectionString = "<< CONNECTION STRING FOR THE STORAGE ACCOUNT >>";
var blobContainerName = "<< NAME OF THE BLOB CONTAINER >>";

var credential = new AzureSasCredential("<< SHARED ACCESS KEY STRING >>");
var fullyQualifiedNamespace = "<< NAMESPACE (likely similar to {your-namespace}.servicebus.windows.net) >>";
var eventHubName = "<< NAME OF THE EVENT HUB >>";
var consumerGroup = "<< NAME OF THE EVENT HUB CONSUMER GROUP >>";
Expand Down Expand Up @@ -188,10 +189,11 @@ finally
## Processing events with Shared Access Key authorization

```C# Snippet:EventHubs_Processor_Sample05_SharedAccessKey
var credential = new AzureNamedKeyCredential("<< SHARED KEY NAME >>", "<< SHARED KEY >>");

var storageConnectionString = "<< CONNECTION STRING FOR THE STORAGE ACCOUNT >>";
var blobContainerName = "<< NAME OF THE BLOB CONTAINER >>";

var credential = new AzureNamedKeyCredential("<< SHARED KEY NAME >>", "<< SHARED KEY >>");
var fullyQualifiedNamespace = "<< NAMESPACE (likely similar to {your-namespace}.servicebus.windows.net) >>";
var eventHubName = "<< NAME OF THE EVENT HUB >>";
var consumerGroup = "<< NAME OF THE EVENT HUB CONSUMER GROUP >>";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO;
using System.Text;
Expand All @@ -25,7 +24,6 @@ namespace Azure.Messaging.EventHubs.Tests.Snippets
[TestFixture]
[Category(TestCategory.Live)]
[Category(TestCategory.DisallowVisualStudioLiveUnitTesting)]
[SuppressMessage("Style", "IDE0059:Unnecessary assignment of a value", Justification = "Example assignments needed for snippet output content.")]
public class MigrationGuideSnippetsLiveTests
{
/// <summary>
Expand All @@ -39,20 +37,22 @@ public async Task MigrateCheckpoints()

#region Snippet:EventHubs_Migrate_Checkpoints

#if SNIPPET
var fullyQualifiedNamespace = "<< NAMESPACE (likely similar to {your-namespace}.servicebus.windows.net) >>";
var eventHubName = "<< NAME OF THE EVENT HUB >>";
var consumerGroup = "<< NAME OF THE EVENT HUB CONSUMER GROUP >>";
/*@@*/
/*@@*/ fullyQualifiedNamespace = EventHubsTestEnvironment.Instance.FullyQualifiedNamespace;
/*@@*/ eventHubName = "fake-hub";
/*@@*/ consumerGroup = EventHubConsumerClient.DefaultConsumerGroupName;

var storageConnectionString = "<< CONNECTION STRING FOR THE STORAGE ACCOUNT >>";
var blobContainerName = "<< NAME OF THE BLOB CONTAINER >>";
var legacyBlobContainerName = "<< NAME OF THE BLOB CONTAINER THAT CONTAINS THE LEGACY DATA>>";
/*@@*/
/*@@*/ storageConnectionString = StorageTestEnvironment.Instance.StorageConnectionString;
/*@@*/ blobContainerName = storageScope.ContainerName;
#else
var fullyQualifiedNamespace = EventHubsTestEnvironment.Instance.FullyQualifiedNamespace;
var eventHubName = "fake-hub";
var consumerGroup = EventHubConsumerClient.DefaultConsumerGroupName;

var storageConnectionString = StorageTestEnvironment.Instance.StorageConnectionString;
var blobContainerName = storageScope.ContainerName;
#endif

using var cancellationSource = new CancellationTokenSource();

Expand All @@ -61,13 +61,15 @@ public async Task MigrateCheckpoints()
//
// Note: The ReadLegacyCheckpoints method will be defined in another snippet.

/*@@*/ var legacyCheckpoints = ReadFakeLegacyCheckpoints(legacyBlobContainerName);
/*@@*/
//@@var legacyCheckpoints = await ReadLegacyCheckpoints(
//@@storageConnectionString,
//@@legacyBlobContainerName,
//@@consumerGroup,
//@@cancellationSource.Token);
#if SNIPPET
var legacyCheckpoints = await ReadLegacyCheckpoints(
storageConnectionString,
legacyBlobContainerName,
consumerGroup,
cancellationSource.Token);
#else
var legacyCheckpoints = ReadFakeLegacyCheckpoints("fake");
#endif

// The member names of MigrationCheckpoint match the names of the checkpoint
// names of the checkpoint metadata keys.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Licensed under the MIT License.

using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
Expand All @@ -23,7 +22,6 @@ namespace Azure.Messaging.EventHubs.Tests.Snippets
[TestFixture]
[Category(TestCategory.Live)]
[Category(TestCategory.DisallowVisualStudioLiveUnitTesting)]
[SuppressMessage("Style", "IDE0059:Unnecessary assignment of a value", Justification = "Example assignments needed for snippet output content.")]
public class ReadMeSnippetsLiveTests
{
/// <summary>
Expand All @@ -35,23 +33,24 @@ public void Create()
{
#region Snippet:EventHubs_Processor_ReadMe_Create

#if SNIPPET
var storageConnectionString = "<< CONNECTION STRING FOR THE STORAGE ACCOUNT >>";
var blobContainerName = "<< NAME OF THE BLOB CONTAINER >>";
/*@@*/
/*@@*/ storageConnectionString = StorageTestEnvironment.Instance.StorageConnectionString;
/*@@*/ blobContainerName = "not-real";

var eventHubsConnectionString = "<< CONNECTION STRING FOR THE EVENT HUBS NAMESPACE >>";
var eventHubName = "<< NAME OF THE EVENT HUB >>";
var consumerGroup = "<< NAME OF THE EVENT HUB CONSUMER GROUP >>";
/*@@*/
/*@@*/ eventHubsConnectionString = EventHubsTestEnvironment.Instance.EventHubsConnectionString;
/*@@*/ eventHubName = "fakeHub";
/*@@*/ consumerGroup = "fakeConsumer";
#else
var storageConnectionString = StorageTestEnvironment.Instance.StorageConnectionString;
var blobContainerName = "not-real";
var eventHubsConnectionString = EventHubsTestEnvironment.Instance.EventHubsConnectionString;
var eventHubName = "fakeHub";
var consumerGroup = "fakeConsumer";
#endif

BlobContainerClient storageClient = new BlobContainerClient(storageConnectionString, blobContainerName);
var storageClient = new BlobContainerClient(storageConnectionString, blobContainerName);

EventProcessorClient processor = new EventProcessorClient
var processor = new EventProcessorClient
(
storageClient,
consumerGroup,
Expand All @@ -71,26 +70,28 @@ public void ConfigureHandlers()
{
#region Snippet:EventHubs_Processor_ReadMe_ConfigureHandlers

#if SNIPPET
var storageConnectionString = "<< CONNECTION STRING FOR THE STORAGE ACCOUNT >>";
var blobContainerName = "<< NAME OF THE BLOB CONTAINER >>";
/*@@*/
/*@@*/ storageConnectionString = StorageTestEnvironment.Instance.StorageConnectionString;
/*@@*/ blobContainerName = "not-real";

var eventHubsConnectionString = "<< CONNECTION STRING FOR THE EVENT HUBS NAMESPACE >>";
var eventHubName = "<< NAME OF THE EVENT HUB >>";
var consumerGroup = "<< NAME OF THE EVENT HUB CONSUMER GROUP >>";
/*@@*/
/*@@*/ eventHubsConnectionString = EventHubsTestEnvironment.Instance.EventHubsConnectionString;
/*@@*/ eventHubName = "fakeHub";
/*@@*/ consumerGroup = "fakeConsumer";
#else
var storageConnectionString = StorageTestEnvironment.Instance.StorageConnectionString;
var blobContainerName = "not-real";
var eventHubsConnectionString = EventHubsTestEnvironment.Instance.EventHubsConnectionString;
var eventHubName = "fakeHub";
var consumerGroup = "fakeConsumer";
#endif

async Task processEventHandler(ProcessEventArgs eventArgs)
{
try
{
// Perform the application-specific processing for an event. This method
// is intended for illustration and is not defined in this snippet.

await DoSomethingWithTheEvent(eventArgs.Partition, eventArgs.Data);
}
catch
Expand All @@ -105,6 +106,7 @@ async Task processErrorHandler(ProcessErrorEventArgs eventArgs)
{
// Perform the application-specific processing for an error. This method
// is intended for illustration and is not defined in this snippet.

await DoSomethingWithTheError(eventArgs.Exception);
}
catch
Expand Down Expand Up @@ -140,19 +142,20 @@ public async Task ProcessUntilCanceled()
var cancellationSource = new CancellationTokenSource();
cancellationSource.CancelAfter(TimeSpan.FromSeconds(45));

#if SNIPPET
var storageConnectionString = "<< CONNECTION STRING FOR THE STORAGE ACCOUNT >>";
var blobContainerName = "<< NAME OF THE BLOB CONTAINER >>";
/*@@*/
/*@@*/ storageConnectionString = StorageTestEnvironment.Instance.StorageConnectionString;
/*@@*/ blobContainerName = storageScope.ContainerName;

var eventHubsConnectionString = "<< CONNECTION STRING FOR THE EVENT HUBS NAMESPACE >>";
var eventHubName = "<< NAME OF THE EVENT HUB >>";
var consumerGroup = "<< NAME OF THE EVENT HUB CONSUMER GROUP >>";
/*@@*/
/*@@*/ eventHubsConnectionString = EventHubsTestEnvironment.Instance.EventHubsConnectionString;
/*@@*/ eventHubName = eventHubScope.EventHubName;
/*@@*/ consumerGroup = eventHubScope.ConsumerGroups.First();
#else
var storageConnectionString = StorageTestEnvironment.Instance.StorageConnectionString;
var blobContainerName = storageScope.ContainerName;
var eventHubsConnectionString = EventHubsTestEnvironment.Instance.EventHubsConnectionString;
var eventHubName = eventHubScope.EventHubName;
var consumerGroup = eventHubScope.ConsumerGroups.First();
#endif

Task processEventHandler(ProcessEventArgs eventArgs) => Task.CompletedTask;
Task processErrorHandler(ProcessErrorEventArgs eventArgs) => Task.CompletedTask;
Expand All @@ -169,6 +172,7 @@ public async Task ProcessUntilCanceled()
{
// The processor performs its work in the background; block until cancellation
// to allow processing to take place.

await Task.Delay(Timeout.Infinite, cancellationSource.Token);
}
catch (TaskCanceledException)
Expand All @@ -183,6 +187,7 @@ public async Task ProcessUntilCanceled()
finally
{
// To prevent leaks, the handlers should be removed when processing is complete.

processor.ProcessEventAsync -= processEventHandler;
processor.ProcessErrorAsync -= processErrorHandler;
}
Expand All @@ -199,23 +204,24 @@ public void CreateWithIdentity()
{
#region Snippet:EventHubs_Processor_ReadMe_CreateWithIdentity

TokenCredential credential = new DefaultAzureCredential();
/*@@*/ credential = EventHubsTestEnvironment.Instance.Credential;

string blobStorageUrl ="<< FULLY-QUALIFIED CONTAINER URL (like https://myaccount.blob.core.windows.net/mycontainer) >>";
/*@@*/ blobStorageUrl = $"https://{ StorageTestEnvironment.Instance.StorageAccountName }.{ StorageTestEnvironment.Instance.StorageEndpointSuffix }/{ "fake-container" }";
/*@@*/
BlobContainerClient storageClient = new BlobContainerClient(new Uri(blobStorageUrl), credential);
#if SNIPPET
var credential = new DefaultAzureCredential();
var blobStorageUrl ="<< FULLY-QUALIFIED CONTAINER URL (like https://myaccount.blob.core.windows.net/mycontainer) >>";

var fullyQualifiedNamespace = "<< FULLY-QUALIFIED EVENT HUBS NAMESPACE (like something.servicebus.windows.net) >>";
var eventHubName = "<< NAME OF THE EVENT HUB >>";
var consumerGroup = "<< NAME OF THE EVENT HUB CONSUMER GROUP >>";
/*@@*/
/*@@*/ fullyQualifiedNamespace = EventHubsTestEnvironment.Instance.FullyQualifiedNamespace;
/*@@*/ eventHubName = "fakeHub";
/*@@*/ consumerGroup = "fakeConsumer";
#else
var credential = EventHubsTestEnvironment.Instance.Credential;
var blobStorageUrl = $"https://{ StorageTestEnvironment.Instance.StorageAccountName }.{ StorageTestEnvironment.Instance.StorageEndpointSuffix }/{ "fake-container" }";
var fullyQualifiedNamespace = EventHubsTestEnvironment.Instance.FullyQualifiedNamespace;
var eventHubName = "fakeHub";
var consumerGroup = "fakeConsumer";
#endif

var storageClient = new BlobContainerClient(new Uri(blobStorageUrl), credential);

EventProcessorClient processor = new EventProcessorClient
var processor = new EventProcessorClient
(
storageClient,
consumerGroup,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,13 @@ public async Task PublishEvents()
{
#region Snippet:EventHubs_Processor_Sample01_PublishEvents

#if SNIPPET
var connectionString = "<< CONNECTION STRING FOR THE EVENT HUBS NAMESPACE >>";
var eventHubName = "<< NAME OF THE EVENT HUB >>";
/*@@*/
/*@@*/ connectionString = EventHubsTestEnvironment.Instance.EventHubsConnectionString;
/*@@*/ eventHubName = _eventHubScope.EventHubName;
#else
var connectionString = EventHubsTestEnvironment.Instance.EventHubsConnectionString;
var eventHubName = _eventHubScope.EventHubName;
#endif

var producer = new EventHubProducerClient(connectionString, eventHubName);

Expand Down Expand Up @@ -123,19 +125,20 @@ public async Task ProcessEvents()

#region Snippet:EventHubs_Processor_Sample01_ProcessEvents

#if SNIPPET
var storageConnectionString = "<< CONNECTION STRING FOR THE STORAGE ACCOUNT >>";
var blobContainerName = "<< NAME OF THE BLOB CONTAINER >>";
/*@@*/
/*@@*/ storageConnectionString = StorageTestEnvironment.Instance.StorageConnectionString;
/*@@*/ blobContainerName = storageScope.ContainerName;

var eventHubsConnectionString = "<< CONNECTION STRING FOR THE EVENT HUBS NAMESPACE >>";
var eventHubName = "<< NAME OF THE EVENT HUB >>";
var consumerGroup = "<< NAME OF THE EVENT HUB CONSUMER GROUP >>";
/*@@*/
/*@@*/ eventHubsConnectionString = EventHubsTestEnvironment.Instance.EventHubsConnectionString;
/*@@*/ eventHubName = _eventHubScope.EventHubName;
/*@@*/ consumerGroup = _eventHubScope.ConsumerGroups.First();
#else
var storageConnectionString = StorageTestEnvironment.Instance.StorageConnectionString;
var blobContainerName = storageScope.ContainerName;
var eventHubsConnectionString = EventHubsTestEnvironment.Instance.EventHubsConnectionString;
var eventHubName = _eventHubScope.EventHubName;
var consumerGroup = _eventHubScope.ConsumerGroups.First();
#endif

var storageClient = new BlobContainerClient(
storageConnectionString,
Expand Down
Loading