@azure/arm-templatespecs 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -84
  4. package/dist/index.js +1285 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/models/index.d.ts +306 -0
  13. package/dist-esm/src/models/index.d.ts.map +1 -0
  14. package/dist-esm/src/models/index.js +22 -0
  15. package/dist-esm/src/models/index.js.map +1 -0
  16. package/dist-esm/src/models/mappers.d.ts +15 -0
  17. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  18. package/{esm → dist-esm/src}/models/mappers.js +196 -227
  19. package/dist-esm/src/models/mappers.js.map +1 -0
  20. package/dist-esm/src/models/parameters.d.ts +16 -0
  21. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  22. package/dist-esm/src/models/parameters.js +144 -0
  23. package/dist-esm/src/models/parameters.js.map +1 -0
  24. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  25. package/dist-esm/src/operations/index.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/operations/index.js +1 -2
  27. package/dist-esm/src/operations/index.js.map +1 -0
  28. package/dist-esm/src/operations/templateSpecVersions.d.ts +72 -0
  29. package/dist-esm/src/operations/templateSpecVersions.d.ts.map +1 -0
  30. package/dist-esm/src/operations/templateSpecVersions.js +279 -0
  31. package/dist-esm/src/operations/templateSpecVersions.js.map +1 -0
  32. package/dist-esm/src/operations/templateSpecs.d.ts +82 -0
  33. package/dist-esm/src/operations/templateSpecs.d.ts.map +1 -0
  34. package/dist-esm/src/operations/templateSpecs.js +358 -0
  35. package/dist-esm/src/operations/templateSpecs.js.map +1 -0
  36. package/dist-esm/src/operationsInterfaces/index.d.ts +3 -0
  37. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  38. package/dist-esm/src/operationsInterfaces/index.js +10 -0
  39. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  40. package/dist-esm/src/operationsInterfaces/templateSpecVersions.d.ts +47 -0
  41. package/dist-esm/src/operationsInterfaces/templateSpecVersions.d.ts.map +1 -0
  42. package/dist-esm/src/operationsInterfaces/templateSpecVersions.js +9 -0
  43. package/dist-esm/src/operationsInterfaces/templateSpecVersions.js.map +1 -0
  44. package/dist-esm/src/operationsInterfaces/templateSpecs.d.ts +46 -0
  45. package/dist-esm/src/operationsInterfaces/templateSpecs.d.ts.map +1 -0
  46. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/templateSpecs.js} +2 -1
  47. package/dist-esm/src/operationsInterfaces/templateSpecs.js.map +1 -0
  48. package/dist-esm/src/templateSpecsClient.d.ts +19 -0
  49. package/dist-esm/src/templateSpecsClient.d.ts.map +1 -0
  50. package/dist-esm/src/templateSpecsClient.js +52 -0
  51. package/dist-esm/src/templateSpecsClient.js.map +1 -0
  52. package/dist-esm/test/sampleTest.d.ts +2 -0
  53. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  54. package/dist-esm/test/sampleTest.js +40 -0
  55. package/dist-esm/test/sampleTest.js.map +1 -0
  56. package/package.json +63 -32
  57. package/review/arm-templatespecs.api.md +280 -0
  58. package/rollup.config.js +181 -30
  59. package/src/index.ts +12 -0
  60. package/src/models/index.ts +233 -494
  61. package/src/models/mappers.ts +208 -239
  62. package/src/models/parameters.ts +104 -45
  63. package/src/operations/index.ts +1 -2
  64. package/src/operations/templateSpecVersions.ts +222 -254
  65. package/src/operations/templateSpecs.ts +276 -315
  66. package/src/operationsInterfaces/index.ts +10 -0
  67. package/src/operationsInterfaces/templateSpecVersions.ts +91 -0
  68. package/src/operationsInterfaces/templateSpecs.ts +88 -0
  69. package/src/templateSpecsClient.ts +62 -34
  70. package/tsconfig.json +3 -3
  71. package/types/arm-templatespecs.d.ts +457 -0
  72. package/types/tsdoc-metadata.json +11 -0
  73. package/dist/arm-templatespecs.js +0 -1294
  74. package/dist/arm-templatespecs.js.map +0 -1
  75. package/dist/arm-templatespecs.min.js +0 -1
  76. package/dist/arm-templatespecs.min.js.map +0 -1
  77. package/esm/models/index.d.ts +0 -571
  78. package/esm/models/index.d.ts.map +0 -1
  79. package/esm/models/index.js.map +0 -1
  80. package/esm/models/mappers.d.ts +0 -17
  81. package/esm/models/mappers.d.ts.map +0 -1
  82. package/esm/models/mappers.js.map +0 -1
  83. package/esm/models/parameters.d.ts +0 -10
  84. package/esm/models/parameters.d.ts.map +0 -1
  85. package/esm/models/parameters.js +0 -107
  86. package/esm/models/parameters.js.map +0 -1
  87. package/esm/models/templateSpecVersionsMappers.d.ts +0 -2
  88. package/esm/models/templateSpecVersionsMappers.d.ts.map +0 -1
  89. package/esm/models/templateSpecVersionsMappers.js +0 -9
  90. package/esm/models/templateSpecVersionsMappers.js.map +0 -1
  91. package/esm/models/templateSpecsMappers.d.ts +0 -2
  92. package/esm/models/templateSpecsMappers.d.ts.map +0 -1
  93. package/esm/models/templateSpecsMappers.js +0 -9
  94. package/esm/models/templateSpecsMappers.js.map +0 -1
  95. package/esm/operations/index.d.ts.map +0 -1
  96. package/esm/operations/index.js.map +0 -1
  97. package/esm/operations/templateSpecVersions.d.ts +0 -152
  98. package/esm/operations/templateSpecVersions.d.ts.map +0 -1
  99. package/esm/operations/templateSpecVersions.js +0 -233
  100. package/esm/operations/templateSpecVersions.js.map +0 -1
  101. package/esm/operations/templateSpecs.d.ts +0 -170
  102. package/esm/operations/templateSpecs.d.ts.map +0 -1
  103. package/esm/operations/templateSpecs.js +0 -284
  104. package/esm/operations/templateSpecs.js.map +0 -1
  105. package/esm/templateSpecsClient.d.ts +0 -25
  106. package/esm/templateSpecsClient.d.ts.map +0 -1
  107. package/esm/templateSpecsClient.js +0 -38
  108. package/esm/templateSpecsClient.js.map +0 -1
  109. package/esm/templateSpecsClientContext.d.ts +0 -22
  110. package/esm/templateSpecsClientContext.d.ts.map +0 -1
  111. package/esm/templateSpecsClientContext.js +0 -60
  112. package/esm/templateSpecsClientContext.js.map +0 -1
  113. package/src/models/templateSpecVersionsMappers.ts +0 -23
  114. package/src/models/templateSpecsMappers.ts +0 -23
  115. package/src/templateSpecsClientContext.ts +0 -67
@@ -1,170 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { TemplateSpecsClientContext } from "../templateSpecsClientContext";
4
- /** Class representing a TemplateSpecs. */
5
- export declare class TemplateSpecs {
6
- private readonly client;
7
- /**
8
- * Create a TemplateSpecs.
9
- * @param {TemplateSpecsClientContext} client Reference to the service client.
10
- */
11
- constructor(client: TemplateSpecsClientContext);
12
- /**
13
- * Creates or updates a Template Spec.
14
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
15
- * @param templateSpecName Name of the Template Spec.
16
- * @param templateSpec Template Spec supplied to the operation.
17
- * @param [options] The optional parameters
18
- * @returns Promise<Models.TemplateSpecsCreateOrUpdateResponse>
19
- */
20
- createOrUpdate(resourceGroupName: string, templateSpecName: string, templateSpec: Models.TemplateSpec, options?: msRest.RequestOptionsBase): Promise<Models.TemplateSpecsCreateOrUpdateResponse>;
21
- /**
22
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
23
- * @param templateSpecName Name of the Template Spec.
24
- * @param templateSpec Template Spec supplied to the operation.
25
- * @param callback The callback
26
- */
27
- createOrUpdate(resourceGroupName: string, templateSpecName: string, templateSpec: Models.TemplateSpec, callback: msRest.ServiceCallback<Models.TemplateSpec>): void;
28
- /**
29
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
30
- * @param templateSpecName Name of the Template Spec.
31
- * @param templateSpec Template Spec supplied to the operation.
32
- * @param options The optional parameters
33
- * @param callback The callback
34
- */
35
- createOrUpdate(resourceGroupName: string, templateSpecName: string, templateSpec: Models.TemplateSpec, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.TemplateSpec>): void;
36
- /**
37
- * Updates Template Spec tags with specified values.
38
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
39
- * @param templateSpecName Name of the Template Spec.
40
- * @param [options] The optional parameters
41
- * @returns Promise<Models.TemplateSpecsUpdateResponse>
42
- */
43
- update(resourceGroupName: string, templateSpecName: string, options?: Models.TemplateSpecsUpdateOptionalParams): Promise<Models.TemplateSpecsUpdateResponse>;
44
- /**
45
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
46
- * @param templateSpecName Name of the Template Spec.
47
- * @param callback The callback
48
- */
49
- update(resourceGroupName: string, templateSpecName: string, callback: msRest.ServiceCallback<Models.TemplateSpec>): void;
50
- /**
51
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
52
- * @param templateSpecName Name of the Template Spec.
53
- * @param options The optional parameters
54
- * @param callback The callback
55
- */
56
- update(resourceGroupName: string, templateSpecName: string, options: Models.TemplateSpecsUpdateOptionalParams, callback: msRest.ServiceCallback<Models.TemplateSpec>): void;
57
- /**
58
- * Gets a Template Spec with a given name.
59
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
60
- * @param templateSpecName Name of the Template Spec.
61
- * @param [options] The optional parameters
62
- * @returns Promise<Models.TemplateSpecsGetResponse>
63
- */
64
- get(resourceGroupName: string, templateSpecName: string, options?: Models.TemplateSpecsGetOptionalParams): Promise<Models.TemplateSpecsGetResponse>;
65
- /**
66
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
67
- * @param templateSpecName Name of the Template Spec.
68
- * @param callback The callback
69
- */
70
- get(resourceGroupName: string, templateSpecName: string, callback: msRest.ServiceCallback<Models.TemplateSpec>): void;
71
- /**
72
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
73
- * @param templateSpecName Name of the Template Spec.
74
- * @param options The optional parameters
75
- * @param callback The callback
76
- */
77
- get(resourceGroupName: string, templateSpecName: string, options: Models.TemplateSpecsGetOptionalParams, callback: msRest.ServiceCallback<Models.TemplateSpec>): void;
78
- /**
79
- * Deletes a Template Spec by name. When operation completes, status code 200 returned without
80
- * content.
81
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
82
- * @param templateSpecName Name of the Template Spec.
83
- * @param [options] The optional parameters
84
- * @returns Promise<msRest.RestResponse>
85
- */
86
- deleteMethod(resourceGroupName: string, templateSpecName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
87
- /**
88
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
89
- * @param templateSpecName Name of the Template Spec.
90
- * @param callback The callback
91
- */
92
- deleteMethod(resourceGroupName: string, templateSpecName: string, callback: msRest.ServiceCallback<void>): void;
93
- /**
94
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
95
- * @param templateSpecName Name of the Template Spec.
96
- * @param options The optional parameters
97
- * @param callback The callback
98
- */
99
- deleteMethod(resourceGroupName: string, templateSpecName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
100
- /**
101
- * Lists all the Template Specs within the specified subscriptions.
102
- * @param [options] The optional parameters
103
- * @returns Promise<Models.TemplateSpecsListBySubscriptionResponse>
104
- */
105
- listBySubscription(options?: Models.TemplateSpecsListBySubscriptionOptionalParams): Promise<Models.TemplateSpecsListBySubscriptionResponse>;
106
- /**
107
- * @param callback The callback
108
- */
109
- listBySubscription(callback: msRest.ServiceCallback<Models.TemplateSpecsListResult>): void;
110
- /**
111
- * @param options The optional parameters
112
- * @param callback The callback
113
- */
114
- listBySubscription(options: Models.TemplateSpecsListBySubscriptionOptionalParams, callback: msRest.ServiceCallback<Models.TemplateSpecsListResult>): void;
115
- /**
116
- * Lists all the Template Specs within the specified resource group.
117
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
118
- * @param [options] The optional parameters
119
- * @returns Promise<Models.TemplateSpecsListByResourceGroupResponse>
120
- */
121
- listByResourceGroup(resourceGroupName: string, options?: Models.TemplateSpecsListByResourceGroupOptionalParams): Promise<Models.TemplateSpecsListByResourceGroupResponse>;
122
- /**
123
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
124
- * @param callback The callback
125
- */
126
- listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.TemplateSpecsListResult>): void;
127
- /**
128
- * @param resourceGroupName The name of the resource group. The name is case insensitive.
129
- * @param options The optional parameters
130
- * @param callback The callback
131
- */
132
- listByResourceGroup(resourceGroupName: string, options: Models.TemplateSpecsListByResourceGroupOptionalParams, callback: msRest.ServiceCallback<Models.TemplateSpecsListResult>): void;
133
- /**
134
- * Lists all the Template Specs within the specified subscriptions.
135
- * @param nextPageLink The NextLink from the previous successful call to List operation.
136
- * @param [options] The optional parameters
137
- * @returns Promise<Models.TemplateSpecsListBySubscriptionNextResponse>
138
- */
139
- listBySubscriptionNext(nextPageLink: string, options?: Models.TemplateSpecsListBySubscriptionNextOptionalParams): Promise<Models.TemplateSpecsListBySubscriptionNextResponse>;
140
- /**
141
- * @param nextPageLink The NextLink from the previous successful call to List operation.
142
- * @param callback The callback
143
- */
144
- listBySubscriptionNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.TemplateSpecsListResult>): void;
145
- /**
146
- * @param nextPageLink The NextLink from the previous successful call to List operation.
147
- * @param options The optional parameters
148
- * @param callback The callback
149
- */
150
- listBySubscriptionNext(nextPageLink: string, options: Models.TemplateSpecsListBySubscriptionNextOptionalParams, callback: msRest.ServiceCallback<Models.TemplateSpecsListResult>): void;
151
- /**
152
- * Lists all the Template Specs within the specified resource group.
153
- * @param nextPageLink The NextLink from the previous successful call to List operation.
154
- * @param [options] The optional parameters
155
- * @returns Promise<Models.TemplateSpecsListByResourceGroupNextResponse>
156
- */
157
- listByResourceGroupNext(nextPageLink: string, options?: Models.TemplateSpecsListByResourceGroupNextOptionalParams): Promise<Models.TemplateSpecsListByResourceGroupNextResponse>;
158
- /**
159
- * @param nextPageLink The NextLink from the previous successful call to List operation.
160
- * @param callback The callback
161
- */
162
- listByResourceGroupNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.TemplateSpecsListResult>): void;
163
- /**
164
- * @param nextPageLink The NextLink from the previous successful call to List operation.
165
- * @param options The optional parameters
166
- * @param callback The callback
167
- */
168
- listByResourceGroupNext(nextPageLink: string, options: Models.TemplateSpecsListByResourceGroupNextOptionalParams, callback: msRest.ServiceCallback<Models.TemplateSpecsListResult>): void;
169
- }
170
- //# sourceMappingURL=templateSpecs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templateSpecs.d.ts","sourceRoot":"","sources":["../../src/operations/templateSpecs.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,MAAM,MAAM,WAAW,CAAC;AAGpC,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAE3E,0CAA0C;AAC1C,qBAAa,aAAa;IACxB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA6B;IAEpD;;;OAGG;gBACS,MAAM,EAAE,0BAA0B;IAI9C;;;;;;;OAOG;IACH,cAAc,CAAC,iBAAiB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,MAAM,CAAC,mCAAmC,CAAC;IAChM;;;;;OAKG;IACH,cAAc,CAAC,iBAAiB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,CAAC,YAAY,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,YAAY,CAAC,GAAG,IAAI;IACnK;;;;;;OAMG;IACH,cAAc,CAAC,iBAAiB,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,CAAC,YAAY,EAAE,OAAO,EAAE,MAAM,CAAC,kB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BAAuB,CAAC,GAAG,IAAI;IAWtL;;;;;OAKG;IACH,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,iDAAiD,GAAG,OAAO,CAAC,MAAM,CAAC,2CAA2C,CAAC;IAC7K;;;OAGG;IACH,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,uBAAuB,CAAC,GAAG,IAAI;IACpH;;;;OAIG;IACH,sBAAsB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,iDAAiD,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,uBAAuB,CAAC,GAAG,IAAI;IAWvL;;;;;OAKG;IACH,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kDAAkD,GAAG,OAAO,CAAC,MAAM,CAAC,4CAA4C,CAAC;IAChL;;;OAGG;IACH,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,uBAAuB,CAAC,GAAG,IAAI;IACrH;;;;OAIG;IACH,uBAAuB,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kDAAkD,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,uBAAuB,CAAC,GAAG,IAAI;CAU1L"}
@@ -1,284 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
- import { __assign } from "tslib";
10
- import * as msRest from "@azure/ms-rest-js";
11
- import * as Mappers from "../models/templateSpecsMappers";
12
- import * as Parameters from "../models/parameters";
13
- /** Class representing a TemplateSpecs. */
14
- var TemplateSpecs = /** @class */ (function () {
15
- /**
16
- * Create a TemplateSpecs.
17
- * @param {TemplateSpecsClientContext} client Reference to the service client.
18
- */
19
- function TemplateSpecs(client) {
20
- this.client = client;
21
- }
22
- TemplateSpecs.prototype.createOrUpdate = function (resourceGroupName, templateSpecName, templateSpec, options, callback) {
23
- return this.client.sendOperationRequest({
24
- resourceGroupName: resourceGroupName,
25
- templateSpecName: templateSpecName,
26
- templateSpec: templateSpec,
27
- options: options
28
- }, createOrUpdateOperationSpec, callback);
29
- };
30
- TemplateSpecs.prototype.update = function (resourceGroupName, templateSpecName, options, callback) {
31
- return this.client.sendOperationRequest({
32
- resourceGroupName: resourceGroupName,
33
- templateSpecName: templateSpecName,
34
- options: options
35
- }, updateOperationSpec, callback);
36
- };
37
- TemplateSpecs.prototype.get = function (resourceGroupName, templateSpecName, options, callback) {
38
- return this.client.sendOperationRequest({
39
- resourceGroupName: resourceGroupName,
40
- templateSpecName: templateSpecName,
41
- options: options
42
- }, getOperationSpec, callback);
43
- };
44
- TemplateSpecs.prototype.deleteMethod = function (resourceGroupName, templateSpecName, options, callback) {
45
- return this.client.sendOperationRequest({
46
- resourceGroupName: resourceGroupName,
47
- templateSpecName: templateSpecName,
48
- options: options
49
- }, deleteMethodOperationSpec, callback);
50
- };
51
- TemplateSpecs.prototype.listBySubscription = function (options, callback) {
52
- return this.client.sendOperationRequest({
53
- options: options
54
- }, listBySubscriptionOperationSpec, callback);
55
- };
56
- TemplateSpecs.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
57
- return this.client.sendOperationRequest({
58
- resourceGroupName: resourceGroupName,
59
- options: options
60
- }, listByResourceGroupOperationSpec, callback);
61
- };
62
- TemplateSpecs.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
63
- return this.client.sendOperationRequest({
64
- nextPageLink: nextPageLink,
65
- options: options
66
- }, listBySubscriptionNextOperationSpec, callback);
67
- };
68
- TemplateSpecs.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
69
- return this.client.sendOperationRequest({
70
- nextPageLink: nextPageLink,
71
- options: options
72
- }, listByResourceGroupNextOperationSpec, callback);
73
- };
74
- return TemplateSpecs;
75
- }());
76
- export { TemplateSpecs };
77
- // Operation Specifications
78
- var serializer = new msRest.Serializer(Mappers);
79
- var createOrUpdateOperationSpec = {
80
- httpMethod: "PUT",
81
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",
82
- urlParameters: [
83
- Parameters.subscriptionId,
84
- Parameters.resourceGroupName,
85
- Parameters.templateSpecName
86
- ],
87
- queryParameters: [
88
- Parameters.apiVersion
89
- ],
90
- headerParameters: [
91
- Parameters.acceptLanguage
92
- ],
93
- requestBody: {
94
- parameterPath: "templateSpec",
95
- mapper: __assign(__assign({}, Mappers.TemplateSpec), { required: true })
96
- },
97
- responses: {
98
- 200: {
99
- bodyMapper: Mappers.TemplateSpec
100
- },
101
- 201: {
102
- bodyMapper: Mappers.TemplateSpec
103
- },
104
- default: {
105
- bodyMapper: Mappers.TemplateSpecsError
106
- }
107
- },
108
- serializer: serializer
109
- };
110
- var updateOperationSpec = {
111
- httpMethod: "PATCH",
112
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",
113
- urlParameters: [
114
- Parameters.subscriptionId,
115
- Parameters.resourceGroupName,
116
- Parameters.templateSpecName
117
- ],
118
- queryParameters: [
119
- Parameters.apiVersion
120
- ],
121
- headerParameters: [
122
- Parameters.acceptLanguage
123
- ],
124
- requestBody: {
125
- parameterPath: [
126
- "options",
127
- "templateSpec"
128
- ],
129
- mapper: Mappers.TemplateSpecUpdateModel
130
- },
131
- responses: {
132
- 200: {
133
- bodyMapper: Mappers.TemplateSpec
134
- },
135
- default: {
136
- bodyMapper: Mappers.TemplateSpecsError
137
- }
138
- },
139
- serializer: serializer
140
- };
141
- var getOperationSpec = {
142
- httpMethod: "GET",
143
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",
144
- urlParameters: [
145
- Parameters.subscriptionId,
146
- Parameters.resourceGroupName,
147
- Parameters.templateSpecName
148
- ],
149
- queryParameters: [
150
- Parameters.expand,
151
- Parameters.apiVersion
152
- ],
153
- headerParameters: [
154
- Parameters.acceptLanguage
155
- ],
156
- responses: {
157
- 200: {
158
- bodyMapper: Mappers.TemplateSpec
159
- },
160
- default: {
161
- bodyMapper: Mappers.TemplateSpecsError
162
- }
163
- },
164
- serializer: serializer
165
- };
166
- var deleteMethodOperationSpec = {
167
- httpMethod: "DELETE",
168
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/{templateSpecName}",
169
- urlParameters: [
170
- Parameters.subscriptionId,
171
- Parameters.resourceGroupName,
172
- Parameters.templateSpecName
173
- ],
174
- queryParameters: [
175
- Parameters.apiVersion
176
- ],
177
- headerParameters: [
178
- Parameters.acceptLanguage
179
- ],
180
- responses: {
181
- 200: {},
182
- 204: {},
183
- default: {
184
- bodyMapper: Mappers.TemplateSpecsError
185
- }
186
- },
187
- serializer: serializer
188
- };
189
- var listBySubscriptionOperationSpec = {
190
- httpMethod: "GET",
191
- path: "subscriptions/{subscriptionId}/providers/Microsoft.Resources/templateSpecs/",
192
- urlParameters: [
193
- Parameters.subscriptionId
194
- ],
195
- queryParameters: [
196
- Parameters.expand,
197
- Parameters.apiVersion
198
- ],
199
- headerParameters: [
200
- Parameters.acceptLanguage
201
- ],
202
- responses: {
203
- 200: {
204
- bodyMapper: Mappers.TemplateSpecsListResult
205
- },
206
- default: {
207
- bodyMapper: Mappers.TemplateSpecsError
208
- }
209
- },
210
- serializer: serializer
211
- };
212
- var listByResourceGroupOperationSpec = {
213
- httpMethod: "GET",
214
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Resources/templateSpecs/",
215
- urlParameters: [
216
- Parameters.subscriptionId,
217
- Parameters.resourceGroupName
218
- ],
219
- queryParameters: [
220
- Parameters.expand,
221
- Parameters.apiVersion
222
- ],
223
- headerParameters: [
224
- Parameters.acceptLanguage
225
- ],
226
- responses: {
227
- 200: {
228
- bodyMapper: Mappers.TemplateSpecsListResult
229
- },
230
- default: {
231
- bodyMapper: Mappers.TemplateSpecsError
232
- }
233
- },
234
- serializer: serializer
235
- };
236
- var listBySubscriptionNextOperationSpec = {
237
- httpMethod: "GET",
238
- baseUrl: "https://management.azure.com",
239
- path: "{nextLink}",
240
- urlParameters: [
241
- Parameters.nextPageLink
242
- ],
243
- queryParameters: [
244
- Parameters.expand,
245
- Parameters.apiVersion
246
- ],
247
- headerParameters: [
248
- Parameters.acceptLanguage
249
- ],
250
- responses: {
251
- 200: {
252
- bodyMapper: Mappers.TemplateSpecsListResult
253
- },
254
- default: {
255
- bodyMapper: Mappers.TemplateSpecsError
256
- }
257
- },
258
- serializer: serializer
259
- };
260
- var listByResourceGroupNextOperationSpec = {
261
- httpMethod: "GET",
262
- baseUrl: "https://management.azure.com",
263
- path: "{nextLink}",
264
- urlParameters: [
265
- Parameters.nextPageLink
266
- ],
267
- queryParameters: [
268
- Parameters.expand,
269
- Parameters.apiVersion
270
- ],
271
- headerParameters: [
272
- Parameters.acceptLanguage
273
- ],
274
- responses: {
275
- 200: {
276
- bodyMapper: Mappers.TemplateSpecsListResult
277
- },
278
- default: {
279
- bodyMapper: Mappers.TemplateSpecsError
280
- }
281
- },
282
- serializer: serializer
283
- };
284
- //# sourceMappingURL=templateSpecs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templateSpecs.js","sourceRoot":"","sources":["../../src/operations/templateSpecs.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAG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kBAAkB;SACvC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,mCAAmC,GAAyB;IAChE,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;KACF;IACD,UAAU,YAAA;CACX,CAAC;AAEF,IAAM,oCAAoC,GAAyB;IACjE,UAAU,EAAE,KAAK;IACjB,OAAO,EAAE,8BAA8B;IACvC,IAAI,EAAE,YAAY;IAClB,aAAa,EAAE;QACb,UAAU,CAAC,YAAY;KACxB;IACD,eAAe,EAAE;QACf,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE;QAChB,UAAU,CAAC,cAAc;KAC1B;IACD,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,kBAAkB;SACvC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,25 +0,0 @@
1
- import * as msRest from "@azure/ms-rest-js";
2
- import { TokenCredential } from "@azure/core-auth";
3
- import * as Models from "./models";
4
- import * as Mappers from "./models/mappers";
5
- import * as operations from "./operations";
6
- import { TemplateSpecsClientContext } from "./templateSpecsClientContext";
7
- declare class TemplateSpecsClient extends TemplateSpecsClientContext {
8
- templateSpecs: operations.TemplateSpecs;
9
- templateSpecVersions: operations.TemplateSpecVersions;
10
- /**
11
- * Initializes a new instance of the TemplateSpecsClient class.
12
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
13
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
14
- * more information about these credentials, see
15
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
16
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
17
- * @azure/ms-rest-browserauth are also supported.
18
- * @param subscriptionId Subscription Id which forms part of the URI for every service call.
19
- * @param [options] The parameter options
20
- */
21
- constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.TemplateSpecsClientOptions);
22
- }
23
- export { TemplateSpecsClient, TemplateSpecsClientContext, Models as TemplateSpecsModels, Mappers as TemplateSpecsMappers };
24
- export * from "./operations";
25
- //# sourceMappingURL=templateSpecsClient.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templateSpecsClient.d.ts","sourceRoot":"","sources":["../src/templateSpecsClient.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAG1E,cAAM,mBAAoB,SAAQ,0BAA0B;IAE1D,aAAa,EAAE,UAAU,CAAC,aAAa,CAAC;IACxC,oBAAoB,EAAE,UAAU,CAAC,oBAAoB,CAAC;IAEtD;;;;;;;;;;OAUG;gBACS,WAAW,EAAE,MAAM,CAAC,wBAAwB,GAAG,eAAe,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,0BAA0B;CAKhJ;AAID,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,MAAM,IAAI,mBAAmB,EAC7B,OAAO,IAAI,oBAAoB,EAChC,CAAC;AACF,cAAc,cAAc,CAAC"}
@@ -1,38 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
- import { __extends } from "tslib";
10
- import * as Models from "./models";
11
- import * as Mappers from "./models/mappers";
12
- import * as operations from "./operations";
13
- import { TemplateSpecsClientContext } from "./templateSpecsClientContext";
14
- var TemplateSpecsClient = /** @class */ (function (_super) {
15
- __extends(TemplateSpecsClient, _super);
16
- /**
17
- * Initializes a new instance of the TemplateSpecsClient class.
18
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
19
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
20
- * more information about these credentials, see
21
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
22
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
23
- * @azure/ms-rest-browserauth are also supported.
24
- * @param subscriptionId Subscription Id which forms part of the URI for every service call.
25
- * @param [options] The parameter options
26
- */
27
- function TemplateSpecsClient(credentials, subscriptionId, options) {
28
- var _this = _super.call(this, credentials, subscriptionId, options) || this;
29
- _this.templateSpecs = new operations.TemplateSpecs(_this);
30
- _this.templateSpecVersions = new operations.TemplateSpecVersions(_this);
31
- return _this;
32
- }
33
- return TemplateSpecsClient;
34
- }(TemplateSpecsClientContext));
35
- // Operation Specifications
36
- export { TemplateSpecsClient, TemplateSpecsClientContext, Models as TemplateSpecsModels, Mappers as TemplateSpecsMappers };
37
- export * from "./operations";
38
- //# sourceMappingURL=templateSpecsClient.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templateSpecsClient.js","sourceRoot":"","sources":["../src/templateSpecsClient.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAIH,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAC;AAC5C,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAG1E;IAAkC,uCAA0B;IAK1D;;;;;;;;;;OAUG;IACH,6BAAY,WAA8D,EAAE,cAAsB,EAAE,OAA2C;QAA/I,YACE,kBAAM,WAAW,EAAE,cAAc,EAAE,OAAO,CAAC,SAG5C;QAFC,KAAI,CAAC,aAAa,GAAG,IAAI,UAAU,CAAC,aAAa,CAAC,KAAI,CAAC,CAAC;QACxD,KAAI,CAAC,oBAAoB,GAAG,IAAI,UAAU,CAAC,oBAAoB,CAAC,KAAI,CAAC,CAAC;;IACxE,CAAC;IACH,0BAAC;AAAD,CAAC,AArBD,CAAkC,0BAA0B,GAqB3D;AAED,2BAA2B;AAE3B,OAAO,EACL,mBAAmB,EACnB,0BAA0B,EAC1B,MAAM,IAAI,mBAAmB,EAC7B,OAAO,IAAI,oBAAoB,EAChC,CAAC;AACF,cAAc,cAAc,CAAC"}
@@ -1,22 +0,0 @@
1
- import * as Models from "./models";
2
- import * as msRest from "@azure/ms-rest-js";
3
- import * as msRestAzure from "@azure/ms-rest-azure-js";
4
- import { TokenCredential } from "@azure/core-auth";
5
- export declare class TemplateSpecsClientContext extends msRestAzure.AzureServiceClient {
6
- credentials: msRest.ServiceClientCredentials | TokenCredential;
7
- subscriptionId: string;
8
- apiVersion?: string;
9
- /**
10
- * Initializes a new instance of the TemplateSpecsClient class.
11
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
12
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
13
- * more information about these credentials, see
14
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
15
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
16
- * @azure/ms-rest-browserauth are also supported.
17
- * @param subscriptionId Subscription Id which forms part of the URI for every service call.
18
- * @param [options] The parameter options
19
- */
20
- constructor(credentials: msRest.ServiceClientCredentials | TokenCredential, subscriptionId: string, options?: Models.TemplateSpecsClientOptions);
21
- }
22
- //# sourceMappingURL=templateSpecsClientContext.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templateSpecsClientContext.d.ts","sourceRoot":"","sources":["../src/templateSpecsClientContext.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAC5C,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAKnD,qBAAa,0BAA2B,SAAQ,WAAW,CAAC,kBAAkB;IAC5E,WAAW,EAAE,MAAM,CAAC,wBAAwB,GAAG,eAAe,CAAC;IAC/D,cAAc,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;;;;;;;OAUG;gBACS,WAAW,EAAE,MAAM,CAAC,wBAAwB,GAAG,eAAe,EAAE,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,0BAA0B;CAiChJ"}
@@ -1,60 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is
7
- * regenerated.
8
- */
9
- import { __extends } from "tslib";
10
- import * as msRestAzure from "@azure/ms-rest-azure-js";
11
- var packageName = "@azure/arm-templatespecs";
12
- var packageVersion = "1.0.0";
13
- var TemplateSpecsClientContext = /** @class */ (function (_super) {
14
- __extends(TemplateSpecsClientContext, _super);
15
- /**
16
- * Initializes a new instance of the TemplateSpecsClient class.
17
- * @param credentials Credentials needed for the client to connect to Azure. Credentials
18
- * implementing the TokenCredential interface from the @azure/identity package are recommended. For
19
- * more information about these credentials, see
20
- * {@link https://www.npmjs.com/package/@azure/identity}. Credentials implementing the
21
- * ServiceClientCredentials interface from the older packages @azure/ms-rest-nodeauth and
22
- * @azure/ms-rest-browserauth are also supported.
23
- * @param subscriptionId Subscription Id which forms part of the URI for every service call.
24
- * @param [options] The parameter options
25
- */
26
- function TemplateSpecsClientContext(credentials, subscriptionId, options) {
27
- var _this = this;
28
- if (credentials == undefined) {
29
- throw new Error('\'credentials\' cannot be null.');
30
- }
31
- if (subscriptionId == undefined) {
32
- throw new Error('\'subscriptionId\' cannot be null.');
33
- }
34
- if (!options) {
35
- options = {};
36
- }
37
- if (!options.userAgent) {
38
- var defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
39
- options.userAgent = packageName + "/" + packageVersion + " " + defaultUserAgent;
40
- }
41
- _this = _super.call(this, credentials, options) || this;
42
- _this.apiVersion = '2021-05-01';
43
- _this.acceptLanguage = 'en-US';
44
- _this.longRunningOperationRetryTimeout = 30;
45
- _this.baseUri = options.baseUri || _this.baseUri || "https://management.azure.com";
46
- _this.requestContentType = "application/json; charset=utf-8";
47
- _this.credentials = credentials;
48
- _this.subscriptionId = subscriptionId;
49
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
50
- _this.acceptLanguage = options.acceptLanguage;
51
- }
52
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
53
- _this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
54
- }
55
- return _this;
56
- }
57
- return TemplateSpecsClientContext;
58
- }(msRestAzure.AzureServiceClient));
59
- export { TemplateSpecsClientContext };
60
- //# sourceMappingURL=templateSpecsClientContext.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templateSpecsClientContext.js","sourceRoot":"","sources":["../src/templateSpecsClientContext.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;;AAIH,OAAO,KAAK,WAAW,MAAM,yBAAyB,CAAC;AAGvD,IAAM,WAAW,GAAG,0BAA0B,CAAC;AAC/C,IAAM,cAAc,GAAG,OAAO,CAAC;AAE/B;IAAgD,8CAA8B;IAK5E;;;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AC;AAAD,CAAC,AAjDD,CAAgD,WAAW,CAAC,kBAAkB,GAiD7E"}
@@ -1,23 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- export {
10
- AzureResourceBase,
11
- BaseResource,
12
- ErrorAdditionalInfo,
13
- ErrorResponse,
14
- LinkedTemplateArtifact,
15
- SystemData,
16
- TemplateSpec,
17
- TemplateSpecsError,
18
- TemplateSpecUpdateModel,
19
- TemplateSpecVersion,
20
- TemplateSpecVersionInfo,
21
- TemplateSpecVersionsListResult,
22
- TemplateSpecVersionUpdateModel
23
- } from "../models/mappers";