@azure-typespec/http-client-csharp-mgmt 1.0.0-alpha.20250529.1 → 1.0.0-alpha.20250603.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.
@@ -6,12 +6,13 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v8.0": {
9
- "Azure.Generator.Management/1.0.0-alpha.20250529.1": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20250603.1": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.46.1",
12
- "Azure.Generator": "1.0.0-alpha.20250523.1",
12
+ "Azure.Generator": "1.0.0-alpha.20250527.2",
13
13
  "Azure.ResourceManager": "1.13.0",
14
- "Microsoft.Azure.AutoRest.CSharp": "3.0.0-beta.20250523.1",
14
+ "Humanizer.Core": "2.14.1",
15
+ "Microsoft.Azure.AutoRest.CSharp": "3.0.0-beta.20250530.1",
15
16
  "Microsoft.SourceLink.GitHub": "8.0.0",
16
17
  "SauceControl.InheritDoc": "1.2.0",
17
18
  "StyleCop.Analyzers": "1.2.0-beta.333"
@@ -33,11 +34,11 @@
33
34
  }
34
35
  }
35
36
  },
36
- "Azure.Generator/1.0.0-alpha.20250523.1": {
37
+ "Azure.Generator/1.0.0-alpha.20250527.2": {
37
38
  "dependencies": {
38
39
  "Azure.Core": "1.46.1",
39
40
  "Azure.ResourceManager": "1.13.0",
40
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20250522.3"
41
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20250527.7"
41
42
  },
42
43
  "runtime": {
43
44
  "lib/net8.0/Azure.Generator.dll": {
@@ -75,7 +76,7 @@
75
76
  }
76
77
  }
77
78
  },
78
- "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250523.1": {},
79
+ "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250530.1": {},
79
80
  "Microsoft.Bcl.AsyncInterfaces/8.0.0": {
80
81
  "runtime": {
81
82
  "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": {
@@ -365,12 +366,12 @@
365
366
  "Microsoft.SourceLink.Common": "8.0.0"
366
367
  }
367
368
  },
368
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250522.3": {
369
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250527.7": {
369
370
  "dependencies": {
370
371
  "CommandLineParser": "2.9.1",
371
372
  "Microsoft.Build": "17.9.5",
372
373
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
373
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20250522.3",
374
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20250527.7",
374
375
  "NuGet.Configuration": "6.14.0",
375
376
  "NuGet.Protocol": "6.14.0",
376
377
  "NuGet.Versioning": "6.14.0",
@@ -384,9 +385,9 @@
384
385
  }
385
386
  }
386
387
  },
387
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250522.3": {
388
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250527.7": {
388
389
  "dependencies": {
389
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20250522.3",
390
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20250527.7",
390
391
  "System.ClientModel": "1.4.1"
391
392
  },
392
393
  "runtime": {
@@ -396,7 +397,7 @@
396
397
  }
397
398
  }
398
399
  },
399
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250522.3": {
400
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250527.7": {
400
401
  "dependencies": {
401
402
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
402
403
  "System.Memory.Data": "8.0.1"
@@ -682,7 +683,7 @@
682
683
  }
683
684
  },
684
685
  "libraries": {
685
- "Azure.Generator.Management/1.0.0-alpha.20250529.1": {
686
+ "Azure.Generator.Management/1.0.0-alpha.20250603.1": {
686
687
  "type": "project",
687
688
  "serviceable": false,
688
689
  "sha512": ""
@@ -694,12 +695,12 @@
694
695
  "path": "azure.core/1.46.1",
695
696
  "hashPath": "azure.core.1.46.1.nupkg.sha512"
696
697
  },
697
- "Azure.Generator/1.0.0-alpha.20250523.1": {
698
+ "Azure.Generator/1.0.0-alpha.20250527.2": {
698
699
  "type": "package",
699
700
  "serviceable": true,
700
- "sha512": "sha512-GsgZXhgwVz0dFZXejl3Xgi3evhOX/MUp/TvdLQngSW9NgPKGyV4iY4L5gdYkcGJliVeHnCab2WxWo2hMROXSyg==",
701
- "path": "azure.generator/1.0.0-alpha.20250523.1",
702
- "hashPath": "azure.generator.1.0.0-alpha.20250523.1.nupkg.sha512"
701
+ "sha512": "sha512-iFMMzaoJ2nYuXS2SikobEWecAgUA4WvrmoKMcIMDGRM7Wrrpwpc9BXAHg4Xn/7tofqBWYiq/I7u3a6wRulCqJw==",
702
+ "path": "azure.generator/1.0.0-alpha.20250527.2",
703
+ "hashPath": "azure.generator.1.0.0-alpha.20250527.2.nupkg.sha512"
703
704
  },
704
705
  "Azure.ResourceManager/1.13.0": {
705
706
  "type": "package",
@@ -722,12 +723,12 @@
722
723
  "path": "humanizer.core/2.14.1",
723
724
  "hashPath": "humanizer.core.2.14.1.nupkg.sha512"
724
725
  },
725
- "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250523.1": {
726
+ "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250530.1": {
726
727
  "type": "package",
727
728
  "serviceable": true,
728
- "sha512": "sha512-dz6OnqFGwdt8BYrwnN6p1do6pR5OcW91dXn8XnLT0qBLcOi27CzbiPJ9WYuUwF8YWa5d+jqkltADG91Sycrq8g==",
729
- "path": "microsoft.azure.autorest.csharp/3.0.0-beta.20250523.1",
730
- "hashPath": "microsoft.azure.autorest.csharp.3.0.0-beta.20250523.1.nupkg.sha512"
729
+ "sha512": "sha512-xVkXKajtgP+WDFCusUfIwT/4XzFnNhv8Lxpdb7JNtEq0TNX7kOdZKEUOATREDBlCTsCqjDylOz0Ld8CZhTyvag==",
730
+ "path": "microsoft.azure.autorest.csharp/3.0.0-beta.20250530.1",
731
+ "hashPath": "microsoft.azure.autorest.csharp.3.0.0-beta.20250530.1.nupkg.sha512"
731
732
  },
732
733
  "Microsoft.Bcl.AsyncInterfaces/8.0.0": {
733
734
  "type": "package",
@@ -827,26 +828,26 @@
827
828
  "path": "microsoft.sourcelink.github/8.0.0",
828
829
  "hashPath": "microsoft.sourcelink.github.8.0.0.nupkg.sha512"
829
830
  },
830
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250522.3": {
831
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250527.7": {
831
832
  "type": "package",
832
833
  "serviceable": true,
833
- "sha512": "sha512-RS3OtSs2zu97wPiZgEsUh6X/uWPjCXo7baUkIv1/0EBMxs9XrekzTivK3WMlb7bPBAB5X29ynS9xjUSLE/YdNw==",
834
- "path": "microsoft.typespec.generator/1.0.0-alpha.20250522.3",
835
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20250522.3.nupkg.sha512"
834
+ "sha512": "sha512-7YuTCuNMK+D+cdvzNL1nf881DDWarbqrOPYDJGkOyfqOrWTQYbDK6pbyqFoYX9Yqg7WQGHEkGLBIcV1ZM5qDDA==",
835
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20250527.7",
836
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20250527.7.nupkg.sha512"
836
837
  },
837
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250522.3": {
838
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250527.7": {
838
839
  "type": "package",
839
840
  "serviceable": true,
840
- "sha512": "sha512-Di96oky4s7dXc4Ui2urWJ4410T0mV+ZZWx4P9UNwMHkJy/fC87mvzKPu++UQlNjxJpWMr02hPp+rAnIYeiTKhA==",
841
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20250522.3",
842
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20250522.3.nupkg.sha512"
841
+ "sha512": "sha512-Jqyu+GsprhWazQNe6Lv47Yq2d4e3/lacdB762tFLp6CgrHcubEEJ05rLXYfvxqlhVZtuVP1D7RpXHO1reUpyew==",
842
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20250527.7",
843
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20250527.7.nupkg.sha512"
843
844
  },
844
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250522.3": {
845
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250527.7": {
845
846
  "type": "package",
846
847
  "serviceable": true,
847
- "sha512": "sha512-9CK+PXPL2mKuKMWUli8eDzM1PWB809cyokIn6lO2wDtrj8U5yw3sq55MvTpBIpsL6xsC0Yd9VQJ1CYMNNcDjyg==",
848
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20250522.3",
849
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20250522.3.nupkg.sha512"
848
+ "sha512": "sha512-dDezXyUXzsvTIGXU9RTPczBh4gWkel/+7auYrhrSepcuczd2hb8yA6Dc78zP1ZSG3213O17/xQKa17tpkilr9A==",
849
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20250527.7",
850
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20250527.7.nupkg.sha512"
850
851
  },
851
852
  "Newtonsoft.Json/13.0.3": {
852
853
  "type": "package",
@@ -35,11 +35,6 @@
35
35
  <member name="M:Azure.Generator.Management.ManagementInputLibrary.#ctor(System.String)">
36
36
  <inheritdoc/>
37
37
  </member>
38
- <member name="P:Azure.Generator.Management.ManagementInputLibrary.AllClients">
39
- <summary>
40
- All clients in the input library, including the subclients.
41
- </summary>
42
- </member>
43
38
  <member name="T:Azure.Generator.Management.ManagementOutputLibrary">
44
39
  <inheritdoc/>
45
40
  </member>
@@ -49,6 +44,12 @@
49
44
  <member name="T:Azure.Generator.Management.ManagementTypeFactory">
50
45
  <inheritdoc/>
51
46
  </member>
47
+ <member name="P:Azure.Generator.Management.ManagementTypeFactory.ResourceProviderName">
48
+ <summary>
49
+ The name for this resource provider.
50
+ For instance, if the namespace is "Azure.ResourceManager.Compute", the resource provider name will be "Compute".
51
+ </summary>
52
+ </member>
52
53
  <member name="P:Azure.Generator.Management.ManagementTypeFactory.ClientPipelineApi">
53
54
  <inheritdoc/>
54
55
  </member>
@@ -70,6 +71,9 @@
70
71
  <member name="M:Azure.Generator.Management.ManagementTypeFactory.DeserializeJsonValue(System.Type,Microsoft.TypeSpec.Generator.Snippets.ScopedApi{System.Text.Json.JsonElement},Microsoft.TypeSpec.Generator.Input.SerializationFormat)">
71
72
  <inheritdoc/>
72
73
  </member>
74
+ <member name="M:Azure.Generator.Management.ManagementTypeFactory.CreateNewProjectScaffolding">
75
+ <inheritdoc/>
76
+ </member>
73
77
  <member name="M:Azure.Generator.Management.Models.RequestPath.IsAncestorOf(Azure.Generator.Management.Models.RequestPath)">
74
78
  <summary>
75
79
  Check if this <see cref="T:Azure.Generator.Management.Models.RequestPath"/> is a prefix path of the other request path.
@@ -858,6 +862,30 @@
858
862
  A delay strategy that uses a fixed delay with no jitter applied. This is used by data plane LROs.
859
863
  </summary>
860
864
  </member>
865
+ <member name="T:Azure.Core.ForwardsClientCallsAttribute">
866
+ <summary>
867
+ Marks methods that call methods on other client and don't need their diagnostics verified.
868
+ </summary>
869
+ </member>
870
+ <member name="M:Azure.Core.ForwardsClientCallsAttribute.#ctor">
871
+ <summary>
872
+ Creates a new instance of <see cref="T:Azure.Core.ForwardsClientCallsAttribute"/>.
873
+ </summary>
874
+ </member>
875
+ <member name="M:Azure.Core.ForwardsClientCallsAttribute.#ctor(System.Boolean)">
876
+ <summary>
877
+ Creates a new instance of <see cref="T:Azure.Core.ForwardsClientCallsAttribute"/>.
878
+ </summary>
879
+ <param name="skipChecks"> Sets whether or not diagnostic scope validation should happen. </param>
880
+ </member>
881
+ <member name="P:Azure.Core.ForwardsClientCallsAttribute.SkipChecks">
882
+ <summary>
883
+ Gets whether or not we should validate DiagnosticScope for this API.
884
+ In the case where there is an internal API that makes the Azure API call and a public API that uses it we need ForwardsClientCalls.
885
+ If the public API will cache the results then the diagnostic scope will not always be created because an Azure API is not always called.
886
+ In this case we need to turn off this validation for this API only.
887
+ </summary>
888
+ </member>
861
889
  <member name="P:Azure.NoValueResponse`1.HasValue">
862
890
  <inheritdoc />
863
891
  </member>
Binary file
@@ -0,0 +1,39 @@
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ using System;
5
+
6
+ namespace Azure.Core
7
+ {
8
+ /// <summary>
9
+ /// Marks methods that call methods on other client and don't need their diagnostics verified.
10
+ /// </summary>
11
+ [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
12
+ internal class ForwardsClientCallsAttribute : Attribute
13
+ {
14
+ /// <summary>
15
+ /// Creates a new instance of <see cref="ForwardsClientCallsAttribute"/>.
16
+ /// </summary>
17
+ public ForwardsClientCallsAttribute()
18
+ : this(false)
19
+ {
20
+ }
21
+
22
+ /// <summary>
23
+ /// Creates a new instance of <see cref="ForwardsClientCallsAttribute"/>.
24
+ /// </summary>
25
+ /// <param name="skipChecks"> Sets whether or not diagnostic scope validation should happen. </param>
26
+ public ForwardsClientCallsAttribute(bool skipChecks)
27
+ {
28
+ SkipChecks = skipChecks;
29
+ }
30
+
31
+ /// <summary>
32
+ /// Gets whether or not we should validate DiagnosticScope for this API.
33
+ /// In the case where there is an internal API that makes the Azure API call and a public API that uses it we need ForwardsClientCalls.
34
+ /// If the public API will cache the results then the diagnostic scope will not always be created because an Azure API is not always called.
35
+ /// In this case we need to turn off this validation for this API only.
36
+ /// </summary>
37
+ public bool SkipChecks { get; }
38
+ }
39
+ }
@@ -6,12 +6,13 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v8.0": {
9
- "Azure.Generator.Management/1.0.0-alpha.20250529.1": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20250603.1": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.46.1",
12
- "Azure.Generator": "1.0.0-alpha.20250523.1",
12
+ "Azure.Generator": "1.0.0-alpha.20250527.2",
13
13
  "Azure.ResourceManager": "1.13.0",
14
- "Microsoft.Azure.AutoRest.CSharp": "3.0.0-beta.20250523.1",
14
+ "Humanizer.Core": "2.14.1",
15
+ "Microsoft.Azure.AutoRest.CSharp": "3.0.0-beta.20250530.1",
15
16
  "Microsoft.SourceLink.GitHub": "8.0.0",
16
17
  "SauceControl.InheritDoc": "1.2.0",
17
18
  "StyleCop.Analyzers": "1.2.0-beta.333"
@@ -33,11 +34,11 @@
33
34
  }
34
35
  }
35
36
  },
36
- "Azure.Generator/1.0.0-alpha.20250523.1": {
37
+ "Azure.Generator/1.0.0-alpha.20250527.2": {
37
38
  "dependencies": {
38
39
  "Azure.Core": "1.46.1",
39
40
  "Azure.ResourceManager": "1.13.0",
40
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20250522.3"
41
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20250527.7"
41
42
  },
42
43
  "runtime": {
43
44
  "lib/net8.0/Azure.Generator.dll": {
@@ -75,7 +76,7 @@
75
76
  }
76
77
  }
77
78
  },
78
- "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250523.1": {},
79
+ "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250530.1": {},
79
80
  "Microsoft.Bcl.AsyncInterfaces/8.0.0": {
80
81
  "runtime": {
81
82
  "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": {
@@ -365,12 +366,12 @@
365
366
  "Microsoft.SourceLink.Common": "8.0.0"
366
367
  }
367
368
  },
368
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250522.3": {
369
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250527.7": {
369
370
  "dependencies": {
370
371
  "CommandLineParser": "2.9.1",
371
372
  "Microsoft.Build": "17.9.5",
372
373
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
373
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20250522.3",
374
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20250527.7",
374
375
  "NuGet.Configuration": "6.14.0",
375
376
  "NuGet.Protocol": "6.14.0",
376
377
  "NuGet.Versioning": "6.14.0",
@@ -384,9 +385,9 @@
384
385
  }
385
386
  }
386
387
  },
387
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250522.3": {
388
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250527.7": {
388
389
  "dependencies": {
389
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20250522.3",
390
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20250527.7",
390
391
  "System.ClientModel": "1.4.1"
391
392
  },
392
393
  "runtime": {
@@ -396,7 +397,7 @@
396
397
  }
397
398
  }
398
399
  },
399
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250522.3": {
400
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250527.7": {
400
401
  "dependencies": {
401
402
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
402
403
  "System.Memory.Data": "8.0.1"
@@ -682,7 +683,7 @@
682
683
  }
683
684
  },
684
685
  "libraries": {
685
- "Azure.Generator.Management/1.0.0-alpha.20250529.1": {
686
+ "Azure.Generator.Management/1.0.0-alpha.20250603.1": {
686
687
  "type": "project",
687
688
  "serviceable": false,
688
689
  "sha512": ""
@@ -694,12 +695,12 @@
694
695
  "path": "azure.core/1.46.1",
695
696
  "hashPath": "azure.core.1.46.1.nupkg.sha512"
696
697
  },
697
- "Azure.Generator/1.0.0-alpha.20250523.1": {
698
+ "Azure.Generator/1.0.0-alpha.20250527.2": {
698
699
  "type": "package",
699
700
  "serviceable": true,
700
- "sha512": "sha512-GsgZXhgwVz0dFZXejl3Xgi3evhOX/MUp/TvdLQngSW9NgPKGyV4iY4L5gdYkcGJliVeHnCab2WxWo2hMROXSyg==",
701
- "path": "azure.generator/1.0.0-alpha.20250523.1",
702
- "hashPath": "azure.generator.1.0.0-alpha.20250523.1.nupkg.sha512"
701
+ "sha512": "sha512-iFMMzaoJ2nYuXS2SikobEWecAgUA4WvrmoKMcIMDGRM7Wrrpwpc9BXAHg4Xn/7tofqBWYiq/I7u3a6wRulCqJw==",
702
+ "path": "azure.generator/1.0.0-alpha.20250527.2",
703
+ "hashPath": "azure.generator.1.0.0-alpha.20250527.2.nupkg.sha512"
703
704
  },
704
705
  "Azure.ResourceManager/1.13.0": {
705
706
  "type": "package",
@@ -722,12 +723,12 @@
722
723
  "path": "humanizer.core/2.14.1",
723
724
  "hashPath": "humanizer.core.2.14.1.nupkg.sha512"
724
725
  },
725
- "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250523.1": {
726
+ "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250530.1": {
726
727
  "type": "package",
727
728
  "serviceable": true,
728
- "sha512": "sha512-dz6OnqFGwdt8BYrwnN6p1do6pR5OcW91dXn8XnLT0qBLcOi27CzbiPJ9WYuUwF8YWa5d+jqkltADG91Sycrq8g==",
729
- "path": "microsoft.azure.autorest.csharp/3.0.0-beta.20250523.1",
730
- "hashPath": "microsoft.azure.autorest.csharp.3.0.0-beta.20250523.1.nupkg.sha512"
729
+ "sha512": "sha512-xVkXKajtgP+WDFCusUfIwT/4XzFnNhv8Lxpdb7JNtEq0TNX7kOdZKEUOATREDBlCTsCqjDylOz0Ld8CZhTyvag==",
730
+ "path": "microsoft.azure.autorest.csharp/3.0.0-beta.20250530.1",
731
+ "hashPath": "microsoft.azure.autorest.csharp.3.0.0-beta.20250530.1.nupkg.sha512"
731
732
  },
732
733
  "Microsoft.Bcl.AsyncInterfaces/8.0.0": {
733
734
  "type": "package",
@@ -827,26 +828,26 @@
827
828
  "path": "microsoft.sourcelink.github/8.0.0",
828
829
  "hashPath": "microsoft.sourcelink.github.8.0.0.nupkg.sha512"
829
830
  },
830
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250522.3": {
831
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250527.7": {
831
832
  "type": "package",
832
833
  "serviceable": true,
833
- "sha512": "sha512-RS3OtSs2zu97wPiZgEsUh6X/uWPjCXo7baUkIv1/0EBMxs9XrekzTivK3WMlb7bPBAB5X29ynS9xjUSLE/YdNw==",
834
- "path": "microsoft.typespec.generator/1.0.0-alpha.20250522.3",
835
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20250522.3.nupkg.sha512"
834
+ "sha512": "sha512-7YuTCuNMK+D+cdvzNL1nf881DDWarbqrOPYDJGkOyfqOrWTQYbDK6pbyqFoYX9Yqg7WQGHEkGLBIcV1ZM5qDDA==",
835
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20250527.7",
836
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20250527.7.nupkg.sha512"
836
837
  },
837
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250522.3": {
838
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250527.7": {
838
839
  "type": "package",
839
840
  "serviceable": true,
840
- "sha512": "sha512-Di96oky4s7dXc4Ui2urWJ4410T0mV+ZZWx4P9UNwMHkJy/fC87mvzKPu++UQlNjxJpWMr02hPp+rAnIYeiTKhA==",
841
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20250522.3",
842
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20250522.3.nupkg.sha512"
841
+ "sha512": "sha512-Jqyu+GsprhWazQNe6Lv47Yq2d4e3/lacdB762tFLp6CgrHcubEEJ05rLXYfvxqlhVZtuVP1D7RpXHO1reUpyew==",
842
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20250527.7",
843
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20250527.7.nupkg.sha512"
843
844
  },
844
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250522.3": {
845
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250527.7": {
845
846
  "type": "package",
846
847
  "serviceable": true,
847
- "sha512": "sha512-9CK+PXPL2mKuKMWUli8eDzM1PWB809cyokIn6lO2wDtrj8U5yw3sq55MvTpBIpsL6xsC0Yd9VQJ1CYMNNcDjyg==",
848
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20250522.3",
849
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20250522.3.nupkg.sha512"
848
+ "sha512": "sha512-dDezXyUXzsvTIGXU9RTPczBh4gWkel/+7auYrhrSepcuczd2hb8yA6Dc78zP1ZSG3213O17/xQKa17tpkilr9A==",
849
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20250527.7",
850
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20250527.7.nupkg.sha512"
850
851
  },
851
852
  "Newtonsoft.Json/13.0.3": {
852
853
  "type": "package",
@@ -35,11 +35,6 @@
35
35
  <member name="M:Azure.Generator.Management.ManagementInputLibrary.#ctor(System.String)">
36
36
  <inheritdoc/>
37
37
  </member>
38
- <member name="P:Azure.Generator.Management.ManagementInputLibrary.AllClients">
39
- <summary>
40
- All clients in the input library, including the subclients.
41
- </summary>
42
- </member>
43
38
  <member name="T:Azure.Generator.Management.ManagementOutputLibrary">
44
39
  <inheritdoc/>
45
40
  </member>
@@ -49,6 +44,12 @@
49
44
  <member name="T:Azure.Generator.Management.ManagementTypeFactory">
50
45
  <inheritdoc/>
51
46
  </member>
47
+ <member name="P:Azure.Generator.Management.ManagementTypeFactory.ResourceProviderName">
48
+ <summary>
49
+ The name for this resource provider.
50
+ For instance, if the namespace is "Azure.ResourceManager.Compute", the resource provider name will be "Compute".
51
+ </summary>
52
+ </member>
52
53
  <member name="P:Azure.Generator.Management.ManagementTypeFactory.ClientPipelineApi">
53
54
  <inheritdoc/>
54
55
  </member>
@@ -70,6 +71,9 @@
70
71
  <member name="M:Azure.Generator.Management.ManagementTypeFactory.DeserializeJsonValue(System.Type,Microsoft.TypeSpec.Generator.Snippets.ScopedApi{System.Text.Json.JsonElement},Microsoft.TypeSpec.Generator.Input.SerializationFormat)">
71
72
  <inheritdoc/>
72
73
  </member>
74
+ <member name="M:Azure.Generator.Management.ManagementTypeFactory.CreateNewProjectScaffolding">
75
+ <inheritdoc/>
76
+ </member>
73
77
  <member name="M:Azure.Generator.Management.Models.RequestPath.IsAncestorOf(Azure.Generator.Management.Models.RequestPath)">
74
78
  <summary>
75
79
  Check if this <see cref="T:Azure.Generator.Management.Models.RequestPath"/> is a prefix path of the other request path.
@@ -858,6 +862,30 @@
858
862
  A delay strategy that uses a fixed delay with no jitter applied. This is used by data plane LROs.
859
863
  </summary>
860
864
  </member>
865
+ <member name="T:Azure.Core.ForwardsClientCallsAttribute">
866
+ <summary>
867
+ Marks methods that call methods on other client and don't need their diagnostics verified.
868
+ </summary>
869
+ </member>
870
+ <member name="M:Azure.Core.ForwardsClientCallsAttribute.#ctor">
871
+ <summary>
872
+ Creates a new instance of <see cref="T:Azure.Core.ForwardsClientCallsAttribute"/>.
873
+ </summary>
874
+ </member>
875
+ <member name="M:Azure.Core.ForwardsClientCallsAttribute.#ctor(System.Boolean)">
876
+ <summary>
877
+ Creates a new instance of <see cref="T:Azure.Core.ForwardsClientCallsAttribute"/>.
878
+ </summary>
879
+ <param name="skipChecks"> Sets whether or not diagnostic scope validation should happen. </param>
880
+ </member>
881
+ <member name="P:Azure.Core.ForwardsClientCallsAttribute.SkipChecks">
882
+ <summary>
883
+ Gets whether or not we should validate DiagnosticScope for this API.
884
+ In the case where there is an internal API that makes the Azure API call and a public API that uses it we need ForwardsClientCalls.
885
+ If the public API will cache the results then the diagnostic scope will not always be created because an Azure API is not always called.
886
+ In this case we need to turn off this validation for this API only.
887
+ </summary>
888
+ </member>
861
889
  <member name="P:Azure.NoValueResponse`1.HasValue">
862
890
  <inheritdoc />
863
891
  </member>
@@ -0,0 +1,39 @@
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ using System;
5
+
6
+ namespace Azure.Core
7
+ {
8
+ /// <summary>
9
+ /// Marks methods that call methods on other client and don't need their diagnostics verified.
10
+ /// </summary>
11
+ [AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = true)]
12
+ internal class ForwardsClientCallsAttribute : Attribute
13
+ {
14
+ /// <summary>
15
+ /// Creates a new instance of <see cref="ForwardsClientCallsAttribute"/>.
16
+ /// </summary>
17
+ public ForwardsClientCallsAttribute()
18
+ : this(false)
19
+ {
20
+ }
21
+
22
+ /// <summary>
23
+ /// Creates a new instance of <see cref="ForwardsClientCallsAttribute"/>.
24
+ /// </summary>
25
+ /// <param name="skipChecks"> Sets whether or not diagnostic scope validation should happen. </param>
26
+ public ForwardsClientCallsAttribute(bool skipChecks)
27
+ {
28
+ SkipChecks = skipChecks;
29
+ }
30
+
31
+ /// <summary>
32
+ /// Gets whether or not we should validate DiagnosticScope for this API.
33
+ /// In the case where there is an internal API that makes the Azure API call and a public API that uses it we need ForwardsClientCalls.
34
+ /// If the public API will cache the results then the diagnostic scope will not always be created because an Azure API is not always called.
35
+ /// In this case we need to turn off this validation for this API only.
36
+ /// </summary>
37
+ public bool SkipChecks { get; }
38
+ }
39
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-typespec/http-client-csharp-mgmt",
3
- "version": "1.0.0-alpha.20250529.1",
3
+ "version": "1.0.0-alpha.20250603.1",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "TypeSpec library for emitting Azure management libraries for C#.",
6
6
  "readme": "https://github.com/Azure/azure-sdk-for-net/blob/main/eng/packages/http-client-csharp-mgmt/README.md",
@@ -37,13 +37,13 @@
37
37
  "dist/**"
38
38
  ],
39
39
  "dependencies": {
40
- "@azure-typespec/http-client-csharp": "1.0.0-alpha.20250523.1"
40
+ "@azure-typespec/http-client-csharp": "1.0.0-alpha.20250527.2"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@azure-tools/azure-http-specs": "0.1.0-alpha.17",
44
44
  "@azure-tools/typespec-azure-core": "0.56.0",
45
45
  "@azure-tools/typespec-azure-resource-manager": "0.56.0",
46
- "@azure-tools/typespec-client-generator-core": "0.56.0",
46
+ "@azure-tools/typespec-client-generator-core": "0.56.2",
47
47
  "@eslint/js": "^9.2.0",
48
48
  "@types/node": "~22.7.5",
49
49
  "@types/prettier": "^2.6.3",