@azure-typespec/http-client-csharp-provisioning 1.0.0-alpha.20260518.2 → 1.0.0-alpha.20260601.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 (27) hide show
  1. package/dist/generator/Azure.Core.dll +0 -0
  2. package/dist/generator/Azure.Generator.Provisioning.deps.json +49 -49
  3. package/dist/generator/Azure.Generator.Provisioning.dll +0 -0
  4. package/dist/generator/Azure.Generator.Provisioning.pdb +0 -0
  5. package/dist/generator/Azure.Generator.Provisioning.xml +11 -5
  6. package/dist/generator/Azure.Generator.dll +0 -0
  7. package/dist/generator/Microsoft.TypeSpec.Generator.ClientModel.dll +0 -0
  8. package/dist/generator/Microsoft.TypeSpec.Generator.Input.dll +0 -0
  9. package/dist/generator/Microsoft.TypeSpec.Generator.dll +0 -0
  10. package/dist/generator/Shared/Core/DiagnosticScope.cs +5 -2
  11. package/dist/generator/Shared/Core/OperationInternal.cs +1 -1
  12. package/dist/generator/Shared/Core/OperationInternalOfT.cs +1 -1
  13. package/dist/generator/System.ClientModel.dll +0 -0
  14. package/dist/generator/net10.0/Azure.Core.dll +0 -0
  15. package/dist/generator/net10.0/Azure.Generator.Provisioning.deps.json +49 -49
  16. package/dist/generator/net10.0/Azure.Generator.Provisioning.dll +0 -0
  17. package/dist/generator/net10.0/Azure.Generator.Provisioning.pdb +0 -0
  18. package/dist/generator/net10.0/Azure.Generator.Provisioning.xml +11 -5
  19. package/dist/generator/net10.0/Azure.Generator.dll +0 -0
  20. package/dist/generator/net10.0/Microsoft.TypeSpec.Generator.ClientModel.dll +0 -0
  21. package/dist/generator/net10.0/Microsoft.TypeSpec.Generator.Input.dll +0 -0
  22. package/dist/generator/net10.0/Microsoft.TypeSpec.Generator.dll +0 -0
  23. package/dist/generator/net10.0/Shared/Core/DiagnosticScope.cs +5 -2
  24. package/dist/generator/net10.0/Shared/Core/OperationInternal.cs +1 -1
  25. package/dist/generator/net10.0/Shared/Core/OperationInternalOfT.cs +1 -1
  26. package/dist/generator/net10.0/System.ClientModel.dll +0 -0
  27. package/package.json +1 -1
Binary file
@@ -6,9 +6,9 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator.Provisioning/1.0.0-alpha.20260518.2": {
9
+ "Azure.Generator.Provisioning/1.0.0-alpha.20260601.1": {
10
10
  "dependencies": {
11
- "Azure.Generator": "1.0.0-alpha.20260512.2",
11
+ "Azure.Generator": "1.0.0-alpha.20260516.2",
12
12
  "Azure.Generator.Management": "1.0.0-alpha.20260512.4",
13
13
  "Azure.Provisioning": "1.5.0"
14
14
  },
@@ -16,26 +16,26 @@
16
16
  "Azure.Generator.Provisioning.dll": {}
17
17
  }
18
18
  },
19
- "Azure.Core/1.55.0": {
19
+ "Azure.Core/1.56.0": {
20
20
  "dependencies": {
21
21
  "Microsoft.Bcl.AsyncInterfaces": "10.0.3",
22
22
  "Microsoft.Extensions.Configuration.Abstractions": "10.0.3",
23
23
  "Microsoft.Extensions.Hosting.Abstractions": "10.0.3",
24
24
  "Microsoft.Identity.Client": "4.83.1",
25
25
  "Microsoft.Identity.Client.Extensions.Msal": "4.83.1",
26
- "System.ClientModel": "1.11.0",
26
+ "System.ClientModel": "1.12.0",
27
27
  "System.Memory.Data": "10.0.3"
28
28
  },
29
29
  "runtime": {
30
30
  "lib/net10.0/Azure.Core.dll": {
31
- "assemblyVersion": "1.55.0.0",
32
- "fileVersion": "1.5500.26.25611"
31
+ "assemblyVersion": "1.56.0.0",
32
+ "fileVersion": "1.5600.26.26405"
33
33
  }
34
34
  }
35
35
  },
36
36
  "Azure.Core.Expressions.DataFactory/1.0.0": {
37
37
  "dependencies": {
38
- "Azure.Core": "1.55.0"
38
+ "Azure.Core": "1.56.0"
39
39
  },
40
40
  "runtime": {
41
41
  "lib/netstandard2.0/Azure.Core.Expressions.DataFactory.dll": {
@@ -44,24 +44,24 @@
44
44
  }
45
45
  }
46
46
  },
47
- "Azure.Generator/1.0.0-alpha.20260512.2": {
47
+ "Azure.Generator/1.0.0-alpha.20260516.2": {
48
48
  "dependencies": {
49
- "Azure.Core": "1.55.0",
49
+ "Azure.Core": "1.56.0",
50
50
  "Azure.Core.Expressions.DataFactory": "1.0.0",
51
51
  "Azure.ResourceManager": "1.14.0",
52
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260511.7"
52
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260516.1"
53
53
  },
54
54
  "runtime": {
55
55
  "lib/net10.0/Azure.Generator.dll": {
56
56
  "assemblyVersion": "1.0.0.0",
57
- "fileVersion": "1.0.26.26202"
57
+ "fileVersion": "1.0.26.26602"
58
58
  }
59
59
  }
60
60
  },
61
61
  "Azure.Generator.Management/1.0.0-alpha.20260512.4": {
62
62
  "dependencies": {
63
- "Azure.Core": "1.55.0",
64
- "Azure.Generator": "1.0.0-alpha.20260512.2",
63
+ "Azure.Core": "1.56.0",
64
+ "Azure.Generator": "1.0.0-alpha.20260516.2",
65
65
  "Azure.ResourceManager": "1.14.0",
66
66
  "Humanizer.Core": "3.0.1"
67
67
  },
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "Azure.Provisioning/1.5.0": {
76
76
  "dependencies": {
77
- "Azure.Core": "1.55.0"
77
+ "Azure.Core": "1.56.0"
78
78
  },
79
79
  "runtime": {
80
80
  "lib/net10.0/Azure.Provisioning.dll": {
@@ -85,7 +85,7 @@
85
85
  },
86
86
  "Azure.ResourceManager/1.14.0": {
87
87
  "dependencies": {
88
- "Azure.Core": "1.55.0"
88
+ "Azure.Core": "1.56.0"
89
89
  },
90
90
  "runtime": {
91
91
  "lib/net10.0/Azure.ResourceManager.dll": {
@@ -478,12 +478,12 @@
478
478
  }
479
479
  }
480
480
  },
481
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260511.7": {
481
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260516.1": {
482
482
  "dependencies": {
483
483
  "CommandLineParser": "2.9.1",
484
484
  "Microsoft.Build": "17.9.5",
485
485
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
486
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260511.7",
486
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260516.1",
487
487
  "NuGet.Configuration": "6.14.3",
488
488
  "NuGet.Protocol": "6.14.3",
489
489
  "NuGet.Versioning": "6.14.3",
@@ -497,11 +497,11 @@
497
497
  }
498
498
  }
499
499
  },
500
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260511.7": {
500
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260516.1": {
501
501
  "dependencies": {
502
502
  "Microsoft.Extensions.Configuration.Abstractions": "10.0.3",
503
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260511.7",
504
- "System.ClientModel": "1.11.0"
503
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260516.1",
504
+ "System.ClientModel": "1.12.0"
505
505
  },
506
506
  "runtime": {
507
507
  "lib/net10.0/Microsoft.TypeSpec.Generator.ClientModel.dll": {
@@ -510,7 +510,7 @@
510
510
  }
511
511
  }
512
512
  },
513
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260511.7": {
513
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260516.1": {
514
514
  "dependencies": {
515
515
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
516
516
  "System.Memory.Data": "10.0.3"
@@ -594,7 +594,7 @@
594
594
  }
595
595
  }
596
596
  },
597
- "System.ClientModel/1.11.0": {
597
+ "System.ClientModel/1.12.0": {
598
598
  "dependencies": {
599
599
  "Microsoft.Extensions.Configuration.Abstractions": "10.0.3",
600
600
  "Microsoft.Extensions.Hosting.Abstractions": "10.0.3",
@@ -603,8 +603,8 @@
603
603
  },
604
604
  "runtime": {
605
605
  "lib/net10.0/System.ClientModel.dll": {
606
- "assemblyVersion": "1.11.0.0",
607
- "fileVersion": "1.1100.26.25505"
606
+ "assemblyVersion": "1.12.0.0",
607
+ "fileVersion": "1.1200.26.26304"
608
608
  }
609
609
  }
610
610
  },
@@ -753,17 +753,17 @@
753
753
  }
754
754
  },
755
755
  "libraries": {
756
- "Azure.Generator.Provisioning/1.0.0-alpha.20260518.2": {
756
+ "Azure.Generator.Provisioning/1.0.0-alpha.20260601.1": {
757
757
  "type": "project",
758
758
  "serviceable": false,
759
759
  "sha512": ""
760
760
  },
761
- "Azure.Core/1.55.0": {
761
+ "Azure.Core/1.56.0": {
762
762
  "type": "package",
763
763
  "serviceable": true,
764
- "sha512": "sha512-c7femvYS/xEUrLP1sNZN+DoQZmx3X+G3ZXtOOz0RL/7cGMCM3JVqepVmRd3AwM4IK8AtTGS4GOigCO+d/zaSsQ==",
765
- "path": "azure.core/1.55.0",
766
- "hashPath": "azure.core.1.55.0.nupkg.sha512"
764
+ "sha512": "sha512-svezaU2Dz6kdgxunqWNZuLFctcAcwYESUnPoPAzhj6QCLwvSZzyQks+eSsh3JWTsD5tUvrVyz2o1J4ZAIwuEZw==",
765
+ "path": "azure.core/1.56.0",
766
+ "hashPath": "azure.core.1.56.0.nupkg.sha512"
767
767
  },
768
768
  "Azure.Core.Expressions.DataFactory/1.0.0": {
769
769
  "type": "package",
@@ -772,12 +772,12 @@
772
772
  "path": "azure.core.expressions.datafactory/1.0.0",
773
773
  "hashPath": "azure.core.expressions.datafactory.1.0.0.nupkg.sha512"
774
774
  },
775
- "Azure.Generator/1.0.0-alpha.20260512.2": {
775
+ "Azure.Generator/1.0.0-alpha.20260516.2": {
776
776
  "type": "package",
777
777
  "serviceable": true,
778
- "sha512": "sha512-jTrlvhv4X+387uAfWtUSuRJ/pfPK+5jM6nmcBvF+RWqe1idmjMR8cO0TAPWYillNHzCvUOW4ACC5O08gmorxow==",
779
- "path": "azure.generator/1.0.0-alpha.20260512.2",
780
- "hashPath": "azure.generator.1.0.0-alpha.20260512.2.nupkg.sha512"
778
+ "sha512": "sha512-zwGZBzxWfuQnGDR4oNY2VgJSxilsmNyATxHHGwF8ZXR4nS4LIZFBPuC3svAVMAb1FTKk3l0fzYSZz9lb5k++Ag==",
779
+ "path": "azure.generator/1.0.0-alpha.20260516.2",
780
+ "hashPath": "azure.generator.1.0.0-alpha.20260516.2.nupkg.sha512"
781
781
  },
782
782
  "Azure.Generator.Management/1.0.0-alpha.20260512.4": {
783
783
  "type": "package",
@@ -947,26 +947,26 @@
947
947
  "path": "microsoft.net.stringtools/17.9.5",
948
948
  "hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
949
949
  },
950
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260511.7": {
950
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260516.1": {
951
951
  "type": "package",
952
952
  "serviceable": true,
953
- "sha512": "sha512-UazYK9J6WrKJ6jhmfPQVk9CNNkF+M/pIZA3mv1ZdzCiMjYW1OV3pftdOyCfrPtH1yGdvml0NfQwRqXzp/Jy5yQ==",
954
- "path": "microsoft.typespec.generator/1.0.0-alpha.20260511.7",
955
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260511.7.nupkg.sha512"
953
+ "sha512": "sha512-xcIqZU5fXP048bPx2C/40tk6jMX6rAV0Gn8jyLxUV2ZgGXKHmzTapnsS1uTrA/TZR72gEOTd8lsNNLczDicarw==",
954
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20260516.1",
955
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260516.1.nupkg.sha512"
956
956
  },
957
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260511.7": {
957
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260516.1": {
958
958
  "type": "package",
959
959
  "serviceable": true,
960
- "sha512": "sha512-1Jl/0opEWANMllzYlwdUKlSDu9Q/g9s5qMIuY50nhIJCR+0rbUST2aO6vGYcTgsOasppThJxy0ygyS3vrjaCBg==",
961
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260511.7",
962
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260511.7.nupkg.sha512"
960
+ "sha512": "sha512-Vp9xyO8rDWqC8FBmmI6dvxw1FZn4yudfKr9gc4ZPIe3QZxDL61rQjE6ryND2m4YUHB1+4YhEMf8zOmfgQYQwYQ==",
961
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260516.1",
962
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260516.1.nupkg.sha512"
963
963
  },
964
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260511.7": {
964
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260516.1": {
965
965
  "type": "package",
966
966
  "serviceable": true,
967
- "sha512": "sha512-Jb8vNTEdcIGgr0iVZ1Q6gjyCmjiYa2n+/zYCvfp4M/ZJ55l5uX/qKGCD9zw31GTzytOGSKSNJRX1rcp2tWl5ig==",
968
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260511.7",
969
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260511.7.nupkg.sha512"
967
+ "sha512": "sha512-m47OPrjBROJCjtLmBGOzxl8UrM8RULklxZjuDOamtxvgfYM5n4+GFthzDTwONVYHvmZFh7R84sL24F8cJPwmZw==",
968
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260516.1",
969
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260516.1.nupkg.sha512"
970
970
  },
971
971
  "Newtonsoft.Json/13.0.3": {
972
972
  "type": "package",
@@ -1017,12 +1017,12 @@
1017
1017
  "path": "nuget.versioning/6.14.3",
1018
1018
  "hashPath": "nuget.versioning.6.14.3.nupkg.sha512"
1019
1019
  },
1020
- "System.ClientModel/1.11.0": {
1020
+ "System.ClientModel/1.12.0": {
1021
1021
  "type": "package",
1022
1022
  "serviceable": true,
1023
- "sha512": "sha512-1Wl32zh7TbvN+HAO8NqDuaN0Ao2Qu/0j0NJSrXGDtpUQsTXQYJ3C6hd9/Ds2IrgP4agMQYFoXB35GZfC21ByHw==",
1024
- "path": "system.clientmodel/1.11.0",
1025
- "hashPath": "system.clientmodel.1.11.0.nupkg.sha512"
1023
+ "sha512": "sha512-Q1y42ycMycmeFth9WBly1cgG8rVlYivVtEry0Qri0dXDA3LiTcs7kE6nmcIQ7Nx0FAF9XepKXuT7iZnHHy1e/w==",
1024
+ "path": "system.clientmodel/1.12.0",
1025
+ "hashPath": "system.clientmodel.1.12.0.nupkg.sha512"
1026
1026
  },
1027
1027
  "System.ComponentModel.Composition/8.0.0": {
1028
1028
  "type": "package",
@@ -61,6 +61,12 @@
61
61
  Provisioning metadata for a single property, used to create a <see cref="T:Azure.Generator.Provisioning.Providers.ProvisioningPropertyProvider"/>.
62
62
  </summary>
63
63
  </member>
64
+ <member name="T:Azure.Generator.Provisioning.Primitives.ProvisioningResourceProjection">
65
+ <summary>
66
+ Provisioning-specific view over one or more compatible management resource
67
+ metadata entries that should emit as one provisioning resource type.
68
+ </summary>
69
+ </member>
64
70
  <member name="T:Azure.Generator.Provisioning.Providers.BuiltInRoleProvider">
65
71
  <summary>
66
72
  Generates a readonly struct that defines built-in RBAC roles for a provisioning service.
@@ -124,7 +130,7 @@
124
130
  </member>
125
131
  <member name="T:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider">
126
132
  <summary>
127
- Generates a ProvisionableResource subclass from an InputModelType + ArmResourceMetadata.
133
+ Generates a ProvisionableResource subclass from a provisioning resource projection.
128
134
  Flattens the ARM "properties" bag, includes system properties from the base model chain,
129
135
  and generates ResourceVersions, FromExisting, and the resource constructor.
130
136
  </summary>
@@ -151,9 +157,9 @@
151
157
  marking such properties as output-only.
152
158
  </summary>
153
159
  </member>
154
- <member name="P:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider.ResourceMetadata">
160
+ <member name="P:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider.ResourceProjection">
155
161
  <summary>
156
- Gets the resource metadata, if this is a base resource type.
162
+ Gets the provisioning resource projection, if this is a base resource type.
157
163
  </summary>
158
164
  </member>
159
165
  <member name="P:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider.ParentResourceType">
@@ -164,7 +170,7 @@
164
170
  <member name="M:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider.Azure#Generator#Provisioning#Primitives#IProvisioningPropertyInfo#GetProvisioningPropertyInfo(Microsoft.TypeSpec.Generator.Input.InputModelProperty)">
165
171
  <inheritdoc/>
166
172
  </member>
167
- <member name="M:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider.#ctor(Microsoft.TypeSpec.Generator.Input.InputModelType,Azure.Generator.Management.Models.ArmResourceMetadata)">
173
+ <member name="M:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider.#ctor(Azure.Generator.Provisioning.Primitives.ProvisioningResourceProjection)">
168
174
  <summary>
169
175
  Constructor for base resource types (with metadata from ARM provider schema).
170
176
  </summary>
@@ -255,7 +261,7 @@
255
261
  Returns false if the model is not a resource model.
256
262
  </summary>
257
263
  </member>
258
- <member name="M:Azure.Generator.Provisioning.ProvisioningOutputLibrary.GetResourceByIdPattern(System.String)">
264
+ <member name="M:Azure.Generator.Provisioning.ProvisioningOutputLibrary.GetResourceByIdPattern(Azure.Generator.Management.Models.RequestPathPattern)">
259
265
  <summary>
260
266
  Gets a resource provider by its ARM resource ID pattern.
261
267
  Returns null if not found.
Binary file
@@ -375,8 +375,11 @@ namespace Azure.Core.Pipeline
375
375
  {
376
376
  return null;
377
377
  }
378
- // TODO(limolkova) set isRemote to true once we switch to DiagnosticSource 7.0
379
- ActivityContext.TryParse(_traceparent, _tracestate, out ActivityContext context);
378
+ // The traceparent was extracted from an inbound message (e.g. Service Bus / Event Hubs message
379
+ // application properties) via SetTraceContext/AddLink, so the resulting context is remote by definition.
380
+ // Marking it as remote is required for samplers (e.g. RateLimitedSampler, ParentBased variants)
381
+ // that distinguish local vs. remote parents to make correct decisions.
382
+ ActivityContext.TryParse(_traceparent, _tracestate, isRemote: true, out ActivityContext context);
380
383
  return _activitySource.StartActivity(_activityName, _kind, context, _tagCollection, _links, _startTime);
381
384
  }
382
385
 
@@ -241,7 +241,7 @@ namespace Azure.Core
241
241
  throw new ArgumentNullException(nameof(rawResponse));
242
242
  }
243
243
 
244
- return new OperationState(rawResponse, true, false, operationFailedException);
244
+ return new OperationState(rawResponse, true, false, operationFailedException ?? new RequestFailedException(rawResponse));
245
245
  }
246
246
 
247
247
  /// <summary>
@@ -409,7 +409,7 @@ namespace Azure.Core
409
409
  throw new ArgumentNullException(nameof(rawResponse));
410
410
  }
411
411
 
412
- return new OperationState<T>(rawResponse, true, false, default, operationFailedException);
412
+ return new OperationState<T>(rawResponse, true, false, default, operationFailedException ?? new RequestFailedException(rawResponse));
413
413
  }
414
414
 
415
415
  /// <summary>
@@ -6,9 +6,9 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v10.0": {
9
- "Azure.Generator.Provisioning/1.0.0-alpha.20260518.2": {
9
+ "Azure.Generator.Provisioning/1.0.0-alpha.20260601.1": {
10
10
  "dependencies": {
11
- "Azure.Generator": "1.0.0-alpha.20260512.2",
11
+ "Azure.Generator": "1.0.0-alpha.20260516.2",
12
12
  "Azure.Generator.Management": "1.0.0-alpha.20260512.4",
13
13
  "Azure.Provisioning": "1.5.0"
14
14
  },
@@ -16,26 +16,26 @@
16
16
  "Azure.Generator.Provisioning.dll": {}
17
17
  }
18
18
  },
19
- "Azure.Core/1.55.0": {
19
+ "Azure.Core/1.56.0": {
20
20
  "dependencies": {
21
21
  "Microsoft.Bcl.AsyncInterfaces": "10.0.3",
22
22
  "Microsoft.Extensions.Configuration.Abstractions": "10.0.3",
23
23
  "Microsoft.Extensions.Hosting.Abstractions": "10.0.3",
24
24
  "Microsoft.Identity.Client": "4.83.1",
25
25
  "Microsoft.Identity.Client.Extensions.Msal": "4.83.1",
26
- "System.ClientModel": "1.11.0",
26
+ "System.ClientModel": "1.12.0",
27
27
  "System.Memory.Data": "10.0.3"
28
28
  },
29
29
  "runtime": {
30
30
  "lib/net10.0/Azure.Core.dll": {
31
- "assemblyVersion": "1.55.0.0",
32
- "fileVersion": "1.5500.26.25611"
31
+ "assemblyVersion": "1.56.0.0",
32
+ "fileVersion": "1.5600.26.26405"
33
33
  }
34
34
  }
35
35
  },
36
36
  "Azure.Core.Expressions.DataFactory/1.0.0": {
37
37
  "dependencies": {
38
- "Azure.Core": "1.55.0"
38
+ "Azure.Core": "1.56.0"
39
39
  },
40
40
  "runtime": {
41
41
  "lib/netstandard2.0/Azure.Core.Expressions.DataFactory.dll": {
@@ -44,24 +44,24 @@
44
44
  }
45
45
  }
46
46
  },
47
- "Azure.Generator/1.0.0-alpha.20260512.2": {
47
+ "Azure.Generator/1.0.0-alpha.20260516.2": {
48
48
  "dependencies": {
49
- "Azure.Core": "1.55.0",
49
+ "Azure.Core": "1.56.0",
50
50
  "Azure.Core.Expressions.DataFactory": "1.0.0",
51
51
  "Azure.ResourceManager": "1.14.0",
52
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260511.7"
52
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20260516.1"
53
53
  },
54
54
  "runtime": {
55
55
  "lib/net10.0/Azure.Generator.dll": {
56
56
  "assemblyVersion": "1.0.0.0",
57
- "fileVersion": "1.0.26.26202"
57
+ "fileVersion": "1.0.26.26602"
58
58
  }
59
59
  }
60
60
  },
61
61
  "Azure.Generator.Management/1.0.0-alpha.20260512.4": {
62
62
  "dependencies": {
63
- "Azure.Core": "1.55.0",
64
- "Azure.Generator": "1.0.0-alpha.20260512.2",
63
+ "Azure.Core": "1.56.0",
64
+ "Azure.Generator": "1.0.0-alpha.20260516.2",
65
65
  "Azure.ResourceManager": "1.14.0",
66
66
  "Humanizer.Core": "3.0.1"
67
67
  },
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "Azure.Provisioning/1.5.0": {
76
76
  "dependencies": {
77
- "Azure.Core": "1.55.0"
77
+ "Azure.Core": "1.56.0"
78
78
  },
79
79
  "runtime": {
80
80
  "lib/net10.0/Azure.Provisioning.dll": {
@@ -85,7 +85,7 @@
85
85
  },
86
86
  "Azure.ResourceManager/1.14.0": {
87
87
  "dependencies": {
88
- "Azure.Core": "1.55.0"
88
+ "Azure.Core": "1.56.0"
89
89
  },
90
90
  "runtime": {
91
91
  "lib/net10.0/Azure.ResourceManager.dll": {
@@ -478,12 +478,12 @@
478
478
  }
479
479
  }
480
480
  },
481
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260511.7": {
481
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260516.1": {
482
482
  "dependencies": {
483
483
  "CommandLineParser": "2.9.1",
484
484
  "Microsoft.Build": "17.9.5",
485
485
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
486
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260511.7",
486
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20260516.1",
487
487
  "NuGet.Configuration": "6.14.3",
488
488
  "NuGet.Protocol": "6.14.3",
489
489
  "NuGet.Versioning": "6.14.3",
@@ -497,11 +497,11 @@
497
497
  }
498
498
  }
499
499
  },
500
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260511.7": {
500
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260516.1": {
501
501
  "dependencies": {
502
502
  "Microsoft.Extensions.Configuration.Abstractions": "10.0.3",
503
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260511.7",
504
- "System.ClientModel": "1.11.0"
503
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20260516.1",
504
+ "System.ClientModel": "1.12.0"
505
505
  },
506
506
  "runtime": {
507
507
  "lib/net10.0/Microsoft.TypeSpec.Generator.ClientModel.dll": {
@@ -510,7 +510,7 @@
510
510
  }
511
511
  }
512
512
  },
513
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260511.7": {
513
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260516.1": {
514
514
  "dependencies": {
515
515
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
516
516
  "System.Memory.Data": "10.0.3"
@@ -594,7 +594,7 @@
594
594
  }
595
595
  }
596
596
  },
597
- "System.ClientModel/1.11.0": {
597
+ "System.ClientModel/1.12.0": {
598
598
  "dependencies": {
599
599
  "Microsoft.Extensions.Configuration.Abstractions": "10.0.3",
600
600
  "Microsoft.Extensions.Hosting.Abstractions": "10.0.3",
@@ -603,8 +603,8 @@
603
603
  },
604
604
  "runtime": {
605
605
  "lib/net10.0/System.ClientModel.dll": {
606
- "assemblyVersion": "1.11.0.0",
607
- "fileVersion": "1.1100.26.25505"
606
+ "assemblyVersion": "1.12.0.0",
607
+ "fileVersion": "1.1200.26.26304"
608
608
  }
609
609
  }
610
610
  },
@@ -753,17 +753,17 @@
753
753
  }
754
754
  },
755
755
  "libraries": {
756
- "Azure.Generator.Provisioning/1.0.0-alpha.20260518.2": {
756
+ "Azure.Generator.Provisioning/1.0.0-alpha.20260601.1": {
757
757
  "type": "project",
758
758
  "serviceable": false,
759
759
  "sha512": ""
760
760
  },
761
- "Azure.Core/1.55.0": {
761
+ "Azure.Core/1.56.0": {
762
762
  "type": "package",
763
763
  "serviceable": true,
764
- "sha512": "sha512-c7femvYS/xEUrLP1sNZN+DoQZmx3X+G3ZXtOOz0RL/7cGMCM3JVqepVmRd3AwM4IK8AtTGS4GOigCO+d/zaSsQ==",
765
- "path": "azure.core/1.55.0",
766
- "hashPath": "azure.core.1.55.0.nupkg.sha512"
764
+ "sha512": "sha512-svezaU2Dz6kdgxunqWNZuLFctcAcwYESUnPoPAzhj6QCLwvSZzyQks+eSsh3JWTsD5tUvrVyz2o1J4ZAIwuEZw==",
765
+ "path": "azure.core/1.56.0",
766
+ "hashPath": "azure.core.1.56.0.nupkg.sha512"
767
767
  },
768
768
  "Azure.Core.Expressions.DataFactory/1.0.0": {
769
769
  "type": "package",
@@ -772,12 +772,12 @@
772
772
  "path": "azure.core.expressions.datafactory/1.0.0",
773
773
  "hashPath": "azure.core.expressions.datafactory.1.0.0.nupkg.sha512"
774
774
  },
775
- "Azure.Generator/1.0.0-alpha.20260512.2": {
775
+ "Azure.Generator/1.0.0-alpha.20260516.2": {
776
776
  "type": "package",
777
777
  "serviceable": true,
778
- "sha512": "sha512-jTrlvhv4X+387uAfWtUSuRJ/pfPK+5jM6nmcBvF+RWqe1idmjMR8cO0TAPWYillNHzCvUOW4ACC5O08gmorxow==",
779
- "path": "azure.generator/1.0.0-alpha.20260512.2",
780
- "hashPath": "azure.generator.1.0.0-alpha.20260512.2.nupkg.sha512"
778
+ "sha512": "sha512-zwGZBzxWfuQnGDR4oNY2VgJSxilsmNyATxHHGwF8ZXR4nS4LIZFBPuC3svAVMAb1FTKk3l0fzYSZz9lb5k++Ag==",
779
+ "path": "azure.generator/1.0.0-alpha.20260516.2",
780
+ "hashPath": "azure.generator.1.0.0-alpha.20260516.2.nupkg.sha512"
781
781
  },
782
782
  "Azure.Generator.Management/1.0.0-alpha.20260512.4": {
783
783
  "type": "package",
@@ -947,26 +947,26 @@
947
947
  "path": "microsoft.net.stringtools/17.9.5",
948
948
  "hashPath": "microsoft.net.stringtools.17.9.5.nupkg.sha512"
949
949
  },
950
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260511.7": {
950
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20260516.1": {
951
951
  "type": "package",
952
952
  "serviceable": true,
953
- "sha512": "sha512-UazYK9J6WrKJ6jhmfPQVk9CNNkF+M/pIZA3mv1ZdzCiMjYW1OV3pftdOyCfrPtH1yGdvml0NfQwRqXzp/Jy5yQ==",
954
- "path": "microsoft.typespec.generator/1.0.0-alpha.20260511.7",
955
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260511.7.nupkg.sha512"
953
+ "sha512": "sha512-xcIqZU5fXP048bPx2C/40tk6jMX6rAV0Gn8jyLxUV2ZgGXKHmzTapnsS1uTrA/TZR72gEOTd8lsNNLczDicarw==",
954
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20260516.1",
955
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20260516.1.nupkg.sha512"
956
956
  },
957
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260511.7": {
957
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260516.1": {
958
958
  "type": "package",
959
959
  "serviceable": true,
960
- "sha512": "sha512-1Jl/0opEWANMllzYlwdUKlSDu9Q/g9s5qMIuY50nhIJCR+0rbUST2aO6vGYcTgsOasppThJxy0ygyS3vrjaCBg==",
961
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260511.7",
962
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260511.7.nupkg.sha512"
960
+ "sha512": "sha512-Vp9xyO8rDWqC8FBmmI6dvxw1FZn4yudfKr9gc4ZPIe3QZxDL61rQjE6ryND2m4YUHB1+4YhEMf8zOmfgQYQwYQ==",
961
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20260516.1",
962
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20260516.1.nupkg.sha512"
963
963
  },
964
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260511.7": {
964
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260516.1": {
965
965
  "type": "package",
966
966
  "serviceable": true,
967
- "sha512": "sha512-Jb8vNTEdcIGgr0iVZ1Q6gjyCmjiYa2n+/zYCvfp4M/ZJ55l5uX/qKGCD9zw31GTzytOGSKSNJRX1rcp2tWl5ig==",
968
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260511.7",
969
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260511.7.nupkg.sha512"
967
+ "sha512": "sha512-m47OPrjBROJCjtLmBGOzxl8UrM8RULklxZjuDOamtxvgfYM5n4+GFthzDTwONVYHvmZFh7R84sL24F8cJPwmZw==",
968
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20260516.1",
969
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20260516.1.nupkg.sha512"
970
970
  },
971
971
  "Newtonsoft.Json/13.0.3": {
972
972
  "type": "package",
@@ -1017,12 +1017,12 @@
1017
1017
  "path": "nuget.versioning/6.14.3",
1018
1018
  "hashPath": "nuget.versioning.6.14.3.nupkg.sha512"
1019
1019
  },
1020
- "System.ClientModel/1.11.0": {
1020
+ "System.ClientModel/1.12.0": {
1021
1021
  "type": "package",
1022
1022
  "serviceable": true,
1023
- "sha512": "sha512-1Wl32zh7TbvN+HAO8NqDuaN0Ao2Qu/0j0NJSrXGDtpUQsTXQYJ3C6hd9/Ds2IrgP4agMQYFoXB35GZfC21ByHw==",
1024
- "path": "system.clientmodel/1.11.0",
1025
- "hashPath": "system.clientmodel.1.11.0.nupkg.sha512"
1023
+ "sha512": "sha512-Q1y42ycMycmeFth9WBly1cgG8rVlYivVtEry0Qri0dXDA3LiTcs7kE6nmcIQ7Nx0FAF9XepKXuT7iZnHHy1e/w==",
1024
+ "path": "system.clientmodel/1.12.0",
1025
+ "hashPath": "system.clientmodel.1.12.0.nupkg.sha512"
1026
1026
  },
1027
1027
  "System.ComponentModel.Composition/8.0.0": {
1028
1028
  "type": "package",
@@ -61,6 +61,12 @@
61
61
  Provisioning metadata for a single property, used to create a <see cref="T:Azure.Generator.Provisioning.Providers.ProvisioningPropertyProvider"/>.
62
62
  </summary>
63
63
  </member>
64
+ <member name="T:Azure.Generator.Provisioning.Primitives.ProvisioningResourceProjection">
65
+ <summary>
66
+ Provisioning-specific view over one or more compatible management resource
67
+ metadata entries that should emit as one provisioning resource type.
68
+ </summary>
69
+ </member>
64
70
  <member name="T:Azure.Generator.Provisioning.Providers.BuiltInRoleProvider">
65
71
  <summary>
66
72
  Generates a readonly struct that defines built-in RBAC roles for a provisioning service.
@@ -124,7 +130,7 @@
124
130
  </member>
125
131
  <member name="T:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider">
126
132
  <summary>
127
- Generates a ProvisionableResource subclass from an InputModelType + ArmResourceMetadata.
133
+ Generates a ProvisionableResource subclass from a provisioning resource projection.
128
134
  Flattens the ARM "properties" bag, includes system properties from the base model chain,
129
135
  and generates ResourceVersions, FromExisting, and the resource constructor.
130
136
  </summary>
@@ -151,9 +157,9 @@
151
157
  marking such properties as output-only.
152
158
  </summary>
153
159
  </member>
154
- <member name="P:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider.ResourceMetadata">
160
+ <member name="P:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider.ResourceProjection">
155
161
  <summary>
156
- Gets the resource metadata, if this is a base resource type.
162
+ Gets the provisioning resource projection, if this is a base resource type.
157
163
  </summary>
158
164
  </member>
159
165
  <member name="P:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider.ParentResourceType">
@@ -164,7 +170,7 @@
164
170
  <member name="M:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider.Azure#Generator#Provisioning#Primitives#IProvisioningPropertyInfo#GetProvisioningPropertyInfo(Microsoft.TypeSpec.Generator.Input.InputModelProperty)">
165
171
  <inheritdoc/>
166
172
  </member>
167
- <member name="M:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider.#ctor(Microsoft.TypeSpec.Generator.Input.InputModelType,Azure.Generator.Management.Models.ArmResourceMetadata)">
173
+ <member name="M:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider.#ctor(Azure.Generator.Provisioning.Primitives.ProvisioningResourceProjection)">
168
174
  <summary>
169
175
  Constructor for base resource types (with metadata from ARM provider schema).
170
176
  </summary>
@@ -255,7 +261,7 @@
255
261
  Returns false if the model is not a resource model.
256
262
  </summary>
257
263
  </member>
258
- <member name="M:Azure.Generator.Provisioning.ProvisioningOutputLibrary.GetResourceByIdPattern(System.String)">
264
+ <member name="M:Azure.Generator.Provisioning.ProvisioningOutputLibrary.GetResourceByIdPattern(Azure.Generator.Management.Models.RequestPathPattern)">
259
265
  <summary>
260
266
  Gets a resource provider by its ARM resource ID pattern.
261
267
  Returns null if not found.
@@ -375,8 +375,11 @@ namespace Azure.Core.Pipeline
375
375
  {
376
376
  return null;
377
377
  }
378
- // TODO(limolkova) set isRemote to true once we switch to DiagnosticSource 7.0
379
- ActivityContext.TryParse(_traceparent, _tracestate, out ActivityContext context);
378
+ // The traceparent was extracted from an inbound message (e.g. Service Bus / Event Hubs message
379
+ // application properties) via SetTraceContext/AddLink, so the resulting context is remote by definition.
380
+ // Marking it as remote is required for samplers (e.g. RateLimitedSampler, ParentBased variants)
381
+ // that distinguish local vs. remote parents to make correct decisions.
382
+ ActivityContext.TryParse(_traceparent, _tracestate, isRemote: true, out ActivityContext context);
380
383
  return _activitySource.StartActivity(_activityName, _kind, context, _tagCollection, _links, _startTime);
381
384
  }
382
385
 
@@ -241,7 +241,7 @@ namespace Azure.Core
241
241
  throw new ArgumentNullException(nameof(rawResponse));
242
242
  }
243
243
 
244
- return new OperationState(rawResponse, true, false, operationFailedException);
244
+ return new OperationState(rawResponse, true, false, operationFailedException ?? new RequestFailedException(rawResponse));
245
245
  }
246
246
 
247
247
  /// <summary>
@@ -409,7 +409,7 @@ namespace Azure.Core
409
409
  throw new ArgumentNullException(nameof(rawResponse));
410
410
  }
411
411
 
412
- return new OperationState<T>(rawResponse, true, false, default, operationFailedException);
412
+ return new OperationState<T>(rawResponse, true, false, default, operationFailedException ?? new RequestFailedException(rawResponse));
413
413
  }
414
414
 
415
415
  /// <summary>
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.20260518.2",
3
+ "version": "1.0.0-alpha.20260601.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",