@azure-typespec/http-client-csharp-mgmt 1.0.0-alpha.20250519.2 → 1.0.0-alpha.20250522.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.
Files changed (47) hide show
  1. package/dist/emitter/resource-detection.d.ts +2 -1
  2. package/dist/emitter/resource-detection.d.ts.map +1 -1
  3. package/dist/emitter/resource-detection.js +22 -5
  4. package/dist/emitter/resource-detection.js.map +1 -1
  5. package/dist/emitter/resource-metadata.d.ts +6 -0
  6. package/dist/emitter/resource-metadata.d.ts.map +1 -1
  7. package/dist/emitter/resource-metadata.js +7 -1
  8. package/dist/emitter/resource-metadata.js.map +1 -1
  9. package/dist/emitter/sdk-context-options.d.ts +3 -0
  10. package/dist/emitter/sdk-context-options.d.ts.map +1 -1
  11. package/dist/emitter/sdk-context-options.js +12 -0
  12. package/dist/emitter/sdk-context-options.js.map +1 -1
  13. package/dist/generator/Azure.Generator.Management.deps.json +162 -56
  14. package/dist/generator/Azure.Generator.Management.dll +0 -0
  15. package/dist/generator/Azure.Generator.Management.pdb +0 -0
  16. package/dist/generator/Azure.Generator.Management.xml +5 -0
  17. package/dist/generator/Azure.Generator.dll +0 -0
  18. package/dist/generator/Microsoft.TypeSpec.Generator.ClientModel.dll +0 -0
  19. package/dist/generator/Microsoft.TypeSpec.Generator.Input.dll +0 -0
  20. package/dist/generator/Microsoft.TypeSpec.Generator.dll +0 -0
  21. package/dist/generator/Newtonsoft.Json.dll +0 -0
  22. package/dist/generator/NuGet.Common.dll +0 -0
  23. package/dist/generator/NuGet.Configuration.dll +0 -0
  24. package/dist/generator/NuGet.Frameworks.dll +0 -0
  25. package/dist/generator/NuGet.Packaging.dll +0 -0
  26. package/dist/generator/NuGet.Protocol.dll +0 -0
  27. package/dist/generator/NuGet.Versioning.dll +0 -0
  28. package/dist/generator/System.Security.Cryptography.Pkcs.dll +0 -0
  29. package/dist/generator/net8.0/Azure.Generator.Management.deps.json +162 -56
  30. package/dist/generator/net8.0/Azure.Generator.Management.dll +0 -0
  31. package/dist/generator/net8.0/Azure.Generator.Management.pdb +0 -0
  32. package/dist/generator/net8.0/Azure.Generator.Management.xml +5 -0
  33. package/dist/generator/net8.0/Azure.Generator.dll +0 -0
  34. package/dist/generator/net8.0/Microsoft.TypeSpec.Generator.ClientModel.dll +0 -0
  35. package/dist/generator/net8.0/Microsoft.TypeSpec.Generator.Input.dll +0 -0
  36. package/dist/generator/net8.0/Microsoft.TypeSpec.Generator.dll +0 -0
  37. package/dist/generator/net8.0/Newtonsoft.Json.dll +0 -0
  38. package/dist/generator/net8.0/NuGet.Common.dll +0 -0
  39. package/dist/generator/net8.0/NuGet.Configuration.dll +0 -0
  40. package/dist/generator/net8.0/NuGet.Frameworks.dll +0 -0
  41. package/dist/generator/net8.0/NuGet.Packaging.dll +0 -0
  42. package/dist/generator/net8.0/NuGet.Protocol.dll +0 -0
  43. package/dist/generator/net8.0/NuGet.Versioning.dll +0 -0
  44. package/dist/generator/net8.0/System.Security.Cryptography.Pkcs.dll +0 -0
  45. package/dist/generator/net8.0/runtimes/win/lib/net6.0/System.Security.Cryptography.Pkcs.dll +0 -0
  46. package/dist/generator/runtimes/win/lib/net6.0/System.Security.Cryptography.Pkcs.dll +0 -0
  47. package/package.json +2 -2
@@ -1,3 +1,4 @@
1
- import { CodeModel } from "@typespec/http-client-csharp";
1
+ import { CodeModel, InputClient } from "@typespec/http-client-csharp";
2
2
  export declare function updateClients(codeModel: CodeModel): void;
3
+ export declare function getAllClients(codeModel: CodeModel): InputClient[];
3
4
  //# sourceMappingURL=resource-detection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resource-detection.d.ts","sourceRoot":"","sources":["../../emitter/src/resource-detection.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,SAAS,EAGV,MAAM,8BAA8B,CAAC;AActC,wBAAgB,aAAa,CAAC,SAAS,EAAE,SAAS,QAsBjD"}
1
+ {"version":3,"file":"resource-detection.d.ts","sourceRoot":"","sources":["../../emitter/src/resource-detection.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,SAAS,EACT,WAAW,EAEZ,MAAM,8BAA8B,CAAC;AAkBtC,wBAAgB,aAAa,CAAC,SAAS,EAAE,SAAS,QAsBjD;AAED,wBAAgB,aAAa,CAAC,SAAS,EAAE,SAAS,GAAG,WAAW,EAAE,CAgBjE"}
@@ -1,7 +1,7 @@
1
1
  // Copyright (c) Microsoft Corporation. All rights reserved.
2
2
  // Licensed under the MIT License. See License.txt in the project root for license information.
3
- import { calculateResourceTypeFromPath } from "./resource-metadata.js";
4
- import { armResourceCreateOrUpdate, armResourceOperations, armResourceRead, resourceMetadata, singleton } from "./sdk-context-options.js";
3
+ import { calculateResourceTypeFromPath, ResourceScope } from "./resource-metadata.js";
4
+ import { armResourceCreateOrUpdate, armResourceOperations, armResourceRead, resourceGroupResource, resourceMetadata, singleton, subscriptionResource, tenantResource } from "./sdk-context-options.js";
5
5
  export function updateClients(codeModel) {
6
6
  // first we flatten all possible clients in the code model
7
7
  const clients = getAllClients(codeModel);
@@ -22,7 +22,7 @@ export function updateClients(codeModel) {
22
22
  }
23
23
  }
24
24
  }
25
- function getAllClients(codeModel) {
25
+ export function getAllClients(codeModel) {
26
26
  const clients = [];
27
27
  for (const client of codeModel.clients) {
28
28
  traverseClient(client);
@@ -72,23 +72,40 @@ function gatherResourceMetadata(client, metadataMap) {
72
72
  }
73
73
  }
74
74
  if (resourceModel && resourceType) {
75
+ // find the scope on its model
75
76
  const metadata = {
76
77
  resourceModel: resourceModel,
77
78
  resourceClient: client,
78
79
  resourceType: resourceType,
79
- isSingleton: isSingleton
80
+ isSingleton: isSingleton,
81
+ resourceScope: getResourceScope(resourceModel)
80
82
  };
81
83
  metadataMap.set(client, metadata);
82
84
  }
83
85
  }
86
+ function getResourceScope(model) {
87
+ const decorators = model.decorators;
88
+ if (decorators?.some((d) => d.name == tenantResource)) {
89
+ return ResourceScope.Tenant;
90
+ }
91
+ else if (decorators?.some((d) => d.name == subscriptionResource)) {
92
+ return ResourceScope.Subscription;
93
+ }
94
+ else if (decorators?.some((d) => d.name == resourceGroupResource)) {
95
+ return ResourceScope.ResourceGroup;
96
+ }
97
+ return ResourceScope.ResourceGroup; // all the templates work as if there is a resource group decorator when there is no such decorator
98
+ }
84
99
  }
85
100
  function addResourceMetadata(client, metadata) {
86
101
  const resourceMetadataDecorator = {
87
102
  name: resourceMetadata,
88
103
  arguments: {
89
104
  resourceModel: metadata.resourceModel.crossLanguageDefinitionId,
105
+ resourceClient: metadata.resourceClient.crossLanguageDefinitionId,
90
106
  isSingleton: metadata.isSingleton,
91
- resourceType: metadata.resourceType
107
+ resourceType: metadata.resourceType,
108
+ resourceScope: metadata.resourceScope
92
109
  }
93
110
  };
94
111
  if (!client.decorators) {
@@ -1 +1 @@
1
- {"version":3,"file":"resource-detection.js","sourceRoot":"","sources":["../../emitter/src/resource-detection.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,+FAA+F;AAO/F,OAAO,EACL,6BAA6B,EAE9B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,SAAS,EACV,MAAM,0BAA0B,CAAC;AAElC,MAAM,UAAU,aAAa,CAAC,SAAoB;IAChD,0DAA0D;IAC1D,MAAM,OAAO,GAAG,aAAa,CAAC,SAAS,CAAC,CAAC;IAEzC,0EAA0E;IAC1E,wEAAwE;IACxE,qGAAqG;IACrG,iEAAiE;IACjE,MAAM,QAAQ,GAAuC,IAAI,GAAG,EAAE,CAAC;IAC/D,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,sBAAsB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAC3C,CAAC;IAED,2CAA2C;IAE3C,iDAAiD;IACjD,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,MAAM,gBAAgB,GAAG,QAAQ,CAAC,GAAG,CAAC,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AAC,CAAC,CAAC,CAAC;qBAChE,QAA0B,CAAC;gBAC9B,WAAW;oBACT,aAAa,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,SAAS,CAAC,IAAI,KAAK,CAAC;YACxE,CAAC;QACH,CAAC;QAED,IAAI,aAAa,IAAI,YAAY,EAAE,CAAC;YAClC,MAAM,QAAQ,GAAG;gBACf,aAAa,EAAE,aAAa;gBAC5B,cAAc,EAAE,MAAM;gBACtB,YAAY,EAAE,YAAY;gBAC1B,WAAW,EAAE,WAAW;aACzB,CAAC;YACF,WAAW,CAAC,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACpC,CAAC;IACH,CAAC;AACH,CAAC;AAED,SAAS,mBAAmB,CAAC,MAAmB,EAAE,QAA0B;IAC1E,MAAM,yBAAyB,GAAkB;QAC/C,IAAI,EAAE,gBAAgB;QACtB,SAAS,EAAE;YACT,aAAa,EAAE,QAAQ,CAAC,aAAa,CAAC,yBAAyB;YAC/D,WAAW,EAAE,QAAQ,CAAC,WAAW;YACjC,YAAY,EAAE,QAAQ,CAAC,YAAY;SACpC;KACF,CAAC;IAEF,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC;QACvB,MAAM,CAAC,UAAU,GAAG,EAAE,CAAC;IACzB,CAAC;IAED,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;AACpD,CAAC"}
1
+ {"version":3,"file":"resource-detection.js","sourceRoot":"","sources":["../../emitter/src/resource-detection.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,+FAA+F;AAO/F,OAAO,EACL,6BAA6B,EAE7B,aAAa,EACd,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,gBAAgB,EAChB,SAAS,EACT,oBAAoB,EACpB,cAAc,EACf,MAAM,0BAA0B,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AAM,CAAC;QAC9B,CAAC;aAAM,IAAI,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,oBAAoB,CAAC,EAAE,CAAC;YACnE,OAAO,aAAa,CAAC,YAAY,CAAC;QACpC,CAAC;aAAM,IAAI,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,IAAI,qBAAqB,CAAC,EAAE,CAAC;YACpE,OAAO,aAAa,CAAC,aAAa,CAAC;QACrC,CAAC;QACD,OAAO,aAAa,CAAC,aAAa,CAAC,CAAC,mGAAmG;IACzI,CAAC;AACH,CAAC;AAED,SAAS,mBAAmB,CAAC,MAAmB,EAAE,QAA0B;IAC1E,MAAM,yBAAyB,GAAkB;QAC/C,IAAI,EAAE,gBAAgB;QACtB,SAAS,EAAE;YACT,aAAa,EAAE,QAAQ,CAAC,aAAa,CAAC,yBAAyB;YAC/D,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,yBAAyB;YACjE,WAAW,EAAE,QAAQ,CAAC,WAAW;YACjC,YAAY,EAAE,QAAQ,CAAC,YAAY;YACnC,aAAa,EAAE,QAAQ,CAAC,aAAa;SACtC;KACF,CAAC;IAEF,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC;QACvB,MAAM,CAAC,UAAU,GAAG,EAAE,CAAC;IACzB,CAAC;IAED,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC;AACpD,CAAC"}
@@ -1,9 +1,15 @@
1
1
  import { InputClient, InputModelType } from "@typespec/http-client-csharp";
2
2
  export declare function calculateResourceTypeFromPath(path: string): string;
3
+ export declare enum ResourceScope {
4
+ Tenant = "Tenant",
5
+ Subscription = "Subscription",
6
+ ResourceGroup = "ResourceGroup"
7
+ }
3
8
  export interface ResourceMetadata {
4
9
  resourceType: string;
5
10
  resourceModel: InputModelType;
6
11
  resourceClient: InputClient;
7
12
  isSingleton: boolean;
13
+ resourceScope: ResourceScope;
8
14
  }
9
15
  //# sourceMappingURL=resource-metadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resource-metadata.d.ts","sourceRoot":"","sources":["../../emitter/src/resource-metadata.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAQ3E,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAqBlE;AAED,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,cAAc,CAAC;IAC9B,cAAc,EAAE,WAAW,CAAC;IAC5B,WAAW,EAAE,OAAO,CAAC;CACtB"}
1
+ {"version":3,"file":"resource-metadata.d.ts","sourceRoot":"","sources":["../../emitter/src/resource-metadata.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAQ3E,wBAAgB,6BAA6B,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAqBlE;AAED,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;CAChC;AAED,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,cAAc,CAAC;IAC9B,cAAc,EAAE,WAAW,CAAC;IAC5B,WAAW,EAAE,OAAO,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;CAE9B"}
@@ -5,7 +5,7 @@ const SubscriptionScopePrefix = "/subscriptions";
5
5
  const TenantScopePrefix = "/tenants";
6
6
  const Providers = "/providers";
7
7
  export function calculateResourceTypeFromPath(path) {
8
- const providerIndex = path.indexOf(Providers);
8
+ const providerIndex = path.lastIndexOf(Providers);
9
9
  if (providerIndex === -1) {
10
10
  if (path.startsWith(ResourceGroupScopePrefix)) {
11
11
  return "Microsoft.Resources/resourceGroups";
@@ -28,4 +28,10 @@ export function calculateResourceTypeFromPath(path) {
28
28
  return result;
29
29
  }, "");
30
30
  }
31
+ export var ResourceScope;
32
+ (function (ResourceScope) {
33
+ ResourceScope["Tenant"] = "Tenant";
34
+ ResourceScope["Subscription"] = "Subscription";
35
+ ResourceScope["ResourceGroup"] = "ResourceGroup";
36
+ })(ResourceScope || (ResourceScope = {}));
31
37
  //# sourceMappingURL=resource-metadata.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resource-metadata.js","sourceRoot":"","sources":["../../emitter/src/resource-metadata.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,+FAA+F;AAI/F,MAAM,wBAAwB,GAC5B,gDAAgD,CAAC;AACnD,MAAM,uBAAuB,GAAG,gBAAgB,CAAC;AACjD,MAAM,iBAAiB,GAAG,UAAU,CAAC;AACrC,MAAM,SAAS,GAAG,YAAY,CAAC;AAE/B,MAAM,UAAU,6BAA6B,CAAC,IAAY;IACxD,MAAM,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAC9C,IAAI,aAAa,KAAK,CAAC,CAAC,EAAE,CAAC;QACzB,IAAI,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC,EAAE,CAAC;YAC9C,OAAO,oCAAoC,CAAC;QAC9C,CAAC;aAAM,IAAI,IAAI,CAAC,UAAU,CAAC,uBAAuB,CAAC,EAAE,CAAC;YACpD,OAAO,mCAAmC,CAAC;QAC7C,CAAC;aAAM,IAAI,IAAI,CAAC,UAAU,CAAC,iBAAiB,CAAC,EAAE,CAAC;YAC9C,OAAO,6BAA6B,CAAC;QACvC,CAAC;QACD,MAAM,QAAQ,IAAI,6BAA6B,CAAC;IAClD,CAAC;IAED,OAAO,IAAI;SACR,SAAS,CAAC,aAAa,GAAG,SAAS,CAAC,MAAM,CAAC;SAC3C,KAAK,CAAC,GAAG,CAAC;SACV,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE;QACjC,IA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AG,CAAC,KAAK,CAAC;YAChC,OAAO,MAAM,KAAK,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,MAAM,IAAI,OAAO,EAAE,CAAC;;YACrD,OAAO,MAAM,CAAC;IACrB,CAAC,EAAE,EAAE,CAAC,CAAC;AACX,CAAC;AAED,MAAM,CAAN,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,8CAA6B,CAAA;IAC7B,gDAA+B,CAAA;AACjC,CAAC,EAJW,aAAa,KAAb,aAAa,QAIxB"}
@@ -4,6 +4,9 @@ export declare const armResourceOperations = "Azure.ResourceManager.@armResource
4
4
  export declare const armResourceRead = "Azure.ResourceManager.@armResourceRead";
5
5
  export declare const armResourceCreateOrUpdate = "Azure.ResourceManager.@armResourceCreateOrUpdate";
6
6
  export declare const singleton = "Azure.ResourceManager.@singleton";
7
+ export declare const subscriptionResource = "Azure.ResourceManager.@subscriptionResource";
8
+ export declare const tenantResource = "Azure.ResourceManager.@tenantResource";
9
+ export declare const resourceGroupResource = "Azure.ResourceManager.@resourceGroupResource";
7
10
  export declare const resourceMetadata = "Azure.ClientGenerator.Core.@resourceSchema";
8
11
  export declare const azureSDKContextOptions: CreateSdkContextOptions;
9
12
  //# sourceMappingURL=sdk-context-options.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk-context-options.d.ts","sourceRoot":"","sources":["../../emitter/src/sdk-context-options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAWtF,eAAO,MAAM,cAAc,kCAAkC,CAAC;AAI9D,eAAO,MAAM,qBAAqB,iDACc,CAAC;AAKjD,eAAO,MAAM,eAAe,2CAA2C,CAAC;AAIxE,eAAO,MAAM,yBAAyB,qDACc,CAAC;AAIrD,eAAO,MAAM,SAAS,qCAAqC,CAAC;AAM5D,eAAO,MAAM,gBAAgB,+CAA+C,CAAC;AAI7E,eAAO,MAAM,sBAAsB,EAAE,uBAepC,CAAC"}
1
+ {"version":3,"file":"sdk-context-options.d.ts","sourceRoot":"","sources":["../../emitter/src/sdk-context-options.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,6CAA6C,CAAC;AAWtF,eAAO,MAAM,cAAc,kCAAkC,CAAC;AAI9D,eAAO,MAAM,qBAAqB,iDACc,CAAC;AAKjD,eAAO,MAAM,eAAe,2CAA2C,CAAC;AAIxE,eAAO,MAAM,yBAAyB,qDACc,CAAC;AAIrD,eAAO,MAAM,SAAS,qCAAqC,CAAC;AAO5D,eAAO,MAAM,oBAAoB,gDACc,CAAC;AAKhD,eAAO,MAAM,cAAc,0CAA0C,CAAC;AAItE,eAAO,MAAM,qBAAqB,iDACc,CAAC;AAKjD,eAAO,MAAM,gBAAgB,+CAA+C,CAAC;AAI7E,eAAO,MAAM,sBAAsB,EAAE,uBAkBpC,CAAC"}
@@ -20,6 +20,15 @@ const armResourceCreateOrUpdateRegex = "Azure\\.ResourceManager\\.@armResourceCr
20
20
  export const singleton = "Azure.ResourceManager.@singleton";
21
21
  const singletonRegex = "Azure\\.ResourceManager\\.@singleton";
22
22
  const armResourceInternalRegex = "Azure\\.ResourceManager\\.Private\\.@armResourceInternal";
23
+ // https://github.com/Azure/typespec-azure/blob/main/packages/typespec-azure-resource-manager/README.md#subscriptionresource
24
+ export const subscriptionResource = "Azure.ResourceManager.@subscriptionResource";
25
+ const subscriptionResourceRegex = "Azure\\.ResourceManager\\.@subscriptionResource";
26
+ // https://github.com/Azure/typespec-azure/blob/main/packages/typespec-azure-resource-manager/README.md#tenantresource
27
+ export const tenantResource = "Azure.ResourceManager.@tenantResource";
28
+ const tenantResourceRegex = "Azure\\.ResourceManager\\.@tenantResource";
29
+ // https://github.com/Azure/typespec-azure/blob/main/packages/typespec-azure-resource-manager/README.md#resourcegroupresource
30
+ export const resourceGroupResource = "Azure.ResourceManager.@resourceGroupResource";
31
+ const resourceGroupResourceRegex = "Azure\\.ResourceManager\\.@resourceGroupResource";
23
32
  // TODO: add this decorator to TCGC
24
33
  export const resourceMetadata = "Azure.ClientGenerator.Core.@resourceSchema";
25
34
  const resourceMetadataRegex = "Azure\\.ClientGenerator\\.Core\\.@resourceSchema";
@@ -37,6 +46,9 @@ export const azureSDKContextOptions = {
37
46
  parentResourceRegex,
38
47
  singletonRegex,
39
48
  armResourceInternalRegex,
49
+ subscriptionResourceRegex,
50
+ resourceGroupResourceRegex,
51
+ tenantResourceRegex
40
52
  ]
41
53
  };
42
54
  //# sourceMappingURL=sdk-context-options.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sdk-context-options.js","sourceRoot":"","sources":["../../emitter/src/sdk-context-options.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,+FAA+F;AAI/F,iIAAiI;AACjI,MAAM,+BAA+B,GACnC,8DAA8D,CAAC;AAEjE,4HAA4H;AAC5H,MAAM,yBAAyB,GAC7B,iDAAiD,CAAC;AAEpD,yFAAyF;AACzF,MAAM,CAAC,MAAM,cAAc,GAAG,+BAA+B,CAAC;AAC9D,MAAM,mBAAmB,GAAG,mCAAmC,CAAC;AAEhE,6HAA6H;AAC7H,MAAM,CAAC,MAAM,qBAAqB,GAChC,8CAA8C,CAAC;AACjD,MAAM,0BAA0B,GAC9B,kDAAkD,CAAC;AAErD,uHAAuH;AACvH,MAAM,CAAC,MAAM,eAAe,GAAG,wCAAwC,CAAC;AACxE,MAAM,oBAAoB,GAAG,4CAA4C,CAAC;AAE1E,iIAAiI;AACjI,MAAM,CAAC,MAAM,yBAAyB,GACpC,kDAAkD,CAAC;AACrD,MAAM,8BAA8B,GAClC,sDAAsD,CAAC;AACzD,iHAAiH;AACjH,MAAM,CAAC,MAAM,SAAS,GAAG,kCAAkC,CAAC;AAC5D,MAAM,cAAc,GAAG,sCAAsC,CAAC;AAE9D,MAAM,wBAAwB,GAAG,0DAA0D,CAAC;AAE5F,mCAAmC;AACnC,MAAM,CAAC,MAAM,gBAAgB,GAAG,4CAA4C,CAAC;AAC7E,MAAM,qBAAqB,GACzB,kDAAkD,CAAC;AAErD,MAAM,CAAC,MAAM,sBAAsB,GAA4B;IAC7D,UAAU,EAAE;QACV,kBAAkB,EAAE,WAAW;KAChC;IACD,oBAAoB,EAAE;QACpB,+BAA+B;QAC/B,qBAAqB;QACrB,yBAAyB;QACzB,0BAA0B;QAC1B,8BAA8B;QAC9B,oBAAoB;QACpB,mBAAmB;QACnB,cAAc;QACd,wBAAwB;KACzB;CACF,CAAC"}
1
+ {"version":3,"file":"sdk-context-options.js","sourceRoot":"","sources":["../../emitter/src/sdk-context-options.ts"],"names":[],"mappings":"AAAA,4DAA4D;AAC5D,+FAA+F;AAI/F,iIAAiI;AACjI,MAAM,+BAA+B,GACnC,8DAA8D,CAAC;AAEjE,4HAA4H;AAC5H,MAAM,yBAAyB,GAC7B,iDAAiD,CAAC;AAEpD,yFAAyF;AACzF,MAAM,CAAC,MAAM,cAAc,GAAG,+BAA+B,CAAC;AAC9D,MAAM,mBAAmB,GAAG,mCAAmC,CAAC;AAEhE,6HAA6H;AAC7H,MAAM,CAAC,MAAM,qBAAqB,GAChC,8CAA8C,CAAC;AACjD,MAAM,0BAA0B,GAC9B,kDAAkD,CAAC;AAErD,uHAAuH;AACvH,MAAM,CAAC,MAAM,eAAe,GAAG,wCAAwC,CAAC;AACxE,MAAM,oBAAoB,GAAG,4CAA4C,CAAC;AAE1E,iIAAiI;AACjI,MAAM,CAAC,MAAM,yBAAyB,GACpC,kDAAkD,CAAC;AACrD,MAAM,8BAA8B,GAClC,sDAAsD,CAAC;AACzD,iHAAiH;AACjH,MAAM,CAAC,MAAM,SAAS,GAAG,kCAAkC,CAAC;AAC5D,MAAM,cAAc,GAAG,sCAAsC,CAAC;AAE9D,MAAM,wBAAwB,GAC5B,0DAA0D,CAAC;AAE7D,4HAA4H;AAC5H,MAAM,CAAC,MAAM,oBAAoB,GAC/B,6CAA6C,CAAC;AAChD,MAAM,yBAAyB,GAC7B,iDAAiD,CAAC;AAEpD,sHAAsH;AACtH,MAAM,CAAC,MAAM,cAAc,GAAG,uCAAuC,CAAC;AACtE,MAAM,mBAAmB,GAAG,2CAA2C,CAAC;AAExE,6HAA6H;AAC7H,MAAM,CAAC,MAAM,qBAAqB,GAChC,8CAA8C,CAAC;AACjD,MAAM,0BAA0B,GAC9B,kDAAkD,CAAC;AAErD,mCAAmC;AACnC,MAAM,CAAC,MAAM,gBAAgB,GAAG,4CAA4C,CAAC;AAC7E,MAAM,qBAAqB,GACzB,kDAAkD,CAAC;AAErD,MAAM,CAAC,MAAM,sBAAsB,GAA4B;IAC7D,UAAU,EAAE;QACV,kBAAkB,EAAE,WAAW;KAChC;IACD,oBAAoB,EAAE;QACpB,+BAA+B;QAC/B,qBAAqB;QACrB,yBAAyB;QACzB,0BAA0B;QAC1B,8BAA8B;QAC9B,oBAAoB;QACpB,mBAAmB;QACnB,cAAc;QACd,wBAAwB;QACxB,yBAAyB;QACzB,0BAA0B;QAC1B,mBAAmB;KACpB;CACF,CAAC"}
@@ -6,12 +6,12 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v8.0": {
9
- "Azure.Generator.Management/1.0.0-alpha.20250520.1": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20250522.1": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.46.1",
12
- "Azure.Generator": "1.0.0-alpha.20250515.2",
12
+ "Azure.Generator": "1.0.0-alpha.20250522.1",
13
13
  "Azure.ResourceManager": "1.13.0",
14
- "Microsoft.Azure.AutoRest.CSharp": "3.0.0-beta.20250515.1",
14
+ "Microsoft.Azure.AutoRest.CSharp": "3.0.0-beta.20250521.1",
15
15
  "Microsoft.SourceLink.GitHub": "8.0.0",
16
16
  "SauceControl.InheritDoc": "1.2.0",
17
17
  "StyleCop.Analyzers": "1.2.0-beta.333"
@@ -33,11 +33,11 @@
33
33
  }
34
34
  }
35
35
  },
36
- "Azure.Generator/1.0.0-alpha.20250515.2": {
36
+ "Azure.Generator/1.0.0-alpha.20250522.1": {
37
37
  "dependencies": {
38
38
  "Azure.Core": "1.46.1",
39
39
  "Azure.ResourceManager": "1.13.0",
40
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20250514.1"
40
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20250521.6"
41
41
  },
42
42
  "runtime": {
43
43
  "lib/net8.0/Azure.Generator.dll": {
@@ -75,7 +75,7 @@
75
75
  }
76
76
  }
77
77
  },
78
- "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250515.1": {},
78
+ "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250521.1": {},
79
79
  "Microsoft.Bcl.AsyncInterfaces/8.0.0": {
80
80
  "runtime": {
81
81
  "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": {
@@ -365,13 +365,15 @@
365
365
  "Microsoft.SourceLink.Common": "8.0.0"
366
366
  }
367
367
  },
368
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250514.1": {
368
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250521.6": {
369
369
  "dependencies": {
370
370
  "CommandLineParser": "2.9.1",
371
371
  "Microsoft.Build": "17.9.5",
372
372
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
373
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20250514.1",
374
- "NuGet.Configuration": "6.9.1",
373
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20250521.6",
374
+ "NuGet.Configuration": "6.14.0",
375
+ "NuGet.Protocol": "6.14.0",
376
+ "NuGet.Versioning": "6.14.0",
375
377
  "System.ComponentModel.Composition": "8.0.0",
376
378
  "System.Memory.Data": "8.0.1"
377
379
  },
@@ -382,9 +384,9 @@
382
384
  }
383
385
  }
384
386
  },
385
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250514.1": {
387
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250521.6": {
386
388
  "dependencies": {
387
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20250514.1",
389
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20250521.6",
388
390
  "System.ClientModel": "1.4.1"
389
391
  },
390
392
  "runtime": {
@@ -394,7 +396,7 @@
394
396
  }
395
397
  }
396
398
  },
397
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250514.1": {
399
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250521.6": {
398
400
  "dependencies": {
399
401
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
400
402
  "System.Memory.Data": "8.0.1"
@@ -406,34 +408,76 @@
406
408
  }
407
409
  }
408
410
  },
409
- "NuGet.Common/6.9.1": {
411
+ "Newtonsoft.Json/13.0.3": {
412
+ "runtime": {
413
+ "lib/net6.0/Newtonsoft.Json.dll": {
414
+ "assemblyVersion": "13.0.0.0",
415
+ "fileVersion": "13.0.3.27908"
416
+ }
417
+ }
418
+ },
419
+ "NuGet.Common/6.14.0": {
410
420
  "dependencies": {
411
- "NuGet.Frameworks": "6.9.1"
421
+ "NuGet.Frameworks": "6.14.0",
422
+ "System.Collections.Immutable": "8.0.0"
412
423
  },
413
424
  "runtime": {
414
425
  "lib/netstandard2.0/NuGet.Common.dll": {
415
- "assemblyVersion": "6.9.1.3",
416
- "fileVersion": "6.9.1.3"
426
+ "assemblyVersion": "6.14.0.116",
427
+ "fileVersion": "6.14.0.116"
417
428
  }
418
429
  }
419
430
  },
420
- "NuGet.Configuration/6.9.1": {
431
+ "NuGet.Configuration/6.14.0": {
421
432
  "dependencies": {
422
- "NuGet.Common": "6.9.1",
433
+ "NuGet.Common": "6.14.0",
423
434
  "System.Security.Cryptography.ProtectedData": "8.0.0"
424
435
  },
425
436
  "runtime": {
426
437
  "lib/netstandard2.0/NuGet.Configuration.dll": {
427
- "assemblyVersion": "6.9.1.3",
428
- "fileVersion": "6.9.1.3"
438
+ "assemblyVersion": "6.14.0.116",
439
+ "fileVersion": "6.14.0.116"
429
440
  }
430
441
  }
431
442
  },
432
- "NuGet.Frameworks/6.9.1": {
443
+ "NuGet.Frameworks/6.14.0": {
433
444
  "runtime": {
434
445
  "lib/netstandard2.0/NuGet.Frameworks.dll": {
435
- "assemblyVersion": "6.9.1.3",
436
- "fileVersion": "6.9.1.3"
446
+ "assemblyVersion": "6.14.0.116",
447
+ "fileVersion": "6.14.0.116"
448
+ }
449
+ }
450
+ },
451
+ "NuGet.Packaging/6.14.0": {
452
+ "dependencies": {
453
+ "Newtonsoft.Json": "13.0.3",
454
+ "NuGet.Configuration": "6.14.0",
455
+ "NuGet.Versioning": "6.14.0",
456
+ "System.Security.Cryptography.Pkcs": "6.0.4"
457
+ },
458
+ "runtime": {
459
+ "lib/net8.0/NuGet.Packaging.dll": {
460
+ "assemblyVersion": "6.14.0.116",
461
+ "fileVersion": "6.14.0.116"
462
+ }
463
+ }
464
+ },
465
+ "NuGet.Protocol/6.14.0": {
466
+ "dependencies": {
467
+ "NuGet.Packaging": "6.14.0"
468
+ },
469
+ "runtime": {
470
+ "lib/net8.0/NuGet.Protocol.dll": {
471
+ "assemblyVersion": "6.14.0.116",
472
+ "fileVersion": "6.14.0.116"
473
+ }
474
+ }
475
+ },
476
+ "NuGet.Versioning/6.14.0": {
477
+ "runtime": {
478
+ "lib/netstandard2.0/NuGet.Versioning.dll": {
479
+ "assemblyVersion": "6.14.0.116",
480
+ "fileVersion": "6.14.0.116"
437
481
  }
438
482
  }
439
483
  },
@@ -559,6 +603,7 @@
559
603
  }
560
604
  }
561
605
  },
606
+ "System.Formats.Asn1/6.0.0": {},
562
607
  "System.IO.Pipelines/7.0.0": {
563
608
  "runtime": {
564
609
  "lib/net7.0/System.IO.Pipelines.dll": {
@@ -593,6 +638,25 @@
593
638
  }
594
639
  },
595
640
  "System.Runtime.CompilerServices.Unsafe/6.0.0": {},
641
+ "System.Security.Cryptography.Pkcs/6.0.4": {
642
+ "dependencies": {
643
+ "System.Formats.Asn1": "6.0.0"
644
+ },
645
+ "runtime": {
646
+ "lib/net6.0/System.Security.Cryptography.Pkcs.dll": {
647
+ "assemblyVersion": "6.0.0.0",
648
+ "fileVersion": "6.0.1923.31806"
649
+ }
650
+ },
651
+ "runtimeTargets": {
652
+ "runtimes/win/lib/net6.0/System.Security.Cryptography.Pkcs.dll": {
653
+ "rid": "win",
654
+ "assetType": "runtime",
655
+ "assemblyVersion": "6.0.0.0",
656
+ "fileVersion": "6.0.1923.31806"
657
+ }
658
+ }
659
+ },
596
660
  "System.Security.Cryptography.ProtectedData/8.0.0": {
597
661
  "runtime": {
598
662
  "lib/net8.0/System.Security.Cryptography.ProtectedData.dll": {
@@ -618,7 +682,7 @@
618
682
  }
619
683
  },
620
684
  "libraries": {
621
- "Azure.Generator.Management/1.0.0-alpha.20250520.1": {
685
+ "Azure.Generator.Management/1.0.0-alpha.20250522.1": {
622
686
  "type": "project",
623
687
  "serviceable": false,
624
688
  "sha512": ""
@@ -630,12 +694,12 @@
630
694
  "path": "azure.core/1.46.1",
631
695
  "hashPath": "azure.core.1.46.1.nupkg.sha512"
632
696
  },
633
- "Azure.Generator/1.0.0-alpha.20250515.2": {
697
+ "Azure.Generator/1.0.0-alpha.20250522.1": {
634
698
  "type": "package",
635
699
  "serviceable": true,
636
- "sha512": "sha512-1j5eCCkVS0uEAB07/9YmUta0j9G0+5T0nKKjwoH9/6bu+87MDIFUEwoDUP8se5tdxsbtsgMS1t2A414hdrUowA==",
637
- "path": "azure.generator/1.0.0-alpha.20250515.2",
638
- "hashPath": "azure.generator.1.0.0-alpha.20250515.2.nupkg.sha512"
700
+ "sha512": "sha512-rzAJseG3Mq/OeUHFPQrZFwmLgfWfQj259SR80/ZmyZv1Zf8dJQ5vEgAlmMri0+/U3JC8MXid6q3cPGp0zPT0RQ==",
701
+ "path": "azure.generator/1.0.0-alpha.20250522.1",
702
+ "hashPath": "azure.generator.1.0.0-alpha.20250522.1.nupkg.sha512"
639
703
  },
640
704
  "Azure.ResourceManager/1.13.0": {
641
705
  "type": "package",
@@ -658,12 +722,12 @@
658
722
  "path": "humanizer.core/2.14.1",
659
723
  "hashPath": "humanizer.core.2.14.1.nupkg.sha512"
660
724
  },
661
- "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250515.1": {
725
+ "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250521.1": {
662
726
  "type": "package",
663
727
  "serviceable": true,
664
- "sha512": "sha512-0y8V4PL1To1L6kvnI5p+okG3A1uX2RzVjwiVCZEmVU5JtKwuCNXiW57AnIPm1DWNDWhsLjjxBQQnqHJIN1Gc7Q==",
665
- "path": "microsoft.azure.autorest.csharp/3.0.0-beta.20250515.1",
666
- "hashPath": "microsoft.azure.autorest.csharp.3.0.0-beta.20250515.1.nupkg.sha512"
728
+ "sha512": "sha512-k3ZZZRHBE+Z9hXb0L9dBSQAg+gZXclw2qiaYa419sAUh5xoIwC0OnQktwQXQgcUwwTGUy3IjGGrV4Y3Oe+aOKA==",
729
+ "path": "microsoft.azure.autorest.csharp/3.0.0-beta.20250521.1",
730
+ "hashPath": "microsoft.azure.autorest.csharp.3.0.0-beta.20250521.1.nupkg.sha512"
667
731
  },
668
732
  "Microsoft.Bcl.AsyncInterfaces/8.0.0": {
669
733
  "type": "package",
@@ -763,47 +827,75 @@
763
827
  "path": "microsoft.sourcelink.github/8.0.0",
764
828
  "hashPath": "microsoft.sourcelink.github.8.0.0.nupkg.sha512"
765
829
  },
766
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250514.1": {
830
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250521.6": {
831
+ "type": "package",
832
+ "serviceable": true,
833
+ "sha512": "sha512-FOy1n26tWd5omzvuu5pmKfm3w+j8Miv+/Agk4raR3bKlvwmChq8WTcJA0WPGlpMJs1pJum59+KTGAiARf4UQXw==",
834
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20250521.6",
835
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20250521.6.nupkg.sha512"
836
+ },
837
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250521.6": {
838
+ "type": "package",
839
+ "serviceable": true,
840
+ "sha512": "sha512-5r6uoxLcu4BKucvWNUKrHMfY8gKBjCwrO++vqIuBWxjz8560Sk+3IYcQgt813KxzS2EsHhBiPoPITjoTV08x6Q==",
841
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20250521.6",
842
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20250521.6.nupkg.sha512"
843
+ },
844
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250521.6": {
767
845
  "type": "package",
768
846
  "serviceable": true,
769
- "sha512": "sha512-yYHR0bylmY+UfsKXurCttiDtqnm7JKBHBVzO+bsKT4Xtd12OdPytYsyEUSVrQiOC6L2CpBimo+ThdFpgyYiTwQ==",
770
- "path": "microsoft.typespec.generator/1.0.0-alpha.20250514.1",
771
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20250514.1.nupkg.sha512"
847
+ "sha512": "sha512-5+oeP/l9xJUJpMf/43KwAO9yaH1xyzuzeg9gP6ZK3etPNgNq+HTwBd5Eu+hA8d6Mh5WnNejS78ZGJ0SbmqypAw==",
848
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20250521.6",
849
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20250521.6.nupkg.sha512"
772
850
  },
773
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250514.1": {
851
+ "Newtonsoft.Json/13.0.3": {
774
852
  "type": "package",
775
853
  "serviceable": true,
776
- "sha512": "sha512-SreGre/qeiiVpZ0Diu8T81b7xL4nUVQjV1WKidnXd13cTEUHELzT/wxuFo4DZNEpBTarTCmjtbWzlRjTJecYiQ==",
777
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20250514.1",
778
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20250514.1.nupkg.sha512"
854
+ "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
855
+ "path": "newtonsoft.json/13.0.3",
856
+ "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512"
779
857
  },
780
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250514.1": {
858
+ "NuGet.Common/6.14.0": {
781
859
  "type": "package",
782
860
  "serviceable": true,
783
- "sha512": "sha512-9wqa8RVv6Fw6LDrJTGZ0jg4vxS/tKSC+X09TRCGY6QWeTsgYfbyMgw89SBSnSqTO8dpZSP2lhRlSlmWt67lbLg==",
784
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20250514.1",
785
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20250514.1.nupkg.sha512"
861
+ "sha512": "sha512-E+IyoDez4kPrjNPYp41fScowTuSjGifXfjrtU9p9XlQDOGig6vrikQDCMeo6BT6YmT9vUZ+Tb1CX8ru8z0bkNg==",
862
+ "path": "nuget.common/6.14.0",
863
+ "hashPath": "nuget.common.6.14.0.nupkg.sha512"
786
864
  },
787
- "NuGet.Common/6.9.1": {
865
+ "NuGet.Configuration/6.14.0": {
788
866
  "type": "package",
789
867
  "serviceable": true,
790
- "sha512": "sha512-FbuWZBjQ1NJXBDqCwSddN2yvw3Plq3sTCIh0nc66Hu8jrNr+BOaxlKZv78jvJ+pSy8BvurYOdF9sl9KoORjrtg==",
791
- "path": "nuget.common/6.9.1",
792
- "hashPath": "nuget.common.6.9.1.nupkg.sha512"
868
+ "sha512": "sha512-YwoF+Nm0IGdNP/LQ97xysCQlhy4oWIzD4oGcbvz5bQGogPrqn/5lSGwP8llmVv+zfJ6tZZDAT9vh4Q+gH0Aqqg==",
869
+ "path": "nuget.configuration/6.14.0",
870
+ "hashPath": "nuget.configuration.6.14.0.nupkg.sha512"
793
871
  },
794
- "NuGet.Configuration/6.9.1": {
872
+ "NuGet.Frameworks/6.14.0": {
795
873
  "type": "package",
796
874
  "serviceable": true,
797
- "sha512": "sha512-GM06pcUzWdNsizeGciqCjAhryfI1F/rQPETLDF+8pDRgzVpA+wKAR01/4aFU+IXzugnQ9LqOb5YyCRuR1OVZiQ==",
798
- "path": "nuget.configuration/6.9.1",
799
- "hashPath": "nuget.configuration.6.9.1.nupkg.sha512"
875
+ "sha512": "sha512-xZ37J58DQAkVUX29qoMwla26iBYRScdcfSGNe1FIZjCX1tpafN9n7TinrkRxaJqYzW0D8Ob8a3eRSYhwEUauCA==",
876
+ "path": "nuget.frameworks/6.14.0",
877
+ "hashPath": "nuget.frameworks.6.14.0.nupkg.sha512"
800
878
  },
801
- "NuGet.Frameworks/6.9.1": {
879
+ "NuGet.Packaging/6.14.0": {
802
880
  "type": "package",
803
881
  "serviceable": true,
804
- "sha512": "sha512-DaKh3lenPUvzGccPkbI97BIvA27z+/UsL3ankfoZlX/4vBVDK5N1sheFTQ+GuJf+IgSzsJz/A21SPUpQLHwUtA==",
805
- "path": "nuget.frameworks/6.9.1",
806
- "hashPath": "nuget.frameworks.6.9.1.nupkg.sha512"
882
+ "sha512": "sha512-BpQlGpkuAhrh6x00mGvwK13a5c30vX3FYQbWI11LIyXl/nWmoOQSZrB3yEAh9ihibeGo8SunWZBGXvkkJUxbEg==",
883
+ "path": "nuget.packaging/6.14.0",
884
+ "hashPath": "nuget.packaging.6.14.0.nupkg.sha512"
885
+ },
886
+ "NuGet.Protocol/6.14.0": {
887
+ "type": "package",
888
+ "serviceable": true,
889
+ "sha512": "sha512-hYk9j/ZKErdiK0tFaqsrRtT5q+sJ2VjCUrgFCQG2wGhAlmb8YaBzYLOGDvRdFwuvTi5I+KRuVHPqhc010Np1Bg==",
890
+ "path": "nuget.protocol/6.14.0",
891
+ "hashPath": "nuget.protocol.6.14.0.nupkg.sha512"
892
+ },
893
+ "NuGet.Versioning/6.14.0": {
894
+ "type": "package",
895
+ "serviceable": true,
896
+ "sha512": "sha512-4v4blkhCv8mpKtfx+z0G/X0daVCzdIaHSC51GkUspugi5JIMn2Bo8xm5PdZYF0U68gOBfz/+aPWMnpRd85Jbow==",
897
+ "path": "nuget.versioning/6.14.0",
898
+ "hashPath": "nuget.versioning.6.14.0.nupkg.sha512"
807
899
  },
808
900
  "SauceControl.InheritDoc/1.2.0": {
809
901
  "type": "package",
@@ -903,6 +995,13 @@
903
995
  "path": "system.diagnostics.eventlog/8.0.0",
904
996
  "hashPath": "system.diagnostics.eventlog.8.0.0.nupkg.sha512"
905
997
  },
998
+ "System.Formats.Asn1/6.0.0": {
999
+ "type": "package",
1000
+ "serviceable": true,
1001
+ "sha512": "sha512-T6fD00dQ3NTbPDy31m4eQUwKW84s03z0N2C8HpOklyeaDgaJPa/TexP4/SkORMSOwc7WhKifnA6Ya33AkzmafA==",
1002
+ "path": "system.formats.asn1/6.0.0",
1003
+ "hashPath": "system.formats.asn1.6.0.0.nupkg.sha512"
1004
+ },
906
1005
  "System.IO.Pipelines/7.0.0": {
907
1006
  "type": "package",
908
1007
  "serviceable": true,
@@ -938,6 +1037,13 @@
938
1037
  "path": "system.runtime.compilerservices.unsafe/6.0.0",
939
1038
  "hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512"
940
1039
  },
1040
+ "System.Security.Cryptography.Pkcs/6.0.4": {
1041
+ "type": "package",
1042
+ "serviceable": true,
1043
+ "sha512": "sha512-LGbXi1oUJ9QgCNGXRO9ndzBL/GZgANcsURpMhNR8uO+rca47SZmciS3RSQUvlQRwK3QHZSHNOXzoMUASKA+Anw==",
1044
+ "path": "system.security.cryptography.pkcs/6.0.4",
1045
+ "hashPath": "system.security.cryptography.pkcs.6.0.4.nupkg.sha512"
1046
+ },
941
1047
  "System.Security.Cryptography.ProtectedData/8.0.0": {
942
1048
  "type": "package",
943
1049
  "serviceable": true,
@@ -35,6 +35,11 @@
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>
38
43
  <member name="T:Azure.Generator.Management.ManagementOutputLibrary">
39
44
  <inheritdoc/>
40
45
  </member>
Binary file
Binary file
Binary file
@@ -6,12 +6,12 @@
6
6
  "compilationOptions": {},
7
7
  "targets": {
8
8
  ".NETCoreApp,Version=v8.0": {
9
- "Azure.Generator.Management/1.0.0-alpha.20250520.1": {
9
+ "Azure.Generator.Management/1.0.0-alpha.20250522.1": {
10
10
  "dependencies": {
11
11
  "Azure.Core": "1.46.1",
12
- "Azure.Generator": "1.0.0-alpha.20250515.2",
12
+ "Azure.Generator": "1.0.0-alpha.20250522.1",
13
13
  "Azure.ResourceManager": "1.13.0",
14
- "Microsoft.Azure.AutoRest.CSharp": "3.0.0-beta.20250515.1",
14
+ "Microsoft.Azure.AutoRest.CSharp": "3.0.0-beta.20250521.1",
15
15
  "Microsoft.SourceLink.GitHub": "8.0.0",
16
16
  "SauceControl.InheritDoc": "1.2.0",
17
17
  "StyleCop.Analyzers": "1.2.0-beta.333"
@@ -33,11 +33,11 @@
33
33
  }
34
34
  }
35
35
  },
36
- "Azure.Generator/1.0.0-alpha.20250515.2": {
36
+ "Azure.Generator/1.0.0-alpha.20250522.1": {
37
37
  "dependencies": {
38
38
  "Azure.Core": "1.46.1",
39
39
  "Azure.ResourceManager": "1.13.0",
40
- "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20250514.1"
40
+ "Microsoft.TypeSpec.Generator.ClientModel": "1.0.0-alpha.20250521.6"
41
41
  },
42
42
  "runtime": {
43
43
  "lib/net8.0/Azure.Generator.dll": {
@@ -75,7 +75,7 @@
75
75
  }
76
76
  }
77
77
  },
78
- "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250515.1": {},
78
+ "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250521.1": {},
79
79
  "Microsoft.Bcl.AsyncInterfaces/8.0.0": {
80
80
  "runtime": {
81
81
  "lib/netstandard2.1/Microsoft.Bcl.AsyncInterfaces.dll": {
@@ -365,13 +365,15 @@
365
365
  "Microsoft.SourceLink.Common": "8.0.0"
366
366
  }
367
367
  },
368
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250514.1": {
368
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250521.6": {
369
369
  "dependencies": {
370
370
  "CommandLineParser": "2.9.1",
371
371
  "Microsoft.Build": "17.9.5",
372
372
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
373
- "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20250514.1",
374
- "NuGet.Configuration": "6.9.1",
373
+ "Microsoft.TypeSpec.Generator.Input": "1.0.0-alpha.20250521.6",
374
+ "NuGet.Configuration": "6.14.0",
375
+ "NuGet.Protocol": "6.14.0",
376
+ "NuGet.Versioning": "6.14.0",
375
377
  "System.ComponentModel.Composition": "8.0.0",
376
378
  "System.Memory.Data": "8.0.1"
377
379
  },
@@ -382,9 +384,9 @@
382
384
  }
383
385
  }
384
386
  },
385
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250514.1": {
387
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250521.6": {
386
388
  "dependencies": {
387
- "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20250514.1",
389
+ "Microsoft.TypeSpec.Generator": "1.0.0-alpha.20250521.6",
388
390
  "System.ClientModel": "1.4.1"
389
391
  },
390
392
  "runtime": {
@@ -394,7 +396,7 @@
394
396
  }
395
397
  }
396
398
  },
397
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250514.1": {
399
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250521.6": {
398
400
  "dependencies": {
399
401
  "Microsoft.CodeAnalysis.CSharp.Workspaces": "4.8.0",
400
402
  "System.Memory.Data": "8.0.1"
@@ -406,34 +408,76 @@
406
408
  }
407
409
  }
408
410
  },
409
- "NuGet.Common/6.9.1": {
411
+ "Newtonsoft.Json/13.0.3": {
412
+ "runtime": {
413
+ "lib/net6.0/Newtonsoft.Json.dll": {
414
+ "assemblyVersion": "13.0.0.0",
415
+ "fileVersion": "13.0.3.27908"
416
+ }
417
+ }
418
+ },
419
+ "NuGet.Common/6.14.0": {
410
420
  "dependencies": {
411
- "NuGet.Frameworks": "6.9.1"
421
+ "NuGet.Frameworks": "6.14.0",
422
+ "System.Collections.Immutable": "8.0.0"
412
423
  },
413
424
  "runtime": {
414
425
  "lib/netstandard2.0/NuGet.Common.dll": {
415
- "assemblyVersion": "6.9.1.3",
416
- "fileVersion": "6.9.1.3"
426
+ "assemblyVersion": "6.14.0.116",
427
+ "fileVersion": "6.14.0.116"
417
428
  }
418
429
  }
419
430
  },
420
- "NuGet.Configuration/6.9.1": {
431
+ "NuGet.Configuration/6.14.0": {
421
432
  "dependencies": {
422
- "NuGet.Common": "6.9.1",
433
+ "NuGet.Common": "6.14.0",
423
434
  "System.Security.Cryptography.ProtectedData": "8.0.0"
424
435
  },
425
436
  "runtime": {
426
437
  "lib/netstandard2.0/NuGet.Configuration.dll": {
427
- "assemblyVersion": "6.9.1.3",
428
- "fileVersion": "6.9.1.3"
438
+ "assemblyVersion": "6.14.0.116",
439
+ "fileVersion": "6.14.0.116"
429
440
  }
430
441
  }
431
442
  },
432
- "NuGet.Frameworks/6.9.1": {
443
+ "NuGet.Frameworks/6.14.0": {
433
444
  "runtime": {
434
445
  "lib/netstandard2.0/NuGet.Frameworks.dll": {
435
- "assemblyVersion": "6.9.1.3",
436
- "fileVersion": "6.9.1.3"
446
+ "assemblyVersion": "6.14.0.116",
447
+ "fileVersion": "6.14.0.116"
448
+ }
449
+ }
450
+ },
451
+ "NuGet.Packaging/6.14.0": {
452
+ "dependencies": {
453
+ "Newtonsoft.Json": "13.0.3",
454
+ "NuGet.Configuration": "6.14.0",
455
+ "NuGet.Versioning": "6.14.0",
456
+ "System.Security.Cryptography.Pkcs": "6.0.4"
457
+ },
458
+ "runtime": {
459
+ "lib/net8.0/NuGet.Packaging.dll": {
460
+ "assemblyVersion": "6.14.0.116",
461
+ "fileVersion": "6.14.0.116"
462
+ }
463
+ }
464
+ },
465
+ "NuGet.Protocol/6.14.0": {
466
+ "dependencies": {
467
+ "NuGet.Packaging": "6.14.0"
468
+ },
469
+ "runtime": {
470
+ "lib/net8.0/NuGet.Protocol.dll": {
471
+ "assemblyVersion": "6.14.0.116",
472
+ "fileVersion": "6.14.0.116"
473
+ }
474
+ }
475
+ },
476
+ "NuGet.Versioning/6.14.0": {
477
+ "runtime": {
478
+ "lib/netstandard2.0/NuGet.Versioning.dll": {
479
+ "assemblyVersion": "6.14.0.116",
480
+ "fileVersion": "6.14.0.116"
437
481
  }
438
482
  }
439
483
  },
@@ -559,6 +603,7 @@
559
603
  }
560
604
  }
561
605
  },
606
+ "System.Formats.Asn1/6.0.0": {},
562
607
  "System.IO.Pipelines/7.0.0": {
563
608
  "runtime": {
564
609
  "lib/net7.0/System.IO.Pipelines.dll": {
@@ -593,6 +638,25 @@
593
638
  }
594
639
  },
595
640
  "System.Runtime.CompilerServices.Unsafe/6.0.0": {},
641
+ "System.Security.Cryptography.Pkcs/6.0.4": {
642
+ "dependencies": {
643
+ "System.Formats.Asn1": "6.0.0"
644
+ },
645
+ "runtime": {
646
+ "lib/net6.0/System.Security.Cryptography.Pkcs.dll": {
647
+ "assemblyVersion": "6.0.0.0",
648
+ "fileVersion": "6.0.1923.31806"
649
+ }
650
+ },
651
+ "runtimeTargets": {
652
+ "runtimes/win/lib/net6.0/System.Security.Cryptography.Pkcs.dll": {
653
+ "rid": "win",
654
+ "assetType": "runtime",
655
+ "assemblyVersion": "6.0.0.0",
656
+ "fileVersion": "6.0.1923.31806"
657
+ }
658
+ }
659
+ },
596
660
  "System.Security.Cryptography.ProtectedData/8.0.0": {
597
661
  "runtime": {
598
662
  "lib/net8.0/System.Security.Cryptography.ProtectedData.dll": {
@@ -618,7 +682,7 @@
618
682
  }
619
683
  },
620
684
  "libraries": {
621
- "Azure.Generator.Management/1.0.0-alpha.20250520.1": {
685
+ "Azure.Generator.Management/1.0.0-alpha.20250522.1": {
622
686
  "type": "project",
623
687
  "serviceable": false,
624
688
  "sha512": ""
@@ -630,12 +694,12 @@
630
694
  "path": "azure.core/1.46.1",
631
695
  "hashPath": "azure.core.1.46.1.nupkg.sha512"
632
696
  },
633
- "Azure.Generator/1.0.0-alpha.20250515.2": {
697
+ "Azure.Generator/1.0.0-alpha.20250522.1": {
634
698
  "type": "package",
635
699
  "serviceable": true,
636
- "sha512": "sha512-1j5eCCkVS0uEAB07/9YmUta0j9G0+5T0nKKjwoH9/6bu+87MDIFUEwoDUP8se5tdxsbtsgMS1t2A414hdrUowA==",
637
- "path": "azure.generator/1.0.0-alpha.20250515.2",
638
- "hashPath": "azure.generator.1.0.0-alpha.20250515.2.nupkg.sha512"
700
+ "sha512": "sha512-rzAJseG3Mq/OeUHFPQrZFwmLgfWfQj259SR80/ZmyZv1Zf8dJQ5vEgAlmMri0+/U3JC8MXid6q3cPGp0zPT0RQ==",
701
+ "path": "azure.generator/1.0.0-alpha.20250522.1",
702
+ "hashPath": "azure.generator.1.0.0-alpha.20250522.1.nupkg.sha512"
639
703
  },
640
704
  "Azure.ResourceManager/1.13.0": {
641
705
  "type": "package",
@@ -658,12 +722,12 @@
658
722
  "path": "humanizer.core/2.14.1",
659
723
  "hashPath": "humanizer.core.2.14.1.nupkg.sha512"
660
724
  },
661
- "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250515.1": {
725
+ "Microsoft.Azure.AutoRest.CSharp/3.0.0-beta.20250521.1": {
662
726
  "type": "package",
663
727
  "serviceable": true,
664
- "sha512": "sha512-0y8V4PL1To1L6kvnI5p+okG3A1uX2RzVjwiVCZEmVU5JtKwuCNXiW57AnIPm1DWNDWhsLjjxBQQnqHJIN1Gc7Q==",
665
- "path": "microsoft.azure.autorest.csharp/3.0.0-beta.20250515.1",
666
- "hashPath": "microsoft.azure.autorest.csharp.3.0.0-beta.20250515.1.nupkg.sha512"
728
+ "sha512": "sha512-k3ZZZRHBE+Z9hXb0L9dBSQAg+gZXclw2qiaYa419sAUh5xoIwC0OnQktwQXQgcUwwTGUy3IjGGrV4Y3Oe+aOKA==",
729
+ "path": "microsoft.azure.autorest.csharp/3.0.0-beta.20250521.1",
730
+ "hashPath": "microsoft.azure.autorest.csharp.3.0.0-beta.20250521.1.nupkg.sha512"
667
731
  },
668
732
  "Microsoft.Bcl.AsyncInterfaces/8.0.0": {
669
733
  "type": "package",
@@ -763,47 +827,75 @@
763
827
  "path": "microsoft.sourcelink.github/8.0.0",
764
828
  "hashPath": "microsoft.sourcelink.github.8.0.0.nupkg.sha512"
765
829
  },
766
- "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250514.1": {
830
+ "Microsoft.TypeSpec.Generator/1.0.0-alpha.20250521.6": {
831
+ "type": "package",
832
+ "serviceable": true,
833
+ "sha512": "sha512-FOy1n26tWd5omzvuu5pmKfm3w+j8Miv+/Agk4raR3bKlvwmChq8WTcJA0WPGlpMJs1pJum59+KTGAiARf4UQXw==",
834
+ "path": "microsoft.typespec.generator/1.0.0-alpha.20250521.6",
835
+ "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20250521.6.nupkg.sha512"
836
+ },
837
+ "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250521.6": {
838
+ "type": "package",
839
+ "serviceable": true,
840
+ "sha512": "sha512-5r6uoxLcu4BKucvWNUKrHMfY8gKBjCwrO++vqIuBWxjz8560Sk+3IYcQgt813KxzS2EsHhBiPoPITjoTV08x6Q==",
841
+ "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20250521.6",
842
+ "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20250521.6.nupkg.sha512"
843
+ },
844
+ "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250521.6": {
767
845
  "type": "package",
768
846
  "serviceable": true,
769
- "sha512": "sha512-yYHR0bylmY+UfsKXurCttiDtqnm7JKBHBVzO+bsKT4Xtd12OdPytYsyEUSVrQiOC6L2CpBimo+ThdFpgyYiTwQ==",
770
- "path": "microsoft.typespec.generator/1.0.0-alpha.20250514.1",
771
- "hashPath": "microsoft.typespec.generator.1.0.0-alpha.20250514.1.nupkg.sha512"
847
+ "sha512": "sha512-5+oeP/l9xJUJpMf/43KwAO9yaH1xyzuzeg9gP6ZK3etPNgNq+HTwBd5Eu+hA8d6Mh5WnNejS78ZGJ0SbmqypAw==",
848
+ "path": "microsoft.typespec.generator.input/1.0.0-alpha.20250521.6",
849
+ "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20250521.6.nupkg.sha512"
772
850
  },
773
- "Microsoft.TypeSpec.Generator.ClientModel/1.0.0-alpha.20250514.1": {
851
+ "Newtonsoft.Json/13.0.3": {
774
852
  "type": "package",
775
853
  "serviceable": true,
776
- "sha512": "sha512-SreGre/qeiiVpZ0Diu8T81b7xL4nUVQjV1WKidnXd13cTEUHELzT/wxuFo4DZNEpBTarTCmjtbWzlRjTJecYiQ==",
777
- "path": "microsoft.typespec.generator.clientmodel/1.0.0-alpha.20250514.1",
778
- "hashPath": "microsoft.typespec.generator.clientmodel.1.0.0-alpha.20250514.1.nupkg.sha512"
854
+ "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
855
+ "path": "newtonsoft.json/13.0.3",
856
+ "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512"
779
857
  },
780
- "Microsoft.TypeSpec.Generator.Input/1.0.0-alpha.20250514.1": {
858
+ "NuGet.Common/6.14.0": {
781
859
  "type": "package",
782
860
  "serviceable": true,
783
- "sha512": "sha512-9wqa8RVv6Fw6LDrJTGZ0jg4vxS/tKSC+X09TRCGY6QWeTsgYfbyMgw89SBSnSqTO8dpZSP2lhRlSlmWt67lbLg==",
784
- "path": "microsoft.typespec.generator.input/1.0.0-alpha.20250514.1",
785
- "hashPath": "microsoft.typespec.generator.input.1.0.0-alpha.20250514.1.nupkg.sha512"
861
+ "sha512": "sha512-E+IyoDez4kPrjNPYp41fScowTuSjGifXfjrtU9p9XlQDOGig6vrikQDCMeo6BT6YmT9vUZ+Tb1CX8ru8z0bkNg==",
862
+ "path": "nuget.common/6.14.0",
863
+ "hashPath": "nuget.common.6.14.0.nupkg.sha512"
786
864
  },
787
- "NuGet.Common/6.9.1": {
865
+ "NuGet.Configuration/6.14.0": {
788
866
  "type": "package",
789
867
  "serviceable": true,
790
- "sha512": "sha512-FbuWZBjQ1NJXBDqCwSddN2yvw3Plq3sTCIh0nc66Hu8jrNr+BOaxlKZv78jvJ+pSy8BvurYOdF9sl9KoORjrtg==",
791
- "path": "nuget.common/6.9.1",
792
- "hashPath": "nuget.common.6.9.1.nupkg.sha512"
868
+ "sha512": "sha512-YwoF+Nm0IGdNP/LQ97xysCQlhy4oWIzD4oGcbvz5bQGogPrqn/5lSGwP8llmVv+zfJ6tZZDAT9vh4Q+gH0Aqqg==",
869
+ "path": "nuget.configuration/6.14.0",
870
+ "hashPath": "nuget.configuration.6.14.0.nupkg.sha512"
793
871
  },
794
- "NuGet.Configuration/6.9.1": {
872
+ "NuGet.Frameworks/6.14.0": {
795
873
  "type": "package",
796
874
  "serviceable": true,
797
- "sha512": "sha512-GM06pcUzWdNsizeGciqCjAhryfI1F/rQPETLDF+8pDRgzVpA+wKAR01/4aFU+IXzugnQ9LqOb5YyCRuR1OVZiQ==",
798
- "path": "nuget.configuration/6.9.1",
799
- "hashPath": "nuget.configuration.6.9.1.nupkg.sha512"
875
+ "sha512": "sha512-xZ37J58DQAkVUX29qoMwla26iBYRScdcfSGNe1FIZjCX1tpafN9n7TinrkRxaJqYzW0D8Ob8a3eRSYhwEUauCA==",
876
+ "path": "nuget.frameworks/6.14.0",
877
+ "hashPath": "nuget.frameworks.6.14.0.nupkg.sha512"
800
878
  },
801
- "NuGet.Frameworks/6.9.1": {
879
+ "NuGet.Packaging/6.14.0": {
802
880
  "type": "package",
803
881
  "serviceable": true,
804
- "sha512": "sha512-DaKh3lenPUvzGccPkbI97BIvA27z+/UsL3ankfoZlX/4vBVDK5N1sheFTQ+GuJf+IgSzsJz/A21SPUpQLHwUtA==",
805
- "path": "nuget.frameworks/6.9.1",
806
- "hashPath": "nuget.frameworks.6.9.1.nupkg.sha512"
882
+ "sha512": "sha512-BpQlGpkuAhrh6x00mGvwK13a5c30vX3FYQbWI11LIyXl/nWmoOQSZrB3yEAh9ihibeGo8SunWZBGXvkkJUxbEg==",
883
+ "path": "nuget.packaging/6.14.0",
884
+ "hashPath": "nuget.packaging.6.14.0.nupkg.sha512"
885
+ },
886
+ "NuGet.Protocol/6.14.0": {
887
+ "type": "package",
888
+ "serviceable": true,
889
+ "sha512": "sha512-hYk9j/ZKErdiK0tFaqsrRtT5q+sJ2VjCUrgFCQG2wGhAlmb8YaBzYLOGDvRdFwuvTi5I+KRuVHPqhc010Np1Bg==",
890
+ "path": "nuget.protocol/6.14.0",
891
+ "hashPath": "nuget.protocol.6.14.0.nupkg.sha512"
892
+ },
893
+ "NuGet.Versioning/6.14.0": {
894
+ "type": "package",
895
+ "serviceable": true,
896
+ "sha512": "sha512-4v4blkhCv8mpKtfx+z0G/X0daVCzdIaHSC51GkUspugi5JIMn2Bo8xm5PdZYF0U68gOBfz/+aPWMnpRd85Jbow==",
897
+ "path": "nuget.versioning/6.14.0",
898
+ "hashPath": "nuget.versioning.6.14.0.nupkg.sha512"
807
899
  },
808
900
  "SauceControl.InheritDoc/1.2.0": {
809
901
  "type": "package",
@@ -903,6 +995,13 @@
903
995
  "path": "system.diagnostics.eventlog/8.0.0",
904
996
  "hashPath": "system.diagnostics.eventlog.8.0.0.nupkg.sha512"
905
997
  },
998
+ "System.Formats.Asn1/6.0.0": {
999
+ "type": "package",
1000
+ "serviceable": true,
1001
+ "sha512": "sha512-T6fD00dQ3NTbPDy31m4eQUwKW84s03z0N2C8HpOklyeaDgaJPa/TexP4/SkORMSOwc7WhKifnA6Ya33AkzmafA==",
1002
+ "path": "system.formats.asn1/6.0.0",
1003
+ "hashPath": "system.formats.asn1.6.0.0.nupkg.sha512"
1004
+ },
906
1005
  "System.IO.Pipelines/7.0.0": {
907
1006
  "type": "package",
908
1007
  "serviceable": true,
@@ -938,6 +1037,13 @@
938
1037
  "path": "system.runtime.compilerservices.unsafe/6.0.0",
939
1038
  "hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512"
940
1039
  },
1040
+ "System.Security.Cryptography.Pkcs/6.0.4": {
1041
+ "type": "package",
1042
+ "serviceable": true,
1043
+ "sha512": "sha512-LGbXi1oUJ9QgCNGXRO9ndzBL/GZgANcsURpMhNR8uO+rca47SZmciS3RSQUvlQRwK3QHZSHNOXzoMUASKA+Anw==",
1044
+ "path": "system.security.cryptography.pkcs/6.0.4",
1045
+ "hashPath": "system.security.cryptography.pkcs.6.0.4.nupkg.sha512"
1046
+ },
941
1047
  "System.Security.Cryptography.ProtectedData/8.0.0": {
942
1048
  "type": "package",
943
1049
  "serviceable": true,
@@ -35,6 +35,11 @@
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>
38
43
  <member name="T:Azure.Generator.Management.ManagementOutputLibrary">
39
44
  <inheritdoc/>
40
45
  </member>
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.20250519.2",
3
+ "version": "1.0.0-alpha.20250522.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,7 +37,7 @@
37
37
  "dist/**"
38
38
  ],
39
39
  "dependencies": {
40
- "@azure-typespec/http-client-csharp": "1.0.0-alpha.20250515.2"
40
+ "@azure-typespec/http-client-csharp": "1.0.0-alpha.20250522.1"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@azure-tools/azure-http-specs": "0.1.0-alpha.17",