@azure-typespec/http-client-csharp-provisioning 1.0.0-alpha.20260917.1 → 1.0.0-alpha.20261011.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/generator/Azure.Core.dll +0 -0
  2. package/dist/generator/Azure.Generator.Management.dll +0 -0
  3. package/dist/generator/Azure.Generator.Provisioning.deps.json +102 -74
  4. package/dist/generator/Azure.Generator.Provisioning.dll +0 -0
  5. package/dist/generator/Azure.Generator.Provisioning.pdb +0 -0
  6. package/dist/generator/Azure.Generator.Provisioning.xml +10 -0
  7. package/dist/generator/Azure.Generator.dll +0 -0
  8. package/dist/generator/Microsoft.Identity.Client.Extensions.Msal.dll +0 -0
  9. package/dist/generator/Microsoft.Identity.Client.dll +0 -0
  10. package/dist/generator/Microsoft.TypeSpec.Generator.ClientModel.dll +0 -0
  11. package/dist/generator/Microsoft.TypeSpec.Generator.Input.dll +0 -0
  12. package/dist/generator/Microsoft.TypeSpec.Generator.dll +0 -0
  13. package/dist/generator/Shared/Core/AppContextSwitchHelper.cs +33 -0
  14. package/dist/generator/System.ClientModel.dll +0 -0
  15. package/dist/generator/System.IO.Hashing.dll +0 -0
  16. package/dist/generator/net10.0/Azure.Core.dll +0 -0
  17. package/dist/generator/net10.0/Azure.Generator.Management.dll +0 -0
  18. package/dist/generator/net10.0/Azure.Generator.Provisioning.deps.json +102 -74
  19. package/dist/generator/net10.0/Azure.Generator.Provisioning.dll +0 -0
  20. package/dist/generator/net10.0/Azure.Generator.Provisioning.pdb +0 -0
  21. package/dist/generator/net10.0/Azure.Generator.Provisioning.xml +10 -0
  22. package/dist/generator/net10.0/Azure.Generator.dll +0 -0
  23. package/dist/generator/net10.0/Microsoft.Identity.Client.Extensions.Msal.dll +0 -0
  24. package/dist/generator/net10.0/Microsoft.Identity.Client.dll +0 -0
  25. package/dist/generator/net10.0/Microsoft.TypeSpec.Generator.ClientModel.dll +0 -0
  26. package/dist/generator/net10.0/Microsoft.TypeSpec.Generator.Input.dll +0 -0
  27. package/dist/generator/net10.0/Microsoft.TypeSpec.Generator.dll +0 -0
  28. package/dist/generator/net10.0/Shared/Core/AppContextSwitchHelper.cs +33 -0
  29. package/dist/generator/net10.0/System.ClientModel.dll +0 -0
  30. package/dist/generator/net10.0/System.IO.Hashing.dll +0 -0
  31. package/package.json +18 -18
Binary file
@@ -6,36 +6,37 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator.Provisioning/1.0.0-alpha.20260917.1": {
9
+ "Azure.Generator.Provisioning/1.0.0-alpha.20261011.1": {
10
10
  "dependencies": {
11
- "Azure.Generator": "1.0.0-alpha.20260908.4",
12
- "Azure.Generator.Management": "1.0.0-alpha.20260907.1",
13
- "Azure.Provisioning": "1.6.0"
11
+ "Azure.Generator": "1.0.0-alpha.20260922.2",
12
+ "Azure.Generator.Management": "1.0.0-alpha.20260929.3",
13
+ "Azure.Provisioning": "1.6.0",
14
+ "Microsoft.SourceLink.GitHub": "10.0.401"
14
15
  },
15
16
  "runtime": {
16
17
  "Azure.Generator.Provisioning.dll": {}
17
18
  }
18
19
  },
19
- "Azure.Core/1.62.0": {
20
+ "Azure.Core/1.63.0": {
20
21
  "dependencies": {
21
22
  "Microsoft.Bcl.AsyncInterfaces": "10.0.10",
22
23
  "Microsoft.Extensions.Configuration.Abstractions": "10.0.10",
23
24
  "Microsoft.Extensions.Hosting.Abstractions": "10.0.10",
24
- "Microsoft.Identity.Client": "4.84.2",
25
- "Microsoft.Identity.Client.Extensions.Msal": "4.84.2",
26
- "System.ClientModel": "1.15.0",
25
+ "Microsoft.Identity.Client": "4.90.0",
26
+ "Microsoft.Identity.Client.Extensions.Msal": "4.90.0",
27
+ "System.ClientModel": "1.16.0",
27
28
  "System.Memory.Data": "10.0.10"
28
29
  },
29
30
  "runtime": {
30
31
  "lib/net10.0/Azure.Core.dll": {
31
- "assemblyVersion": "1.62.0.0",
32
- "fileVersion": "1.6200.26.42003"
32
+ "assemblyVersion": "1.63.0.0",
33
+ "fileVersion": "1.6300.26.47507"
33
34
  }
34
35
  }
35
36
  },
36
37
  "Azure.Core.Expressions.DataFactory/1.0.0": {
37
38
  "dependencies": {
38
- "Azure.Core": "1.62.0"
39
+ "Azure.Core": "1.63.0"
39
40
  },
40
41
  "runtime": {
41
42
  "lib/netstandard2.0/Azure.Core.Expressions.DataFactory.dll": {
@@ -44,37 +45,37 @@
44
45
  }
45
46
  }
46
47
  },
47
- "Azure.Generator/1.0.0-alpha.20260908.4": {
48
+ "Azure.Generator/1.0.0-alpha.20260922.2": {
48
49
  "dependencies": {
49
- "Azure.Core": "1.62.0",
50
+ "Azure.Core": "1.63.0",
50
51
  "Azure.Core.Expressions.DataFactory": "1.0.0",
51
52
  "Azure.ResourceManager": "1.14.0",
52
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260908.4"
53
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260918.2"
53
54
  },
54
55
  "runtime": {
55
56
  "lib/net10.0/Azure.Generator.dll": {
56
57
  "assemblyVersion": "1.0.0.0",
57
- "fileVersion": "1.0.26.45804"
58
+ "fileVersion": "1.0.26.47202"
58
59
  }
59
60
  }
60
61
  },
61
- "Azure.Generator.Management/1.0.0-alpha.20260907.1": {
62
+ "Azure.Generator.Management/1.0.0-alpha.20260929.3": {
62
63
  "dependencies": {
63
- "Azure.Core": "1.62.0",
64
- "Azure.Generator": "1.0.0-alpha.20260908.4",
64
+ "Azure.Core": "1.63.0",
65
+ "Azure.Generator": "1.0.0-alpha.20260922.2",
65
66
  "Azure.ResourceManager": "1.14.0",
66
67
  "Humanizer.Core": "3.0.10"
67
68
  },
68
69
  "runtime": {
69
70
  "lib/net10.0/Azure.Generator.Management.dll": {
70
71
  "assemblyVersion": "1.0.0.0",
71
- "fileVersion": "1.0.26.45701"
72
+ "fileVersion": "1.0.26.47903"
72
73
  }
73
74
  }
74
75
  },
75
76
  "Azure.Provisioning/1.6.0": {
76
77
  "dependencies": {
77
- "Azure.Core": "1.62.0"
78
+ "Azure.Core": "1.63.0"
78
79
  },
79
80
  "runtime": {
80
81
  "lib/net10.0/Azure.Provisioning.dll": {
@@ -85,7 +86,7 @@
85
86
  },
86
87
  "Azure.ResourceManager/1.14.0": {
87
88
  "dependencies": {
88
- "Azure.Core": "1.62.0"
89
+ "Azure.Core": "1.63.0"
89
90
  },
90
91
  "runtime": {
91
92
  "lib/net10.0/Azure.ResourceManager.dll": {
@@ -439,26 +440,26 @@
439
440
  }
440
441
  }
441
442
  },
442
- "Microsoft.Identity.Client/4.84.2": {
443
+ "Microsoft.Identity.Client/4.90.0": {
443
444
  "dependencies": {
444
445
  "Microsoft.IdentityModel.Abstractions": "8.14.0"
445
446
  },
446
447
  "runtime": {
447
448
  "lib/net8.0/Microsoft.Identity.Client.dll": {
448
- "assemblyVersion": "4.84.2.0",
449
- "fileVersion": "4.84.2.0"
449
+ "assemblyVersion": "4.90.0.0",
450
+ "fileVersion": "4.90.0.0"
450
451
  }
451
452
  }
452
453
  },
453
- "Microsoft.Identity.Client.Extensions.Msal/4.84.2": {
454
+ "Microsoft.Identity.Client.Extensions.Msal/4.90.0": {
454
455
  "dependencies": {
455
- "Microsoft.Identity.Client": "4.84.2",
456
+ "Microsoft.Identity.Client": "4.90.0",
456
457
  "System.Security.Cryptography.ProtectedData": "8.0.0"
457
458
  },
458
459
  "runtime": {
459
460
  "lib/net8.0/Microsoft.Identity.Client.Extensions.Msal.dll": {
460
- "assemblyVersion": "4.84.2.0",
461
- "fileVersion": "4.84.2.0"
461
+ "assemblyVersion": "4.90.0.0",
462
+ "fileVersion": "4.90.0.0"
462
463
  }
463
464
  }
464
465
  },
@@ -478,12 +479,17 @@
478
479
  }
479
480
  }
480
481
  },
481
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260908.4": {
482
+ "Microsoft.SourceLink.GitHub/10.0.401": {
483
+ "dependencies": {
484
+ "System.IO.Hashing": "10.0.12"
485
+ }
486
+ },
487
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260918.2": {
482
488
  "dependencies": {
483
489
  "CommandLineParser": "2.9.1",
484
490
  "Microsoft.Build": "17.9.5",
485
491
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
486
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260908.4",
492
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260918.2",
487
493
  "NuGet.Configuration": "6.14.3",
488
494
  "NuGet.Protocol": "6.14.3",
489
495
  "NuGet.Versioning": "6.14.3",
@@ -497,11 +503,11 @@
497
503
  }
498
504
  }
499
505
  },
500
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260908.4": {
506
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260918.2": {
501
507
  "dependencies": {
502
508
  "Microsoft.Extensions.Configuration.Abstractions": "10.0.10",
503
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260908.4",
504
- "System.ClientModel": "1.15.0"
509
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260918.2",
510
+ "System.ClientModel": "1.16.0"
505
511
  },
506
512
  "runtime": {
507
513
  "lib/net10.0/Microsoft.TypeSpec.Generator.ClientModel.dll": {
@@ -510,7 +516,7 @@
510
516
  }
511
517
  }
512
518
  },
513
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260908.4": {
519
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260918.2": {
514
520
  "dependencies": {
515
521
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
516
522
  "System.Memory.Data": "10.0.10"
@@ -594,7 +600,7 @@
594
600
  }
595
601
  }
596
602
  },
597
- "System.ClientModel/1.15.0": {
603
+ "System.ClientModel/1.16.0": {
598
604
  "dependencies": {
599
605
  "Microsoft.Extensions.Configuration.Abstractions": "10.0.10",
600
606
  "Microsoft.Extensions.Hosting.Abstractions": "10.0.10",
@@ -603,8 +609,8 @@
603
609
  },
604
610
  "runtime": {
605
611
  "lib/net10.0/System.ClientModel.dll": {
606
- "assemblyVersion": "1.15.0.0",
607
- "fileVersion": "1.1500.26.40403"
612
+ "assemblyVersion": "1.16.0.0",
613
+ "fileVersion": "1.1600.26.46705"
608
614
  }
609
615
  }
610
616
  },
@@ -710,6 +716,14 @@
710
716
  }
711
717
  }
712
718
  },
719
+ "System.IO.Hashing/10.0.12": {
720
+ "runtime": {
721
+ "lib/net10.0/System.IO.Hashing.dll": {
722
+ "assemblyVersion": "10.0.0.12",
723
+ "fileVersion": "10.0.1226.42308"
724
+ }
725
+ }
726
+ },
713
727
  "System.Memory.Data/10.0.10": {
714
728
  "runtime": {
715
729
  "lib/net10.0/System.Memory.Data.dll": {
@@ -753,17 +767,17 @@
753
767
  }
754
768
  },
755
769
  "libraries": {
756
- "Azure.Generator.Provisioning/1.0.0-alpha.20260917.1": {
770
+ "Azure.Generator.Provisioning/1.0.0-alpha.20261011.1": {
757
771
  "type": "project",
758
772
  "serviceable": false,
759
773
  "sha512": ""
760
774
  },
761
- "Azure.Core/1.62.0": {
775
+ "Azure.Core/1.63.0": {
762
776
  "type": "package",
763
777
  "serviceable": true,
764
- "sha512": "sha512-C0ijs91ZW2uhF/VwGLXeayb+RwTWhDxKnrsmqPWg5HkYtPQ93mzaydyMCjAzE0AG5yHc1bpaPc+NPlZUgz3w8g==",
765
- "path": "azure.core/1.62.0",
766
- "hashPath": "azure.core.1.62.0.nupkg.sha512"
778
+ "sha512": "sha512-5egODg5yWcRV0kkAv22jQL7YmsfupX7intDYbxZMu8giASSQVfG5+mwC+BdJOWvhFT1Y+9KzuvbUGqAVEBzsfw==",
779
+ "path": "azure.core/1.63.0",
780
+ "hashPath": "azure.core.1.63.0.nupkg.sha512"
767
781
  },
768
782
  "Azure.Core.Expressions.DataFactory/1.0.0": {
769
783
  "type": "package",
@@ -772,19 +786,19 @@
772
786
  "path": "azure.core.expressions.datafactory/1.0.0",
773
787
  "hashPath": "azure.core.expressions.datafactory.1.0.0.nupkg.sha512"
774
788
  },
775
- "Azure.Generator/1.0.0-alpha.20260908.4": {
789
+ "Azure.Generator/1.0.0-alpha.20260922.2": {
776
790
  "type": "package",
777
791
  "serviceable": true,
778
- "sha512": "sha512-CU3kAwaqQZIYmVO7o0yl94JEdUvRxYm+Oi1kc4kbHVzTn1h7ClAW4JLyFUdF0yGubMxA82F+Ap+U3yOCm31zYA==",
779
- "path": "azure.generator/1.0.0-alpha.20260908.4",
780
- "hashPath": "azure.generator.1.0.0-alpha.20260908.4.nupkg.sha512"
792
+ "sha512": "sha512-9RJ2uZ+i1kocVEWUK1i5FGHcW4qZSRHG+26NS5yw13yhOgpS3xuFcQdeKVftoX6mLQYS5K9V9kyD6OqGur99Iw==",
793
+ "path": "azure.generator/1.0.0-alpha.20260922.2",
794
+ "hashPath": "azure.generator.1.0.0-alpha.20260922.2.nupkg.sha512"
781
795
  },
782
- "Azure.Generator.Management/1.0.0-alpha.20260907.1": {
796
+ "Azure.Generator.Management/1.0.0-alpha.20260929.3": {
783
797
  "type": "package",
784
798
  "serviceable": true,
785
- "sha512": "sha512-35SC2bKq2bf3kyR/KyZOwlWzgjJMy90g/EzJK1rnldw/6gWlEBA8ytjpCESfH+QrMf1YpvjobOo5gk6Gp33qhw==",
786
- "path": "azure.generator.management/1.0.0-alpha.20260907.1",
787
- "hashPath": "azure.generator.management.1.0.0-alpha.20260907.1.nupkg.sha512"
799
+ "sha512": "sha512-wlc8oYOxYHw2Znkng/NPfmODy7xJP0pMbgKqdz4JKm1GuwieCgEDhdjteCpD58Pk2w2uh+3MrRWlXktcTKF8+Q==",
800
+ "path": "azure.generator.management/1.0.0-alpha.20260929.3",
801
+ "hashPath": "azure.generator.management.1.0.0-alpha.20260929.3.nupkg.sha512"
788
802
  },
789
803
  "Azure.Provisioning/1.6.0": {
790
804
  "type": "package",
@@ -919,19 +933,19 @@
919
933
  "path": "microsoft.extensions.primitives/10.0.10",
920
934
  "hashPath": "microsoft.extensions.primitives.10.0.10.nupkg.sha512"
921
935
  },
922
- "Microsoft.Identity.Client/4.84.2": {
936
+ "Microsoft.Identity.Client/4.90.0": {
923
937
  "type": "package",
924
938
  "serviceable": true,
925
- "sha512": "sha512-Va9FjmABSgj/lcUfHH0pBNQkmS7SNyepz2ERV7Yynp6QgEYpFdSqR6Vzy1WWipN8GS5pBHuXoZbqaDWuARCrHQ==",
926
- "path": "microsoft.identity.client/4.84.2",
927
- "hashPath": "microsoft.identity.client.4.84.2.nupkg.sha512"
939
+ "sha512": "sha512-oc5A0jmu083T3OW1JVYMrM1rekIL8SkBRB/byMMQjFuYlRZsMh3wDeCwwrz9sGI6XlP5BIqO7XWgjPpF3reF5A==",
940
+ "path": "microsoft.identity.client/4.90.0",
941
+ "hashPath": "microsoft.identity.client.4.90.0.nupkg.sha512"
928
942
  },
929
- "Microsoft.Identity.Client.Extensions.Msal/4.84.2": {
943
+ "Microsoft.Identity.Client.Extensions.Msal/4.90.0": {
930
944
  "type": "package",
931
945
  "serviceable": true,
932
- "sha512": "sha512-+D98LaU3dOu/Nzs6kgbBJapMvH7iwYcAeC99XwSkpmEadsPv6rozecOl9P6m4A3RfpOuPt9e6J6TwwUUp3+M4w==",
933
- "path": "microsoft.identity.client.extensions.msal/4.84.2",
934
- "hashPath": "microsoft.identity.client.extensions.msal.4.84.2.nupkg.sha512"
946
+ "sha512": "sha512-/L7b+fNF+ITSw3SPlbgE7ax2MqVg/a60kHsDooKUbjYDdX88COTTwE20qRPT84fykehBTSmP7LSxh6b5hwIEOw==",
947
+ "path": "microsoft.identity.client.extensions.msal/4.90.0",
948
+ "hashPath": "microsoft.identity.client.extensions.msal.4.90.0.nupkg.sha512"
935
949
  },
936
950
  "Microsoft.IdentityModel.Abstractions/8.14.0": {
937
951
  "type": "package",
@@ -947,26 +961,33 @@
947
961
  "path": "microsoft.net.stringtools/17.9.5",
948
962
  "hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
949
963
  },
950
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260908.4": {
964
+ "Microsoft.SourceLink.GitHub/10.0.401": {
951
965
  "type": "package",
952
966
  "serviceable": true,
953
- "sha512": "sha512-0Ueot6c7TE8lRsR/t8smI1LeJ1BtFhq6BCYHk5gRrrR+CaTXACN0yLzzOk48mFNR8oAaPrkohYEryqb9Z6w6ag==",
954
- "path": "microsoft.typespec.generator/1.0.0-alpha.20260908.4",
955
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260908.4.nupkg.sha512"
967
+ "sha512": "sha512-LGmlwgP1Cx37JEWzyjS0o1/+xs/s/e3E2TBSuogI5ePA/9L0pfIfeYX0k5in7Bfcw8Nn2y2sG9jXxydTjiR2Fg==",
968
+ "path": "microsoft.sourcelink.github/10.0.401",
969
+ "hashPath": "microsoft.sourcelink.github.10.0.401.nupkg.sha512"
956
970
  },
957
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260908.4": {
971
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260918.2": {
958
972
  "type": "package",
959
973
  "serviceable": true,
960
- "sha512": "sha512-USE4NaZHOCJ8GjJpjryB/UadPyCXM+TLbHEO2RFrKLUB6+MqKPzd3r5FsTN9+saDJKVsetFo5ZLqU0fGkHbWhA==",
961
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260908.4",
962
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260908.4.nupkg.sha512"
974
+ "sha512": "sha512-mnkaNC9EkERRZnaR0GGAl6+BJpAaF0xqwrUDHr1WDd8rp0xK8tHW9nz0kNCnSkye7yQSfLJXidawwF0ZgpastQ==",
975
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20260918.2",
976
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260918.2.nupkg.sha512"
963
977
  },
964
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260908.4": {
978
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260918.2": {
965
979
  "type": "package",
966
980
  "serviceable": true,
967
- "sha512": "sha512-x0o7e1XGjIwKS/cIlUFHOCi1zXywB7CdzkE3PauYUrJhdMjMbazftPOUr1449Az7QVNHVNZtnHBZmCfMit5jZg==",
968
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260908.4",
969
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260908.4.nupkg.sha512"
981
+ "sha512": "sha512-ZpRpFWM8mlEcQQ84j7ecJdyejQeQ+D2SuzKiTxCGWAi5wuI4FpSY2Ialfj3TjNDgcXY5YMS8highEK58pM7Uzg==",
982
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260918.2",
983
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260918.2.nupkg.sha512"
984
+ },
985
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260918.2": {
986
+ "type": "package",
987
+ "serviceable": true,
988
+ "sha512": "sha512-dcrhDsn71inUOtmtj8fShi4yjMr6lJBHS0p2mOtNk4nAEaSWsLwrUA7l7ucdC3As8inMxqR0Uf2C2jbdwyEU2Q==",
989
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260918.2",
990
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260918.2.nupkg.sha512"
970
991
  },
971
992
  "Newtonsoft.Json/13.0.3": {
972
993
  "type": "package",
@@ -1017,12 +1038,12 @@
1017
1038
  "path": "nuget.versioning/6.14.3",
1018
1039
  "hashPath": "nuget.versioning.6.14.3.nupkg.sha512"
1019
1040
  },
1020
- "System.ClientModel/1.15.0": {
1041
+ "System.ClientModel/1.16.0": {
1021
1042
  "type": "package",
1022
1043
  "serviceable": true,
1023
- "sha512": "sha512-y6zQLInrpX+oGL1gXM04DrUSu1O1esWxt4rD/zrujTnzIFChn/noD1OiVVpTrU8ZvglwqO2Uw038svUR3SiAOg==",
1024
- "path": "system.clientmodel/1.15.0",
1025
- "hashPath": "system.clientmodel.1.15.0.nupkg.sha512"
1044
+ "sha512": "sha512-vLljZON+8lXDUtsPP8uwsPvsBSQaUHhh8NvB+D9TQsXu5n622RLtuLyZAcyIFc98b8ixrwD0AhzUQhtg2NwJnQ==",
1045
+ "path": "system.clientmodel/1.16.0",
1046
+ "hashPath": "system.clientmodel.1.16.0.nupkg.sha512"
1026
1047
  },
1027
1048
  "System.ComponentModel.Composition/8.0.0": {
1028
1049
  "type": "package",
@@ -1087,6 +1108,13 @@
1087
1108
  "path": "system.diagnostics.eventlog/8.0.0",
1088
1109
  "hashPath": "system.diagnostics.eventlog.8.0.0.nupkg.sha512"
1089
1110
  },
1111
+ "System.IO.Hashing/10.0.12": {
1112
+ "type": "package",
1113
+ "serviceable": true,
1114
+ "sha512": "sha512-jDix4bBMYnpZdSPcnY+KDV6ik3SRMzpMKby/bZl/XUwIiflwRNAFZ0oOl61R/pSaveIJ8t1gs2BUlrGsPs/bcg==",
1115
+ "path": "system.io.hashing/10.0.12",
1116
+ "hashPath": "system.io.hashing.10.0.12.nupkg.sha512"
1117
+ },
1090
1118
  "System.Memory.Data/10.0.10": {
1091
1119
  "type": "package",
1092
1120
  "serviceable": true,
@@ -762,6 +762,16 @@
762
762
  False if neither is set.
763
763
  </returns>
764
764
  </member>
765
+ <member name="M:Azure.Core.AppContextSwitchHelper.GetConfigValue(System.String,System.String,System.Boolean)">
766
+ <summary>
767
+ Determines if either an AppContext switch or its corresponding Environment Variable is set,
768
+ returning <paramref name="defaultValue"/> when neither is set.
769
+ </summary>
770
+ <param name="appContexSwitchName">Name of the AppContext switch.</param>
771
+ <param name="environmentVariableName">Name of the Environment variable.</param>
772
+ <param name="defaultValue">The value to use when neither the switch nor the environment variable is set.</param>
773
+ <returns>The AppContext switch value if set; otherwise the parsed environment variable value; otherwise <paramref name="defaultValue"/>.</returns>
774
+ </member>
765
775
  <member name="T:Azure.Core.SequentialDelayStrategy">
766
776
  <summary>
767
777
  A delay strategy that uses a fixed sequence of delays with no jitter applied. This is used by management LROs.
Binary file
@@ -38,5 +38,38 @@ namespace Azure.Core
38
38
  // Default to false.
39
39
  return false;
40
40
  }
41
+
42
+ /// <summary>
43
+ /// Determines if either an AppContext switch or its corresponding Environment Variable is set,
44
+ /// returning <paramref name="defaultValue"/> when neither is set.
45
+ /// </summary>
46
+ /// <param name="appContexSwitchName">Name of the AppContext switch.</param>
47
+ /// <param name="environmentVariableName">Name of the Environment variable.</param>
48
+ /// <param name="defaultValue">The value to use when neither the switch nor the environment variable is set.</param>
49
+ /// <returns>The AppContext switch value if set; otherwise the parsed environment variable value; otherwise <paramref name="defaultValue"/>.</returns>
50
+ public static bool GetConfigValue(string appContexSwitchName, string environmentVariableName, bool defaultValue)
51
+ {
52
+ // First check for the AppContext switch, giving it priority over the environment variable.
53
+ if (AppContext.TryGetSwitch(appContexSwitchName, out bool value))
54
+ {
55
+ return value;
56
+ }
57
+ // AppContext switch wasn't used. Check the environment variable.
58
+ string? envVar = Environment.GetEnvironmentVariable(environmentVariableName);
59
+ if (envVar != null)
60
+ {
61
+ if (envVar.Equals("true", StringComparison.OrdinalIgnoreCase) || envVar.Equals("1"))
62
+ {
63
+ return true;
64
+ }
65
+ if (envVar.Equals("false", StringComparison.OrdinalIgnoreCase) || envVar.Equals("0"))
66
+ {
67
+ return false;
68
+ }
69
+ }
70
+
71
+ // Neither the switch nor the environment variable is set.
72
+ return defaultValue;
73
+ }
41
74
  }
42
75
  }
@@ -6,36 +6,37 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator.Provisioning/1.0.0-alpha.20260917.1": {
9
+ "Azure.Generator.Provisioning/1.0.0-alpha.20261011.1": {
10
10
  "dependencies": {
11
- "Azure.Generator": "1.0.0-alpha.20260908.4",
12
- "Azure.Generator.Management": "1.0.0-alpha.20260907.1",
13
- "Azure.Provisioning": "1.6.0"
11
+ "Azure.Generator": "1.0.0-alpha.20260922.2",
12
+ "Azure.Generator.Management": "1.0.0-alpha.20260929.3",
13
+ "Azure.Provisioning": "1.6.0",
14
+ "Microsoft.SourceLink.GitHub": "10.0.401"
14
15
  },
15
16
  "runtime": {
16
17
  "Azure.Generator.Provisioning.dll": {}
17
18
  }
18
19
  },
19
- "Azure.Core/1.62.0": {
20
+ "Azure.Core/1.63.0": {
20
21
  "dependencies": {
21
22
  "Microsoft.Bcl.AsyncInterfaces": "10.0.10",
22
23
  "Microsoft.Extensions.Configuration.Abstractions": "10.0.10",
23
24
  "Microsoft.Extensions.Hosting.Abstractions": "10.0.10",
24
- "Microsoft.Identity.Client": "4.84.2",
25
- "Microsoft.Identity.Client.Extensions.Msal": "4.84.2",
26
- "System.ClientModel": "1.15.0",
25
+ "Microsoft.Identity.Client": "4.90.0",
26
+ "Microsoft.Identity.Client.Extensions.Msal": "4.90.0",
27
+ "System.ClientModel": "1.16.0",
27
28
  "System.Memory.Data": "10.0.10"
28
29
  },
29
30
  "runtime": {
30
31
  "lib/net10.0/Azure.Core.dll": {
31
- "assemblyVersion": "1.62.0.0",
32
- "fileVersion": "1.6200.26.42003"
32
+ "assemblyVersion": "1.63.0.0",
33
+ "fileVersion": "1.6300.26.47507"
33
34
  }
34
35
  }
35
36
  },
36
37
  "Azure.Core.Expressions.DataFactory/1.0.0": {
37
38
  "dependencies": {
38
- "Azure.Core": "1.62.0"
39
+ "Azure.Core": "1.63.0"
39
40
  },
40
41
  "runtime": {
41
42
  "lib/netstandard2.0/Azure.Core.Expressions.DataFactory.dll": {
@@ -44,37 +45,37 @@
44
45
  }
45
46
  }
46
47
  },
47
- "Azure.Generator/1.0.0-alpha.20260908.4": {
48
+ "Azure.Generator/1.0.0-alpha.20260922.2": {
48
49
  "dependencies": {
49
- "Azure.Core": "1.62.0",
50
+ "Azure.Core": "1.63.0",
50
51
  "Azure.Core.Expressions.DataFactory": "1.0.0",
51
52
  "Azure.ResourceManager": "1.14.0",
52
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260908.4"
53
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260918.2"
53
54
  },
54
55
  "runtime": {
55
56
  "lib/net10.0/Azure.Generator.dll": {
56
57
  "assemblyVersion": "1.0.0.0",
57
- "fileVersion": "1.0.26.45804"
58
+ "fileVersion": "1.0.26.47202"
58
59
  }
59
60
  }
60
61
  },
61
- "Azure.Generator.Management/1.0.0-alpha.20260907.1": {
62
+ "Azure.Generator.Management/1.0.0-alpha.20260929.3": {
62
63
  "dependencies": {
63
- "Azure.Core": "1.62.0",
64
- "Azure.Generator": "1.0.0-alpha.20260908.4",
64
+ "Azure.Core": "1.63.0",
65
+ "Azure.Generator": "1.0.0-alpha.20260922.2",
65
66
  "Azure.ResourceManager": "1.14.0",
66
67
  "Humanizer.Core": "3.0.10"
67
68
  },
68
69
  "runtime": {
69
70
  "lib/net10.0/Azure.Generator.Management.dll": {
70
71
  "assemblyVersion": "1.0.0.0",
71
- "fileVersion": "1.0.26.45701"
72
+ "fileVersion": "1.0.26.47903"
72
73
  }
73
74
  }
74
75
  },
75
76
  "Azure.Provisioning/1.6.0": {
76
77
  "dependencies": {
77
- "Azure.Core": "1.62.0"
78
+ "Azure.Core": "1.63.0"
78
79
  },
79
80
  "runtime": {
80
81
  "lib/net10.0/Azure.Provisioning.dll": {
@@ -85,7 +86,7 @@
85
86
  },
86
87
  "Azure.ResourceManager/1.14.0": {
87
88
  "dependencies": {
88
- "Azure.Core": "1.62.0"
89
+ "Azure.Core": "1.63.0"
89
90
  },
90
91
  "runtime": {
91
92
  "lib/net10.0/Azure.ResourceManager.dll": {
@@ -439,26 +440,26 @@
439
440
  }
440
441
  }
441
442
  },
442
- "Microsoft.Identity.Client/4.84.2": {
443
+ "Microsoft.Identity.Client/4.90.0": {
443
444
  "dependencies": {
444
445
  "Microsoft.IdentityModel.Abstractions": "8.14.0"
445
446
  },
446
447
  "runtime": {
447
448
  "lib/net8.0/Microsoft.Identity.Client.dll": {
448
- "assemblyVersion": "4.84.2.0",
449
- "fileVersion": "4.84.2.0"
449
+ "assemblyVersion": "4.90.0.0",
450
+ "fileVersion": "4.90.0.0"
450
451
  }
451
452
  }
452
453
  },
453
- "Microsoft.Identity.Client.Extensions.Msal/4.84.2": {
454
+ "Microsoft.Identity.Client.Extensions.Msal/4.90.0": {
454
455
  "dependencies": {
455
- "Microsoft.Identity.Client": "4.84.2",
456
+ "Microsoft.Identity.Client": "4.90.0",
456
457
  "System.Security.Cryptography.ProtectedData": "8.0.0"
457
458
  },
458
459
  "runtime": {
459
460
  "lib/net8.0/Microsoft.Identity.Client.Extensions.Msal.dll": {
460
- "assemblyVersion": "4.84.2.0",
461
- "fileVersion": "4.84.2.0"
461
+ "assemblyVersion": "4.90.0.0",
462
+ "fileVersion": "4.90.0.0"
462
463
  }
463
464
  }
464
465
  },
@@ -478,12 +479,17 @@
478
479
  }
479
480
  }
480
481
  },
481
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260908.4": {
482
+ "Microsoft.SourceLink.GitHub/10.0.401": {
483
+ "dependencies": {
484
+ "System.IO.Hashing": "10.0.12"
485
+ }
486
+ },
487
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260918.2": {
482
488
  "dependencies": {
483
489
  "CommandLineParser": "2.9.1",
484
490
  "Microsoft.Build": "17.9.5",
485
491
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
486
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260908.4",
492
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260918.2",
487
493
  "NuGet.Configuration": "6.14.3",
488
494
  "NuGet.Protocol": "6.14.3",
489
495
  "NuGet.Versioning": "6.14.3",
@@ -497,11 +503,11 @@
497
503
  }
498
504
  }
499
505
  },
500
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260908.4": {
506
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260918.2": {
501
507
  "dependencies": {
502
508
  "Microsoft.Extensions.Configuration.Abstractions": "10.0.10",
503
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260908.4",
504
- "System.ClientModel": "1.15.0"
509
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260918.2",
510
+ "System.ClientModel": "1.16.0"
505
511
  },
506
512
  "runtime": {
507
513
  "lib/net10.0/Microsoft.TypeSpec.Generator.ClientModel.dll": {
@@ -510,7 +516,7 @@
510
516
  }
511
517
  }
512
518
  },
513
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260908.4": {
519
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260918.2": {
514
520
  "dependencies": {
515
521
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
516
522
  "System.Memory.Data": "10.0.10"
@@ -594,7 +600,7 @@
594
600
  }
595
601
  }
596
602
  },
597
- "System.ClientModel/1.15.0": {
603
+ "System.ClientModel/1.16.0": {
598
604
  "dependencies": {
599
605
  "Microsoft.Extensions.Configuration.Abstractions": "10.0.10",
600
606
  "Microsoft.Extensions.Hosting.Abstractions": "10.0.10",
@@ -603,8 +609,8 @@
603
609
  },
604
610
  "runtime": {
605
611
  "lib/net10.0/System.ClientModel.dll": {
606
- "assemblyVersion": "1.15.0.0",
607
- "fileVersion": "1.1500.26.40403"
612
+ "assemblyVersion": "1.16.0.0",
613
+ "fileVersion": "1.1600.26.46705"
608
614
  }
609
615
  }
610
616
  },
@@ -710,6 +716,14 @@
710
716
  }
711
717
  }
712
718
  },
719
+ "System.IO.Hashing/10.0.12": {
720
+ "runtime": {
721
+ "lib/net10.0/System.IO.Hashing.dll": {
722
+ "assemblyVersion": "10.0.0.12",
723
+ "fileVersion": "10.0.1226.42308"
724
+ }
725
+ }
726
+ },
713
727
  "System.Memory.Data/10.0.10": {
714
728
  "runtime": {
715
729
  "lib/net10.0/System.Memory.Data.dll": {
@@ -753,17 +767,17 @@
753
767
  }
754
768
  },
755
769
  "libraries": {
756
- "Azure.Generator.Provisioning/1.0.0-alpha.20260917.1": {
770
+ "Azure.Generator.Provisioning/1.0.0-alpha.20261011.1": {
757
771
  "type": "project",
758
772
  "serviceable": false,
759
773
  "sha512": ""
760
774
  },
761
- "Azure.Core/1.62.0": {
775
+ "Azure.Core/1.63.0": {
762
776
  "type": "package",
763
777
  "serviceable": true,
764
- "sha512": "sha512-C0ijs91ZW2uhF/VwGLXeayb+RwTWhDxKnrsmqPWg5HkYtPQ93mzaydyMCjAzE0AG5yHc1bpaPc+NPlZUgz3w8g==",
765
- "path": "azure.core/1.62.0",
766
- "hashPath": "azure.core.1.62.0.nupkg.sha512"
778
+ "sha512": "sha512-5egODg5yWcRV0kkAv22jQL7YmsfupX7intDYbxZMu8giASSQVfG5+mwC+BdJOWvhFT1Y+9KzuvbUGqAVEBzsfw==",
779
+ "path": "azure.core/1.63.0",
780
+ "hashPath": "azure.core.1.63.0.nupkg.sha512"
767
781
  },
768
782
  "Azure.Core.Expressions.DataFactory/1.0.0": {
769
783
  "type": "package",
@@ -772,19 +786,19 @@
772
786
  "path": "azure.core.expressions.datafactory/1.0.0",
773
787
  "hashPath": "azure.core.expressions.datafactory.1.0.0.nupkg.sha512"
774
788
  },
775
- "Azure.Generator/1.0.0-alpha.20260908.4": {
789
+ "Azure.Generator/1.0.0-alpha.20260922.2": {
776
790
  "type": "package",
777
791
  "serviceable": true,
778
- "sha512": "sha512-CU3kAwaqQZIYmVO7o0yl94JEdUvRxYm+Oi1kc4kbHVzTn1h7ClAW4JLyFUdF0yGubMxA82F+Ap+U3yOCm31zYA==",
779
- "path": "azure.generator/1.0.0-alpha.20260908.4",
780
- "hashPath": "azure.generator.1.0.0-alpha.20260908.4.nupkg.sha512"
792
+ "sha512": "sha512-9RJ2uZ+i1kocVEWUK1i5FGHcW4qZSRHG+26NS5yw13yhOgpS3xuFcQdeKVftoX6mLQYS5K9V9kyD6OqGur99Iw==",
793
+ "path": "azure.generator/1.0.0-alpha.20260922.2",
794
+ "hashPath": "azure.generator.1.0.0-alpha.20260922.2.nupkg.sha512"
781
795
  },
782
- "Azure.Generator.Management/1.0.0-alpha.20260907.1": {
796
+ "Azure.Generator.Management/1.0.0-alpha.20260929.3": {
783
797
  "type": "package",
784
798
  "serviceable": true,
785
- "sha512": "sha512-35SC2bKq2bf3kyR/KyZOwlWzgjJMy90g/EzJK1rnldw/6gWlEBA8ytjpCESfH+QrMf1YpvjobOo5gk6Gp33qhw==",
786
- "path": "azure.generator.management/1.0.0-alpha.20260907.1",
787
- "hashPath": "azure.generator.management.1.0.0-alpha.20260907.1.nupkg.sha512"
799
+ "sha512": "sha512-wlc8oYOxYHw2Znkng/NPfmODy7xJP0pMbgKqdz4JKm1GuwieCgEDhdjteCpD58Pk2w2uh+3MrRWlXktcTKF8+Q==",
800
+ "path": "azure.generator.management/1.0.0-alpha.20260929.3",
801
+ "hashPath": "azure.generator.management.1.0.0-alpha.20260929.3.nupkg.sha512"
788
802
  },
789
803
  "Azure.Provisioning/1.6.0": {
790
804
  "type": "package",
@@ -919,19 +933,19 @@
919
933
  "path": "microsoft.extensions.primitives/10.0.10",
920
934
  "hashPath": "microsoft.extensions.primitives.10.0.10.nupkg.sha512"
921
935
  },
922
- "Microsoft.Identity.Client/4.84.2": {
936
+ "Microsoft.Identity.Client/4.90.0": {
923
937
  "type": "package",
924
938
  "serviceable": true,
925
- "sha512": "sha512-Va9FjmABSgj/lcUfHH0pBNQkmS7SNyepz2ERV7Yynp6QgEYpFdSqR6Vzy1WWipN8GS5pBHuXoZbqaDWuARCrHQ==",
926
- "path": "microsoft.identity.client/4.84.2",
927
- "hashPath": "microsoft.identity.client.4.84.2.nupkg.sha512"
939
+ "sha512": "sha512-oc5A0jmu083T3OW1JVYMrM1rekIL8SkBRB/byMMQjFuYlRZsMh3wDeCwwrz9sGI6XlP5BIqO7XWgjPpF3reF5A==",
940
+ "path": "microsoft.identity.client/4.90.0",
941
+ "hashPath": "microsoft.identity.client.4.90.0.nupkg.sha512"
928
942
  },
929
- "Microsoft.Identity.Client.Extensions.Msal/4.84.2": {
943
+ "Microsoft.Identity.Client.Extensions.Msal/4.90.0": {
930
944
  "type": "package",
931
945
  "serviceable": true,
932
- "sha512": "sha512-+D98LaU3dOu/Nzs6kgbBJapMvH7iwYcAeC99XwSkpmEadsPv6rozecOl9P6m4A3RfpOuPt9e6J6TwwUUp3+M4w==",
933
- "path": "microsoft.identity.client.extensions.msal/4.84.2",
934
- "hashPath": "microsoft.identity.client.extensions.msal.4.84.2.nupkg.sha512"
946
+ "sha512": "sha512-/L7b+fNF+ITSw3SPlbgE7ax2MqVg/a60kHsDooKUbjYDdX88COTTwE20qRPT84fykehBTSmP7LSxh6b5hwIEOw==",
947
+ "path": "microsoft.identity.client.extensions.msal/4.90.0",
948
+ "hashPath": "microsoft.identity.client.extensions.msal.4.90.0.nupkg.sha512"
935
949
  },
936
950
  "Microsoft.IdentityModel.Abstractions/8.14.0": {
937
951
  "type": "package",
@@ -947,26 +961,33 @@
947
961
  "path": "microsoft.net.stringtools/17.9.5",
948
962
  "hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
949
963
  },
950
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260908.4": {
964
+ "Microsoft.SourceLink.GitHub/10.0.401": {
951
965
  "type": "package",
952
966
  "serviceable": true,
953
- "sha512": "sha512-0Ueot6c7TE8lRsR/t8smI1LeJ1BtFhq6BCYHk5gRrrR+CaTXACN0yLzzOk48mFNR8oAaPrkohYEryqb9Z6w6ag==",
954
- "path": "microsoft.typespec.generator/1.0.0-alpha.20260908.4",
955
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260908.4.nupkg.sha512"
967
+ "sha512": "sha512-LGmlwgP1Cx37JEWzyjS0o1/+xs/s/e3E2TBSuogI5ePA/9L0pfIfeYX0k5in7Bfcw8Nn2y2sG9jXxydTjiR2Fg==",
968
+ "path": "microsoft.sourcelink.github/10.0.401",
969
+ "hashPath": "microsoft.sourcelink.github.10.0.401.nupkg.sha512"
956
970
  },
957
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260908.4": {
971
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260918.2": {
958
972
  "type": "package",
959
973
  "serviceable": true,
960
- "sha512": "sha512-USE4NaZHOCJ8GjJpjryB/UadPyCXM+TLbHEO2RFrKLUB6+MqKPzd3r5FsTN9+saDJKVsetFo5ZLqU0fGkHbWhA==",
961
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260908.4",
962
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260908.4.nupkg.sha512"
974
+ "sha512": "sha512-mnkaNC9EkERRZnaR0GGAl6+BJpAaF0xqwrUDHr1WDd8rp0xK8tHW9nz0kNCnSkye7yQSfLJXidawwF0ZgpastQ==",
975
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20260918.2",
976
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260918.2.nupkg.sha512"
963
977
  },
964
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260908.4": {
978
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260918.2": {
965
979
  "type": "package",
966
980
  "serviceable": true,
967
- "sha512": "sha512-x0o7e1XGjIwKS/cIlUFHOCi1zXywB7CdzkE3PauYUrJhdMjMbazftPOUr1449Az7QVNHVNZtnHBZmCfMit5jZg==",
968
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260908.4",
969
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260908.4.nupkg.sha512"
981
+ "sha512": "sha512-ZpRpFWM8mlEcQQ84j7ecJdyejQeQ+D2SuzKiTxCGWAi5wuI4FpSY2Ialfj3TjNDgcXY5YMS8highEK58pM7Uzg==",
982
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260918.2",
983
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260918.2.nupkg.sha512"
984
+ },
985
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260918.2": {
986
+ "type": "package",
987
+ "serviceable": true,
988
+ "sha512": "sha512-dcrhDsn71inUOtmtj8fShi4yjMr6lJBHS0p2mOtNk4nAEaSWsLwrUA7l7ucdC3As8inMxqR0Uf2C2jbdwyEU2Q==",
989
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260918.2",
990
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260918.2.nupkg.sha512"
970
991
  },
971
992
  "Newtonsoft.Json/13.0.3": {
972
993
  "type": "package",
@@ -1017,12 +1038,12 @@
1017
1038
  "path": "nuget.versioning/6.14.3",
1018
1039
  "hashPath": "nuget.versioning.6.14.3.nupkg.sha512"
1019
1040
  },
1020
- "System.ClientModel/1.15.0": {
1041
+ "System.ClientModel/1.16.0": {
1021
1042
  "type": "package",
1022
1043
  "serviceable": true,
1023
- "sha512": "sha512-y6zQLInrpX+oGL1gXM04DrUSu1O1esWxt4rD/zrujTnzIFChn/noD1OiVVpTrU8ZvglwqO2Uw038svUR3SiAOg==",
1024
- "path": "system.clientmodel/1.15.0",
1025
- "hashPath": "system.clientmodel.1.15.0.nupkg.sha512"
1044
+ "sha512": "sha512-vLljZON+8lXDUtsPP8uwsPvsBSQaUHhh8NvB+D9TQsXu5n622RLtuLyZAcyIFc98b8ixrwD0AhzUQhtg2NwJnQ==",
1045
+ "path": "system.clientmodel/1.16.0",
1046
+ "hashPath": "system.clientmodel.1.16.0.nupkg.sha512"
1026
1047
  },
1027
1048
  "System.ComponentModel.Composition/8.0.0": {
1028
1049
  "type": "package",
@@ -1087,6 +1108,13 @@
1087
1108
  "path": "system.diagnostics.eventlog/8.0.0",
1088
1109
  "hashPath": "system.diagnostics.eventlog.8.0.0.nupkg.sha512"
1089
1110
  },
1111
+ "System.IO.Hashing/10.0.12": {
1112
+ "type": "package",
1113
+ "serviceable": true,
1114
+ "sha512": "sha512-jDix4bBMYnpZdSPcnY+KDV6ik3SRMzpMKby/bZl/XUwIiflwRNAFZ0oOl61R/pSaveIJ8t1gs2BUlrGsPs/bcg==",
1115
+ "path": "system.io.hashing/10.0.12",
1116
+ "hashPath": "system.io.hashing.10.0.12.nupkg.sha512"
1117
+ },
1090
1118
  "System.Memory.Data/10.0.10": {
1091
1119
  "type": "package",
1092
1120
  "serviceable": true,
@@ -762,6 +762,16 @@
762
762
  False if neither is set.
763
763
  </returns>
764
764
  </member>
765
+ <member name="M:Azure.Core.AppContextSwitchHelper.GetConfigValue(System.String,System.String,System.Boolean)">
766
+ <summary>
767
+ Determines if either an AppContext switch or its corresponding Environment Variable is set,
768
+ returning <paramref name="defaultValue"/> when neither is set.
769
+ </summary>
770
+ <param name="appContexSwitchName">Name of the AppContext switch.</param>
771
+ <param name="environmentVariableName">Name of the Environment variable.</param>
772
+ <param name="defaultValue">The value to use when neither the switch nor the environment variable is set.</param>
773
+ <returns>The AppContext switch value if set; otherwise the parsed environment variable value; otherwise <paramref name="defaultValue"/>.</returns>
774
+ </member>
765
775
  <member name="T:Azure.Core.SequentialDelayStrategy">
766
776
  <summary>
767
777
  A delay strategy that uses a fixed sequence of delays with no jitter applied. This is used by management LROs.
@@ -38,5 +38,38 @@ namespace Azure.Core
38
38
  // Default to false.
39
39
  return false;
40
40
  }
41
+
42
+ /// <summary>
43
+ /// Determines if either an AppContext switch or its corresponding Environment Variable is set,
44
+ /// returning <paramref name="defaultValue"/> when neither is set.
45
+ /// </summary>
46
+ /// <param name="appContexSwitchName">Name of the AppContext switch.</param>
47
+ /// <param name="environmentVariableName">Name of the Environment variable.</param>
48
+ /// <param name="defaultValue">The value to use when neither the switch nor the environment variable is set.</param>
49
+ /// <returns>The AppContext switch value if set; otherwise the parsed environment variable value; otherwise <paramref name="defaultValue"/>.</returns>
50
+ public static bool GetConfigValue(string appContexSwitchName, string environmentVariableName, bool defaultValue)
51
+ {
52
+ // First check for the AppContext switch, giving it priority over the environment variable.
53
+ if (AppContext.TryGetSwitch(appContexSwitchName, out bool value))
54
+ {
55
+ return value;
56
+ }
57
+ // AppContext switch wasn't used. Check the environment variable.
58
+ string? envVar = Environment.GetEnvironmentVariable(environmentVariableName);
59
+ if (envVar != null)
60
+ {
61
+ if (envVar.Equals("true", StringComparison.OrdinalIgnoreCase) || envVar.Equals("1"))
62
+ {
63
+ return true;
64
+ }
65
+ if (envVar.Equals("false", StringComparison.OrdinalIgnoreCase) || envVar.Equals("0"))
66
+ {
67
+ return false;
68
+ }
69
+ }
70
+
71
+ // Neither the switch nor the environment variable is set.
72
+ return defaultValue;
73
+ }
41
74
  }
42
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-typespec/http-client-csharp-provisioning",
3
- "version": "1.0.0-alpha.20260917.1",
3
+ "version": "1.0.0-alpha.20261011.1",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec library for emitting Azure provisioning libraries for C#.",
6
6
  "readme": "https://github.com/Azure/azure-sdk-for-net/blob/main/eng/packages/http-client-csharp-provisioning/README.md",
@@ -36,30 +36,30 @@
36
36
  "dist/**"
37
37
  ],
38
38
  "dependencies": {
39
- "@azure-typespec/http-client-csharp": "1.0.0-alpha.20260811.1",
40
- "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20260907.1",
41
- "@typespec/http-client-csharp": "1.0.0-alpha.20260818.5",
39
+ "@azure-typespec/http-client-csharp": "1.0.0-alpha.20260922.2",
40
+ "@azure-typespec/http-client-csharp-mgmt": "1.0.0-alpha.20260929.3",
41
+ "@typespec/http-client-csharp": "1.0.0-alpha.20261008.5",
42
42
  "pluralize": "^8.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@azure-tools/typespec-autorest": "0.71.0",
46
- "@azure-tools/typespec-azure-core": "0.71.0",
47
- "@azure-tools/typespec-azure-resource-manager": "0.71.0",
48
- "@azure-tools/typespec-azure-rulesets": "0.71.0",
49
- "@azure-tools/typespec-client-generator-core": "0.71.2",
45
+ "@azure-tools/typespec-autorest": "0.73.0",
46
+ "@azure-tools/typespec-azure-core": "0.73.0",
47
+ "@azure-tools/typespec-azure-resource-manager": "0.73.0",
48
+ "@azure-tools/typespec-azure-rulesets": "0.73.0",
49
+ "@azure-tools/typespec-client-generator-core": "0.73.0",
50
50
  "@azure-tools/typespec-liftr-base": "0.14.0",
51
51
  "@eslint/js": "^10.0.1",
52
52
  "@types/node": "~26.0.1",
53
53
  "@types/pluralize": "^0.0.33",
54
- "@typespec/compiler": "1.15.0",
55
- "@typespec/events": "0.85.0",
56
- "@typespec/http": "1.15.0",
57
- "@typespec/openapi": "1.15.0",
58
- "@typespec/rest": "0.85.0",
59
- "@typespec/sse": "0.85.0",
60
- "@typespec/streams": "0.85.0",
61
- "@typespec/versioning": "0.85.0",
62
- "@typespec/xml": "0.85.0",
54
+ "@typespec/compiler": "1.17.0",
55
+ "@typespec/events": "0.87.0",
56
+ "@typespec/http": "1.17.0",
57
+ "@typespec/openapi": "1.17.0",
58
+ "@typespec/rest": "0.87.0",
59
+ "@typespec/sse": "0.87.0",
60
+ "@typespec/streams": "0.87.0",
61
+ "@typespec/versioning": "0.87.0",
62
+ "@typespec/xml": "0.87.0",
63
63
  "@vitest/coverage-v8": "^4.1.9",
64
64
  "@vitest/ui": "^4.1.9",
65
65
  "eslint": "^10.6.0",