@azure/arm-templatespecs 1.0.0-alpha.20211112.1 → 2.0.1-alpha.20211216.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.
Files changed (93) hide show
  1. package/CHANGELOG.md +10 -10
  2. package/README.md +7 -3
  3. package/dist/index.js +34 -55
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/{index.d.ts → src/index.d.ts} +0 -1
  8. package/dist-esm/src/index.d.ts.map +1 -0
  9. package/dist-esm/{index.js → src/index.js} +0 -1
  10. package/dist-esm/src/index.js.map +1 -0
  11. package/dist-esm/{models → src/models}/index.d.ts +18 -18
  12. package/dist-esm/src/models/index.d.ts.map +1 -0
  13. package/dist-esm/{models → src/models}/index.js +0 -0
  14. package/dist-esm/src/models/index.js.map +1 -0
  15. package/dist-esm/{models → src/models}/mappers.d.ts +1 -1
  16. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  17. package/dist-esm/{models → src/models}/mappers.js +29 -29
  18. package/dist-esm/src/models/mappers.js.map +1 -0
  19. package/dist-esm/{models → src/models}/parameters.d.ts +0 -0
  20. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  21. package/dist-esm/{models → src/models}/parameters.js +0 -0
  22. package/dist-esm/src/models/parameters.js.map +1 -0
  23. package/dist-esm/{operations → src/operations}/index.d.ts +0 -0
  24. package/dist-esm/src/operations/index.d.ts.map +1 -0
  25. package/dist-esm/{operations → src/operations}/index.js +0 -0
  26. package/dist-esm/src/operations/index.js.map +1 -0
  27. package/dist-esm/{operations → src/operations}/templateSpecVersions.d.ts +2 -3
  28. package/dist-esm/src/operations/templateSpecVersions.d.ts.map +1 -0
  29. package/dist-esm/{operations → src/operations}/templateSpecVersions.js +0 -1
  30. package/dist-esm/src/operations/templateSpecVersions.js.map +1 -0
  31. package/dist-esm/{operations → src/operations}/templateSpecs.d.ts +2 -3
  32. package/dist-esm/src/operations/templateSpecs.d.ts.map +1 -0
  33. package/dist-esm/{operations → src/operations}/templateSpecs.js +0 -1
  34. package/dist-esm/src/operations/templateSpecs.js.map +1 -0
  35. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/index.d.ts +0 -0
  36. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  37. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/index.js +0 -0
  38. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  39. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/templateSpecVersions.d.ts +0 -1
  40. package/dist-esm/src/operationsInterfaces/templateSpecVersions.d.ts.map +1 -0
  41. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/templateSpecVersions.js +1 -1
  42. package/dist-esm/src/operationsInterfaces/templateSpecVersions.js.map +1 -0
  43. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/templateSpecs.d.ts +0 -1
  44. package/dist-esm/src/operationsInterfaces/templateSpecs.d.ts.map +1 -0
  45. package/dist-esm/{operationsInterfaces → src/operationsInterfaces}/templateSpecs.js +1 -1
  46. package/dist-esm/src/operationsInterfaces/templateSpecs.js.map +1 -0
  47. package/dist-esm/{templateSpecsClient.d.ts → src/templateSpecsClient.d.ts} +5 -2
  48. package/dist-esm/src/templateSpecsClient.d.ts.map +1 -0
  49. package/dist-esm/{templateSpecsClientContext.js → src/templateSpecsClient.js} +7 -4
  50. package/dist-esm/src/templateSpecsClient.js.map +1 -0
  51. package/dist-esm/test/sampleTest.d.ts +2 -0
  52. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  53. package/dist-esm/test/sampleTest.js +40 -0
  54. package/dist-esm/test/sampleTest.js.map +1 -0
  55. package/package.json +16 -13
  56. package/review/arm-templatespecs.api.md +5 -11
  57. package/src/index.ts +0 -1
  58. package/src/models/index.ts +19 -19
  59. package/src/models/mappers.ts +30 -30
  60. package/src/operations/templateSpecVersions.ts +3 -4
  61. package/src/operations/templateSpecs.ts +3 -4
  62. package/src/operationsInterfaces/templateSpecVersions.ts +0 -1
  63. package/src/operationsInterfaces/templateSpecs.ts +0 -1
  64. package/src/templateSpecsClient.ts +46 -3
  65. package/tsconfig.json +1 -1
  66. package/types/arm-templatespecs.d.ts +4 -14
  67. package/dist-esm/index.d.ts.map +0 -1
  68. package/dist-esm/index.js.map +0 -1
  69. package/dist-esm/models/index.d.ts.map +0 -1
  70. package/dist-esm/models/index.js.map +0 -1
  71. package/dist-esm/models/mappers.d.ts.map +0 -1
  72. package/dist-esm/models/mappers.js.map +0 -1
  73. package/dist-esm/models/parameters.d.ts.map +0 -1
  74. package/dist-esm/models/parameters.js.map +0 -1
  75. package/dist-esm/operations/index.d.ts.map +0 -1
  76. package/dist-esm/operations/index.js.map +0 -1
  77. package/dist-esm/operations/templateSpecVersions.d.ts.map +0 -1
  78. package/dist-esm/operations/templateSpecVersions.js.map +0 -1
  79. package/dist-esm/operations/templateSpecs.d.ts.map +0 -1
  80. package/dist-esm/operations/templateSpecs.js.map +0 -1
  81. package/dist-esm/operationsInterfaces/index.d.ts.map +0 -1
  82. package/dist-esm/operationsInterfaces/index.js.map +0 -1
  83. package/dist-esm/operationsInterfaces/templateSpecVersions.d.ts.map +0 -1
  84. package/dist-esm/operationsInterfaces/templateSpecVersions.js.map +0 -1
  85. package/dist-esm/operationsInterfaces/templateSpecs.d.ts.map +0 -1
  86. package/dist-esm/operationsInterfaces/templateSpecs.js.map +0 -1
  87. package/dist-esm/templateSpecsClient.d.ts.map +0 -1
  88. package/dist-esm/templateSpecsClient.js +0 -23
  89. package/dist-esm/templateSpecsClient.js.map +0 -1
  90. package/dist-esm/templateSpecsClientContext.d.ts +0 -16
  91. package/dist-esm/templateSpecsClientContext.d.ts.map +0 -1
  92. package/dist-esm/templateSpecsClientContext.js.map +0 -1
  93. package/src/templateSpecsClientContext.ts +0 -70
package/CHANGELOG.md CHANGED
@@ -1,15 +1,15 @@
1
- ## 1.0.0-beta.1 (2021-08-25)
1
+ # Release History
2
2
 
3
- This is the first preview for the new version of the `@azure/arm-templatespecs` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services.
3
+ ## 2.0.1 (Unreleased)
4
4
 
5
- While this package remains auto generated, the SDK generator itself has undergone changes to comply with the above guidelines in order to generate packages that are idiomatic to the JavaScript/TypeScript ecosystem and consistent with other packages for Azure services. For more on this, please see [State of the Azure SDK 2021](https://devblogs.microsoft.com/azure-sdk/state-of-the-azure-sdk-2021/).
5
+ ### Features Added
6
6
 
7
- Please note that this version has breaking changes, all of which were made after careful consideration during the authoring of the guidelines and user studies.
7
+ ### Breaking Changes
8
8
 
9
- **Noteworthy changes and features**
9
+ ### Bugs Fixed
10
10
 
11
- - Authentication: The packages `@azure/ms-rest-nodeauth` or `@azure/ms-rest-browserauth` are no longer supported. Use package [@azure/identity](https://www.npmjs.com/package/@azure/identity) instead. Select a credential from Azure Identity examples based on the authentication method of your choice.
12
- - Callbacks: Method overloads that used callbacks have been removed and the use of promises is encouraged instead.
13
- - List operations now return an iterable result that follows the `PagedAsyncIterableIterator` interface as opposed to the previous model where you had to make a new request using the link to the next page.
14
- - Long running operations i.e. the Lro related object returned by methods whose names started with `begin`, now uses `pollUntilDone` to check whether the request is finished, instead of `pollUntilFinished`. To get the final result, use the corresponding method that will have the suffix `AndWait`.
15
- - The SDK only supports ECMAScript 2015 (ES6) and beyond, all projects that referenced this SDK should be upgraded to use ES6.
11
+ ### Other Changes
12
+
13
+ ## 2.0.0 (2021-12-16)
14
+
15
+ - The package of @azure/arm-webpubsub is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/js-track2-quickstart).
package/README.md CHANGED
@@ -33,9 +33,9 @@ npm install @azure/arm-templatespecs
33
33
  To create a client object to access the Azure TemplateSpecs API, you will need the `endpoint` of your Azure TemplateSpecs resource and a `credential`. The Azure TemplateSpecs client can use Azure Active Directory credentials to authenticate.
34
34
  You can find the endpoint for your Azure TemplateSpecs resource in the [Azure Portal][azure_portal].
35
35
 
36
- #### Using an Azure Active Directory Credential
36
+ You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
37
37
 
38
- You can authenticate with Azure Active Directory using the [Azure Identity library][azure_identity]. To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
38
+ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
39
39
 
40
40
  ```bash
41
41
  npm install @azure/identity
@@ -53,6 +53,10 @@ const subscriptionId = "00000000-0000-0000-0000-000000000000";
53
53
  const client = new TemplateSpecsClient(new DefaultAzureCredential(), subscriptionId);
54
54
  ```
55
55
 
56
+
57
+ ### JavaScript Bundle
58
+ To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
59
+
56
60
  ## Key concepts
57
61
 
58
62
  ### TemplateSpecsClient
@@ -66,7 +70,7 @@ const client = new TemplateSpecsClient(new DefaultAzureCredential(), subscriptio
66
70
  Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:
67
71
 
68
72
  ```javascript
69
- import { setLogLevel } from "@azure/logger";
73
+ const { setLogLevel } = require("@azure/logger");
70
74
  setLogLevel("info");
71
75
  ```
72
76
 
package/dist/index.js CHANGED
@@ -2,9 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib = require('tslib');
6
- require('@azure/core-paging');
7
5
  var coreClient = require('@azure/core-client');
6
+ var tslib = require('tslib');
8
7
 
9
8
  /*
10
9
  * Copyright (c) Microsoft Corporation.
@@ -31,6 +30,35 @@ var coreClient = require('@azure/core-client');
31
30
  * Code generated by Microsoft (R) AutoRest Code Generator.
32
31
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
33
32
  */
33
+ const TemplateSpecVersionInfo = {
34
+ type: {
35
+ name: "Composite",
36
+ className: "TemplateSpecVersionInfo",
37
+ modelProperties: {
38
+ description: {
39
+ serializedName: "description",
40
+ readOnly: true,
41
+ type: {
42
+ name: "String"
43
+ }
44
+ },
45
+ timeCreated: {
46
+ serializedName: "timeCreated",
47
+ readOnly: true,
48
+ type: {
49
+ name: "DateTime"
50
+ }
51
+ },
52
+ timeModified: {
53
+ serializedName: "timeModified",
54
+ readOnly: true,
55
+ type: {
56
+ name: "DateTime"
57
+ }
58
+ }
59
+ }
60
+ }
61
+ };
34
62
  const AzureResourceBase = {
35
63
  type: {
36
64
  name: "Composite",
@@ -111,35 +139,6 @@ const SystemData = {
111
139
  }
112
140
  }
113
141
  };
114
- const TemplateSpecVersionInfo = {
115
- type: {
116
- name: "Composite",
117
- className: "TemplateSpecVersionInfo",
118
- modelProperties: {
119
- description: {
120
- serializedName: "description",
121
- readOnly: true,
122
- type: {
123
- name: "String"
124
- }
125
- },
126
- timeCreated: {
127
- serializedName: "timeCreated",
128
- readOnly: true,
129
- type: {
130
- name: "DateTime"
131
- }
132
- },
133
- timeModified: {
134
- serializedName: "timeModified",
135
- readOnly: true,
136
- type: {
137
- name: "DateTime"
138
- }
139
- }
140
- }
141
- }
142
- };
143
142
  const TemplateSpecsError = {
144
143
  type: {
145
144
  name: "Composite",
@@ -445,9 +444,9 @@ const TemplateSpecVersionUpdateModel = {
445
444
 
446
445
  var Mappers = /*#__PURE__*/Object.freeze({
447
446
  __proto__: null,
447
+ TemplateSpecVersionInfo: TemplateSpecVersionInfo,
448
448
  AzureResourceBase: AzureResourceBase,
449
449
  SystemData: SystemData,
450
- TemplateSpecVersionInfo: TemplateSpecVersionInfo,
451
450
  TemplateSpecsError: TemplateSpecsError,
452
451
  ErrorResponse: ErrorResponse,
453
452
  ErrorAdditionalInfo: ErrorAdditionalInfo,
@@ -1239,9 +1238,9 @@ const listNextOperationSpec = {
1239
1238
  * Code generated by Microsoft (R) AutoRest Code Generator.
1240
1239
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1241
1240
  */
1242
- class TemplateSpecsClientContext extends coreClient.ServiceClient {
1241
+ class TemplateSpecsClient extends coreClient.ServiceClient {
1243
1242
  /**
1244
- * Initializes a new instance of the TemplateSpecsClientContext class.
1243
+ * Initializes a new instance of the TemplateSpecsClient class.
1245
1244
  * @param credentials Subscription credentials which uniquely identify client subscription.
1246
1245
  * @param subscriptionId Subscription Id which forms part of the URI for every service call.
1247
1246
  * @param options The parameter options
@@ -1261,7 +1260,7 @@ class TemplateSpecsClientContext extends coreClient.ServiceClient {
1261
1260
  requestContentType: "application/json; charset=utf-8",
1262
1261
  credential: credentials
1263
1262
  };
1264
- const packageDetails = `azsdk-js-arm-templatespecs/1.0.0-beta.1`;
1263
+ const packageDetails = `azsdk-js-arm-templatespecs/2.0.0`;
1265
1264
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
1266
1265
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
1267
1266
  : `${packageDetails}`;
@@ -1277,30 +1276,10 @@ class TemplateSpecsClientContext extends coreClient.ServiceClient {
1277
1276
  // Assigning values to Constant parameters
1278
1277
  this.$host = options.$host || "https://management.azure.com";
1279
1278
  this.apiVersion = options.apiVersion || "2021-05-01";
1280
- }
1281
- }
1282
-
1283
- /*
1284
- * Copyright (c) Microsoft Corporation.
1285
- * Licensed under the MIT License.
1286
- *
1287
- * Code generated by Microsoft (R) AutoRest Code Generator.
1288
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1289
- */
1290
- class TemplateSpecsClient extends TemplateSpecsClientContext {
1291
- /**
1292
- * Initializes a new instance of the TemplateSpecsClient class.
1293
- * @param credentials Subscription credentials which uniquely identify client subscription.
1294
- * @param subscriptionId Subscription Id which forms part of the URI for every service call.
1295
- * @param options The parameter options
1296
- */
1297
- constructor(credentials, subscriptionId, options) {
1298
- super(credentials, subscriptionId, options);
1299
1279
  this.templateSpecs = new TemplateSpecsImpl(this);
1300
1280
  this.templateSpecVersions = new TemplateSpecVersionsImpl(this);
1301
1281
  }
1302
1282
  }
1303
1283
 
1304
1284
  exports.TemplateSpecsClient = TemplateSpecsClient;
1305
- exports.TemplateSpecsClientContext = TemplateSpecsClientContext;
1306
1285
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/templateSpecs.ts","../src/operations/templateSpecVersions.ts","../src/templateSpecsClientContext.ts","../src/templateSpecsClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** Common properties for all Azure resources. */\nexport interface AzureResourceBase {\n /**\n * String Id used to locate any resource on Azure.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Name of this resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Type of this resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * Azure Resource Manager metadata containing createdBy and modifiedBy information.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** High-level information about a Template Spec version. */\nexport interface TemplateSpecVersionInfo {\n /**\n * Template Spec version description.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly description?: string;\n /**\n * The timestamp of when the version was created.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly timeCreated?: Date;\n /**\n * The timestamp of when the version was last modified.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly timeModified?: Date;\n}\n\n/** Template Specs error response. */\nexport interface TemplateSpecsError {\n /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\n error?: ErrorResponse;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\nexport interface ErrorResponse {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorResponse[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** List of Template Specs. */\nexport interface TemplateSpecsListResult {\n /** An array of Template Specs. */\n value?: TemplateSpec[];\n /**\n * The URL to use for getting the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Represents a Template Spec artifact containing an embedded Azure Resource Manager template for use as a linked template. */\nexport interface LinkedTemplateArtifact {\n /** A filesystem safe relative path of the artifact. */\n path: string;\n /** The Azure Resource Manager template. */\n template: Record<string, unknown>;\n}\n\n/** List of Template Specs versions */\nexport interface TemplateSpecVersionsListResult {\n /** An array of Template Spec versions. */\n value?: TemplateSpecVersion[];\n /**\n * The URL to use for getting the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Template Spec object. */\nexport type TemplateSpec = AzureResourceBase & {\n /** The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations. */\n location: string;\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** Template Spec description. */\n description?: string;\n /** Template Spec display name. */\n displayName?: string;\n /** The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs. */\n metadata?: Record<string, unknown>;\n /**\n * High-level information about the versions within this Template Spec. The keys are the version names. Only populated if the $expand query parameter is set to 'versions'.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly versions?: { [propertyName: string]: TemplateSpecVersionInfo };\n};\n\n/** Template Spec properties to be updated (only tags are currently supported). */\nexport type TemplateSpecUpdateModel = AzureResourceBase & {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n};\n\n/** Template Spec Version object. */\nexport type TemplateSpecVersion = AzureResourceBase & {\n /** The location of the Template Spec Version. It must match the location of the parent Template Spec. */\n location: string;\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** Template Spec version description. */\n description?: string;\n /** An array of linked template artifacts. */\n linkedTemplates?: LinkedTemplateArtifact[];\n /** The version metadata. Metadata is an open-ended object and is typically a collection of key-value pairs. */\n metadata?: Record<string, unknown>;\n /** The main Azure Resource Manager template content. */\n mainTemplate?: Record<string, unknown>;\n /** The Azure Resource Manager template UI definition content. */\n uiFormDefinition?: Record<string, unknown>;\n};\n\n/** Template Spec Version properties to be updated (only tags are currently supported). */\nexport type TemplateSpecVersionUpdateModel = AzureResourceBase & {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n};\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n User = \"User\",\n Application = \"Application\",\n ManagedIdentity = \"ManagedIdentity\",\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link TemplateSpecExpandKind} that the service accepts. */\nexport enum KnownTemplateSpecExpandKind {\n /** Includes version information with the Template Spec. */\n Versions = \"versions\"\n}\n\n/**\n * Defines values for TemplateSpecExpandKind. \\\n * {@link KnownTemplateSpecExpandKind} can be used interchangeably with TemplateSpecExpandKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **versions**: Includes version information with the Template Spec.\n */\nexport type TemplateSpecExpandKind = string;\n\n/** Optional parameters. */\nexport interface TemplateSpecsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type TemplateSpecsCreateOrUpdateResponse = TemplateSpec;\n\n/** Optional parameters. */\nexport interface TemplateSpecsUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Template Spec resource with the tags to be updated. */\n templateSpec?: TemplateSpecUpdateModel;\n}\n\n/** Contains response data for the update operation. */\nexport type TemplateSpecsUpdateResponse = TemplateSpec;\n\n/** Optional parameters. */\nexport interface TemplateSpecsGetOptionalParams\n extends coreClient.OperationOptions {\n /** Allows for expansion of additional Template Spec details in the response. Optional. */\n expand?: TemplateSpecExpandKind;\n}\n\n/** Contains response data for the get operation. */\nexport type TemplateSpecsGetResponse = TemplateSpec;\n\n/** Optional parameters. */\nexport interface TemplateSpecsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface TemplateSpecsListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {\n /** Allows for expansion of additional Template Spec details in the response. Optional. */\n expand?: TemplateSpecExpandKind;\n}\n\n/** Contains response data for the listBySubscription operation. */\nexport type TemplateSpecsListBySubscriptionResponse = TemplateSpecsListResult;\n\n/** Optional parameters. */\nexport interface TemplateSpecsListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {\n /** Allows for expansion of additional Template Spec details in the response. Optional. */\n expand?: TemplateSpecExpandKind;\n}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type TemplateSpecsListByResourceGroupResponse = TemplateSpecsListResult;\n\n/** Optional parameters. */\nexport interface TemplateSpecsListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {\n /** Allows for expansion of additional Template Spec details in the response. Optional. */\n expand?: TemplateSpecExpandKind;\n}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type TemplateSpecsListBySubscriptionNextResponse = TemplateSpecsListResult;\n\n/** Optional parameters. */\nexport interface TemplateSpecsListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {\n /** Allows for expansion of additional Template Spec details in the response. Optional. */\n expand?: TemplateSpecExpandKind;\n}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type TemplateSpecsListByResourceGroupNextResponse = TemplateSpecsListResult;\n\n/** Optional parameters. */\nexport interface TemplateSpecVersionsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type TemplateSpecVersionsCreateOrUpdateResponse = TemplateSpecVersion;\n\n/** Optional parameters. */\nexport interface TemplateSpecVersionsUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Template Spec Version resource with the tags to be updated. */\n templateSpecVersionUpdateModel?: TemplateSpecVersionUpdateModel;\n}\n\n/** Contains response data for the update operation. */\nexport type TemplateSpecVersionsUpdateResponse = TemplateSpecVersion;\n\n/** Optional parameters. */\nexport interface TemplateSpecVersionsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type TemplateSpecVersionsGetResponse = TemplateSpecVersion;\n\n/** Optional parameters. */\nexport interface TemplateSpecVersionsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface TemplateSpecVersionsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type TemplateSpecVersionsListResponse = TemplateSpecVersionsListResult;\n\n/** Optional parameters. */\nexport interface TemplateSpecVersionsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type TemplateSpecVersionsListNextResponse = TemplateSpecVersionsListResult;\n\n/** Optional parameters. */\nexport interface TemplateSpecsClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const AzureResourceBase: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureResourceBase\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const TemplateSpecVersionInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecVersionInfo\",\n modelProperties: {\n description: {\n serializedName: \"description\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n timeCreated: {\n serializedName: \"timeCreated\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n timeModified: {\n serializedName: \"timeModified\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const TemplateSpecsError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecsError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const TemplateSpecsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecsListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TemplateSpec\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const LinkedTemplateArtifact: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LinkedTemplateArtifact\",\n modelProperties: {\n path: {\n serializedName: \"path\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n template: {\n serializedName: \"template\",\n required: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const TemplateSpecVersionsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecVersionsListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecVersion\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TemplateSpec: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpec\",\n modelProperties: {\n ...AzureResourceBase.type.modelProperties,\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n description: {\n constraints: {\n MaxLength: 4096\n },\n serializedName: \"properties.description\",\n type: {\n name: \"String\"\n }\n },\n displayName: {\n constraints: {\n MaxLength: 64\n },\n serializedName: \"properties.displayName\",\n type: {\n name: \"String\"\n }\n },\n metadata: {\n serializedName: \"properties.metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n versions: {\n serializedName: \"properties.versions\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Composite\", className: \"TemplateSpecVersionInfo\" }\n }\n }\n }\n }\n }\n};\n\nexport const TemplateSpecUpdateModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecUpdateModel\",\n modelProperties: {\n ...AzureResourceBase.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const TemplateSpecVersion: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecVersion\",\n modelProperties: {\n ...AzureResourceBase.type.modelProperties,\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n description: {\n constraints: {\n MaxLength: 4096\n },\n serializedName: \"properties.description\",\n type: {\n name: \"String\"\n }\n },\n linkedTemplates: {\n serializedName: \"properties.linkedTemplates\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"LinkedTemplateArtifact\"\n }\n }\n }\n },\n metadata: {\n serializedName: \"properties.metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n mainTemplate: {\n serializedName: \"properties.mainTemplate\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n uiFormDefinition: {\n serializedName: \"properties.uiFormDefinition\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const TemplateSpecVersionUpdateModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecVersionUpdateModel\",\n modelProperties: {\n ...AzureResourceBase.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n TemplateSpec as TemplateSpecMapper,\n TemplateSpecUpdateModel as TemplateSpecUpdateModelMapper,\n TemplateSpecVersion as TemplateSpecVersionMapper,\n TemplateSpecVersionUpdateModel as TemplateSpecVersionUpdateModelMapper\n} from \"../models/mappers\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const templateSpec: OperationParameter = {\n parameterPath: \"templateSpec\",\n mapper: TemplateSpecMapper\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const templateSpecName: OperationURLParameter = {\n parameterPath: \"templateSpecName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"templateSpecName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-05-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const templateSpec1: OperationParameter = {\n parameterPath: [\"options\", \"templateSpec\"],\n mapper: TemplateSpecUpdateModelMapper\n};\n\nexport const expand: OperationQueryParameter = {\n parameterPath: [\"options\", \"expand\"],\n mapper: {\n serializedName: \"$expand\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const templateSpecVersionModel: OperationParameter = {\n parameterPath: \"templateSpecVersionModel\",\n mapper: TemplateSpecVersionMapper\n};\n\nexport const templateSpecVersion: OperationURLParameter = {\n parameterPath: \"templateSpecVersion\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"templateSpecVersion\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const templateSpecVersionUpdateModel: OperationParameter = {\n parameterPath: [\"options\", \"templateSpecVersionUpdateModel\"],\n mapper: TemplateSpecVersionUpdateModelMapper\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport \"@azure/core-paging\";\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { TemplateSpecs } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { TemplateSpecsClientContext } from \"../templateSpecsClientContext\";\nimport {\n TemplateSpec,\n TemplateSpecsListBySubscriptionNextOptionalParams,\n TemplateSpecsListBySubscriptionOptionalParams,\n TemplateSpecsListByResourceGroupNextOptionalParams,\n TemplateSpecsListByResourceGroupOptionalParams,\n TemplateSpecsCreateOrUpdateOptionalParams,\n TemplateSpecsCreateOrUpdateResponse,\n TemplateSpecsUpdateOptionalParams,\n TemplateSpecsUpdateResponse,\n TemplateSpecsGetOptionalParams,\n TemplateSpecsGetResponse,\n TemplateSpecsDeleteOptionalParams,\n TemplateSpecsListBySubscriptionResponse,\n TemplateSpecsListByResourceGroupResponse,\n TemplateSpecsListBySubscriptionNextResponse,\n TemplateSpecsListByResourceGroupNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing TemplateSpecs operations. */\nexport class TemplateSpecsImpl implements TemplateSpecs {\n private readonly client: TemplateSpecsClientContext;\n\n /**\n * Initialize a new instance of the class TemplateSpecs class.\n * @param client Reference to the service client\n */\n constructor(client: TemplateSpecsClientContext) {\n this.client = client;\n }\n\n /**\n * Lists all the Template Specs within the specified subscriptions.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: TemplateSpecsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<TemplateSpec> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listBySubscriptionPagingPage(options);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: TemplateSpecsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<TemplateSpec[]> {\n let result = await this._listBySubscription(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: TemplateSpecsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<TemplateSpec> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all the Template Specs within the specified resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: TemplateSpecsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<TemplateSpec> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listByResourceGroupPagingPage(resourceGroupName, options);\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: TemplateSpecsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<TemplateSpec[]> {\n let result = await this._listByResourceGroup(resourceGroupName, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: TemplateSpecsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<TemplateSpec> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates a Template Spec.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param templateSpec Template Spec supplied to the operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n templateSpecName: string,\n templateSpec: TemplateSpec,\n options?: TemplateSpecsCreateOrUpdateOptionalParams\n ): Promise<TemplateSpecsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, templateSpec, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Updates Template Spec tags with specified values.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n templateSpecName: string,\n options?: TemplateSpecsUpdateOptionalParams\n ): Promise<TemplateSpecsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, options },\n updateOperationSpec\n );\n }\n\n /**\n * Gets a Template Spec with a given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n templateSpecName: string,\n options?: TemplateSpecsGetOptionalParams\n ): Promise<TemplateSpecsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes a Template Spec by name. When operation completes, status code 200 returned without content.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n templateSpecName: string,\n options?: TemplateSpecsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Lists all the Template Specs within the specified subscriptions.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: TemplateSpecsListBySubscriptionOptionalParams\n ): Promise<TemplateSpecsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Lists all the Template Specs within the specified resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: TemplateSpecsListByResourceGroupOptionalParams\n ): Promise<TemplateSpecsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: TemplateSpecsListBySubscriptionNextOptionalParams\n ): Promise<TemplateSpecsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: TemplateSpecsListByResourceGroupNextOptionalParams\n ): Promise<TemplateSpecsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpec\n },\n 201: {\n bodyMapper: Mappers.TemplateSpec\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n requestBody: Parameters.templateSpec,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpec\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n requestBody: Parameters.templateSpec1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpec\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/templateSpecs/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecsListResult\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecsListResult\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecsListResult\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecsListResult\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport \"@azure/core-paging\";\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { TemplateSpecVersions } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { TemplateSpecsClientContext } from \"../templateSpecsClientContext\";\nimport {\n TemplateSpecVersion,\n TemplateSpecVersionsListNextOptionalParams,\n TemplateSpecVersionsListOptionalParams,\n TemplateSpecVersionsCreateOrUpdateOptionalParams,\n TemplateSpecVersionsCreateOrUpdateResponse,\n TemplateSpecVersionsUpdateOptionalParams,\n TemplateSpecVersionsUpdateResponse,\n TemplateSpecVersionsGetOptionalParams,\n TemplateSpecVersionsGetResponse,\n TemplateSpecVersionsDeleteOptionalParams,\n TemplateSpecVersionsListResponse,\n TemplateSpecVersionsListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing TemplateSpecVersions operations. */\nexport class TemplateSpecVersionsImpl implements TemplateSpecVersions {\n private readonly client: TemplateSpecsClientContext;\n\n /**\n * Initialize a new instance of the class TemplateSpecVersions class.\n * @param client Reference to the service client\n */\n constructor(client: TemplateSpecsClientContext) {\n this.client = client;\n }\n\n /**\n * Lists all the Template Spec versions in the specified Template Spec.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n templateSpecName: string,\n options?: TemplateSpecVersionsListOptionalParams\n ): PagedAsyncIterableIterator<TemplateSpecVersion> {\n const iter = this.listPagingAll(\n resourceGroupName,\n templateSpecName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(\n resourceGroupName,\n templateSpecName,\n options\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n templateSpecName: string,\n options?: TemplateSpecVersionsListOptionalParams\n ): AsyncIterableIterator<TemplateSpecVersion[]> {\n let result = await this._list(resourceGroupName, templateSpecName, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n templateSpecName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n templateSpecName: string,\n options?: TemplateSpecVersionsListOptionalParams\n ): AsyncIterableIterator<TemplateSpecVersion> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n templateSpecName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates a Template Spec version.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param templateSpecVersion The version of the Template Spec.\n * @param templateSpecVersionModel Template Spec Version supplied to the operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n templateSpecName: string,\n templateSpecVersion: string,\n templateSpecVersionModel: TemplateSpecVersion,\n options?: TemplateSpecVersionsCreateOrUpdateOptionalParams\n ): Promise<TemplateSpecVersionsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n templateSpecName,\n templateSpecVersion,\n templateSpecVersionModel,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Updates Template Spec Version tags with specified values.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param templateSpecVersion The version of the Template Spec.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n templateSpecName: string,\n templateSpecVersion: string,\n options?: TemplateSpecVersionsUpdateOptionalParams\n ): Promise<TemplateSpecVersionsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, templateSpecVersion, options },\n updateOperationSpec\n );\n }\n\n /**\n * Gets a Template Spec version from a specific Template Spec.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param templateSpecVersion The version of the Template Spec.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n templateSpecName: string,\n templateSpecVersion: string,\n options?: TemplateSpecVersionsGetOptionalParams\n ): Promise<TemplateSpecVersionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, templateSpecVersion, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes a specific version from a Template Spec. When operation completes, status code 200 returned\n * without content.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param templateSpecVersion The version of the Template Spec.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n templateSpecName: string,\n templateSpecVersion: string,\n options?: TemplateSpecVersionsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, templateSpecVersion, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Lists all the Template Spec versions in the specified Template Spec.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n templateSpecName: string,\n options?: TemplateSpecVersionsListOptionalParams\n ): Promise<TemplateSpecVersionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, options },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n templateSpecName: string,\n nextLink: string,\n options?: TemplateSpecVersionsListNextOptionalParams\n ): Promise<TemplateSpecVersionsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecVersion\n },\n 201: {\n bodyMapper: Mappers.TemplateSpecVersion\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n requestBody: Parameters.templateSpecVersionModel,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName,\n Parameters.templateSpecVersion\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecVersion\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n requestBody: Parameters.templateSpecVersionUpdateModel,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName,\n Parameters.templateSpecVersion\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecVersion\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName,\n Parameters.templateSpecVersion\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName,\n Parameters.templateSpecVersion\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecVersionsListResult\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecVersionsListResult\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { TemplateSpecsClientOptionalParams } from \"./models\";\n\nexport class TemplateSpecsClientContext extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the TemplateSpecsClientContext class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Subscription Id which forms part of the URI for every service call.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: TemplateSpecsClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: TemplateSpecsClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-templatespecs/1.0.0-beta.1`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://management.azure.com/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-05-01\";\n }\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreAuth from \"@azure/core-auth\";\nimport { TemplateSpecsImpl, TemplateSpecVersionsImpl } from \"./operations\";\nimport { TemplateSpecs, TemplateSpecVersions } from \"./operationsInterfaces\";\nimport { TemplateSpecsClientContext } from \"./templateSpecsClientContext\";\nimport { TemplateSpecsClientOptionalParams } from \"./models\";\n\nexport class TemplateSpecsClient extends TemplateSpecsClientContext {\n /**\n * Initializes a new instance of the TemplateSpecsClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Subscription Id which forms part of the URI for every service call.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: TemplateSpecsClientOptionalParams\n ) {\n super(credentials, subscriptionId, options);\n this.templateSpecs = new TemplateSpecsImpl(this);\n this.templateSpecVersions = new TemplateSpecVersionsImpl(this);\n }\n\n templateSpecs: TemplateSpecs;\n templateSpecVersions: TemplateSpecVersions;\n}\n"],"names":["KnownCreatedByType","KnownTemplateSpecExpandKind","TemplateSpecMapper","TemplateSpecUpdateModelMapper","TemplateSpecVersionMapper","TemplateSpecVersionUpdateModelMapper","__asyncValues","__asyncDelegator","coreClient.createSerializer","Mappers.TemplateSpec","Mappers.TemplateSpecsError","Parameters.templateSpec","Parameters.apiVersion","Parameters.$host","Parameters.subscriptionId","Parameters.resourceGroupName","Parameters.templateSpecName","Parameters.contentType","Parameters.accept","Parameters.templateSpec1","Parameters.expand","Mappers.TemplateSpecsListResult","Parameters.nextLink","createOrUpdateOperationSpec","updateOperationSpec","getOperationSpec","deleteOperationSpec","serializer","Mappers.TemplateSpecVersion","Parameters.templateSpecVersionModel","Parameters.templateSpecVersion","Parameters.templateSpecVersionUpdateModel","Mappers.TemplateSpecVersionsListResult","coreClient.ServiceClient"],"mappings":";;;;;;;;AAAA;;;;;;;AAsMA,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,iDAA2B,CAAA;IAC3B,yDAAmC,CAAA;IACnC,iCAAW,CAAA;AACb,CAAC,EALWA,0BAAkB,KAAlBA,0BAAkB,QAK7B;AAeD,WAAY,2BAA2B;;IAErC,oDAAqB,CAAA;AACvB,CAAC,EAHWC,mCAA2B,KAA3BA,mCAA2B;;AC1NvC;;;;;;;AAUA,AAAO,MAAM,iBAAiB,GAA+B;IAC3D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,mBAAmB;Q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C,KAAK,CAAC,WAAW,EAAE,cAAc,EAAE,OAAO,CAAC,CAAC;QAC5C,IAAI,CAAC,aAAa,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,CAAC,oBAAoB,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,CAAC;KAChE;CAIF;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/templateSpecs.ts","../src/operations/templateSpecVersions.ts","../src/templateSpecsClient.ts"],"sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\n/** High-level information about a Template Spec version. */\nexport interface TemplateSpecVersionInfo {\n /**\n * Template Spec version description.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly description?: string;\n /**\n * The timestamp of when the version was created.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly timeCreated?: Date;\n /**\n * The timestamp of when the version was last modified.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly timeModified?: Date;\n}\n\n/** Common properties for all Azure resources. */\nexport interface AzureResourceBase {\n /**\n * String Id used to locate any resource on Azure.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly id?: string;\n /**\n * Name of this resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly name?: string;\n /**\n * Type of this resource.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * Azure Resource Manager metadata containing createdBy and modifiedBy information.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly systemData?: SystemData;\n}\n\n/** Metadata pertaining to creation and last modification of the resource. */\nexport interface SystemData {\n /** The identity that created the resource. */\n createdBy?: string;\n /** The type of identity that created the resource. */\n createdByType?: CreatedByType;\n /** The timestamp of resource creation (UTC). */\n createdAt?: Date;\n /** The identity that last modified the resource. */\n lastModifiedBy?: string;\n /** The type of identity that last modified the resource. */\n lastModifiedByType?: CreatedByType;\n /** The timestamp of resource last modification (UTC) */\n lastModifiedAt?: Date;\n}\n\n/** Template Specs error response. */\nexport interface TemplateSpecsError {\n /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\n error?: ErrorResponse;\n}\n\n/** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) */\nexport interface ErrorResponse {\n /**\n * The error code.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly code?: string;\n /**\n * The error message.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly message?: string;\n /**\n * The error target.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly target?: string;\n /**\n * The error details.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly details?: ErrorResponse[];\n /**\n * The error additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly additionalInfo?: ErrorAdditionalInfo[];\n}\n\n/** The resource management error additional info. */\nexport interface ErrorAdditionalInfo {\n /**\n * The additional info type.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly type?: string;\n /**\n * The additional info.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly info?: Record<string, unknown>;\n}\n\n/** List of Template Specs. */\nexport interface TemplateSpecsListResult {\n /** An array of Template Specs. */\n value?: TemplateSpec[];\n /**\n * The URL to use for getting the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Represents a Template Spec artifact containing an embedded Azure Resource Manager template for use as a linked template. */\nexport interface LinkedTemplateArtifact {\n /** A filesystem safe relative path of the artifact. */\n path: string;\n /** The Azure Resource Manager template. */\n template: Record<string, unknown>;\n}\n\n/** List of Template Specs versions */\nexport interface TemplateSpecVersionsListResult {\n /** An array of Template Spec versions. */\n value?: TemplateSpecVersion[];\n /**\n * The URL to use for getting the next set of results.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly nextLink?: string;\n}\n\n/** Template Spec object. */\nexport type TemplateSpec = AzureResourceBase & {\n /** The location of the Template Spec. It cannot be changed after Template Spec creation. It must be one of the supported Azure locations. */\n location: string;\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** Template Spec description. */\n description?: string;\n /** Template Spec display name. */\n displayName?: string;\n /** The Template Spec metadata. Metadata is an open-ended object and is typically a collection of key-value pairs. */\n metadata?: Record<string, unknown>;\n /**\n * High-level information about the versions within this Template Spec. The keys are the version names. Only populated if the $expand query parameter is set to 'versions'.\n * NOTE: This property will not be serialized. It can only be populated by the server.\n */\n readonly versions?: { [propertyName: string]: TemplateSpecVersionInfo };\n};\n\n/** Template Spec properties to be updated (only tags are currently supported). */\nexport type TemplateSpecUpdateModel = AzureResourceBase & {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n};\n\n/** Template Spec Version object. */\nexport type TemplateSpecVersion = AzureResourceBase & {\n /** The location of the Template Spec Version. It must match the location of the parent Template Spec. */\n location: string;\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n /** Template Spec version description. */\n description?: string;\n /** An array of linked template artifacts. */\n linkedTemplates?: LinkedTemplateArtifact[];\n /** The version metadata. Metadata is an open-ended object and is typically a collection of key-value pairs. */\n metadata?: Record<string, unknown>;\n /** The main Azure Resource Manager template content. */\n mainTemplate?: Record<string, unknown>;\n /** The Azure Resource Manager template UI definition content. */\n uiFormDefinition?: Record<string, unknown>;\n};\n\n/** Template Spec Version properties to be updated (only tags are currently supported). */\nexport type TemplateSpecVersionUpdateModel = AzureResourceBase & {\n /** Resource tags. */\n tags?: { [propertyName: string]: string };\n};\n\n/** Known values of {@link CreatedByType} that the service accepts. */\nexport enum KnownCreatedByType {\n User = \"User\",\n Application = \"Application\",\n ManagedIdentity = \"ManagedIdentity\",\n Key = \"Key\"\n}\n\n/**\n * Defines values for CreatedByType. \\\n * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **User** \\\n * **Application** \\\n * **ManagedIdentity** \\\n * **Key**\n */\nexport type CreatedByType = string;\n\n/** Known values of {@link TemplateSpecExpandKind} that the service accepts. */\nexport enum KnownTemplateSpecExpandKind {\n /** Includes version information with the Template Spec. */\n Versions = \"versions\"\n}\n\n/**\n * Defines values for TemplateSpecExpandKind. \\\n * {@link KnownTemplateSpecExpandKind} can be used interchangeably with TemplateSpecExpandKind,\n * this enum contains the known values that the service supports.\n * ### Known values supported by the service\n * **versions**: Includes version information with the Template Spec.\n */\nexport type TemplateSpecExpandKind = string;\n\n/** Optional parameters. */\nexport interface TemplateSpecsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type TemplateSpecsCreateOrUpdateResponse = TemplateSpec;\n\n/** Optional parameters. */\nexport interface TemplateSpecsUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Template Spec resource with the tags to be updated. */\n templateSpec?: TemplateSpecUpdateModel;\n}\n\n/** Contains response data for the update operation. */\nexport type TemplateSpecsUpdateResponse = TemplateSpec;\n\n/** Optional parameters. */\nexport interface TemplateSpecsGetOptionalParams\n extends coreClient.OperationOptions {\n /** Allows for expansion of additional Template Spec details in the response. Optional. */\n expand?: TemplateSpecExpandKind;\n}\n\n/** Contains response data for the get operation. */\nexport type TemplateSpecsGetResponse = TemplateSpec;\n\n/** Optional parameters. */\nexport interface TemplateSpecsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface TemplateSpecsListBySubscriptionOptionalParams\n extends coreClient.OperationOptions {\n /** Allows for expansion of additional Template Spec details in the response. Optional. */\n expand?: TemplateSpecExpandKind;\n}\n\n/** Contains response data for the listBySubscription operation. */\nexport type TemplateSpecsListBySubscriptionResponse = TemplateSpecsListResult;\n\n/** Optional parameters. */\nexport interface TemplateSpecsListByResourceGroupOptionalParams\n extends coreClient.OperationOptions {\n /** Allows for expansion of additional Template Spec details in the response. Optional. */\n expand?: TemplateSpecExpandKind;\n}\n\n/** Contains response data for the listByResourceGroup operation. */\nexport type TemplateSpecsListByResourceGroupResponse = TemplateSpecsListResult;\n\n/** Optional parameters. */\nexport interface TemplateSpecsListBySubscriptionNextOptionalParams\n extends coreClient.OperationOptions {\n /** Allows for expansion of additional Template Spec details in the response. Optional. */\n expand?: TemplateSpecExpandKind;\n}\n\n/** Contains response data for the listBySubscriptionNext operation. */\nexport type TemplateSpecsListBySubscriptionNextResponse = TemplateSpecsListResult;\n\n/** Optional parameters. */\nexport interface TemplateSpecsListByResourceGroupNextOptionalParams\n extends coreClient.OperationOptions {\n /** Allows for expansion of additional Template Spec details in the response. Optional. */\n expand?: TemplateSpecExpandKind;\n}\n\n/** Contains response data for the listByResourceGroupNext operation. */\nexport type TemplateSpecsListByResourceGroupNextResponse = TemplateSpecsListResult;\n\n/** Optional parameters. */\nexport interface TemplateSpecVersionsCreateOrUpdateOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the createOrUpdate operation. */\nexport type TemplateSpecVersionsCreateOrUpdateResponse = TemplateSpecVersion;\n\n/** Optional parameters. */\nexport interface TemplateSpecVersionsUpdateOptionalParams\n extends coreClient.OperationOptions {\n /** Template Spec Version resource with the tags to be updated. */\n templateSpecVersionUpdateModel?: TemplateSpecVersionUpdateModel;\n}\n\n/** Contains response data for the update operation. */\nexport type TemplateSpecVersionsUpdateResponse = TemplateSpecVersion;\n\n/** Optional parameters. */\nexport interface TemplateSpecVersionsGetOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the get operation. */\nexport type TemplateSpecVersionsGetResponse = TemplateSpecVersion;\n\n/** Optional parameters. */\nexport interface TemplateSpecVersionsDeleteOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Optional parameters. */\nexport interface TemplateSpecVersionsListOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the list operation. */\nexport type TemplateSpecVersionsListResponse = TemplateSpecVersionsListResult;\n\n/** Optional parameters. */\nexport interface TemplateSpecVersionsListNextOptionalParams\n extends coreClient.OperationOptions {}\n\n/** Contains response data for the listNext operation. */\nexport type TemplateSpecVersionsListNextResponse = TemplateSpecVersionsListResult;\n\n/** Optional parameters. */\nexport interface TemplateSpecsClientOptionalParams\n extends coreClient.ServiceClientOptions {\n /** server parameter */\n $host?: string;\n /** Api Version */\n apiVersion?: string;\n /** Overrides client endpoint. */\n endpoint?: string;\n}\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const TemplateSpecVersionInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecVersionInfo\",\n modelProperties: {\n description: {\n serializedName: \"description\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n timeCreated: {\n serializedName: \"timeCreated\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n },\n timeModified: {\n serializedName: \"timeModified\",\n readOnly: true,\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const AzureResourceBase: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AzureResourceBase\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n name: {\n serializedName: \"name\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n systemData: {\n serializedName: \"systemData\",\n type: {\n name: \"Composite\",\n className: \"SystemData\"\n }\n }\n }\n }\n};\n\nexport const SystemData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"SystemData\",\n modelProperties: {\n createdBy: {\n serializedName: \"createdBy\",\n type: {\n name: \"String\"\n }\n },\n createdByType: {\n serializedName: \"createdByType\",\n type: {\n name: \"String\"\n }\n },\n createdAt: {\n serializedName: \"createdAt\",\n type: {\n name: \"DateTime\"\n }\n },\n lastModifiedBy: {\n serializedName: \"lastModifiedBy\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedByType: {\n serializedName: \"lastModifiedByType\",\n type: {\n name: \"String\"\n }\n },\n lastModifiedAt: {\n serializedName: \"lastModifiedAt\",\n type: {\n name: \"DateTime\"\n }\n }\n }\n }\n};\n\nexport const TemplateSpecsError: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecsError\",\n modelProperties: {\n error: {\n serializedName: \"error\",\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\"\n }\n }\n }\n }\n};\n\nexport const ErrorResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\",\n modelProperties: {\n code: {\n serializedName: \"code\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n message: {\n serializedName: \"message\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n target: {\n serializedName: \"target\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n details: {\n serializedName: \"details\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorResponse\"\n }\n }\n }\n },\n additionalInfo: {\n serializedName: \"additionalInfo\",\n readOnly: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\"\n }\n }\n }\n }\n }\n }\n};\n\nexport const ErrorAdditionalInfo: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"ErrorAdditionalInfo\",\n modelProperties: {\n type: {\n serializedName: \"type\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n },\n info: {\n serializedName: \"info\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const TemplateSpecsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecsListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TemplateSpec\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const LinkedTemplateArtifact: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"LinkedTemplateArtifact\",\n modelProperties: {\n path: {\n serializedName: \"path\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n template: {\n serializedName: \"template\",\n required: true,\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const TemplateSpecVersionsListResult: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecVersionsListResult\",\n modelProperties: {\n value: {\n serializedName: \"value\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecVersion\"\n }\n }\n }\n },\n nextLink: {\n serializedName: \"nextLink\",\n readOnly: true,\n type: {\n name: \"String\"\n }\n }\n }\n }\n};\n\nexport const TemplateSpec: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpec\",\n modelProperties: {\n ...AzureResourceBase.type.modelProperties,\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n description: {\n constraints: {\n MaxLength: 4096\n },\n serializedName: \"properties.description\",\n type: {\n name: \"String\"\n }\n },\n displayName: {\n constraints: {\n MaxLength: 64\n },\n serializedName: \"properties.displayName\",\n type: {\n name: \"String\"\n }\n },\n metadata: {\n serializedName: \"properties.metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n versions: {\n serializedName: \"properties.versions\",\n readOnly: true,\n type: {\n name: \"Dictionary\",\n value: {\n type: { name: \"Composite\", className: \"TemplateSpecVersionInfo\" }\n }\n }\n }\n }\n }\n};\n\nexport const TemplateSpecUpdateModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecUpdateModel\",\n modelProperties: {\n ...AzureResourceBase.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n\nexport const TemplateSpecVersion: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecVersion\",\n modelProperties: {\n ...AzureResourceBase.type.modelProperties,\n location: {\n serializedName: \"location\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n },\n description: {\n constraints: {\n MaxLength: 4096\n },\n serializedName: \"properties.description\",\n type: {\n name: \"String\"\n }\n },\n linkedTemplates: {\n serializedName: \"properties.linkedTemplates\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"LinkedTemplateArtifact\"\n }\n }\n }\n },\n metadata: {\n serializedName: \"properties.metadata\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n mainTemplate: {\n serializedName: \"properties.mainTemplate\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n },\n uiFormDefinition: {\n serializedName: \"properties.uiFormDefinition\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"any\" } }\n }\n }\n }\n }\n};\n\nexport const TemplateSpecVersionUpdateModel: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TemplateSpecVersionUpdateModel\",\n modelProperties: {\n ...AzureResourceBase.type.modelProperties,\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } }\n }\n }\n }\n }\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport {\n OperationParameter,\n OperationURLParameter,\n OperationQueryParameter\n} from \"@azure/core-client\";\nimport {\n TemplateSpec as TemplateSpecMapper,\n TemplateSpecUpdateModel as TemplateSpecUpdateModelMapper,\n TemplateSpecVersion as TemplateSpecVersionMapper,\n TemplateSpecVersionUpdateModel as TemplateSpecVersionUpdateModelMapper\n} from \"../models/mappers\";\n\nexport const contentType: OperationParameter = {\n parameterPath: [\"options\", \"contentType\"],\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Content-Type\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const templateSpec: OperationParameter = {\n parameterPath: \"templateSpec\",\n mapper: TemplateSpecMapper\n};\n\nexport const accept: OperationParameter = {\n parameterPath: \"accept\",\n mapper: {\n defaultValue: \"application/json\",\n isConstant: true,\n serializedName: \"Accept\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const $host: OperationURLParameter = {\n parameterPath: \"$host\",\n mapper: {\n serializedName: \"$host\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const subscriptionId: OperationURLParameter = {\n parameterPath: \"subscriptionId\",\n mapper: {\n serializedName: \"subscriptionId\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const resourceGroupName: OperationURLParameter = {\n parameterPath: \"resourceGroupName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"resourceGroupName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const templateSpecName: OperationURLParameter = {\n parameterPath: \"templateSpecName\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"templateSpecName\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const apiVersion: OperationQueryParameter = {\n parameterPath: \"apiVersion\",\n mapper: {\n defaultValue: \"2021-05-01\",\n isConstant: true,\n serializedName: \"api-version\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const templateSpec1: OperationParameter = {\n parameterPath: [\"options\", \"templateSpec\"],\n mapper: TemplateSpecUpdateModelMapper\n};\n\nexport const expand: OperationQueryParameter = {\n parameterPath: [\"options\", \"expand\"],\n mapper: {\n serializedName: \"$expand\",\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const nextLink: OperationURLParameter = {\n parameterPath: \"nextLink\",\n mapper: {\n serializedName: \"nextLink\",\n required: true,\n type: {\n name: \"String\"\n }\n },\n skipEncoding: true\n};\n\nexport const templateSpecVersionModel: OperationParameter = {\n parameterPath: \"templateSpecVersionModel\",\n mapper: TemplateSpecVersionMapper\n};\n\nexport const templateSpecVersion: OperationURLParameter = {\n parameterPath: \"templateSpecVersion\",\n mapper: {\n constraints: {\n Pattern: new RegExp(\"^[-\\\\w\\\\._\\\\(\\\\)]+$\"),\n MaxLength: 90,\n MinLength: 1\n },\n serializedName: \"templateSpecVersion\",\n required: true,\n type: {\n name: \"String\"\n }\n }\n};\n\nexport const templateSpecVersionUpdateModel: OperationParameter = {\n parameterPath: [\"options\", \"templateSpecVersionUpdateModel\"],\n mapper: TemplateSpecVersionUpdateModelMapper\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { TemplateSpecs } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { TemplateSpecsClient } from \"../templateSpecsClient\";\nimport {\n TemplateSpec,\n TemplateSpecsListBySubscriptionNextOptionalParams,\n TemplateSpecsListBySubscriptionOptionalParams,\n TemplateSpecsListByResourceGroupNextOptionalParams,\n TemplateSpecsListByResourceGroupOptionalParams,\n TemplateSpecsCreateOrUpdateOptionalParams,\n TemplateSpecsCreateOrUpdateResponse,\n TemplateSpecsUpdateOptionalParams,\n TemplateSpecsUpdateResponse,\n TemplateSpecsGetOptionalParams,\n TemplateSpecsGetResponse,\n TemplateSpecsDeleteOptionalParams,\n TemplateSpecsListBySubscriptionResponse,\n TemplateSpecsListByResourceGroupResponse,\n TemplateSpecsListBySubscriptionNextResponse,\n TemplateSpecsListByResourceGroupNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing TemplateSpecs operations. */\nexport class TemplateSpecsImpl implements TemplateSpecs {\n private readonly client: TemplateSpecsClient;\n\n /**\n * Initialize a new instance of the class TemplateSpecs class.\n * @param client Reference to the service client\n */\n constructor(client: TemplateSpecsClient) {\n this.client = client;\n }\n\n /**\n * Lists all the Template Specs within the specified subscriptions.\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: TemplateSpecsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<TemplateSpec> {\n const iter = this.listBySubscriptionPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listBySubscriptionPagingPage(options);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: TemplateSpecsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<TemplateSpec[]> {\n let result = await this._listBySubscription(options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: TemplateSpecsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<TemplateSpec> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Lists all the Template Specs within the specified resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: TemplateSpecsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<TemplateSpec> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listByResourceGroupPagingPage(resourceGroupName, options);\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: TemplateSpecsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<TemplateSpec[]> {\n let result = await this._listByResourceGroup(resourceGroupName, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n resourceGroupName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listByResourceGroupPagingAll(\n resourceGroupName: string,\n options?: TemplateSpecsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<TemplateSpec> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates a Template Spec.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param templateSpec Template Spec supplied to the operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n templateSpecName: string,\n templateSpec: TemplateSpec,\n options?: TemplateSpecsCreateOrUpdateOptionalParams\n ): Promise<TemplateSpecsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, templateSpec, options },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Updates Template Spec tags with specified values.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n templateSpecName: string,\n options?: TemplateSpecsUpdateOptionalParams\n ): Promise<TemplateSpecsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, options },\n updateOperationSpec\n );\n }\n\n /**\n * Gets a Template Spec with a given name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n templateSpecName: string,\n options?: TemplateSpecsGetOptionalParams\n ): Promise<TemplateSpecsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes a Template Spec by name. When operation completes, status code 200 returned without content.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n templateSpecName: string,\n options?: TemplateSpecsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Lists all the Template Specs within the specified subscriptions.\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: TemplateSpecsListBySubscriptionOptionalParams\n ): Promise<TemplateSpecsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Lists all the Template Specs within the specified resource group.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: TemplateSpecsListByResourceGroupOptionalParams\n ): Promise<TemplateSpecsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: TemplateSpecsListBySubscriptionNextOptionalParams\n ): Promise<TemplateSpecsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n resourceGroupName: string,\n nextLink: string,\n options?: TemplateSpecsListByResourceGroupNextOptionalParams\n ): Promise<TemplateSpecsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpec\n },\n 201: {\n bodyMapper: Mappers.TemplateSpec\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n requestBody: Parameters.templateSpec,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpec\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n requestBody: Parameters.templateSpec1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpec\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/templateSpecs/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecsListResult\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecsListResult\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecsListResult\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecsListResult\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.expand],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator } from \"@azure/core-paging\";\nimport { TemplateSpecVersions } from \"../operationsInterfaces\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers\";\nimport * as Parameters from \"../models/parameters\";\nimport { TemplateSpecsClient } from \"../templateSpecsClient\";\nimport {\n TemplateSpecVersion,\n TemplateSpecVersionsListNextOptionalParams,\n TemplateSpecVersionsListOptionalParams,\n TemplateSpecVersionsCreateOrUpdateOptionalParams,\n TemplateSpecVersionsCreateOrUpdateResponse,\n TemplateSpecVersionsUpdateOptionalParams,\n TemplateSpecVersionsUpdateResponse,\n TemplateSpecVersionsGetOptionalParams,\n TemplateSpecVersionsGetResponse,\n TemplateSpecVersionsDeleteOptionalParams,\n TemplateSpecVersionsListResponse,\n TemplateSpecVersionsListNextResponse\n} from \"../models\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing TemplateSpecVersions operations. */\nexport class TemplateSpecVersionsImpl implements TemplateSpecVersions {\n private readonly client: TemplateSpecsClient;\n\n /**\n * Initialize a new instance of the class TemplateSpecVersions class.\n * @param client Reference to the service client\n */\n constructor(client: TemplateSpecsClient) {\n this.client = client;\n }\n\n /**\n * Lists all the Template Spec versions in the specified Template Spec.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n templateSpecName: string,\n options?: TemplateSpecVersionsListOptionalParams\n ): PagedAsyncIterableIterator<TemplateSpecVersion> {\n const iter = this.listPagingAll(\n resourceGroupName,\n templateSpecName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: () => {\n return this.listPagingPage(\n resourceGroupName,\n templateSpecName,\n options\n );\n }\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n templateSpecName: string,\n options?: TemplateSpecVersionsListOptionalParams\n ): AsyncIterableIterator<TemplateSpecVersion[]> {\n let result = await this._list(resourceGroupName, templateSpecName, options);\n yield result.value || [];\n let continuationToken = result.nextLink;\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n templateSpecName,\n continuationToken,\n options\n );\n continuationToken = result.nextLink;\n yield result.value || [];\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n templateSpecName: string,\n options?: TemplateSpecVersionsListOptionalParams\n ): AsyncIterableIterator<TemplateSpecVersion> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n templateSpecName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Creates or updates a Template Spec version.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param templateSpecVersion The version of the Template Spec.\n * @param templateSpecVersionModel Template Spec Version supplied to the operation.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n templateSpecName: string,\n templateSpecVersion: string,\n templateSpecVersionModel: TemplateSpecVersion,\n options?: TemplateSpecVersionsCreateOrUpdateOptionalParams\n ): Promise<TemplateSpecVersionsCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n templateSpecName,\n templateSpecVersion,\n templateSpecVersionModel,\n options\n },\n createOrUpdateOperationSpec\n );\n }\n\n /**\n * Updates Template Spec Version tags with specified values.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param templateSpecVersion The version of the Template Spec.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n templateSpecName: string,\n templateSpecVersion: string,\n options?: TemplateSpecVersionsUpdateOptionalParams\n ): Promise<TemplateSpecVersionsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, templateSpecVersion, options },\n updateOperationSpec\n );\n }\n\n /**\n * Gets a Template Spec version from a specific Template Spec.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param templateSpecVersion The version of the Template Spec.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n templateSpecName: string,\n templateSpecVersion: string,\n options?: TemplateSpecVersionsGetOptionalParams\n ): Promise<TemplateSpecVersionsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, templateSpecVersion, options },\n getOperationSpec\n );\n }\n\n /**\n * Deletes a specific version from a Template Spec. When operation completes, status code 200 returned\n * without content.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param templateSpecVersion The version of the Template Spec.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n templateSpecName: string,\n templateSpecVersion: string,\n options?: TemplateSpecVersionsDeleteOptionalParams\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, templateSpecVersion, options },\n deleteOperationSpec\n );\n }\n\n /**\n * Lists all the Template Spec versions in the specified Template Spec.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n templateSpecName: string,\n options?: TemplateSpecVersionsListOptionalParams\n ): Promise<TemplateSpecVersionsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, options },\n listOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param templateSpecName Name of the Template Spec.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n templateSpecName: string,\n nextLink: string,\n options?: TemplateSpecVersionsListNextOptionalParams\n ): Promise<TemplateSpecVersionsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, templateSpecName, nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecVersion\n },\n 201: {\n bodyMapper: Mappers.TemplateSpecVersion\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n requestBody: Parameters.templateSpecVersionModel,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName,\n Parameters.templateSpecVersion\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecVersion\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n requestBody: Parameters.templateSpecVersionUpdateModel,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName,\n Parameters.templateSpecVersion\n ],\n headerParameters: [Parameters.contentType, Parameters.accept],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecVersion\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName,\n Parameters.templateSpecVersion\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName,\n Parameters.templateSpecVersion\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecVersionsListResult\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TemplateSpecVersionsListResult\n },\n default: {\n bodyMapper: Mappers.TemplateSpecsError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.templateSpecName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n","/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\nimport * as coreAuth from \"@azure/core-auth\";\nimport { TemplateSpecsImpl, TemplateSpecVersionsImpl } from \"./operations\";\nimport { TemplateSpecs, TemplateSpecVersions } from \"./operationsInterfaces\";\nimport { TemplateSpecsClientOptionalParams } from \"./models\";\n\nexport class TemplateSpecsClient extends coreClient.ServiceClient {\n $host: string;\n subscriptionId: string;\n apiVersion: string;\n\n /**\n * Initializes a new instance of the TemplateSpecsClient class.\n * @param credentials Subscription credentials which uniquely identify client subscription.\n * @param subscriptionId Subscription Id which forms part of the URI for every service call.\n * @param options The parameter options\n */\n constructor(\n credentials: coreAuth.TokenCredential,\n subscriptionId: string,\n options?: TemplateSpecsClientOptionalParams\n ) {\n if (credentials === undefined) {\n throw new Error(\"'credentials' cannot be null\");\n }\n if (subscriptionId === undefined) {\n throw new Error(\"'subscriptionId' cannot be null\");\n }\n\n // Initializing default values for options\n if (!options) {\n options = {};\n }\n const defaults: TemplateSpecsClientOptionalParams = {\n requestContentType: \"application/json; charset=utf-8\",\n credential: credentials\n };\n\n const packageDetails = `azsdk-js-arm-templatespecs/2.0.0`;\n const userAgentPrefix =\n options.userAgentOptions && options.userAgentOptions.userAgentPrefix\n ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`\n : `${packageDetails}`;\n\n if (!options.credentialScopes) {\n options.credentialScopes = [\"https://management.azure.com/.default\"];\n }\n const optionsWithDefaults = {\n ...defaults,\n ...options,\n userAgentOptions: {\n userAgentPrefix\n },\n baseUri: options.endpoint || \"https://management.azure.com\"\n };\n super(optionsWithDefaults);\n // Parameter assignments\n this.subscriptionId = subscriptionId;\n\n // Assigning values to Constant parameters\n this.$host = options.$host || \"https://management.azure.com\";\n this.apiVersion = options.apiVersion || \"2021-05-01\";\n this.templateSpecs = new TemplateSpecsImpl(this);\n this.templateSpecVersions = new TemplateSpecVersionsImpl(this);\n }\n\n templateSpecs: TemplateSpecs;\n templateSpecVersions: TemplateSpecVersions;\n}\n"],"names":["KnownCreatedByType","KnownTemplateSpecExpandKind","TemplateSpecMapper","TemplateSpecUpdateModelMapper","TemplateSpecVersionMapper","TemplateSpecVersionUpdateModelMapper","__asyncValues","__asyncDelegator","coreClient.createSerializer","Mappers.TemplateSpec","Mappers.TemplateSpecsError","Parameters.templateSpec","Parameters.apiVersion","Parameters.$host","Parameters.subscriptionId","Parameters.resourceGroupName","Parameters.templateSpecName","Parameters.contentType","Parameters.accept","Parameters.templateSpec1","Parameters.expand","Mappers.TemplateSpecsListResult","Parameters.nextLink","createOrUpdateOperationSpec","updateOperationSpec","getOperationSpec","deleteOperationSpec","serializer","Mappers.TemplateSpecVersion","Parameters.templateSpecVersionModel","Parameters.templateSpecVersion","Parameters.templateSpecVersionUpdateModel","Mappers.TemplateSpecVersionsListResult","coreClient.ServiceClient"],"mappings":";;;;;;;AAAA;;;;;;;AAsMA,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,iDAA2B,CAAA;IAC3B,yDAAmC,CAAA;IACnC,iCAAW,CAAA;AACb,CAAC,EALWA,0BAAkB,KAAlBA,0BAAkB,QAK7B;AAeD,WAAY,2BAA2B;;IAErC,oDAAqB,CAAA;AACvB,CAAC,EAHWC,mCAA2B,KAA3BA,mCAA2B;;AC1NvC;;;;;;;AAUA,AAAO,MAAM,uBAAuB,GAA+B;IACjE,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,yBAAyB;QACpC,eAAe,EAAE;YACf,WAAW,EAAE;gBACX,cAAc,EAAE,aAAa;gBAC7B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,WAAW,EAAE;gBACX,cAAc,EAAE,aAAa;gBAC7B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;iBACjB;aACF;YACD,YAAY,EAAE;gBACZ,cAAc,EAAE,cAAc;gBAC9B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;iBACjB;aACF;SACF;KACF;CACF,CAAC;AAEF,AAAO,MAAM,iBAAiB,GAA+B;IAC3D,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,mBAAmB;QAC9B,eAAe,EAAE;YACf,EAAE,EAAE;gBACF,cAAc,EAAE,IAAI;gBACpB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,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