@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.
- package/dist/generator/Azure.Core.dll +0 -0
- package/dist/generator/Azure.Generator.Provisioning.deps.json +49 -49
- package/dist/generator/Azure.Generator.Provisioning.dll +0 -0
- package/dist/generator/Azure.Generator.Provisioning.pdb +0 -0
- package/dist/generator/Azure.Generator.Provisioning.xml +11 -5
- package/dist/generator/Azure.Generator.dll +0 -0
- package/dist/generator/Microsoft.TypeSpec.Generator.ClientModel.dll +0 -0
- package/dist/generator/Microsoft.TypeSpec.Generator.Input.dll +0 -0
- package/dist/generator/Microsoft.TypeSpec.Generator.dll +0 -0
- package/dist/generator/Shared/Core/DiagnosticScope.cs +5 -2
- package/dist/generator/Shared/Core/OperationInternal.cs +1 -1
- package/dist/generator/Shared/Core/OperationInternalOfT.cs +1 -1
- package/dist/generator/System.ClientModel.dll +0 -0
- package/dist/generator/net10.0/Azure.Core.dll +0 -0
- package/dist/generator/net10.0/Azure.Generator.Provisioning.deps.json +49 -49
- package/dist/generator/net10.0/Azure.Generator.Provisioning.dll +0 -0
- package/dist/generator/net10.0/Azure.Generator.Provisioning.pdb +0 -0
- package/dist/generator/net10.0/Azure.Generator.Provisioning.xml +11 -5
- package/dist/generator/net10.0/Azure.Generator.dll +0 -0
- package/dist/generator/net10.0/Microsoft.TypeSpec.Generator.ClientModel.dll +0 -0
- package/dist/generator/net10.0/Microsoft.TypeSpec.Generator.Input.dll +0 -0
- package/dist/generator/net10.0/Microsoft.TypeSpec.Generator.dll +0 -0
- package/dist/generator/net10.0/Shared/Core/DiagnosticScope.cs +5 -2
- package/dist/generator/net10.0/Shared/Core/OperationInternal.cs +1 -1
- package/dist/generator/net10.0/Shared/Core/OperationInternalOfT.cs +1 -1
- package/dist/generator/net10.0/System.ClientModel.dll +0 -0
- 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.
|
|
9
|
+
"Azure.Generator.Provisioning/1.0.0-alpha.20260601.1": {
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"Azure.Generator": "1.0.0-alpha.
|
|
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.
|
|
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.
|
|
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.
|
|
32
|
-
"fileVersion": "1.
|
|
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.
|
|
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.
|
|
47
|
+
"Azure.Generator/1.0.0-alpha.20260516.2": {
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"Azure.Core": "1.
|
|
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.
|
|
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.
|
|
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.
|
|
64
|
-
"Azure.Generator": "1.0.0-alpha.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
504
|
-
"System.ClientModel": "1.
|
|
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.
|
|
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.
|
|
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.
|
|
607
|
-
"fileVersion": "1.
|
|
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.
|
|
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.
|
|
761
|
+
"Azure.Core/1.56.0": {
|
|
762
762
|
"type": "package",
|
|
763
763
|
"serviceable": true,
|
|
764
|
-
"sha512": "sha512-
|
|
765
|
-
"path": "azure.core/1.
|
|
766
|
-
"hashPath": "azure.core.1.
|
|
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.
|
|
775
|
+
"Azure.Generator/1.0.0-alpha.20260516.2": {
|
|
776
776
|
"type": "package",
|
|
777
777
|
"serviceable": true,
|
|
778
|
-
"sha512": "sha512-
|
|
779
|
-
"path": "azure.generator/1.0.0-alpha.
|
|
780
|
-
"hashPath": "azure.generator.1.0.0-alpha.
|
|
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.
|
|
950
|
+
"Microsoft.TypeSpec.Generator/1.0.0-alpha.20260516.1": {
|
|
951
951
|
"type": "package",
|
|
952
952
|
"serviceable": true,
|
|
953
|
-
"sha512": "sha512-
|
|
954
|
-
"path": "microsoft.typespec.generator/1.0.0-alpha.
|
|
955
|
-
"hashPath": "microsoft.typespec.generator.1.0.0-alpha.
|
|
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.
|
|
957
|
+
"Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260516.1": {
|
|
958
958
|
"type": "package",
|
|
959
959
|
"serviceable": true,
|
|
960
|
-
"sha512": "sha512-
|
|
961
|
-
"path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.
|
|
962
|
-
"hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.
|
|
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.
|
|
964
|
+
"Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260516.1": {
|
|
965
965
|
"type": "package",
|
|
966
966
|
"serviceable": true,
|
|
967
|
-
"sha512": "sha512-
|
|
968
|
-
"path": "microsoft.typespec.generator.input/1.0.0-alpha.
|
|
969
|
-
"hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.
|
|
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.
|
|
1020
|
+
"System.ClientModel/1.12.0": {
|
|
1021
1021
|
"type": "package",
|
|
1022
1022
|
"serviceable": true,
|
|
1023
|
-
"sha512": "sha512-
|
|
1024
|
-
"path": "system.clientmodel/1.
|
|
1025
|
-
"hashPath": "system.clientmodel.1.
|
|
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",
|
|
Binary file
|
|
Binary file
|
|
@@ -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
|
|
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.
|
|
160
|
+
<member name="P:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider.ResourceProjection">
|
|
155
161
|
<summary>
|
|
156
|
-
Gets the resource
|
|
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(
|
|
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(
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -375,8 +375,11 @@ namespace Azure.Core.Pipeline
|
|
|
375
375
|
{
|
|
376
376
|
return null;
|
|
377
377
|
}
|
|
378
|
-
//
|
|
379
|
-
|
|
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>
|
|
Binary file
|
|
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.
|
|
9
|
+
"Azure.Generator.Provisioning/1.0.0-alpha.20260601.1": {
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"Azure.Generator": "1.0.0-alpha.
|
|
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.
|
|
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.
|
|
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.
|
|
32
|
-
"fileVersion": "1.
|
|
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.
|
|
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.
|
|
47
|
+
"Azure.Generator/1.0.0-alpha.20260516.2": {
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"Azure.Core": "1.
|
|
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.
|
|
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.
|
|
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.
|
|
64
|
-
"Azure.Generator": "1.0.0-alpha.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
504
|
-
"System.ClientModel": "1.
|
|
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.
|
|
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.
|
|
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.
|
|
607
|
-
"fileVersion": "1.
|
|
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.
|
|
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.
|
|
761
|
+
"Azure.Core/1.56.0": {
|
|
762
762
|
"type": "package",
|
|
763
763
|
"serviceable": true,
|
|
764
|
-
"sha512": "sha512-
|
|
765
|
-
"path": "azure.core/1.
|
|
766
|
-
"hashPath": "azure.core.1.
|
|
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.
|
|
775
|
+
"Azure.Generator/1.0.0-alpha.20260516.2": {
|
|
776
776
|
"type": "package",
|
|
777
777
|
"serviceable": true,
|
|
778
|
-
"sha512": "sha512-
|
|
779
|
-
"path": "azure.generator/1.0.0-alpha.
|
|
780
|
-
"hashPath": "azure.generator.1.0.0-alpha.
|
|
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.
|
|
950
|
+
"Microsoft.TypeSpec.Generator/1.0.0-alpha.20260516.1": {
|
|
951
951
|
"type": "package",
|
|
952
952
|
"serviceable": true,
|
|
953
|
-
"sha512": "sha512-
|
|
954
|
-
"path": "microsoft.typespec.generator/1.0.0-alpha.
|
|
955
|
-
"hashPath": "microsoft.typespec.generator.1.0.0-alpha.
|
|
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.
|
|
957
|
+
"Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20260516.1": {
|
|
958
958
|
"type": "package",
|
|
959
959
|
"serviceable": true,
|
|
960
|
-
"sha512": "sha512-
|
|
961
|
-
"path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.
|
|
962
|
-
"hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.
|
|
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.
|
|
964
|
+
"Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20260516.1": {
|
|
965
965
|
"type": "package",
|
|
966
966
|
"serviceable": true,
|
|
967
|
-
"sha512": "sha512-
|
|
968
|
-
"path": "microsoft.typespec.generator.input/1.0.0-alpha.
|
|
969
|
-
"hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.
|
|
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.
|
|
1020
|
+
"System.ClientModel/1.12.0": {
|
|
1021
1021
|
"type": "package",
|
|
1022
1022
|
"serviceable": true,
|
|
1023
|
-
"sha512": "sha512-
|
|
1024
|
-
"path": "system.clientmodel/1.
|
|
1025
|
-
"hashPath": "system.clientmodel.1.
|
|
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",
|
|
Binary file
|
|
Binary file
|
|
@@ -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
|
|
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.
|
|
160
|
+
<member name="P:Azure.Generator.Provisioning.Providers.ProvisioningResourceProvider.ResourceProjection">
|
|
155
161
|
<summary>
|
|
156
|
-
Gets the resource
|
|
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(
|
|
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(
|
|
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
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -375,8 +375,11 @@ namespace Azure.Core.Pipeline
|
|
|
375
375
|
{
|
|
376
376
|
return null;
|
|
377
377
|
}
|
|
378
|
-
//
|
|
379
|
-
|
|
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>
|
|
Binary file
|
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.
|
|
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",
|