@azure-typespec/http-client-csharp-mgmt 1.0.0-alpha.20250529.1 → 1.0.0-alpha.20250602.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
12
  "Azure.Generator": "1.0.0-alpha.20250523.1",
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"
@@ -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": {
@@ -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": ""
@@ -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",
@@ -49,6 +49,12 @@
49
49
  <member name="T:Azure.Generator.Management.ManagementTypeFactory">
50
50
  <inheritdoc/>
51
51
  </member>
52
+ <member name="P:Azure.Generator.Management.ManagementTypeFactory.ResourceProviderName">
53
+ <summary>
54
+ The name for this resource provider.
55
+ For instance, if the namespace is "Azure.ResourceManager.Compute", the resource provider name will be "Compute".
56
+ </summary>
57
+ </member>
52
58
  <member name="P:Azure.Generator.Management.ManagementTypeFactory.ClientPipelineApi">
53
59
  <inheritdoc/>
54
60
  </member>
@@ -70,6 +76,9 @@
70
76
  <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
77
  <inheritdoc/>
72
78
  </member>
79
+ <member name="M:Azure.Generator.Management.ManagementTypeFactory.CreateNewProjectScaffolding">
80
+ <inheritdoc/>
81
+ </member>
73
82
  <member name="M:Azure.Generator.Management.Models.RequestPath.IsAncestorOf(Azure.Generator.Management.Models.RequestPath)">
74
83
  <summary>
75
84
  Check if this <see cref="T:Azure.Generator.Management.Models.RequestPath"/> is a prefix path of the other request path.
@@ -858,6 +867,30 @@
858
867
  A delay strategy that uses a fixed delay with no jitter applied. This is used by data plane LROs.
859
868
  </summary>
860
869
  </member>
870
+ <member name="T:Azure.Core.ForwardsClientCallsAttribute">
871
+ <summary>
872
+ Marks methods that call methods on other client and don't need their diagnostics verified.
873
+ </summary>
874
+ </member>
875
+ <member name="M:Azure.Core.ForwardsClientCallsAttribute.#ctor">
876
+ <summary>
877
+ Creates a new instance of <see cref="T:Azure.Core.ForwardsClientCallsAttribute"/>.
878
+ </summary>
879
+ </member>
880
+ <member name="M:Azure.Core.ForwardsClientCallsAttribute.#ctor(System.Boolean)">
881
+ <summary>
882
+ Creates a new instance of <see cref="T:Azure.Core.ForwardsClientCallsAttribute"/>.
883
+ </summary>
884
+ <param name="skipChecks"> Sets whether or not diagnostic scope validation should happen. </param>
885
+ </member>
886
+ <member name="P:Azure.Core.ForwardsClientCallsAttribute.SkipChecks">
887
+ <summary>
888
+ Gets whether or not we should validate DiagnosticScope for this API.
889
+ 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.
890
+ 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.
891
+ In this case we need to turn off this validation for this API only.
892
+ </summary>
893
+ </member>
861
894
  <member name="P:Azure.NoValueResponse`1.HasValue">
862
895
  <inheritdoc />
863
896
  </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
+ }
@@ -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
12
  "Azure.Generator": "1.0.0-alpha.20250523.1",
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"
@@ -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": {
@@ -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": ""
@@ -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",
@@ -49,6 +49,12 @@
49
49
  <member name="T:Azure.Generator.Management.ManagementTypeFactory">
50
50
  <inheritdoc/>
51
51
  </member>
52
+ <member name="P:Azure.Generator.Management.ManagementTypeFactory.ResourceProviderName">
53
+ <summary>
54
+ The name for this resource provider.
55
+ For instance, if the namespace is "Azure.ResourceManager.Compute", the resource provider name will be "Compute".
56
+ </summary>
57
+ </member>
52
58
  <member name="P:Azure.Generator.Management.ManagementTypeFactory.ClientPipelineApi">
53
59
  <inheritdoc/>
54
60
  </member>
@@ -70,6 +76,9 @@
70
76
  <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
77
  <inheritdoc/>
72
78
  </member>
79
+ <member name="M:Azure.Generator.Management.ManagementTypeFactory.CreateNewProjectScaffolding">
80
+ <inheritdoc/>
81
+ </member>
73
82
  <member name="M:Azure.Generator.Management.Models.RequestPath.IsAncestorOf(Azure.Generator.Management.Models.RequestPath)">
74
83
  <summary>
75
84
  Check if this <see cref="T:Azure.Generator.Management.Models.RequestPath"/> is a prefix path of the other request path.
@@ -858,6 +867,30 @@
858
867
  A delay strategy that uses a fixed delay with no jitter applied. This is used by data plane LROs.
859
868
  </summary>
860
869
  </member>
870
+ <member name="T:Azure.Core.ForwardsClientCallsAttribute">
871
+ <summary>
872
+ Marks methods that call methods on other client and don't need their diagnostics verified.
873
+ </summary>
874
+ </member>
875
+ <member name="M:Azure.Core.ForwardsClientCallsAttribute.#ctor">
876
+ <summary>
877
+ Creates a new instance of <see cref="T:Azure.Core.ForwardsClientCallsAttribute"/>.
878
+ </summary>
879
+ </member>
880
+ <member name="M:Azure.Core.ForwardsClientCallsAttribute.#ctor(System.Boolean)">
881
+ <summary>
882
+ Creates a new instance of <see cref="T:Azure.Core.ForwardsClientCallsAttribute"/>.
883
+ </summary>
884
+ <param name="skipChecks"> Sets whether or not diagnostic scope validation should happen. </param>
885
+ </member>
886
+ <member name="P:Azure.Core.ForwardsClientCallsAttribute.SkipChecks">
887
+ <summary>
888
+ Gets whether or not we should validate DiagnosticScope for this API.
889
+ 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.
890
+ 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.
891
+ In this case we need to turn off this validation for this API only.
892
+ </summary>
893
+ </member>
861
894
  <member name="P:Azure.NoValueResponse`1.HasValue">
862
895
  <inheritdoc />
863
896
  </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.20250602.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",