@azure-typespec/http-client-csharp-mgmt 1.0.0-alpha.20250805.2 → 1.0.0-alpha.20250805.3

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.20250805.2": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20250805.3": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.47.1",
12
12
  "Azure.Generator": "1.0.0-alpha.20250729.4",
@@ -670,7 +670,7 @@
670
670
  }
671
671
  },
672
672
  "libraries": {
673
- "Azure.Generator.Management/1.0.0-alpha.20250805.2": {
673
+ "Azure.Generator.Management/1.0.0-alpha.20250805.3": {
674
674
  "type": "project",
675
675
  "serviceable": false,
676
676
  "sha512": ""
@@ -153,7 +153,7 @@
153
153
  Provider for building operation methods in resource clients.
154
154
  </summary>
155
155
  </member>
156
- <member name="M:Azure.Generator.Management.Providers.OperationMethodProviders.ResourceOperationMethodProvider.#ctor(Microsoft.TypeSpec.Generator.Providers.TypeProvider,Azure.Generator.Management.Models.RequestPathPattern,Azure.Generator.Management.Models.RestClientInfo,Microsoft.TypeSpec.Generator.Input.InputServiceMethod,Microsoft.TypeSpec.Generator.Providers.MethodProvider,System.Boolean,System.String)">
156
+ <member name="M:Azure.Generator.Management.Providers.OperationMethodProviders.ResourceOperationMethodProvider.#ctor(Microsoft.TypeSpec.Generator.Providers.TypeProvider,Azure.Generator.Management.Models.RequestPathPattern,Azure.Generator.Management.Models.RestClientInfo,Microsoft.TypeSpec.Generator.Input.InputServiceMethod,Microsoft.TypeSpec.Generator.Providers.MethodProvider,System.Boolean,System.String,System.FormattableString,System.Boolean)">
157
157
  <summary>
158
158
  Creates a new instance of <see cref="T:Azure.Generator.Management.Providers.OperationMethodProviders.ResourceOperationMethodProvider"/> which represents a method on a client
159
159
  </summary>
@@ -164,6 +164,8 @@
164
164
  <param name="convenienceMethod">The corresponding convenience method provided by the generator framework. </param>
165
165
  <param name="isAsync">Whether this method is an async method. </param>
166
166
  <param name="methodName">Optional override for the method name. If not provided, uses the convenience method name. </param>
167
+ <param name="description">Optional override for the method description. If not provided, uses the convenience method description.</param>
168
+ <param name="forceLro">Generate this method in LRO signature even if it is not an actual LRO</param>
167
169
  </member>
168
170
  <member name="T:Azure.Generator.Management.Providers.PageableWrapperProvider">
169
171
  <summary>
@@ -236,6 +238,14 @@
236
238
  <param name="isAsync">Whether this is an async method.</param>
237
239
  <returns>The method name to use, or null if no override is needed.</returns>
238
240
  </member>
241
+ <member name="M:Azure.Generator.Management.Utilities.ResourceHelpers.ShouldMakeLro(Azure.Generator.Management.Models.ResourceOperationKind)">
242
+ <summary>
243
+ Determines if the given resource operation kind should also be treated as an LRO (Long-Running Operation).
244
+ When this happens, an operation is not a true long-running operation at the REST API level,
245
+ but it is modeled as an LRO in the SDK for consistency and to provide a uniform developer experience.
246
+ Only Create and Delete operations are forced to be LROs for now.
247
+ </summary>
248
+ </member>
239
249
  <member name="M:Azure.Generator.Management.Utilities.ResourceMetadataExtensions.CreateClientInfosMap(Azure.Generator.Management.Models.ResourceMetadata,Microsoft.TypeSpec.Generator.Providers.TypeProvider)">
240
250
  <summary>
241
251
  Creates a dictionary mapping InputClient to RestClientInfo for all distinct clients used by the resource.
@@ -6,7 +6,7 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v8.0": {
9
- "Azure.Generator.Management/1.0.0-alpha.20250805.2": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20250805.3": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.47.1",
12
12
  "Azure.Generator": "1.0.0-alpha.20250729.4",
@@ -670,7 +670,7 @@
670
670
  }
671
671
  },
672
672
  "libraries": {
673
- "Azure.Generator.Management/1.0.0-alpha.20250805.2": {
673
+ "Azure.Generator.Management/1.0.0-alpha.20250805.3": {
674
674
  "type": "project",
675
675
  "serviceable": false,
676
676
  "sha512": ""
@@ -153,7 +153,7 @@
153
153
  Provider for building operation methods in resource clients.
154
154
  </summary>
155
155
  </member>
156
- <member name="M:Azure.Generator.Management.Providers.OperationMethodProviders.ResourceOperationMethodProvider.#ctor(Microsoft.TypeSpec.Generator.Providers.TypeProvider,Azure.Generator.Management.Models.RequestPathPattern,Azure.Generator.Management.Models.RestClientInfo,Microsoft.TypeSpec.Generator.Input.InputServiceMethod,Microsoft.TypeSpec.Generator.Providers.MethodProvider,System.Boolean,System.String)">
156
+ <member name="M:Azure.Generator.Management.Providers.OperationMethodProviders.ResourceOperationMethodProvider.#ctor(Microsoft.TypeSpec.Generator.Providers.TypeProvider,Azure.Generator.Management.Models.RequestPathPattern,Azure.Generator.Management.Models.RestClientInfo,Microsoft.TypeSpec.Generator.Input.InputServiceMethod,Microsoft.TypeSpec.Generator.Providers.MethodProvider,System.Boolean,System.String,System.FormattableString,System.Boolean)">
157
157
  <summary>
158
158
  Creates a new instance of <see cref="T:Azure.Generator.Management.Providers.OperationMethodProviders.ResourceOperationMethodProvider"/> which represents a method on a client
159
159
  </summary>
@@ -164,6 +164,8 @@
164
164
  <param name="convenienceMethod">The corresponding convenience method provided by the generator framework. </param>
165
165
  <param name="isAsync">Whether this method is an async method. </param>
166
166
  <param name="methodName">Optional override for the method name. If not provided, uses the convenience method name. </param>
167
+ <param name="description">Optional override for the method description. If not provided, uses the convenience method description.</param>
168
+ <param name="forceLro">Generate this method in LRO signature even if it is not an actual LRO</param>
167
169
  </member>
168
170
  <member name="T:Azure.Generator.Management.Providers.PageableWrapperProvider">
169
171
  <summary>
@@ -236,6 +238,14 @@
236
238
  <param name="isAsync">Whether this is an async method.</param>
237
239
  <returns>The method name to use, or null if no override is needed.</returns>
238
240
  </member>
241
+ <member name="M:Azure.Generator.Management.Utilities.ResourceHelpers.ShouldMakeLro(Azure.Generator.Management.Models.ResourceOperationKind)">
242
+ <summary>
243
+ Determines if the given resource operation kind should also be treated as an LRO (Long-Running Operation).
244
+ When this happens, an operation is not a true long-running operation at the REST API level,
245
+ but it is modeled as an LRO in the SDK for consistency and to provide a uniform developer experience.
246
+ Only Create and Delete operations are forced to be LROs for now.
247
+ </summary>
248
+ </member>
239
249
  <member name="M:Azure.Generator.Management.Utilities.ResourceMetadataExtensions.CreateClientInfosMap(Azure.Generator.Management.Models.ResourceMetadata,Microsoft.TypeSpec.Generator.Providers.TypeProvider)">
240
250
  <summary>
241
251
  Creates a dictionary mapping InputClient to RestClientInfo for all distinct clients used by the resource.
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.20250805.2",
3
+ "version": "1.0.0-alpha.20250805.3",
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",