@azure-typespec/http-client-csharp-mgmt 1.0.0-alpha.20250716.1 → 1.0.0-alpha.20250716.2

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,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v8.0": {
9
- "Azure.Generator.Management/1.0.0-alpha.20250716.1": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20250716.2": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.47.1",
12
12
  "Azure.Generator": "1.0.0-alpha.20250715.3",
@@ -670,7 +670,7 @@
670
670
  }
671
671
  },
672
672
  "libraries": {
673
- "Azure.Generator.Management/1.0.0-alpha.20250716.1": {
673
+ "Azure.Generator.Management/1.0.0-alpha.20250716.2": {
674
674
  "type": "project",
675
675
  "serviceable": false,
676
676
  "sha512": ""
@@ -82,6 +82,11 @@
82
82
  A <see cref="T:Azure.Generator.Management.Models.ContextualParameter"/> represents a parameter which could be determined contextually from the Id property of its enclosing resource or resource collection class.
83
83
  </summary>
84
84
  </member>
85
+ <member name="T:Azure.Generator.Management.Models.RequestPathPattern">
86
+ <summary>
87
+ This class provides the pattern of an operation request path.
88
+ </summary>
89
+ </member>
85
90
  <member name="M:Azure.Generator.Management.Models.RequestPathPattern.IsAncestorOf(Azure.Generator.Management.Models.RequestPathPattern)">
86
91
  <summary>
87
92
  Check if this <see cref="T:Azure.Generator.Management.Models.RequestPathPattern"/> is a prefix path of the other request path.
@@ -100,6 +105,14 @@
100
105
  <returns></returns>
101
106
  <exception cref="T:System.InvalidOperationException">if this.IsAncestorOf(other) is false</exception>
102
107
  </member>
108
+ <member name="M:Azure.Generator.Management.Models.RequestPathPattern.TryGetContextualParameter(Microsoft.TypeSpec.Generator.Providers.ParameterProvider,Azure.Generator.Management.Models.ContextualParameter@)">
109
+ <summary>
110
+ Get the corresponding contextual parameter in this request path for a provided parameter.
111
+ </summary>
112
+ <param name="parameter"></param>
113
+ <param name="contextualParameter"></param>
114
+ <returns></returns>
115
+ </member>
103
116
  <member name="P:Azure.Generator.Management.Models.RequestPathSegment.Value">
104
117
  <summary>
105
118
  Returns the literal value of this segment.
@@ -130,6 +143,19 @@
130
143
  Provider for building operation methods in resource clients.
131
144
  </summary>
132
145
  </member>
146
+ <member name="M:Azure.Generator.Management.Providers.OperationMethodProviders.ResourceOperationMethodProvider.#ctor(Microsoft.TypeSpec.Generator.Providers.TypeProvider,Azure.Generator.Management.Models.RequestPathPattern,Microsoft.TypeSpec.Generator.ClientModel.Providers.ClientProvider,Microsoft.TypeSpec.Generator.Input.InputServiceMethod,Microsoft.TypeSpec.Generator.Providers.MethodProvider,Microsoft.TypeSpec.Generator.Providers.FieldProvider,Microsoft.TypeSpec.Generator.Providers.FieldProvider,System.Boolean)">
147
+ <summary>
148
+ Creates a new instance of <see cref="T:Azure.Generator.Management.Providers.OperationMethodProviders.ResourceOperationMethodProvider"/> which represents a method on a client
149
+ </summary>
150
+ <param name="enclosingType">The enclosing type of this operation. </param>
151
+ <param name="contextualPath">The contextual path of the enclosing type. </param>
152
+ <param name="restClient">The client provider for this operation to send the request. </param>
153
+ <param name="method">The input service method that we are building from. </param>
154
+ <param name="convenienceMethod">The corresponding convenience method provided by the generator framework. </param>
155
+ <param name="clientDiagnosticsField">The field that holds the client diagnostics instance. </param>
156
+ <param name="restClientField">The field that holds the rest client instance. </param>
157
+ <param name="isAsync">Whether this method is an async method. </param>
158
+ </member>
133
159
  <member name="T:Azure.Generator.Management.Providers.ResourceClientProvider">
134
160
  <summary>
135
161
  Provides a resource client type.
@@ -144,6 +170,34 @@
144
170
  <returns></returns>
145
171
  <exception cref="T:System.NotSupportedException"></exception>
146
172
  </member>
173
+ <member name="M:Azure.Generator.Management.Snippets.ArmCollectionSnippets.ValidateResourceId(Microsoft.TypeSpec.Generator.Snippets.ScopedApi{Azure.ResourceManager.ArmCollection},Microsoft.TypeSpec.Generator.Expressions.ValueExpression)">
174
+ <summary>
175
+ Constructs a method expression that calls the ValidateResourceId method on the ArmCollection type.
176
+ Note: this method is a static method, the <paramref name="type"/> must be a static type reference of the type.
177
+ Also the abstract class ArmCollection does not have a ValidateResourceId method, but our generated ArmCollection's derived classes will always have one.
178
+ </summary>
179
+ <param name="type"></param>
180
+ <param name="id"></param>
181
+ <returns></returns>
182
+ </member>
183
+ <member name="M:Azure.Generator.Management.Snippets.ArmResourceSnippets.ResourceType(Microsoft.TypeSpec.Generator.Snippets.ScopedApi{Azure.ResourceManager.ArmResource})">
184
+ <summary>
185
+ Returns the "ResourceType" property on an ArmResource.
186
+ Note: the abstract class ArmResource does not have a ResourceType property, but our generated ArmResource's derived classes will always have one.
187
+ </summary>
188
+ <param name="resource"></param>
189
+ <returns></returns>
190
+ </member>
191
+ <member name="M:Azure.Generator.Management.Snippets.ArmResourceSnippets.ValidateResourceId(Microsoft.TypeSpec.Generator.Snippets.ScopedApi{Azure.ResourceManager.ArmResource},Microsoft.TypeSpec.Generator.Expressions.ValueExpression)">
192
+ <summary>
193
+ Constructs a method expression that calls the ValidateResourceId method on the ArmResource type.
194
+ Note: this method is a static method, the <paramref name="type"/> must be a static type reference of the type.
195
+ Also the abstract class ArmResource does not have a ValidateResourceId method, but our generated ArmResource's derived classes will always have one.
196
+ </summary>
197
+ <param name="type"></param>
198
+ <param name="id"></param>
199
+ <returns></returns>
200
+ </member>
147
201
  <member name="M:Azure.Generator.Management.Utilities.ConstructorProviderHelpers.BuildMockingConstructor(Microsoft.TypeSpec.Generator.Providers.TypeProvider)">
148
202
  <summary>
149
203
  Builds a constructor for the enclosing type for mocking purposes.
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v8.0": {
9
- "Azure.Generator.Management/1.0.0-alpha.20250716.1": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20250716.2": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.47.1",
12
12
  "Azure.Generator": "1.0.0-alpha.20250715.3",
@@ -670,7 +670,7 @@
670
670
  }
671
671
  },
672
672
  "libraries": {
673
- "Azure.Generator.Management/1.0.0-alpha.20250716.1": {
673
+ "Azure.Generator.Management/1.0.0-alpha.20250716.2": {
674
674
  "type": "project",
675
675
  "serviceable": false,
676
676
  "sha512": ""
@@ -82,6 +82,11 @@
82
82
  A <see cref="T:Azure.Generator.Management.Models.ContextualParameter"/> represents a parameter which could be determined contextually from the Id property of its enclosing resource or resource collection class.
83
83
  </summary>
84
84
  </member>
85
+ <member name="T:Azure.Generator.Management.Models.RequestPathPattern">
86
+ <summary>
87
+ This class provides the pattern of an operation request path.
88
+ </summary>
89
+ </member>
85
90
  <member name="M:Azure.Generator.Management.Models.RequestPathPattern.IsAncestorOf(Azure.Generator.Management.Models.RequestPathPattern)">
86
91
  <summary>
87
92
  Check if this <see cref="T:Azure.Generator.Management.Models.RequestPathPattern"/> is a prefix path of the other request path.
@@ -100,6 +105,14 @@
100
105
  <returns></returns>
101
106
  <exception cref="T:System.InvalidOperationException">if this.IsAncestorOf(other) is false</exception>
102
107
  </member>
108
+ <member name="M:Azure.Generator.Management.Models.RequestPathPattern.TryGetContextualParameter(Microsoft.TypeSpec.Generator.Providers.ParameterProvider,Azure.Generator.Management.Models.ContextualParameter@)">
109
+ <summary>
110
+ Get the corresponding contextual parameter in this request path for a provided parameter.
111
+ </summary>
112
+ <param name="parameter"></param>
113
+ <param name="contextualParameter"></param>
114
+ <returns></returns>
115
+ </member>
103
116
  <member name="P:Azure.Generator.Management.Models.RequestPathSegment.Value">
104
117
  <summary>
105
118
  Returns the literal value of this segment.
@@ -130,6 +143,19 @@
130
143
  Provider for building operation methods in resource clients.
131
144
  </summary>
132
145
  </member>
146
+ <member name="M:Azure.Generator.Management.Providers.OperationMethodProviders.ResourceOperationMethodProvider.#ctor(Microsoft.TypeSpec.Generator.Providers.TypeProvider,Azure.Generator.Management.Models.RequestPathPattern,Microsoft.TypeSpec.Generator.ClientModel.Providers.ClientProvider,Microsoft.TypeSpec.Generator.Input.InputServiceMethod,Microsoft.TypeSpec.Generator.Providers.MethodProvider,Microsoft.TypeSpec.Generator.Providers.FieldProvider,Microsoft.TypeSpec.Generator.Providers.FieldProvider,System.Boolean)">
147
+ <summary>
148
+ Creates a new instance of <see cref="T:Azure.Generator.Management.Providers.OperationMethodProviders.ResourceOperationMethodProvider"/> which represents a method on a client
149
+ </summary>
150
+ <param name="enclosingType">The enclosing type of this operation. </param>
151
+ <param name="contextualPath">The contextual path of the enclosing type. </param>
152
+ <param name="restClient">The client provider for this operation to send the request. </param>
153
+ <param name="method">The input service method that we are building from. </param>
154
+ <param name="convenienceMethod">The corresponding convenience method provided by the generator framework. </param>
155
+ <param name="clientDiagnosticsField">The field that holds the client diagnostics instance. </param>
156
+ <param name="restClientField">The field that holds the rest client instance. </param>
157
+ <param name="isAsync">Whether this method is an async method. </param>
158
+ </member>
133
159
  <member name="T:Azure.Generator.Management.Providers.ResourceClientProvider">
134
160
  <summary>
135
161
  Provides a resource client type.
@@ -144,6 +170,34 @@
144
170
  <returns></returns>
145
171
  <exception cref="T:System.NotSupportedException"></exception>
146
172
  </member>
173
+ <member name="M:Azure.Generator.Management.Snippets.ArmCollectionSnippets.ValidateResourceId(Microsoft.TypeSpec.Generator.Snippets.ScopedApi{Azure.ResourceManager.ArmCollection},Microsoft.TypeSpec.Generator.Expressions.ValueExpression)">
174
+ <summary>
175
+ Constructs a method expression that calls the ValidateResourceId method on the ArmCollection type.
176
+ Note: this method is a static method, the <paramref name="type"/> must be a static type reference of the type.
177
+ Also the abstract class ArmCollection does not have a ValidateResourceId method, but our generated ArmCollection's derived classes will always have one.
178
+ </summary>
179
+ <param name="type"></param>
180
+ <param name="id"></param>
181
+ <returns></returns>
182
+ </member>
183
+ <member name="M:Azure.Generator.Management.Snippets.ArmResourceSnippets.ResourceType(Microsoft.TypeSpec.Generator.Snippets.ScopedApi{Azure.ResourceManager.ArmResource})">
184
+ <summary>
185
+ Returns the "ResourceType" property on an ArmResource.
186
+ Note: the abstract class ArmResource does not have a ResourceType property, but our generated ArmResource's derived classes will always have one.
187
+ </summary>
188
+ <param name="resource"></param>
189
+ <returns></returns>
190
+ </member>
191
+ <member name="M:Azure.Generator.Management.Snippets.ArmResourceSnippets.ValidateResourceId(Microsoft.TypeSpec.Generator.Snippets.ScopedApi{Azure.ResourceManager.ArmResource},Microsoft.TypeSpec.Generator.Expressions.ValueExpression)">
192
+ <summary>
193
+ Constructs a method expression that calls the ValidateResourceId method on the ArmResource type.
194
+ Note: this method is a static method, the <paramref name="type"/> must be a static type reference of the type.
195
+ Also the abstract class ArmResource does not have a ValidateResourceId method, but our generated ArmResource's derived classes will always have one.
196
+ </summary>
197
+ <param name="type"></param>
198
+ <param name="id"></param>
199
+ <returns></returns>
200
+ </member>
147
201
  <member name="M:Azure.Generator.Management.Utilities.ConstructorProviderHelpers.BuildMockingConstructor(Microsoft.TypeSpec.Generator.Providers.TypeProvider)">
148
202
  <summary>
149
203
  Builds a constructor for the enclosing type for mocking purposes.
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.20250716.1",
3
+ "version": "1.0.0-alpha.20250716.2",
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",