Skip to content
This repository was archived by the owner on Aug 26, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
6bef5b2
Normalize enum-style structs in Key Vault (#7767)
heaths Oct 1, 2019
9221be2
Make Response<T> abstract (#7858)
pakrym Oct 1, 2019
e7974bc
Update EditorConfig rule for public static fields (#7863)
chidozieononiwu Oct 1, 2019
323aa82
[Storage] Make the CORS rules nullable (#7766)
ShivangiReja Oct 1, 2019
b29119b
Fix some API Documentation links
ellismg Oct 1, 2019
5f4ec70
[Data Factory][Bug fix before SDK publishing] Add new sub resource wr…
jackmagic313 Oct 2, 2019
1f96b67
Only redact values of headers and query parameters (#7856)
pakrym Oct 2, 2019
355868a
Add Pageable/AsyncPageable and enumerate over T (#7739)
pakrym Oct 2, 2019
0ce099a
Update Key Vault types to match new conventions (#7869)
heaths Oct 2, 2019
7539a36
Fix bad merge in Key Vault key tests (#7885)
heaths Oct 2, 2019
5e9a0b2
Regenerate after blob flat delimiter removal (#7884)
JoshLove-msft Oct 2, 2019
d00b001
Normalize method names between Key Vault libraries (#7887)
heaths Oct 2, 2019
bc60f9f
Add ctor to BlobContainerClient taking Uri with no credentials (#7836)
JoshLove-msft Oct 2, 2019
5eead6d
React to Pageable<T> in readme files (#7883)
pakrym Oct 2, 2019
66b584a
Use TimeSpan for break period (#7842)
JoshLove-msft Oct 2, 2019
60f26b7
Make pipelines internal (#7843)
JoshLove-msft Oct 3, 2019
01e7527
Replace Impl suffix with Core (#7868)
JoshLove-msft Oct 3, 2019
9518ffe
Rename SetTier to SetAccessTier (#7866)
JoshLove-msft Oct 3, 2019
e70ca70
Rename Container to BlobContainer (#7865)
JoshLove-msft Oct 3, 2019
a725467
Update Network SDK for September release (#7891)
anton-evseev Oct 3, 2019
ae4c5de
Conditional Requests for AppConfig (#7803)
annelo-msft Oct 3, 2019
94e7c48
[Storage] Use structs for model types where appropriate (#7807)
ShivangiReja Oct 3, 2019
8004f67
[Event Hubs Client] Track Two: Fourth Preview (AMQP Receiver Scope)
jsquire Sep 30, 2019
681e160
Make ResponseExceptionExtensions, RetriableStream shared source (#7913)
pakrym Oct 3, 2019
9d3d054
Move ETag, Range, Conditions types to Azure namespace (#7914)
pakrym Oct 3, 2019
ed4fc0d
Rename Pageable.ByPage to AsPages to be consistent with AsyncPa… (#7917)
pakrym Oct 3, 2019
2fc7991
Make HttpPipelineMessage.Request readonly (#7918)
pakrym Oct 3, 2019
03d1022
Reorder Response.FromValue parameters (#7919)
pakrym Oct 3, 2019
752d72f
Prefix service property types with Blob/Queue/File. (#7882)
JoshLove-msft Oct 4, 2019
ad71c9c
Initial MergeCertificate method (#7894)
heaths Oct 4, 2019
0e01cf7
Fix bad GitHub merge (#7922)
heaths Oct 4, 2019
94047a3
Azure.Identity adding AuthenticationCodeCredential (#7902)
Oct 4, 2019
cdf4bc5
Combined prefix operations (#7880)
rileymckenna Oct 4, 2019
08afd05
DataShare version update (#7890)
dadihe Oct 4, 2019
69d8d63
Added CreateIfNotExists DeleteIfExists for blobs (#7881)
amnguye Oct 4, 2019
cf84d64
Fix argument order of FromValue calls (#7930)
pakrym Oct 4, 2019
2ae13ea
[Storage] Making RehydratePriority and ArchiveStatus proper enums (#7…
ShivangiReja Oct 4, 2019
15d54a9
Fix #7901: Make methods exposing ConditionalRequestOperations interna…
AlexanderSher Oct 4, 2019
c467128
Azure.Identity adding optional tenantId to InteractiveBrowserCredenti…
Oct 4, 2019
48c7209
Fix #7804: Remove HasChanged (#7908)
AlexanderSher Oct 4, 2019
f2be5e5
Add SnippetGenerator (#7928)
pakrym Oct 4, 2019
c4f62d2
Hide some options and header type constructors (#7916)
pakrym Oct 4, 2019
0393d51
Make a Flags Enum for Block list options (#7924)
JoshLove-msft Oct 5, 2019
c82ca99
Split GetBlobsOptions into two separate Flags enums (#7910)
JoshLove-msft Oct 5, 2019
633997e
Make ResponseBodyNotFoundException internal (#7931)
annelo-msft Oct 6, 2019
f15ebaf
Updated Package version to 1.0.1-preview (#7929)
rileymckenna Oct 7, 2019
b95b595
Regenerate for Microsoft.Resources version 2019-07-01 (#7888)
shenglol Oct 7, 2019
5172be3
Azure.Core release notes (#7934)
pakrym Oct 7, 2019
b1e1b5c
Added XMsRange property to HttpHeader (#7952)
jaschrep-msft Oct 7, 2019
b47daf7
Azure.Identity Adding DefaultAzureCredentialOption and updating crede…
Oct 7, 2019
87a4cc0
CHANGELOG.md update: included preview 4 related changes (#7954)
kinelski Oct 7, 2019
4fe6d9f
Use package reference to Azure.Core preview.9 (#7953)
pakrym Oct 7, 2019
f29db09
Azure.Identity updating ci to build all libraries (#7955)
Oct 7, 2019
ec3878b
Adding release notes to .NET AppConfig library (#7948)
annelo-msft Oct 7, 2019
7246ed4
Update Azure.Identity release notes for Preview 4 (#7959)
Oct 7, 2019
a9735dc
[Storage] Change BlobItem.Deleted and BlobItemProperties.AccessTierIn…
ShivangiReja Oct 7, 2019
68bb5ae
Small README updates. (#7965)
annelo-msft Oct 7, 2019
a4fa4ee
Update Key Vault package information for release (#7958)
heaths Oct 7, 2019
bf9351e
Update Key Vault README samples (#7943)
heaths Oct 7, 2019
4984857
Regenerate CDN sdk base on latest swagger update. (#7962)
hytao Oct 8, 2019
4775c09
billing plan sdk update (#7872)
Only2125 Oct 8, 2019
7af86f2
Ink recog sdk (#7607)
MAtifSaeed Oct 8, 2019
6fbe91c
[EventHubs] Fourth Preview: release prep (update README.md) (#7968)
kinelski Oct 8, 2019
0fc6eda
[EventHubs] Fourth Preview: update Event Processor sample (#7951)
kinelski Oct 8, 2019
3ad1ef6
Add api-version to allowed query params for Key Vault (#7925)
heaths Oct 8, 2019
693c18a
Update Azure.Identity version and release notes for M.E.Azure (#7975)
pakrym Oct 8, 2019
f87e968
Improve some Key Vault XML documentation (#7985)
heaths Oct 9, 2019
18997a3
[Event Hubs Client] Track Two: Fifth Preview (AMQP Consumer)
jsquire Oct 3, 2019
cb989fd
Limit application id to 24 characters (#7961)
pakrym Oct 9, 2019
2a7db28
Rename HttpPipelineBuilder parameters and add nullability attri… (#8005)
pakrym Oct 9, 2019
13749f0
Update Storage release notes and bump versions (#8006)
tg-msft Oct 9, 2019
5a72728
[EventHubs] Second Preview: CheckpointStore.Blob release prep (change…
kinelski Oct 9, 2019
216590c
Add support for batching (#7971)
tg-msft Oct 9, 2019
db02df9
Adds ConfigureAwait(false) in SDK Common Auth (#6976)
danielmarbach Oct 9, 2019
4919d45
Add etag and content-length properties to headers (#8013)
pakrym Oct 10, 2019
c8cc278
Blob package prereqs (#8018)
jaschrep-msft Oct 10, 2019
47fe202
Removing condition on unsafe code (#8020)
tg-msft Oct 10, 2019
c7396af
Move batching to a separate test project (#8021)
tg-msft Oct 10, 2019
96cfa0f
Update version info (#8025)
leonardbf Oct 10, 2019
4139eef
Added Tests for the InkRecognizer (#8015)
MAtifSaeed Oct 10, 2019
df99087
[ENG] Update props files to reference preview 4 EventHubs and Blobs p…
kinelski Oct 10, 2019
8001b1c
Update depdencies to RTM (#7964)
pakrym Oct 10, 2019
8273d05
Finalize type names and namespaces (#7957)
pakrym Oct 10, 2019
5768378
Fix #7732: Throw correct exception type for IsNullOrEmpty (#8030)
AlexanderSher Oct 10, 2019
f2f641f
[Storage] Rename Tid/Oid to TenantId and ObjectId (#7969)
ShivangiReja Oct 10, 2019
d382349
Change CertificateClient based on UX studies
heaths Oct 10, 2019
74a2050
Add Azure client build extension methods
heaths Oct 10, 2019
f95af6e
Use Logged prefix in Diagnostics options (#7967)
pakrym Oct 10, 2019
e37fa64
[Storage] Change acronyms to PascalCase for enum fields (#7998)
ShivangiReja Oct 10, 2019
d602494
Encrypt, Sign, and Wrap should honor nbf, exp (#7923)
heaths Oct 11, 2019
0418c38
Update assembly verison to 4.2.4 (#8034)
hytao Oct 11, 2019
e444000
update version to unblock the release (#8000)
Only2125 Oct 11, 2019
b9620a3
Hide Azure.Core diagnostic types (#7981)
pakrym Oct 11, 2019
1404b49
Rename WaitCompletion method and add interval parameter (#7991)
pakrym Oct 11, 2019
7c2ff45
Rename message, content and token request (#8054)
pakrym Oct 11, 2019
7e9bc19
[Storage] Fix: QueueClient.GetAccessPolicy fails with null Start/Exp…
ShivangiReja Oct 11, 2019
0a5d5ff
Make client constants instance properties to support versioning (#7966)
JoshLove-msft Oct 11, 2019
fd91674
rename (blob|http)AccessConditions parameters to accessConditions; re…
JoshLove-msft Oct 11, 2019
0512265
update parameter name fom containerUri to blobContainerUri (#8019)
JoshLove-msft Oct 11, 2019
d0cf70a
update param name in UploadAsync call (#8063)
JoshLove-msft Oct 11, 2019
ad1edee
Rename *DownloadProperties model to be *DownloadDetails (#7992)
JoshLove-msft Oct 11, 2019
983886d
Tweak release notes (#8070)
tg-msft Oct 11, 2019
30152c8
IKeyEncryptionKey API review changes (#8066)
pakrym Oct 11, 2019
8698cf6
Ensure link to non-existing subscription throws MessagingEntityNotFou…
nemakam Oct 12, 2019
a72b04f
[ServiceBus] Avoid reporting OperationCanceledException in message pu…
nemakam Oct 12, 2019
1f9edf6
SDK update for Azure Backup api version 2019-05-13 (#8024)
SanjayHukumRana Oct 12, 2019
e2154f2
[Data Factory] Add Switch + AzureMLExecutePipeline activity, Update A…
mablumen Oct 12, 2019
82df561
Fix #7906: Make ConfigurationSetting Equality an object reference. (#…
AlexanderSher Oct 14, 2019
daaf95d
Notify exception in partition manager (#8088)
serkantkaraca Oct 14, 2019
166356f
ConfigureAwait(false)
danielmarbach Oct 10, 2019
225ef03
Fix nullable annotation for Headers.TryGetValues (#8102)
pakrym Oct 14, 2019
f38cb9e
Rename HttpRange Count to Length and remove ToHeader (#8100)
pakrym Oct 14, 2019
66de0fc
Make operation more abstract (#8099)
pakrym Oct 14, 2019
31a8ecc
Adding default idle timeout for amqpConnection object (#7944)
nemakam Oct 14, 2019
0ddd7ea
Fix #7861: [AppConfiguration] Add headers and query parameters allow …
AlexanderSher Oct 14, 2019
9068b18
[Azure Search] Add ability to generate from a path using tags (#8061)
arv100kri Oct 15, 2019
7cb3f58
Use data escaping for query values and path segments (#8090)
pakrym Oct 15, 2019
58c6333
Clean up PageRangesInfo/PageList (#8044)
JoshLove-msft Oct 15, 2019
f3ae7f1
New Kusto version (2019-09-07) (#8028)
liatbezalel Oct 15, 2019
0224864
Remove IV, AuthenticationData, and AuthenticationTag
heaths Oct 11, 2019
da173e4
Read JSON properties more efficiently
heaths Oct 11, 2019
a608c8b
[Storage] Rename Lease to BlobLease (#8071)
ShivangiReja Oct 15, 2019
e8527b1
[Storage] Update generated extensible enums (#8029)
ShivangiReja Oct 15, 2019
f71569d
[Storage] Rename Block to BlobBlock (#8096)
ShivangiReja Oct 15, 2019
c1f5503
[Storage] Remove `Blob` suffix in BlobType enum values (#8105)
ShivangiReja Oct 15, 2019
b3793ac
Add messages to event source events (#8120)
pakrym Oct 15, 2019
8917669
Make StorageSharedKeyPipelinePolicy internal (#8112)
JoshLove-msft Oct 15, 2019
bea2efb
remove Storage.Common namespace (#8111)
JoshLove-msft Oct 15, 2019
57ef472
Move ContentType onto StorageFileDownloadInfo (#8086)
JoshLove-msft Oct 15, 2019
ef257cc
fixing handling of username parameter in SharedTokenCacheCredential (…
Oct 15, 2019
6e9f830
Exclude shared types from Azure.Core by default (#8126)
pakrym Oct 15, 2019
84b32be
Convert several SAS properties to enums (#8103)
JoshLove-msft Oct 16, 2019
68cf348
[Storage] regenerate SRP SDK from latest swagger (#8136)
blueww Oct 16, 2019
fe46205
Azure Site Recovery (ASR) - Azure Disk Encryption OnePass support cha…
ayfathim Oct 16, 2019
a6616f7
Initial Measure-Types script (#8098)
heaths Oct 16, 2019
3f3eb74
Add Path property (#8114)
JoshLove-msft Oct 16, 2019
a3f2383
Updated policy to ensure lowercase x-ms headers (#8132)
amnguye Oct 16, 2019
7d587e0
Treat request failure to IDMS as unavailability
ellismg Oct 2, 2019
e3e86e2
Rename ParallelTransferOptions.MaximumThreadCount to MaximumConcurren…
amnguye Oct 16, 2019
c9cfa4c
[Storage] Change first ServiceVersion value to 1 and throw for everyt…
ShivangiReja Oct 16, 2019
efcf3dd
Reenabling ListBlobsFlatSegmentAsync_PreservesWhitespace test (#8127)
amnguye Oct 16, 2019
05eb97e
[Storage] Rename `StorageHandle` to `StorageFileHandle` (#8125)
ShivangiReja Oct 16, 2019
3e02932
Update property names for AccessPolicy (#8067)
JoshLove-msft Oct 16, 2019
e0bdf52
Add ErrorCode property to RequestFailedException (#8152)
pakrym Oct 16, 2019
e3b0bb5
rename expiry/start to expiresOn/StartsOn (#8110)
JoshLove-msft Oct 16, 2019
e6ce141
Updates to MatchConditions per arch board. (#8138)
annelo-msft Oct 16, 2019
46c86df
Make Page<T> abstract (#8159)
pakrym Oct 16, 2019
29ed696
Refactor KeyVault Keys and Secrets from reviews (#8131)
heaths Oct 17, 2019
0bb23d2
fix SAS protocol bug (#8173)
JoshLove-msft Oct 17, 2019
e79e6ca
Replace GetQueueOptions/GetFilesAndDirectoriesOptions with params on …
JoshLove-msft Oct 17, 2019
827e154
Updated SDK to reflect recent changes in swagger (#8133)
vchske Oct 17, 2019
fca0c83
[Event Hubs Client] Track Two: Fifth Preview (AMQP Producer)
jsquire Oct 8, 2019
631130d
fix blobs readme.md yaml structure (#8182)
JoshLove-msft Oct 17, 2019
c50152c
[Storage] Change ShareClient.SetQuotaInternal and ListSharesIncludeTy…
ShivangiReja Oct 17, 2019
0606479
[Event Hubs Client] Track Two: Fifth Preview (AMQP Refactoring)
jsquire Oct 16, 2019
d4a4095
Expand default header allow-list (#8166)
pakrym Oct 17, 2019
2c36330
Make BlobBlock a struct (#8180)
pakrym Oct 17, 2019
33b8a65
[Storage] Rename IPRange to SasIPRange (#8170)
ShivangiReja Oct 17, 2019
ba25999
Fix issue where any retry will fail to AppConfig service. (#8184)
annelo-msft Oct 17, 2019
5f6fbdc
Turn large or mutable structs back into classes (#8178)
pakrym Oct 17, 2019
7355195
Add XML doc comments to types in Azure.Core (#8147)
pakrym Oct 17, 2019
31ea349
[Storage] Make GeoReplicationStatus a regular enum (#8197)
ShivangiReja Oct 17, 2019
7dac1af
Use correct suffix for lockfile
ellismg Oct 17, 2019
9d25e16
Revert accidental change (#8207)
pakrym Oct 18, 2019
66f2e67
Remove AzureExtensions (#8193)
pakrym Oct 18, 2019
8a44c77
Split out ForceCloseHandles into two methods (#8134)
JoshLove-msft Oct 18, 2019
2e28e5d
Make CopyFromUriOperation public (#8177)
pakrym Oct 18, 2019
8882600
[Storage] Rename Metrics.IncludeAPIs to IncludeApis (#8204)
ShivangiReja Oct 18, 2019
d59951b
[Storage] Rename ParallelTransferOptions to StorageTransferOptions (#…
ShivangiReja Oct 18, 2019
eba1c6c
Update documentation link in CODEOWNERS (#8217)
danieljurek Oct 18, 2019
8e67d38
Change Delete and RecoverDeleted methods to LROs (#8175)
heaths Oct 18, 2019
352b49b
Bring generated code up-to-date (#8222)
pakrym Oct 18, 2019
82d7076
SignedIdentifier/GeoReplication/RetentionPolicy renaming (#8203)
JoshLove-msft Oct 18, 2019
7f2febf
[Storage] ParallelTransferOptions Renamed to StorageTransferOptions, …
ShivangiReja Oct 18, 2019
7b76bd0
[Storage] Rename QueueClient.MaxMessagesPeek to MaxPeekableMessages (…
ShivangiReja Oct 18, 2019
0759730
Use IProgress<long> instead of StorageProgress (#8231)
pakrym Oct 18, 2019
4fc7042
Use properties for string enums (#8239)
pakrym Oct 18, 2019
3a857bc
Azure.Identity updates addressing API review feedback with breaking c…
Oct 18, 2019
8c2d24c
Updating changelog 4.1.0 (#8245)
nemakam Oct 18, 2019
d15c66c
Append InGB to all quotas in Files (#8242)
pakrym Oct 18, 2019
d26b842
Use enums for SAS permissions (#8234)
JoshLove-msft Oct 19, 2019
471ece8
Remove StorageRequestFailedException (#8206)
pakrym Oct 19, 2019
d185b69
Replacing FileInfo with string in Upload Blob methods (#8243)
amnguye Oct 19, 2019
6396b6a
Retry transport failures (#8247)
pakrym Oct 19, 2019
5361954
Tracing: Add client kind on Azure.Core.Http.Request Activity (#8244)
Oct 19, 2019
a39b60f
Fix #8185: Updates to SettingSelector (#8223)
AlexanderSher Oct 19, 2019
b1cac0f
[Storage] Remove `Header` from Files (#8240)
ShivangiReja Oct 19, 2019
b2c1241
[Event Hubs Client] Track Two: Fifth Preview (Event Data as Stream)
jsquire Oct 18, 2019
ab27420
API updates from AppConfig cross-language comparison (#8209)
annelo-msft Oct 19, 2019
8a5ac01
Luis runtimev3 (#8220)
nebadr Oct 21, 2019
cef467c
Try to fix the test flakiness (#8290)
pakrym Oct 21, 2019
639d16c
Add tests to validate: correctly escape '#' character in key & label …
annelo-msft Oct 21, 2019
97ad7c0
renames in Queue API (#8186)
JoshLove-msft Oct 21, 2019
9b4a8c3
make QueueAccessPolicy properties nullable again (#8251)
JoshLove-msft Oct 21, 2019
c70ffcb
Make NtfsFileAttributes a nullable flags enum (#8253)
JoshLove-msft Oct 21, 2019
4d79a6d
[Event Hubs Client] Track Two: Fifth Preview (Telemetry Properties)
jsquire Oct 21, 2019
9ff3f59
[Event Hubs Client] Track Two: Fifth Preview (Immutable LastEnqueuedE…
jsquire Oct 18, 2019
d00ac4a
Add EventSource logging to CryptographyClient (#8249)
heaths Oct 21, 2019
43a178c
Make Response[<T>] easier to use in debugger (#8300)
pakrym Oct 21, 2019
0dade2d
Fix #7130: Consistency in ConfigurationClient.cs (#8119)
AlexanderSher Oct 21, 2019
269735a
Storage: Rename to DownloadTo and use string instead of FileInfo (#8276)
tg-msft Oct 21, 2019
7411666
Storage: Remove generated public .ctors that should be hidden (#8278)
tg-msft Oct 21, 2019
446eaf9
Storage: rename DeleteSnapshotsOption (#8282)
tg-msft Oct 21, 2019
1495d01
Storage: make GetShares look like GetBlobs (#8283)
tg-msft Oct 21, 2019
affeb3d
Storage: Use WithSnapshot for Files (#8281)
tg-msft Oct 21, 2019
e27c0fa
Fix #8187: Update to SettingFields (#8310)
AlexanderSher Oct 21, 2019
0420109
Remove WithCPK and thread options down the hierarchy (#8277)
tg-msft Oct 21, 2019
db80641
Rename client builder extension classes to avoid having the sam… (#8313)
pakrym Oct 21, 2019
3272a17
SDK changes for swagger update to support AutomaticRepairsPolicy for …
hapandar Oct 22, 2019
7baae3d
Storage: Rename date properties to *On naming convention (#8284)
tg-msft Oct 22, 2019
d3a4cff
Refreshing SQL ManagedDatabase SDK. (#7808)
misosic-msft Oct 22, 2019
f898f46
[Event Hubs Client] Track Two: Fifth Preview (Remove Track One)
jsquire Oct 21, 2019
b5791d3
allowed ClientSecretCredential to query token without throwing errors
Oct 22, 2019
36a7abc
Fixed comment indentation
Oct 22, 2019
f944d62
[Azure Search] Branding changes to Azure Cognitive Search (#8316)
bleroy Oct 22, 2019
640488d
Storage: Use RequestConditions and return exploding responses (#8275)
tg-msft Oct 22, 2019
060a525
Return ValueTask from GetTokenAsync (#8324)
pakrym Oct 22, 2019
4b2bf70
Make internal implementation detail ProcessAsync method private (#8327)
pakrym Oct 22, 2019
af7a687
Renaming Blob namespaces to Blobs.
vbenedichuk Oct 22, 2019
fc86824
Projects renamed
vbenedichuk Oct 22, 2019
83924f9
Paths updated.
vbenedichuk Oct 22, 2019
0bd6e12
Azure.Messaging.EventHubs.CheckpointStore.Blobs.sln updated.
vbenedichuk Oct 22, 2019
24aa68f
[Storage] Rename LeaseClient to BlobLeaseClient (#8328)
ShivangiReja Oct 22, 2019
6cf81cc
Update KeyVault(Keys,Certificates) README (#8087)
tzhanl Oct 22, 2019
66e4ec6
Fix #8334: Throw ArgumentNullException if SettingSelector passed in t…
AlexanderSher Oct 23, 2019
f5bdb49
Fix #8335: Make ConfigurationClientOptions.Version property internal.…
AlexanderSher Oct 23, 2019
14ec9ed
Update privatedns sdk to version 1.0.0 (#8333)
pranavpradeepnair Oct 23, 2019
4bee048
[Databox] SDK refresh to support new API version (2019-09-01) (#8219)
sashanm Oct 23, 2019
60ccc8c
[Wei] Update per laster swagger, and update test/version (#8320)
blueww Oct 23, 2019
9f50442
Re-generate Network based on October release (#8315)
anton-evseev Oct 23, 2019
b931932
Update Storage CODEOWNERS (#8325)
JoshLove-msft Oct 23, 2019
9f52d0d
Fix #8295: Validate offline cache and add automated test for deserial…
AlexanderSher Oct 23, 2019
9a26f72
[Compute] 2019-07-01 API version update (#8319)
hyonholee Oct 23, 2019
89270de
Update swagger_to_sdk_config.json
Sep 30, 2019
2b81f1c
[AutoPR Microsoft.Azure.Management.ContainerService] Aro 2019-09-30 p…
openapi-sdkautomation[bot] Oct 7, 2019
90b767b
[AutoPR Microsoft.Azure.Management.CostManagement] Supporting Managem…
openapi-sdkautomation[bot] Oct 8, 2019
440ecb1
[AutoPR Microsoft.Azure.Management.Subscription] [Hub Generated] Revi…
openapi-sdkautomation[bot] Oct 8, 2019
80891b6
[AutoPR Microsoft.Azure.Management.ApiManagement] [DO NOT MERGE] Comp…
openapi-sdkautomation[bot] Oct 20, 2019
4e2d2c3
Generated from d230f9331a57948b746132edc4734a2759ea529a
Oct 23, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 1 addition & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ dotnet_naming_rule.static_fields_should_have_prefix.style = static_prefix_style

dotnet_naming_symbols.static_fields.applicable_kinds = field
dotnet_naming_symbols.static_fields.required_modifiers = static

dotnet_naming_symbols.static_fields.applicable_accessibilities = private, internal, private_protected
dotnet_naming_style.static_prefix_style.required_prefix = s_
dotnet_naming_style.static_prefix_style.capitalization = camel_case

Expand Down Expand Up @@ -183,6 +183,3 @@ indent_size = 2
end_of_line = lf
[*.{cmd, bat}]
end_of_line = crlf

# Extra modifications on Corefx rule set
dotnet_naming_symbols.static_fields.applicable_accessibilities = private, internal
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

*.htm text
*.html text
*.md text

*.js text
*.json text
Expand Down
6 changes: 3 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Instructions for CODEOWNERS file format and automatic build failure notifications:
# https://github.com/Azure/azure-sdk/blob/master/docs/engineering-system/codeowners.md
# https://github.com/Azure/azure-sdk/blob/master/docs/policies/opensource.md#codeowners

###########
# SDK
Expand All @@ -14,7 +14,7 @@
# Service teams
/sdk/appconfiguration/ @annelo-msft

/sdk/batch/ @xingwu1 @matthchr @bgklein
/sdk/batch/ @matthchr

/sdk/cognitiveservices/language.textanalytics/ @assafi
/sdk/cognitiveservices/vision.computervision/ @toothache
Expand All @@ -31,7 +31,7 @@

/sdk/search/ @brjohnstmsft
/sdk/servicebus/ @nemakam @jsquire
/sdk/storage/ @seanmcc-msft @amnguye @tg-msft
/sdk/storage/ @seanmcc-msft @amnguye @tg-msft @JoshLove-msft
# Management Plane
/**/*Management*/ @erich-wang

Expand Down
1 change: 1 addition & 0 deletions eng/.docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ known_presence_issues:
- ['sdk/batch/Microsoft.Azure.Batch.FileStaging','#5499']
- ['sdk/graphrbac/Microsoft.Azure.Graph.RBAC','#5499']
- ['sdk/search','#5499']
- ['sdk/cognitiveservices/InkRecognizer','#5499']

known_content_issues:
- ['README.md','Root readme']
Expand Down
2 changes: 1 addition & 1 deletion eng/CodeAnalysis.ruleset
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@
<Rule Id="SA1626" Action="None" /> <!-- Single-line comments should not use documentation style slashes -->
<Rule Id="SA1627" Action="None" /> <!-- Documentation text should not be empty -->
<Rule Id="SA1628" Action="None" /> <!-- Documentation text should begin with a capital letter -->
<Rule Id="SA1629" Action="None" /> <!-- Documentation text should end with a period -->
<Rule Id="SA1629" Action="Info" /> <!-- Documentation text should end with a period -->
<Rule Id="SA1630" Action="None" /> <!-- Documentation text should contain whitespace -->
<Rule Id="SA1631" Action="None" /> <!-- Documentation should meet character percentage -->
<Rule Id="SA1632" Action="None" /> <!-- Documentation text should meet minimum character length -->
Expand Down
16 changes: 8 additions & 8 deletions eng/Packages.Data.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<ItemGroup>
<PackageReference Update="ApprovalTests" Version="3.0.22" />
<PackageReference Update="ApprovalUtilities" Version="3.0.22" />
<PackageReference Update="Azure.Core" Version="1.0.0-preview.8" />
<PackageReference Update="Azure.Identity" Version="1.0.0-preview.4" />
<PackageReference Update="Azure.Messaging.EventHubs" Version="5.0.0-preview.3" />
<PackageReference Update="Azure.Storage.Blobs" Version="12.0.0-preview.3" />
<PackageReference Update="Azure.Core" Version="1.0.0-preview.9" />
<PackageReference Update="Azure.Identity" Version="1.0.0-preview.5" />
<PackageReference Update="Azure.Messaging.EventHubs" Version="5.0.0-preview.4" />
<PackageReference Update="Azure.Storage.Blobs" Version="12.0.0-preview.4" />
<PackageReference Update="BenchmarkDotNet" Version="0.11.5" />
<PackageReference Update="FsCheck.Xunit" Version="2.14.0" />
<PackageReference Update="Microsoft.AspNetCore.Server.Kestrel" Version="2.2.0" />
Expand Down Expand Up @@ -105,13 +105,13 @@
<ItemGroup Condition="'$(IsClientLibrary)' == 'true'">
<PackageReference Update="Azure.ClientSdk.Analyzers" Version="0.1.1-dev.20190716.1" />
<PackageReference Update="System.Memory" Version="4.5.3" />
<PackageReference Update="Microsoft.Bcl.AsyncInterfaces" Version="1.0.0-rc1.19456.4" />
<PackageReference Update="Microsoft.Bcl.AsyncInterfaces" Version="1.0.0" />
<PackageReference Update="Microsoft.Extensions.DependencyInjection.Abstractions" Version="2.1.0" />
<PackageReference Update="Microsoft.Extensions.DependencyInjection" Version="2.1.0" />
<PackageReference Update="Microsoft.Extensions.Logging.Abstractions" Version="2.1.0" />
<PackageReference Update="Microsoft.Extensions.Options" Version="2.1.0" />
<PackageReference Update="System.Threading.Channels" Version="4.6.0-rc1.19456.4" />
<PackageReference Update="System.Text.Json" Version="4.6.0-rc1.19456.4" />
<PackageReference Update="System.Diagnostics.DiagnosticSource" Version="4.6.0-rc1.19456.4" />
<PackageReference Update="System.Threading.Channels" Version="4.6.0" />
<PackageReference Update="System.Text.Json" Version="4.6.0" />
<PackageReference Update="System.Diagnostics.DiagnosticSource" Version="4.6.0" />
</ItemGroup>
</Project>
29 changes: 29 additions & 0 deletions eng/SnippetGenerator/MarkdownProcessor.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using System.Text.RegularExpressions;

namespace SnippetGenerator
{
public class MarkdownProcessor
{
private static readonly string _snippetFormat = "```C# {0}{1}{2}```";
private static Regex _snippetRegex = new Regex("```\\s*?C#[ ]*?(?<name>[\\w:]+).*?```",
RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline | RegexOptions.IgnoreCase);

public static string Process(string markdown, Func<string, string> snippetProvider)
{
return _snippetRegex.Replace(markdown, match =>
{
var matchGroup = match.Groups["name"];
if (matchGroup.Success)
{
return string.Format(_snippetFormat, matchGroup.Value, Environment.NewLine, snippetProvider(matchGroup.Value));
}

return match.Value;
});
}
}
}
166 changes: 166 additions & 0 deletions eng/SnippetGenerator/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,166 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using McMaster.Extensions.CommandLineUtils;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Text;

namespace SnippetGenerator
{
public class Program
{
[Option(ShortName = "u")]
public string Markdown { get; set; }

[Option(ShortName = "s")]
public string Snippets { get; set; }

public static int Main(string[] args)
{
return CommandLineApplication.Execute<Program>(args);
}

public async Task OnExecuteAsync()
{
Console.WriteLine($"Processing {Markdown}");

var text = File.ReadAllText(Markdown);
var snippets = await GetSnippetsInDirectory(Snippets);
Console.WriteLine($"Discovered snippets:");

foreach (var snippet in snippets)
{
Console.WriteLine($" {snippet.Name}");
}

text = MarkdownProcessor.Process(text, s => {
var selectedSnippets = snippets.Where(snip => snip.Name == s).ToArray();
if (selectedSnippets.Length > 1)
{
throw new InvalidOperationException($"Multiple snippets with the name '{s}' defined '{Snippets}'");
}
if (selectedSnippets.Length == 0)
{
throw new InvalidOperationException($"Snippet '{s}' not found in directory '{Snippets}'");
}

var selectedSnippet = selectedSnippets.Single();
Console.WriteLine($"Replaced {selectedSnippet.Name}");
return FormatSnippet(selectedSnippet.Text);
});

File.WriteAllText(Markdown, text);
}

private string FormatSnippet(SourceText text)
{
int minIndent = int.MaxValue;
int firstLine = 0;
var lines = text.Lines.Select(l => l.ToString()).ToArray();

int lastLine = lines.Length - 1;

while (string.IsNullOrWhiteSpace(lines[firstLine]))
{
firstLine++;
}

while (string.IsNullOrWhiteSpace(lines[lastLine]))
{
lastLine--;
}

for (var index = firstLine; index <= lastLine; index++)
{
var textLine = lines[index];

if (string.IsNullOrWhiteSpace(textLine))
{
continue;
}

int i;
for (i = 0; i < textLine.Length; i++)
{
if (!char.IsWhiteSpace(textLine[i])) break;
}

minIndent = Math.Min(minIndent, i);
}

var stringBuilder = new StringBuilder();
for (var index = firstLine; index <= lastLine; index++)
{
var line = lines[index];
line = string.IsNullOrWhiteSpace(line) ? string.Empty : line.Substring(minIndent);
stringBuilder.AppendLine(line);
}

return stringBuilder.ToString();
}

private async Task<List<Snippet>> GetSnippetsInDirectory(string baseDirectory)
{
var list = new List<Snippet>();
foreach (var file in Directory.GetFiles(baseDirectory, "*.cs", SearchOption.AllDirectories))
{
var syntaxTree = CSharpSyntaxTree.ParseText(
File.ReadAllText(file),
new CSharpParseOptions(LanguageVersion.Preview),
path: file);
list.AddRange(await GetAllSnippetsAsync(syntaxTree));
}

return list;
}

private async Task<Snippet[]> GetAllSnippetsAsync(SyntaxTree syntaxTree)
{
var snippets = new List<Snippet>();
var directiveWalker = new DirectiveWalker();
directiveWalker.Visit(await syntaxTree.GetRootAsync());

foreach (var region in directiveWalker.Regions)
{
var syntaxTrivia = region.Item1.EndOfDirectiveToken.LeadingTrivia.First(t => t.IsKind(SyntaxKind.PreprocessingMessageTrivia));
var fromBounds = TextSpan.FromBounds(
region.Item1.GetLocation().SourceSpan.End,
region.Item2.GetLocation().SourceSpan.Start);

snippets.Add(new Snippet(syntaxTrivia.ToString(), syntaxTree.GetText().GetSubText(fromBounds)));
}

return snippets.ToArray();
}

class DirectiveWalker : CSharpSyntaxWalker
{
private Stack<RegionDirectiveTriviaSyntax> _regions = new Stack<RegionDirectiveTriviaSyntax>();
public List<(RegionDirectiveTriviaSyntax, EndRegionDirectiveTriviaSyntax)> Regions { get; } = new List<(RegionDirectiveTriviaSyntax, EndRegionDirectiveTriviaSyntax)>();

public DirectiveWalker() : base(SyntaxWalkerDepth.StructuredTrivia)
{
}

public override void VisitRegionDirectiveTrivia(RegionDirectiveTriviaSyntax node)
{
base.VisitRegionDirectiveTrivia(node);
_regions.Push(node);
}

public override void VisitEndRegionDirectiveTrivia(EndRegionDirectiveTriviaSyntax node)
{
base.VisitEndRegionDirectiveTrivia(node);
Regions.Add((_regions.Pop(), node));
}
}
}
}
19 changes: 19 additions & 0 deletions eng/SnippetGenerator/Snippet.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

using Microsoft.CodeAnalysis.Text;

namespace SnippetGenerator
{
internal class Snippet
{
public string Name { get; }
public SourceText Text { get; }

public Snippet(string name, SourceText text)
{
Name = name;
Text = text;
}
}
}
17 changes: 17 additions & 0 deletions eng/SnippetGenerator/SnippetGenerator.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="McMaster.Extensions.CommandLineUtils" Version="2.3.4" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.2.1" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.2.1" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="3.2.1" />
<PackageReference Include="Microsoft.Build" Version="16.0.461" />
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="16.0.461" />
</ItemGroup>

</Project>
25 changes: 25 additions & 0 deletions eng/SnippetGenerator/SnippetGenerator.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29315.20
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SnippetGenerator", "SnippetGenerator.csproj", "{DC46BB54-17A2-471C-A21A-D7F329505955}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DC46BB54-17A2-471C-A21A-D7F329505955}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DC46BB54-17A2-471C-A21A-D7F329505955}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DC46BB54-17A2-471C-A21A-D7F329505955}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DC46BB54-17A2-471C-A21A-D7F329505955}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {8162DAAE-F789-44E8-8552-58A3581A0AF3}
EndGlobalSection
EndGlobal
11 changes: 11 additions & 0 deletions eng/Update-Snippets.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
$generatorProject = "$PSScriptRoot\SnippetGenerator\SnippetGenerator.csproj";
dotnet build $generatorProject

foreach ($file in Get-ChildItem "$PSScriptRoot\..\sdk" -Filter README.md -Recurse)
{
$samples = Join-Path $file.Directory "samples"
if (Test-Path $samples)
{
dotnet run -p $generatorProject --no-build -u $file.FullName -s $samples
}
}
6 changes: 3 additions & 3 deletions eng/mgmt/mgmtmetadata/azure-kusto_resource-manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ AutoRest installed successfully.
Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/azure-kusto/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\Git\Clients\azure-sdk-for-net\src\SDKs
2019-09-02 13:37:08 UTC
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/azure-kusto/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\repos\azure-sdk-for-net\sdk
2019-10-10 18:05:55 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: 8fff657a61cd85b0a9ce9a42d17dc4f536d9f7a8
Commit: 1dec7ad95de2a996e02f119eaa1f00e49e45cb3a
AutoRest information
Requested version: latest
Bootstrapper version: autorest@2.0.4283
Loading