@azure/arm-templatespecs 2.0.1-alpha.20211221.1 → 2.0.1-alpha.20220201.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5,6 +5,26 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var coreClient = require('@azure/core-client');
6
6
  var tslib = require('tslib');
7
7
 
8
+ function _interopNamespace(e) {
9
+ if (e && e.__esModule) return e;
10
+ var n = Object.create(null);
11
+ if (e) {
12
+ Object.keys(e).forEach(function (k) {
13
+ if (k !== 'default') {
14
+ var d = Object.getOwnPropertyDescriptor(e, k);
15
+ Object.defineProperty(n, k, d.get ? d : {
16
+ enumerable: true,
17
+ get: function () { return e[k]; }
18
+ });
19
+ }
20
+ });
21
+ }
22
+ n["default"] = e;
23
+ return Object.freeze(n);
24
+ }
25
+
26
+ var coreClient__namespace = /*#__PURE__*/_interopNamespace(coreClient);
27
+
8
28
  /*
9
29
  * Copyright (c) Microsoft Corporation.
10
30
  * Licensed under the MIT License.
@@ -12,12 +32,16 @@ var tslib = require('tslib');
12
32
  * Code generated by Microsoft (R) AutoRest Code Generator.
13
33
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
14
34
  */
35
+ /** Known values of {@link CreatedByType} that the service accepts. */
36
+ exports.KnownCreatedByType = void 0;
15
37
  (function (KnownCreatedByType) {
16
38
  KnownCreatedByType["User"] = "User";
17
39
  KnownCreatedByType["Application"] = "Application";
18
40
  KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
19
41
  KnownCreatedByType["Key"] = "Key";
20
42
  })(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
43
+ /** Known values of {@link TemplateSpecExpandKind} that the service accepts. */
44
+ exports.KnownTemplateSpecExpandKind = void 0;
21
45
  (function (KnownTemplateSpecExpandKind) {
22
46
  /** Includes version information with the Template Spec. */
23
47
  KnownTemplateSpecExpandKind["Versions"] = "versions";
@@ -724,7 +748,7 @@ class TemplateSpecsImpl {
724
748
  * @param options The options parameters.
725
749
  */
726
750
  createOrUpdate(resourceGroupName, templateSpecName, templateSpec, options) {
727
- return this.client.sendOperationRequest({ resourceGroupName, templateSpecName, templateSpec, options }, createOrUpdateOperationSpec);
751
+ return this.client.sendOperationRequest({ resourceGroupName, templateSpecName, templateSpec, options }, createOrUpdateOperationSpec$1);
728
752
  }
729
753
  /**
730
754
  * Updates Template Spec tags with specified values.
@@ -733,7 +757,7 @@ class TemplateSpecsImpl {
733
757
  * @param options The options parameters.
734
758
  */
735
759
  update(resourceGroupName, templateSpecName, options) {
736
- return this.client.sendOperationRequest({ resourceGroupName, templateSpecName, options }, updateOperationSpec);
760
+ return this.client.sendOperationRequest({ resourceGroupName, templateSpecName, options }, updateOperationSpec$1);
737
761
  }
738
762
  /**
739
763
  * Gets a Template Spec with a given name.
@@ -742,7 +766,7 @@ class TemplateSpecsImpl {
742
766
  * @param options The options parameters.
743
767
  */
744
768
  get(resourceGroupName, templateSpecName, options) {
745
- return this.client.sendOperationRequest({ resourceGroupName, templateSpecName, options }, getOperationSpec);
769
+ return this.client.sendOperationRequest({ resourceGroupName, templateSpecName, options }, getOperationSpec$1);
746
770
  }
747
771
  /**
748
772
  * Deletes a Template Spec by name. When operation completes, status code 200 returned without content.
@@ -751,7 +775,7 @@ class TemplateSpecsImpl {
751
775
  * @param options The options parameters.
752
776
  */
753
777
  delete(resourceGroupName, templateSpecName, options) {
754
- return this.client.sendOperationRequest({ resourceGroupName, templateSpecName, options }, deleteOperationSpec);
778
+ return this.client.sendOperationRequest({ resourceGroupName, templateSpecName, options }, deleteOperationSpec$1);
755
779
  }
756
780
  /**
757
781
  * Lists all the Template Specs within the specified subscriptions.
@@ -787,8 +811,8 @@ class TemplateSpecsImpl {
787
811
  }
788
812
  }
789
813
  // Operation Specifications
790
- const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
791
- const createOrUpdateOperationSpec = {
814
+ const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
815
+ const createOrUpdateOperationSpec$1 = {
792
816
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",
793
817
  httpMethod: "PUT",
794
818
  responses: {
@@ -812,9 +836,9 @@ const createOrUpdateOperationSpec = {
812
836
  ],
813
837
  headerParameters: [contentType, accept],
814
838
  mediaType: "json",
815
- serializer
839
+ serializer: serializer$1
816
840
  };
817
- const updateOperationSpec = {
841
+ const updateOperationSpec$1 = {
818
842
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",
819
843
  httpMethod: "PATCH",
820
844
  responses: {
@@ -835,9 +859,9 @@ const updateOperationSpec = {
835
859
  ],
836
860
  headerParameters: [contentType, accept],
837
861
  mediaType: "json",
838
- serializer
862
+ serializer: serializer$1
839
863
  };
840
- const getOperationSpec = {
864
+ const getOperationSpec$1 = {
841
865
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",
842
866
  httpMethod: "GET",
843
867
  responses: {
@@ -856,9 +880,9 @@ const getOperationSpec = {
856
880
  templateSpecName
857
881
  ],
858
882
  headerParameters: [accept],
859
- serializer
883
+ serializer: serializer$1
860
884
  };
861
- const deleteOperationSpec = {
885
+ const deleteOperationSpec$1 = {
862
886
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",
863
887
  httpMethod: "DELETE",
864
888
  responses: {
@@ -876,7 +900,7 @@ const deleteOperationSpec = {
876
900
  templateSpecName
877
901
  ],
878
902
  headerParameters: [accept],
879
- serializer
903
+ serializer: serializer$1
880
904
  };
881
905
  const listBySubscriptionOperationSpec = {
882
906
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/templateSpecs/",
@@ -892,7 +916,7 @@ const listBySubscriptionOperationSpec = {
892
916
  queryParameters: [apiVersion, expand],
893
917
  urlParameters: [$host, subscriptionId],
894
918
  headerParameters: [accept],
895
- serializer
919
+ serializer: serializer$1
896
920
  };
897
921
  const listByResourceGroupOperationSpec = {
898
922
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/",
@@ -912,7 +936,7 @@ const listByResourceGroupOperationSpec = {
912
936
  resourceGroupName
913
937
  ],
914
938
  headerParameters: [accept],
915
- serializer
939
+ serializer: serializer$1
916
940
  };
917
941
  const listBySubscriptionNextOperationSpec = {
918
942
  path: "{nextLink}",
@@ -932,7 +956,7 @@ const listBySubscriptionNextOperationSpec = {
932
956
  nextLink
933
957
  ],
934
958
  headerParameters: [accept],
935
- serializer
959
+ serializer: serializer$1
936
960
  };
937
961
  const listByResourceGroupNextOperationSpec = {
938
962
  path: "{nextLink}",
@@ -953,7 +977,7 @@ const listByResourceGroupNextOperationSpec = {
953
977
  nextLink
954
978
  ],
955
979
  headerParameters: [accept],
956
- serializer
980
+ serializer: serializer$1
957
981
  };
958
982
 
959
983
  /*
@@ -1038,7 +1062,7 @@ class TemplateSpecVersionsImpl {
1038
1062
  templateSpecVersion,
1039
1063
  templateSpecVersionModel,
1040
1064
  options
1041
- }, createOrUpdateOperationSpec$1);
1065
+ }, createOrUpdateOperationSpec);
1042
1066
  }
1043
1067
  /**
1044
1068
  * Updates Template Spec Version tags with specified values.
@@ -1048,7 +1072,7 @@ class TemplateSpecVersionsImpl {
1048
1072
  * @param options The options parameters.
1049
1073
  */
1050
1074
  update(resourceGroupName, templateSpecName, templateSpecVersion, options) {
1051
- return this.client.sendOperationRequest({ resourceGroupName, templateSpecName, templateSpecVersion, options }, updateOperationSpec$1);
1075
+ return this.client.sendOperationRequest({ resourceGroupName, templateSpecName, templateSpecVersion, options }, updateOperationSpec);
1052
1076
  }
1053
1077
  /**
1054
1078
  * Gets a Template Spec version from a specific Template Spec.
@@ -1058,7 +1082,7 @@ class TemplateSpecVersionsImpl {
1058
1082
  * @param options The options parameters.
1059
1083
  */
1060
1084
  get(resourceGroupName, templateSpecName, templateSpecVersion, options) {
1061
- return this.client.sendOperationRequest({ resourceGroupName, templateSpecName, templateSpecVersion, options }, getOperationSpec$1);
1085
+ return this.client.sendOperationRequest({ resourceGroupName, templateSpecName, templateSpecVersion, options }, getOperationSpec);
1062
1086
  }
1063
1087
  /**
1064
1088
  * Deletes a specific version from a Template Spec. When operation completes, status code 200 returned
@@ -1069,7 +1093,7 @@ class TemplateSpecVersionsImpl {
1069
1093
  * @param options The options parameters.
1070
1094
  */
1071
1095
  delete(resourceGroupName, templateSpecName, templateSpecVersion, options) {
1072
- return this.client.sendOperationRequest({ resourceGroupName, templateSpecName, templateSpecVersion, options }, deleteOperationSpec$1);
1096
+ return this.client.sendOperationRequest({ resourceGroupName, templateSpecName, templateSpecVersion, options }, deleteOperationSpec);
1073
1097
  }
1074
1098
  /**
1075
1099
  * Lists all the Template Spec versions in the specified Template Spec.
@@ -1092,8 +1116,8 @@ class TemplateSpecVersionsImpl {
1092
1116
  }
1093
1117
  }
1094
1118
  // Operation Specifications
1095
- const serializer$1 = coreClient.createSerializer(Mappers, /* isXml */ false);
1096
- const createOrUpdateOperationSpec$1 = {
1119
+ const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
1120
+ const createOrUpdateOperationSpec = {
1097
1121
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",
1098
1122
  httpMethod: "PUT",
1099
1123
  responses: {
@@ -1118,9 +1142,9 @@ const createOrUpdateOperationSpec$1 = {
1118
1142
  ],
1119
1143
  headerParameters: [contentType, accept],
1120
1144
  mediaType: "json",
1121
- serializer: serializer$1
1145
+ serializer
1122
1146
  };
1123
- const updateOperationSpec$1 = {
1147
+ const updateOperationSpec = {
1124
1148
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",
1125
1149
  httpMethod: "PATCH",
1126
1150
  responses: {
@@ -1142,9 +1166,9 @@ const updateOperationSpec$1 = {
1142
1166
  ],
1143
1167
  headerParameters: [contentType, accept],
1144
1168
  mediaType: "json",
1145
- serializer: serializer$1
1169
+ serializer
1146
1170
  };
1147
- const getOperationSpec$1 = {
1171
+ const getOperationSpec = {
1148
1172
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",
1149
1173
  httpMethod: "GET",
1150
1174
  responses: {
@@ -1164,9 +1188,9 @@ const getOperationSpec$1 = {
1164
1188
  templateSpecVersion
1165
1189
  ],
1166
1190
  headerParameters: [accept],
1167
- serializer: serializer$1
1191
+ serializer
1168
1192
  };
1169
- const deleteOperationSpec$1 = {
1193
+ const deleteOperationSpec = {
1170
1194
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",
1171
1195
  httpMethod: "DELETE",
1172
1196
  responses: {
@@ -1185,7 +1209,7 @@ const deleteOperationSpec$1 = {
1185
1209
  templateSpecVersion
1186
1210
  ],
1187
1211
  headerParameters: [accept],
1188
- serializer: serializer$1
1212
+ serializer
1189
1213
  };
1190
1214
  const listOperationSpec = {
1191
1215
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions",
@@ -1206,7 +1230,7 @@ const listOperationSpec = {
1206
1230
  templateSpecName
1207
1231
  ],
1208
1232
  headerParameters: [accept],
1209
- serializer: serializer$1
1233
+ serializer
1210
1234
  };
1211
1235
  const listNextOperationSpec = {
1212
1236
  path: "{nextLink}",
@@ -1228,7 +1252,7 @@ const listNextOperationSpec = {
1228
1252
  nextLink
1229
1253
  ],
1230
1254
  headerParameters: [accept],
1231
- serializer: serializer$1
1255
+ serializer
1232
1256
  };
1233
1257
 
1234
1258
  /*
@@ -1238,7 +1262,7 @@ const listNextOperationSpec = {
1238
1262
  * Code generated by Microsoft (R) AutoRest Code Generator.
1239
1263
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
1240
1264
  */
1241
- class TemplateSpecsClient extends coreClient.ServiceClient {
1265
+ class TemplateSpecsClient extends coreClient__namespace.ServiceClient {
1242
1266
  /**
1243
1267
  * Initializes a new instance of the TemplateSpecsClient class.
1244
1268
  * @param credentials Subscription credentials which uniquely identify client subscription.
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/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;g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G,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;cAC/D,GAAG,cAAc,EAAE,CAAC;QAE1B,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;YAC7B,OAAO,CAAC,gBAAgB,GAAG,CAAC,uCAAuC,CAAC,CAAC;SACtE;QACD,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,8BAA8B,GAC5D,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;;QAE3B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;;QAGrC,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;QACrD,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","createOrUpdateOperationSpec","updateOperationSpec","getOperationSpec","deleteOperationSpec","serializer","coreClient","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","Mappers.TemplateSpecVersion","Parameters.templateSpecVersionModel","Parameters.templateSpecVersion","Parameters.templateSpecVersionUpdateModel","Mappers.TemplateSpecVersionsListResult"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;AAqMA;AACYA;AAAZ,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,iDAA2B,CAAA;IAC3B,yDAAmC,CAAA;IACnC,iCAAW,CAAA;AACb,CAAC,EALWA,0BAAkB,KAAlBA,0BAAkB,QAK7B;AAcD;AACYC;AAAZ,WAAY,2BAA2B;;IAErC,oDAAqB,CAAA;AACvB,CAAC,EAHWA,mCAA2B,KAA3BA,mCAA2B;;AC1NvC;;;;;;;AAUO,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;gBA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D,kBAAkB,EAAE,iCAAiC;YACrD,UAAU,EAAE,WAAW;SACxB,CAAC;QAEF,MAAM,cAAc,GAAG,kCAAkC,CAAC;QAC1D,MAAM,eAAe,GACnB,OAAO,CAAC,gBAAgB,IAAI,OAAO,CAAC,gBAAgB,CAAC,eAAe;cAChE,GAAG,OAAO,CAAC,gBAAgB,CAAC,eAAe,IAAI,cAAc,EAAE;cAC/D,GAAG,cAAc,EAAE,CAAC;QAE1B,IAAI,CAAC,OAAO,CAAC,gBAAgB,EAAE;YAC7B,OAAO,CAAC,gBAAgB,GAAG,CAAC,uCAAuC,CAAC,CAAC;SACtE;QACD,MAAM,mBAAmB,iDACpB,QAAQ,GACR,OAAO,KACV,gBAAgB,EAAE;gBAChB,eAAe;aAChB,EACD,OAAO,EAAE,OAAO,CAAC,QAAQ,IAAI,8BAA8B,GAC5D,CAAC;QACF,KAAK,CAAC,mBAAmB,CAAC,CAAC;;QAE3B,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;;QAGrC,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,IAAI,8BAA8B,CAAC;QAC7D,IAAI,CAAC,UAAU,GAAG,OAAO,CAAC,UAAU,IAAI,YAAY,CAAC;QACrD,IAAI,CAAC,aAAa,GAAG,IAAI,iBAAiB,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,CAAC,oBAAoB,GAAG,IAAI,wBAAwB,CAAC,IAAI,CAAC,CAAC;KAChE;;;;;"}
package/dist/index.min.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),tslib=require("tslib");!function(e){e.User="User",e.Application="Application",e.ManagedIdentity="ManagedIdentity",e.Key="Key"}(exports.KnownCreatedByType||(exports.KnownCreatedByType={})),(exports.KnownTemplateSpecExpandKind||(exports.KnownTemplateSpecExpandKind={})).Versions="versions";const TemplateSpecVersionInfo={type:{name:"Composite",className:"TemplateSpecVersionInfo",modelProperties:{description:{serializedName:"description",readOnly:!0,type:{name:"String"}},timeCreated:{serializedName:"timeCreated",readOnly:!0,type:{name:"DateTime"}},timeModified:{serializedName:"timeModified",readOnly:!0,type:{name:"DateTime"}}}}},AzureResourceBase={type:{name:"Composite",className:"AzureResourceBase",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}}}},SystemData={type:{name:"Composite",className:"SystemData",modelProperties:{createdBy:{serializedName:"createdBy",type:{name:"String"}},createdByType:{serializedName:"createdByType",type:{name:"String"}},createdAt:{serializedName:"createdAt",type:{name:"DateTime"}},lastModifiedBy:{serializedName:"lastModifiedBy",type:{name:"String"}},lastModifiedByType:{serializedName:"lastModifiedByType",type:{name:"String"}},lastModifiedAt:{serializedName:"lastModifiedAt",type:{name:"DateTime"}}}}},TemplateSpecsError={type:{name:"Composite",className:"TemplateSpecsError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorResponse"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},target:{serializedName:"target",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorResponse"}}}},additionalInfo:{serializedName:"additionalInfo",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorAdditionalInfo"}}}}}}},ErrorAdditionalInfo={type:{name:"Composite",className:"ErrorAdditionalInfo",modelProperties:{type:{serializedName:"type",readOnly:!0,type:{name:"String"}},info:{serializedName:"info",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},TemplateSpecsListResult={type:{name:"Composite",className:"TemplateSpecsListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"TemplateSpec"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},LinkedTemplateArtifact={type:{name:"Composite",className:"LinkedTemplateArtifact",modelProperties:{path:{serializedName:"path",required:!0,type:{name:"String"}},template:{serializedName:"template",required:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},TemplateSpecVersionsListResult={type:{name:"Composite",className:"TemplateSpecVersionsListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"TemplateSpecVersion"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},TemplateSpec={type:{name:"Composite",className:"TemplateSpec",modelProperties:Object.assign(Object.assign({},AzureResourceBase.type.modelProperties),{location:{serializedName:"location",required:!0,type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},description:{constraints:{MaxLength:4096},serializedName:"properties.description",type:{name:"String"}},displayName:{constraints:{MaxLength:64},serializedName:"properties.displayName",type:{name:"String"}},metadata:{serializedName:"properties.metadata",type:{name:"Dictionary",value:{type:{name:"any"}}}},versions:{serializedName:"properties.versions",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"Composite",className:"TemplateSpecVersionInfo"}}}}})}},TemplateSpecUpdateModel={type:{name:"Composite",className:"TemplateSpecUpdateModel",modelProperties:Object.assign(Object.assign({},AzureResourceBase.type.modelProperties),{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}})}},TemplateSpecVersion={type:{name:"Composite",className:"TemplateSpecVersion",modelProperties:Object.assign(Object.assign({},AzureResourceBase.type.modelProperties),{location:{serializedName:"location",required:!0,type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},description:{constraints:{MaxLength:4096},serializedName:"properties.description",type:{name:"String"}},linkedTemplates:{serializedName:"properties.linkedTemplates",type:{name:"Sequence",element:{type:{name:"Composite",className:"LinkedTemplateArtifact"}}}},metadata:{serializedName:"properties.metadata",type:{name:"Dictionary",value:{type:{name:"any"}}}},mainTemplate:{serializedName:"properties.mainTemplate",type:{name:"Dictionary",value:{type:{name:"any"}}}},uiFormDefinition:{serializedName:"properties.uiFormDefinition",type:{name:"Dictionary",value:{type:{name:"any"}}}}})}},TemplateSpecVersionUpdateModel={type:{name:"Composite",className:"TemplateSpecVersionUpdateModel",modelProperties:Object.assign(Object.assign({},AzureResourceBase.type.modelProperties),{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}})}};var Mappers=Object.freeze({__proto__:null,TemplateSpecVersionInfo:TemplateSpecVersionInfo,AzureResourceBase:AzureResourceBase,SystemData:SystemData,TemplateSpecsError:TemplateSpecsError,ErrorResponse:ErrorResponse,ErrorAdditionalInfo:ErrorAdditionalInfo,TemplateSpecsListResult:TemplateSpecsListResult,LinkedTemplateArtifact:LinkedTemplateArtifact,TemplateSpecVersionsListResult:TemplateSpecVersionsListResult,TemplateSpec:TemplateSpec,TemplateSpecUpdateModel:TemplateSpecUpdateModel,TemplateSpecVersion:TemplateSpecVersion,TemplateSpecVersionUpdateModel:TemplateSpecVersionUpdateModel});const contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},templateSpec={parameterPath:"templateSpec",mapper:TemplateSpec},accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},resourceGroupName={parameterPath:"resourceGroupName",mapper:{constraints:{Pattern:new RegExp("^[-\\w\\._\\(\\)]+$"),MaxLength:90,MinLength:1},serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},templateSpecName={parameterPath:"templateSpecName",mapper:{constraints:{Pattern:new RegExp("^[-\\w\\._\\(\\)]+$"),MaxLength:90,MinLength:1},serializedName:"templateSpecName",required:!0,type:{name:"String"}}},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2021-05-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},templateSpec1={parameterPath:["options","templateSpec"],mapper:TemplateSpecUpdateModel},expand={parameterPath:["options","expand"],mapper:{serializedName:"$expand",type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},templateSpecVersionModel={parameterPath:"templateSpecVersionModel",mapper:TemplateSpecVersion},templateSpecVersion={parameterPath:"templateSpecVersion",mapper:{constraints:{Pattern:new RegExp("^[-\\w\\._\\(\\)]+$"),MaxLength:90,MinLength:1},serializedName:"templateSpecVersion",required:!0,type:{name:"String"}}},templateSpecVersionUpdateModel={parameterPath:["options","templateSpecVersionUpdateModel"],mapper:TemplateSpecVersionUpdateModel};class TemplateSpecsImpl{constructor(e){this.client=e}listBySubscription(e){const t=this.listBySubscriptionPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e)}}listBySubscriptionPagingPage(r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(r));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listBySubscriptionNext(t,r)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(i){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,a=tslib.__asyncValues(this.listBySubscriptionPagingPage(i));!(r=yield tslib.__await(a.next())).done;){var s=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}listByResourceGroup(e,t){const r=this.listByResourceGroupPagingAll(e,t);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByResourceGroupPagingPage(e,t)}}listByResourceGroupPagingPage(r,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByResourceGroup(r,a));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listByResourceGroupNext(r,t,a)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listByResourceGroupPagingAll(i,p){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,a=tslib.__asyncValues(this.listByResourceGroupPagingPage(i,p));!(r=yield tslib.__await(a.next())).done;){var s=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}createOrUpdate(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,templateSpec:r,options:a},createOrUpdateOperationSpec)}update(e,t,r){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,options:r},updateOperationSpec)}get(e,t,r){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,options:r},getOperationSpec)}delete(e,t,r){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,options:r},deleteOperationSpec)}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec)}_listByResourceGroup(e,t){return this.client.sendOperationRequest({resourceGroupName:e,options:t},listByResourceGroupOperationSpec)}_listBySubscriptionNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listBySubscriptionNextOperationSpec)}_listByResourceGroupNext(e,t,r){return this.client.sendOperationRequest({resourceGroupName:e,nextLink:t,options:r},listByResourceGroupNextOperationSpec)}}const serializer=coreClient.createSerializer(Mappers,!1),createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",httpMethod:"PUT",responses:{200:{bodyMapper:TemplateSpec},201:{bodyMapper:TemplateSpec},default:{bodyMapper:TemplateSpecsError}},requestBody:templateSpec,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer},updateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",httpMethod:"PATCH",responses:{200:{bodyMapper:TemplateSpec},default:{bodyMapper:TemplateSpecsError}},requestBody:templateSpec1,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer},getOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpec},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion,expand],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName],headerParameters:[accept],serializer:serializer},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName],headerParameters:[accept],serializer:serializer},listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/templateSpecs/",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpecsListResult},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion,expand],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer},listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpecsListResult},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion,expand],urlParameters:[$host,subscriptionId,resourceGroupName],headerParameters:[accept],serializer:serializer},listBySubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpecsListResult},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion,expand],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer},listByResourceGroupNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpecsListResult},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion,expand],urlParameters:[$host,subscriptionId,resourceGroupName,nextLink],headerParameters:[accept],serializer:serializer};class TemplateSpecVersionsImpl{constructor(e){this.client=e}list(e,t,r){const a=this.listPagingAll(e,t,r);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,t,r)}}listPagingPage(r,a,s){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(r,a,s));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(r,a,t,s)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(i,p,o){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,a=tslib.__asyncValues(this.listPagingPage(i,p,o));!(r=yield tslib.__await(a.next())).done;){var s=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}createOrUpdate(e,t,r,a,s){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,templateSpecVersion:r,templateSpecVersionModel:a,options:s},createOrUpdateOperationSpec$1)}update(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,templateSpecVersion:r,options:a},updateOperationSpec$1)}get(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,templateSpecVersion:r,options:a},getOperationSpec$1)}delete(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,templateSpecVersion:r,options:a},deleteOperationSpec$1)}_list(e,t,r){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,options:r},listOperationSpec)}_listNext(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,nextLink:r,options:a},listNextOperationSpec)}}const serializer$1=coreClient.createSerializer(Mappers,!1),createOrUpdateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",httpMethod:"PUT",responses:{200:{bodyMapper:TemplateSpecVersion},201:{bodyMapper:TemplateSpecVersion},default:{bodyMapper:TemplateSpecsError}},requestBody:templateSpecVersionModel,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName,templateSpecVersion],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$1},updateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",httpMethod:"PATCH",responses:{200:{bodyMapper:TemplateSpecVersion},default:{bodyMapper:TemplateSpecsError}},requestBody:templateSpecVersionUpdateModel,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName,templateSpecVersion],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$1},getOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpecVersion},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName,templateSpecVersion],headerParameters:[accept],serializer:serializer$1},deleteOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName,templateSpecVersion],headerParameters:[accept],serializer:serializer$1},listOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpecVersionsListResult},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName],headerParameters:[accept],serializer:serializer$1},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpecVersionsListResult},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName,nextLink],headerParameters:[accept],serializer:serializer$1};class TemplateSpecsClient extends coreClient.ServiceClient{constructor(e,t,r){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===t)throw new Error("'subscriptionId' cannot be null");var a={requestContentType:"application/json; charset=utf-8",credential:e},e="azsdk-js-arm-templatespecs/2.0.0",e=(r=r||{}).userAgentOptions&&r.userAgentOptions.userAgentPrefix?r.userAgentOptions.userAgentPrefix+" "+e:e;r.credentialScopes||(r.credentialScopes=["https://management.azure.com/.default"]),super(Object.assign(Object.assign(Object.assign({},a),r),{userAgentOptions:{userAgentPrefix:e},baseUri:r.endpoint||"https://management.azure.com"})),this.subscriptionId=t,this.$host=r.$host||"https://management.azure.com",this.apiVersion=r.apiVersion||"2021-05-01",this.templateSpecs=new TemplateSpecsImpl(this),this.templateSpecVersions=new TemplateSpecVersionsImpl(this)}}exports.TemplateSpecsClient=TemplateSpecsClient;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var coreClient=require("@azure/core-client"),tslib=require("tslib");function _interopNamespace(r){if(r&&r.__esModule)return r;var a=Object.create(null);return r&&Object.keys(r).forEach(function(e){var t;"default"!==e&&(t=Object.getOwnPropertyDescriptor(r,e),Object.defineProperty(a,e,t.get?t:{enumerable:!0,get:function(){return r[e]}}))}),a.default=r,Object.freeze(a)}var coreClient__namespace=_interopNamespace(coreClient);exports.KnownCreatedByType=void 0,function(e){e.User="User",e.Application="Application",e.ManagedIdentity="ManagedIdentity",e.Key="Key"}(exports.KnownCreatedByType||(exports.KnownCreatedByType={})),exports.KnownTemplateSpecExpandKind=void 0,(exports.KnownTemplateSpecExpandKind||(exports.KnownTemplateSpecExpandKind={})).Versions="versions";const TemplateSpecVersionInfo={type:{name:"Composite",className:"TemplateSpecVersionInfo",modelProperties:{description:{serializedName:"description",readOnly:!0,type:{name:"String"}},timeCreated:{serializedName:"timeCreated",readOnly:!0,type:{name:"DateTime"}},timeModified:{serializedName:"timeModified",readOnly:!0,type:{name:"DateTime"}}}}},AzureResourceBase={type:{name:"Composite",className:"AzureResourceBase",modelProperties:{id:{serializedName:"id",readOnly:!0,type:{name:"String"}},name:{serializedName:"name",readOnly:!0,type:{name:"String"}},type:{serializedName:"type",readOnly:!0,type:{name:"String"}},systemData:{serializedName:"systemData",type:{name:"Composite",className:"SystemData"}}}}},SystemData={type:{name:"Composite",className:"SystemData",modelProperties:{createdBy:{serializedName:"createdBy",type:{name:"String"}},createdByType:{serializedName:"createdByType",type:{name:"String"}},createdAt:{serializedName:"createdAt",type:{name:"DateTime"}},lastModifiedBy:{serializedName:"lastModifiedBy",type:{name:"String"}},lastModifiedByType:{serializedName:"lastModifiedByType",type:{name:"String"}},lastModifiedAt:{serializedName:"lastModifiedAt",type:{name:"DateTime"}}}}},TemplateSpecsError={type:{name:"Composite",className:"TemplateSpecsError",modelProperties:{error:{serializedName:"error",type:{name:"Composite",className:"ErrorResponse"}}}}},ErrorResponse={type:{name:"Composite",className:"ErrorResponse",modelProperties:{code:{serializedName:"code",readOnly:!0,type:{name:"String"}},message:{serializedName:"message",readOnly:!0,type:{name:"String"}},target:{serializedName:"target",readOnly:!0,type:{name:"String"}},details:{serializedName:"details",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorResponse"}}}},additionalInfo:{serializedName:"additionalInfo",readOnly:!0,type:{name:"Sequence",element:{type:{name:"Composite",className:"ErrorAdditionalInfo"}}}}}}},ErrorAdditionalInfo={type:{name:"Composite",className:"ErrorAdditionalInfo",modelProperties:{type:{serializedName:"type",readOnly:!0,type:{name:"String"}},info:{serializedName:"info",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},TemplateSpecsListResult={type:{name:"Composite",className:"TemplateSpecsListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"TemplateSpec"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},LinkedTemplateArtifact={type:{name:"Composite",className:"LinkedTemplateArtifact",modelProperties:{path:{serializedName:"path",required:!0,type:{name:"String"}},template:{serializedName:"template",required:!0,type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},TemplateSpecVersionsListResult={type:{name:"Composite",className:"TemplateSpecVersionsListResult",modelProperties:{value:{serializedName:"value",type:{name:"Sequence",element:{type:{name:"Composite",className:"TemplateSpecVersion"}}}},nextLink:{serializedName:"nextLink",readOnly:!0,type:{name:"String"}}}}},TemplateSpec={type:{name:"Composite",className:"TemplateSpec",modelProperties:Object.assign(Object.assign({},AzureResourceBase.type.modelProperties),{location:{serializedName:"location",required:!0,type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},description:{constraints:{MaxLength:4096},serializedName:"properties.description",type:{name:"String"}},displayName:{constraints:{MaxLength:64},serializedName:"properties.displayName",type:{name:"String"}},metadata:{serializedName:"properties.metadata",type:{name:"Dictionary",value:{type:{name:"any"}}}},versions:{serializedName:"properties.versions",readOnly:!0,type:{name:"Dictionary",value:{type:{name:"Composite",className:"TemplateSpecVersionInfo"}}}}})}},TemplateSpecUpdateModel={type:{name:"Composite",className:"TemplateSpecUpdateModel",modelProperties:Object.assign(Object.assign({},AzureResourceBase.type.modelProperties),{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}})}},TemplateSpecVersion={type:{name:"Composite",className:"TemplateSpecVersion",modelProperties:Object.assign(Object.assign({},AzureResourceBase.type.modelProperties),{location:{serializedName:"location",required:!0,type:{name:"String"}},tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}},description:{constraints:{MaxLength:4096},serializedName:"properties.description",type:{name:"String"}},linkedTemplates:{serializedName:"properties.linkedTemplates",type:{name:"Sequence",element:{type:{name:"Composite",className:"LinkedTemplateArtifact"}}}},metadata:{serializedName:"properties.metadata",type:{name:"Dictionary",value:{type:{name:"any"}}}},mainTemplate:{serializedName:"properties.mainTemplate",type:{name:"Dictionary",value:{type:{name:"any"}}}},uiFormDefinition:{serializedName:"properties.uiFormDefinition",type:{name:"Dictionary",value:{type:{name:"any"}}}}})}},TemplateSpecVersionUpdateModel={type:{name:"Composite",className:"TemplateSpecVersionUpdateModel",modelProperties:Object.assign(Object.assign({},AzureResourceBase.type.modelProperties),{tags:{serializedName:"tags",type:{name:"Dictionary",value:{type:{name:"String"}}}}})}};var Mappers=Object.freeze({__proto__:null,TemplateSpecVersionInfo:TemplateSpecVersionInfo,AzureResourceBase:AzureResourceBase,SystemData:SystemData,TemplateSpecsError:TemplateSpecsError,ErrorResponse:ErrorResponse,ErrorAdditionalInfo:ErrorAdditionalInfo,TemplateSpecsListResult:TemplateSpecsListResult,LinkedTemplateArtifact:LinkedTemplateArtifact,TemplateSpecVersionsListResult:TemplateSpecVersionsListResult,TemplateSpec:TemplateSpec,TemplateSpecUpdateModel:TemplateSpecUpdateModel,TemplateSpecVersion:TemplateSpecVersion,TemplateSpecVersionUpdateModel:TemplateSpecVersionUpdateModel});const contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},templateSpec={parameterPath:"templateSpec",mapper:TemplateSpec},accept={parameterPath:"accept",mapper:{defaultValue:"application/json",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},$host={parameterPath:"$host",mapper:{serializedName:"$host",required:!0,type:{name:"String"}},skipEncoding:!0},subscriptionId={parameterPath:"subscriptionId",mapper:{serializedName:"subscriptionId",required:!0,type:{name:"String"}}},resourceGroupName={parameterPath:"resourceGroupName",mapper:{constraints:{Pattern:new RegExp("^[-\\w\\._\\(\\)]+$"),MaxLength:90,MinLength:1},serializedName:"resourceGroupName",required:!0,type:{name:"String"}}},templateSpecName={parameterPath:"templateSpecName",mapper:{constraints:{Pattern:new RegExp("^[-\\w\\._\\(\\)]+$"),MaxLength:90,MinLength:1},serializedName:"templateSpecName",required:!0,type:{name:"String"}}},apiVersion={parameterPath:"apiVersion",mapper:{defaultValue:"2021-05-01",isConstant:!0,serializedName:"api-version",type:{name:"String"}}},templateSpec1={parameterPath:["options","templateSpec"],mapper:TemplateSpecUpdateModel},expand={parameterPath:["options","expand"],mapper:{serializedName:"$expand",type:{name:"String"}}},nextLink={parameterPath:"nextLink",mapper:{serializedName:"nextLink",required:!0,type:{name:"String"}},skipEncoding:!0},templateSpecVersionModel={parameterPath:"templateSpecVersionModel",mapper:TemplateSpecVersion},templateSpecVersion={parameterPath:"templateSpecVersion",mapper:{constraints:{Pattern:new RegExp("^[-\\w\\._\\(\\)]+$"),MaxLength:90,MinLength:1},serializedName:"templateSpecVersion",required:!0,type:{name:"String"}}},templateSpecVersionUpdateModel={parameterPath:["options","templateSpecVersionUpdateModel"],mapper:TemplateSpecVersionUpdateModel};class TemplateSpecsImpl{constructor(e){this.client=e}listBySubscription(e){const t=this.listBySubscriptionPagingAll(e);return{next(){return t.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listBySubscriptionPagingPage(e)}}listBySubscriptionPagingPage(r){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listBySubscription(r));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listBySubscriptionNext(t,r)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listBySubscriptionPagingAll(i){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,a=tslib.__asyncValues(this.listBySubscriptionPagingPage(i));!(r=yield tslib.__await(a.next())).done;){var s=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}listByResourceGroup(e,t){const r=this.listByResourceGroupPagingAll(e,t);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listByResourceGroupPagingPage(e,t)}}listByResourceGroupPagingPage(r,a){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._listByResourceGroup(r,a));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listByResourceGroupNext(r,t,a)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listByResourceGroupPagingAll(i,p){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,a=tslib.__asyncValues(this.listByResourceGroupPagingPage(i,p));!(r=yield tslib.__await(a.next())).done;){var s=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}createOrUpdate(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,templateSpec:r,options:a},createOrUpdateOperationSpec$1)}update(e,t,r){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,options:r},updateOperationSpec$1)}get(e,t,r){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,options:r},getOperationSpec$1)}delete(e,t,r){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,options:r},deleteOperationSpec$1)}_listBySubscription(e){return this.client.sendOperationRequest({options:e},listBySubscriptionOperationSpec)}_listByResourceGroup(e,t){return this.client.sendOperationRequest({resourceGroupName:e,options:t},listByResourceGroupOperationSpec)}_listBySubscriptionNext(e,t){return this.client.sendOperationRequest({nextLink:e,options:t},listBySubscriptionNextOperationSpec)}_listByResourceGroupNext(e,t,r){return this.client.sendOperationRequest({resourceGroupName:e,nextLink:t,options:r},listByResourceGroupNextOperationSpec)}}const serializer$1=coreClient__namespace.createSerializer(Mappers,!1),createOrUpdateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",httpMethod:"PUT",responses:{200:{bodyMapper:TemplateSpec},201:{bodyMapper:TemplateSpec},default:{bodyMapper:TemplateSpecsError}},requestBody:templateSpec,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$1},updateOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",httpMethod:"PATCH",responses:{200:{bodyMapper:TemplateSpec},default:{bodyMapper:TemplateSpecsError}},requestBody:templateSpec1,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer$1},getOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpec},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion,expand],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName],headerParameters:[accept],serializer:serializer$1},deleteOperationSpec$1={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName],headerParameters:[accept],serializer:serializer$1},listBySubscriptionOperationSpec={path:"/subscriptions/{subscriptionId}/providers/Microsoft.Resources/templateSpecs/",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpecsListResult},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion,expand],urlParameters:[$host,subscriptionId],headerParameters:[accept],serializer:serializer$1},listByResourceGroupOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpecsListResult},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion,expand],urlParameters:[$host,subscriptionId,resourceGroupName],headerParameters:[accept],serializer:serializer$1},listBySubscriptionNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpecsListResult},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion,expand],urlParameters:[$host,subscriptionId,nextLink],headerParameters:[accept],serializer:serializer$1},listByResourceGroupNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpecsListResult},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion,expand],urlParameters:[$host,subscriptionId,resourceGroupName,nextLink],headerParameters:[accept],serializer:serializer$1};class TemplateSpecVersionsImpl{constructor(e){this.client=e}list(e,t,r){const a=this.listPagingAll(e,t,r);return{next(){return a.next()},[Symbol.asyncIterator](){return this},byPage:()=>this.listPagingPage(e,t,r)}}listPagingPage(r,a,s){return tslib.__asyncGenerator(this,arguments,function*(){var e=yield tslib.__await(this._list(r,a,s));yield yield tslib.__await(e.value||[]);let t=e.nextLink;for(;t;)e=yield tslib.__await(this._listNext(r,a,t,s)),t=e.nextLink,yield yield tslib.__await(e.value||[])})}listPagingAll(i,p,o){return tslib.__asyncGenerator(this,arguments,function*(){var t,e;try{for(var r,a=tslib.__asyncValues(this.listPagingPage(i,p,o));!(r=yield tslib.__await(a.next())).done;){var s=r.value;yield tslib.__await(yield*tslib.__asyncDelegator(tslib.__asyncValues(s)))}}catch(e){t={error:e}}finally{try{r&&!r.done&&(e=a.return)&&(yield tslib.__await(e.call(a)))}finally{if(t)throw t.error}}})}createOrUpdate(e,t,r,a,s){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,templateSpecVersion:r,templateSpecVersionModel:a,options:s},createOrUpdateOperationSpec)}update(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,templateSpecVersion:r,options:a},updateOperationSpec)}get(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,templateSpecVersion:r,options:a},getOperationSpec)}delete(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,templateSpecVersion:r,options:a},deleteOperationSpec)}_list(e,t,r){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,options:r},listOperationSpec)}_listNext(e,t,r,a){return this.client.sendOperationRequest({resourceGroupName:e,templateSpecName:t,nextLink:r,options:a},listNextOperationSpec)}}const serializer=coreClient__namespace.createSerializer(Mappers,!1),createOrUpdateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",httpMethod:"PUT",responses:{200:{bodyMapper:TemplateSpecVersion},201:{bodyMapper:TemplateSpecVersion},default:{bodyMapper:TemplateSpecsError}},requestBody:templateSpecVersionModel,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName,templateSpecVersion],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer},updateOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",httpMethod:"PATCH",responses:{200:{bodyMapper:TemplateSpecVersion},default:{bodyMapper:TemplateSpecsError}},requestBody:templateSpecVersionUpdateModel,queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName,templateSpecVersion],headerParameters:[contentType,accept],mediaType:"json",serializer:serializer},getOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpecVersion},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName,templateSpecVersion],headerParameters:[accept],serializer:serializer},deleteOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions/{templateSpecVersion}",httpMethod:"DELETE",responses:{200:{},204:{},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName,templateSpecVersion],headerParameters:[accept],serializer:serializer},listOperationSpec={path:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}/versions",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpecVersionsListResult},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName],headerParameters:[accept],serializer:serializer},listNextOperationSpec={path:"{nextLink}",httpMethod:"GET",responses:{200:{bodyMapper:TemplateSpecVersionsListResult},default:{bodyMapper:TemplateSpecsError}},queryParameters:[apiVersion],urlParameters:[$host,subscriptionId,resourceGroupName,templateSpecName,nextLink],headerParameters:[accept],serializer:serializer};class TemplateSpecsClient extends coreClient__namespace.ServiceClient{constructor(e,t,r){if(void 0===e)throw new Error("'credentials' cannot be null");if(void 0===t)throw new Error("'subscriptionId' cannot be null");var e={requestContentType:"application/json; charset=utf-8",credential:e},a="azsdk-js-arm-templatespecs/2.0.0",a=(r=r||{}).userAgentOptions&&r.userAgentOptions.userAgentPrefix?r.userAgentOptions.userAgentPrefix+" "+a:a,e=(r.credentialScopes||(r.credentialScopes=["https://management.azure.com/.default"]),Object.assign(Object.assign(Object.assign({},e),r),{userAgentOptions:{userAgentPrefix:a},baseUri:r.endpoint||"https://management.azure.com"}));super(e),this.subscriptionId=t,this.$host=r.$host||"https://management.azure.com",this.apiVersion=r.apiVersion||"2021-05-01",this.templateSpecs=new TemplateSpecsImpl(this),this.templateSpecVersions=new TemplateSpecVersionsImpl(this)}}exports.TemplateSpecsClient=TemplateSpecsClient;
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/templateSpecs.ts","../src/operations/templateSpecVersions.ts","../src/templateSpecsClient.ts"],"names":["KnownCreatedByType","KnownTemplateSpecExpandKind","TemplateSpecVersionInfo","type","name","className","modelProperties","description","serializedName","readOnly","timeCreated","timeModified","AzureResourceBase","id","systemData","SystemData","createdBy","createdByType","createdAt","lastModifiedBy","lastModifiedByType","lastModifiedAt","TemplateSpecsError","error","ErrorResponse","code","message","target","details","element","additionalInfo","ErrorAdditionalInfo","info","value","TemplateSpecsListResult","nextLink","LinkedTemplateArtifact","path","required","template","TemplateSpecVersionsListResult","TemplateSpec","Object","assign","location","tags","constraints","MaxLength","displayName","metadata","versions","TemplateSpecUpdateModel","TemplateSpecVersion","linkedTemplates","mainTemplate","uiFormDefinition","TemplateSpecVersionUpdateModel","contentType","parameterPath","mapper","defaultValue","isConstant","templateSpec","TemplateSpecMapper","accept","$host","skipEncoding","subscriptionId","resourceGroupName","Pattern","RegExp","MinLength","templateSpecName","apiVersion","templateSpec1","TemplateSpecUpdateModelMapper","expand","templateSpecVersionModel","TemplateSpecVersionMapper","templateSpecVersion","templateSpecVersionUpdateModel","TemplateSpecVersionUpdateModelMapper","TemplateSpecsImpl","constructor","client","this","listBySubscription","options","iter","listBySubscriptionPagingAll","next","Symbol","asyncIterator","byPage","listBySubscriptionPagingPage","let","result","tslib","__await","_listBySubscription","continuationToken","_listBySubscriptionNext","_c","_b","__asyncValues","done","page","__asyncDelegator","listByResourceGroup","listByResourceGroupPagingAll","listByResourceGroupPagingPage","_listByResourceGroup","_listByResourceGroupNext","createOrUpdate","sendOperationRequest","createOrUpdateOperationSpec","update","updateOperationSpec","get","getOperationSpec","delete","deleteOperationSpec","listBySubscriptionOperationSpec","listByResourceGroupOperationSpec","listBySubscriptionNextOperationSpec","listByResourceGroupNextOperationSpec","serializer","coreClient.createSerializer","Mappers","httpMethod","responses","200","bodyMapper","Mappers.TemplateSpec","201","default","Mappers.TemplateSpecsError","requestBody","Parameters.templateSpec","queryParameters","Parameters.apiVersion","urlParameters","Parameters.$host","Parameters.subscriptionId","Parameters.resourceGroupName","Parameters.templateSpecName","headerParameters","Parameters.contentType","Parameters.accept","mediaType","Parameters.templateSpec1","Parameters.expand","204","Mappers.TemplateSpecsListResult","Parameters.nextLink","TemplateSpecVersionsImpl","list","listPagingAll","listPagingPage","_list","_listNext","listOperationSpec","listNextOperationSpec","Mappers.TemplateSpecVersion","Parameters.templateSpecVersionModel","Parameters.templateSpecVersion","Parameters.templateSpecVersionUpdateModel","Mappers.TemplateSpecVersionsListResult","TemplateSpecsClient","coreClient.ServiceClient","credentials","undefined","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","credentialScopes","super","baseUri","endpoint","templateSpecs","templateSpecVersions"],"mappings":"yIAsMA,SAAYA,GACVA,EAAA,KAAA,OACAA,EAAA,YAAA,cACAA,EAAA,gBAAA,kBACAA,EAAA,IAAA,MAJF,CAAYA,QAAAA,qBAAAA,QAAAA,mBAAkB,MAoBlBC,QAAAA,8BAAAA,QAAAA,4BAA2B,KAErC,SAAA,WClNF,MAAaC,wBAAsD,CACjEC,KAAM,CACJC,KAAM,YACNC,UAAW,0BACXC,gBAAiB,CACfC,YAAa,CACXC,eAAgB,c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F,EAAQ4F,mBACX5F,EAAQ4F,iBAAmB,CAAC,0CAU9BC,MARyB1I,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,GACpBkI,GACAtF,GAAO,CACV2F,iBAAkB,CAChBD,gBAAAA,GAEFI,QAAS9F,EAAQ+F,UAAY,kCAI/BjG,KAAKlB,eAAiBA,EAGtBkB,KAAKpB,MAAQsB,EAAQtB,OAAS,+BAC9BoB,KAAKZ,WAAac,EAAQd,YAAc,aACxCY,KAAKkG,cAAgB,IAAIrG,kBAAkBG,MAC3CA,KAAKmG,qBAAuB,IAAI7B,yBAAyBtE,O"}
1
+ {"version":3,"sources":["../src/models/index.ts","../src/models/mappers.ts","../src/models/parameters.ts","../src/operations/templateSpecs.ts","../src/operations/templateSpecVersions.ts","../src/templateSpecsClient.ts"],"names":["KnownCreatedByType","KnownTemplateSpecExpandKind","TemplateSpecVersionInfo","type","name","className","modelProperties","description","serializedName","readOnly","timeCreated","timeModified","AzureResourceBase","id","systemData","SystemData","createdBy","createdByType","createdAt","lastModifiedBy","lastModifiedByType","lastModifiedAt","TemplateSpecsError","error","ErrorResponse","code","message","target","details","element","additionalInfo","ErrorAdditionalInfo","info","value","TemplateSpecsListResult","nextLink","LinkedTemplateArtifact","path","required","template","TemplateSpecVersionsListResult","TemplateSpec","Object","assign","location","tags","constraints","MaxLength","displayName","metadata","versions","TemplateSpecUpdateModel","TemplateSpecVersion","linkedTemplates","mainTemplate","uiFormDefinition","TemplateSpecVersionUpdateModel","contentType","parameterPath","mapper","defaultValue","isConstant","templateSpec","TemplateSpecMapper","accept","$host","skipEncoding","subscriptionId","resourceGroupName","Pattern","RegExp","MinLength","templateSpecName","apiVersion","templateSpec1","TemplateSpecUpdateModelMapper","expand","templateSpecVersionModel","TemplateSpecVersionMapper","templateSpecVersion","templateSpecVersionUpdateModel","TemplateSpecVersionUpdateModelMapper","TemplateSpecsImpl","constructor","client","this","listBySubscription","options","iter","listBySubscriptionPagingAll","next","Symbol","asyncIterator","byPage","listBySubscriptionPagingPage","let","result","tslib","__await","_listBySubscription","continuationToken","_listBySubscriptionNext","_c","_b","__asyncValues","done","page","__asyncDelegator","listByResourceGroup","listByResourceGroupPagingAll","listByResourceGroupPagingPage","_listByResourceGroup","_listByResourceGroupNext","createOrUpdate","sendOperationRequest","createOrUpdateOperationSpec","update","updateOperationSpec","get","getOperationSpec","delete","deleteOperationSpec","listBySubscriptionOperationSpec","listByResourceGroupOperationSpec","listBySubscriptionNextOperationSpec","listByResourceGroupNextOperationSpec","serializer","coreClient","createSerializer","Mappers","httpMethod","responses","200","bodyMapper","Mappers.TemplateSpec","201","default","Mappers.TemplateSpecsError","requestBody","Parameters.templateSpec","queryParameters","Parameters.apiVersion","urlParameters","Parameters.$host","Parameters.subscriptionId","Parameters.resourceGroupName","Parameters.templateSpecName","headerParameters","Parameters.contentType","Parameters.accept","mediaType","Parameters.templateSpec1","Parameters.expand","204","Mappers.TemplateSpecsListResult","Parameters.nextLink","TemplateSpecVersionsImpl","list","listPagingAll","listPagingPage","_list","_listNext","listOperationSpec","listNextOperationSpec","Mappers.TemplateSpecVersion","Parameters.templateSpecVersionModel","Parameters.templateSpecVersion","Parameters.templateSpecVersionUpdateModel","Mappers.TemplateSpecVersionsListResult","TemplateSpecsClient","ServiceClient","credentials","undefined","Error","defaults","requestContentType","credential","packageDetails","userAgentPrefix","userAgentOptions","optionsWithDefaults","credentialScopes","baseUri","endpoint","super","templateSpecs","templateSpecVersions"],"mappings":"6eAsMYA,QAAAA,wBAAAA,EAAZ,SAAYA,GACVA,EAAA,KAAA,OACAA,EAAA,YAAA,cACAA,EAAA,gBAAA,kBACAA,EAAA,IAAA,MAJF,CAAYA,QAAAA,qBAAAA,QAAAA,mBAAkB,KAoBlBC,QAAAA,iCAAAA,GAAAA,QAAAA,8BAAAA,QAAAA,4BAA2B,KAErC,SAAA,WClNK,MAAMC,wBAAsD,CACjEC,KAAM,CACJC,KAAM,YACNC,UAAW,0BACXC,gBAAiB,CACfC,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IAA+CD,EAC5CA,EAKHG,GAHD7F,EAAQ8F,mBACX9F,EAAQ8F,iBAAmB,CAAC,0CAEL3I,OAAAC,OAAAD,OAAAC,OAAAD,OAAAC,OAAA,GACpBmI,GACAvF,GAAO,CACV4F,iBAAkB,CAChBD,gBAAAA,GAEFI,QAAS/F,EAAQgG,UAAY,kCAE/BC,MAAMJ,GAEN/F,KAAKlB,eAAiBA,EAGtBkB,KAAKpB,MAAQsB,EAAQtB,OAAS,+BAC9BoB,KAAKZ,WAAac,EAAQd,YAAc,aACxCY,KAAKoG,cAAgB,IAAIvG,kBAAkBG,MAC3CA,KAAKqG,qBAAuB,IAAI9B,yBAAyBvE,O"}
package/package.json CHANGED
@@ -3,12 +3,12 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for TemplateSpecsClient.",
6
- "version": "2.0.1-alpha.20211221.1",
6
+ "version": "2.0.1-alpha.20220201.1",
7
7
  "engines": {
8
8
  "node": ">=12.0.0"
9
9
  },
10
10
  "dependencies": {
11
- "@azure/core-paging": ">=1.2.0-alpha <1.2.0-alphb",
11
+ "@azure/core-paging": "^1.2.0",
12
12
  "@azure/core-client": "^1.0.0",
13
13
  "@azure/core-auth": "^1.3.0",
14
14
  "@azure/core-rest-pipeline": "^1.1.0",
@@ -27,12 +27,12 @@
27
27
  "types": "./types/arm-templatespecs.d.ts",
28
28
  "devDependencies": {
29
29
  "@microsoft/api-extractor": "^7.18.11",
30
- "@rollup/plugin-commonjs": "11.0.2",
30
+ "@rollup/plugin-commonjs": "^21.0.1",
31
31
  "@rollup/plugin-json": "^4.0.0",
32
32
  "@rollup/plugin-multi-entry": "^3.0.0",
33
33
  "@rollup/plugin-node-resolve": "^8.0.0",
34
34
  "mkdirp": "^1.0.4",
35
- "rollup": "^1.16.3",
35
+ "rollup": "^2.0.0",
36
36
  "rollup-plugin-sourcemaps": "^0.4.2",
37
37
  "typescript": "~4.2.0",
38
38
  "uglify-js": "^3.4.9",
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.19.2"
8
+ "packageVersion": "7.19.4"
9
9
  }
10
10
  ]
11
11
  }