@azure/arm-timeseriesinsights 1.2.0 → 2.0.0-alpha.20220121.2

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 (180) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +1 -1
  4. package/README.md +72 -72
  5. package/dist/index.js +3489 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/index.d.ts +5 -0
  10. package/dist-esm/src/index.d.ts.map +1 -0
  11. package/dist-esm/src/index.js +12 -0
  12. package/dist-esm/src/index.js.map +1 -0
  13. package/dist-esm/src/lroImpl.d.ts +16 -0
  14. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  15. package/dist-esm/src/lroImpl.js +29 -0
  16. package/dist-esm/src/lroImpl.js.map +1 -0
  17. package/dist-esm/src/models/index.d.ts +1102 -0
  18. package/dist-esm/src/models/index.d.ts.map +1 -0
  19. package/dist-esm/src/models/index.js +109 -0
  20. package/dist-esm/src/models/index.js.map +1 -0
  21. package/dist-esm/src/models/mappers.d.ts +94 -0
  22. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  23. package/dist-esm/src/models/mappers.js +1965 -0
  24. package/dist-esm/src/models/mappers.js.map +1 -0
  25. package/dist-esm/src/models/parameters.d.ts +26 -0
  26. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  27. package/dist-esm/src/models/parameters.js +225 -0
  28. package/dist-esm/src/models/parameters.js.map +1 -0
  29. package/dist-esm/src/operations/accessPolicies.d.ts +65 -0
  30. package/dist-esm/src/operations/accessPolicies.d.ts.map +1 -0
  31. package/dist-esm/src/operations/accessPolicies.js +212 -0
  32. package/dist-esm/src/operations/accessPolicies.js.map +1 -0
  33. package/dist-esm/src/operations/environments.d.ts +78 -0
  34. package/dist-esm/src/operations/environments.d.ts.map +1 -0
  35. package/dist-esm/src/operations/environments.js +314 -0
  36. package/dist-esm/src/operations/environments.js.map +1 -0
  37. package/dist-esm/src/operations/eventSources.d.ts +66 -0
  38. package/dist-esm/src/operations/eventSources.d.ts.map +1 -0
  39. package/dist-esm/src/operations/eventSources.js +213 -0
  40. package/dist-esm/src/operations/eventSources.js.map +1 -0
  41. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  42. package/dist-esm/src/operations/index.d.ts.map +1 -0
  43. package/{esm → dist-esm/src}/operations/index.js +3 -5
  44. package/dist-esm/src/operations/index.js.map +1 -0
  45. package/dist-esm/src/operations/operations.d.ts +32 -0
  46. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  47. package/dist-esm/src/operations/operations.js +120 -0
  48. package/dist-esm/src/operations/operations.js.map +1 -0
  49. package/dist-esm/src/operations/referenceDataSets.d.ts +66 -0
  50. package/dist-esm/src/operations/referenceDataSets.d.ts.map +1 -0
  51. package/dist-esm/src/operations/referenceDataSets.js +213 -0
  52. package/dist-esm/src/operations/referenceDataSets.js.map +1 -0
  53. package/dist-esm/src/operationsInterfaces/accessPolicies.d.ts +57 -0
  54. package/dist-esm/src/operationsInterfaces/accessPolicies.d.ts.map +1 -0
  55. package/dist-esm/src/operationsInterfaces/accessPolicies.js +9 -0
  56. package/dist-esm/src/operationsInterfaces/accessPolicies.js.map +1 -0
  57. package/dist-esm/src/operationsInterfaces/environments.d.ts +70 -0
  58. package/dist-esm/src/operationsInterfaces/environments.d.ts.map +1 -0
  59. package/dist-esm/src/operationsInterfaces/environments.js +9 -0
  60. package/dist-esm/src/operationsInterfaces/environments.js.map +1 -0
  61. package/dist-esm/src/operationsInterfaces/eventSources.d.ts +58 -0
  62. package/dist-esm/src/operationsInterfaces/eventSources.d.ts.map +1 -0
  63. package/dist-esm/src/operationsInterfaces/eventSources.js +9 -0
  64. package/dist-esm/src/operationsInterfaces/eventSources.js.map +1 -0
  65. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  66. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  67. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  68. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  69. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  70. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  71. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  72. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  73. package/dist-esm/src/operationsInterfaces/referenceDataSets.d.ts +58 -0
  74. package/dist-esm/src/operationsInterfaces/referenceDataSets.d.ts.map +1 -0
  75. package/dist-esm/src/operationsInterfaces/referenceDataSets.js +9 -0
  76. package/dist-esm/src/operationsInterfaces/referenceDataSets.js.map +1 -0
  77. package/dist-esm/src/timeSeriesInsightsClient.d.ts +22 -0
  78. package/dist-esm/src/timeSeriesInsightsClient.d.ts.map +1 -0
  79. package/dist-esm/src/timeSeriesInsightsClient.js +55 -0
  80. package/dist-esm/src/timeSeriesInsightsClient.js.map +1 -0
  81. package/dist-esm/test/sampleTest.d.ts +2 -0
  82. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  83. package/dist-esm/test/sampleTest.js +40 -0
  84. package/dist-esm/test/sampleTest.js.map +1 -0
  85. package/package.json +73 -21
  86. package/review/arm-timeseriesinsights.api.md +943 -0
  87. package/rollup.config.js +181 -30
  88. package/src/index.ts +12 -0
  89. package/src/lroImpl.ts +34 -0
  90. package/src/models/index.ts +1032 -1259
  91. package/src/models/mappers.ts +1568 -811
  92. package/src/models/parameters.ts +157 -69
  93. package/src/operations/accessPolicies.ts +144 -250
  94. package/src/operations/environments.ts +322 -267
  95. package/src/operations/eventSources.ts +144 -250
  96. package/src/operations/index.ts +3 -5
  97. package/src/operations/operations.ts +87 -73
  98. package/src/operations/referenceDataSets.ts +144 -250
  99. package/src/operationsInterfaces/accessPolicies.ts +103 -0
  100. package/src/operationsInterfaces/environments.ts +135 -0
  101. package/src/operationsInterfaces/eventSources.ts +104 -0
  102. package/src/operationsInterfaces/index.ts +13 -0
  103. package/src/operationsInterfaces/operations.ts +22 -0
  104. package/src/operationsInterfaces/referenceDataSets.ts +104 -0
  105. package/src/timeSeriesInsightsClient.ts +82 -37
  106. package/tsconfig.json +3 -3
  107. package/types/arm-timeseriesinsights.d.ts +1523 -0
  108. package/types/tsdoc-metadata.json +11 -0
  109. package/dist/arm-timeseriesinsights.js +0 -2800
  110. package/dist/arm-timeseriesinsights.js.map +0 -1
  111. package/dist/arm-timeseriesinsights.min.js +0 -1
  112. package/dist/arm-timeseriesinsights.min.js.map +0 -1
  113. package/esm/models/accessPoliciesMappers.d.ts +0 -2
  114. package/esm/models/accessPoliciesMappers.d.ts.map +0 -1
  115. package/esm/models/accessPoliciesMappers.js +0 -9
  116. package/esm/models/accessPoliciesMappers.js.map +0 -1
  117. package/esm/models/environmentsMappers.d.ts +0 -2
  118. package/esm/models/environmentsMappers.d.ts.map +0 -1
  119. package/esm/models/environmentsMappers.js +0 -9
  120. package/esm/models/environmentsMappers.js.map +0 -1
  121. package/esm/models/eventSourcesMappers.d.ts +0 -2
  122. package/esm/models/eventSourcesMappers.d.ts.map +0 -1
  123. package/esm/models/eventSourcesMappers.js +0 -9
  124. package/esm/models/eventSourcesMappers.js.map +0 -1
  125. package/esm/models/index.d.ts +0 -1413
  126. package/esm/models/index.d.ts.map +0 -1
  127. package/esm/models/index.js +0 -8
  128. package/esm/models/index.js.map +0 -1
  129. package/esm/models/mappers.d.ts +0 -54
  130. package/esm/models/mappers.d.ts.map +0 -1
  131. package/esm/models/mappers.js +0 -1321
  132. package/esm/models/mappers.js.map +0 -1
  133. package/esm/models/operationsMappers.d.ts +0 -2
  134. package/esm/models/operationsMappers.d.ts.map +0 -1
  135. package/esm/models/operationsMappers.js +0 -9
  136. package/esm/models/operationsMappers.js.map +0 -1
  137. package/esm/models/parameters.d.ts +0 -16
  138. package/esm/models/parameters.d.ts.map +0 -1
  139. package/esm/models/parameters.js +0 -173
  140. package/esm/models/parameters.js.map +0 -1
  141. package/esm/models/referenceDataSetsMappers.d.ts +0 -2
  142. package/esm/models/referenceDataSetsMappers.d.ts.map +0 -1
  143. package/esm/models/referenceDataSetsMappers.js +0 -9
  144. package/esm/models/referenceDataSetsMappers.js.map +0 -1
  145. package/esm/operations/accessPolicies.d.ts +0 -165
  146. package/esm/operations/accessPolicies.d.ts.map +0 -1
  147. package/esm/operations/accessPolicies.js +0 -203
  148. package/esm/operations/accessPolicies.js.map +0 -1
  149. package/esm/operations/environments.d.ts +0 -139
  150. package/esm/operations/environments.d.ts.map +0 -1
  151. package/esm/operations/environments.js +0 -268
  152. package/esm/operations/environments.js.map +0 -1
  153. package/esm/operations/eventSources.d.ts +0 -166
  154. package/esm/operations/eventSources.d.ts.map +0 -1
  155. package/esm/operations/eventSources.js +0 -203
  156. package/esm/operations/eventSources.js.map +0 -1
  157. package/esm/operations/index.d.ts.map +0 -1
  158. package/esm/operations/index.js.map +0 -1
  159. package/esm/operations/operations.d.ts +0 -46
  160. package/esm/operations/operations.d.ts.map +0 -1
  161. package/esm/operations/operations.js +0 -77
  162. package/esm/operations/operations.js.map +0 -1
  163. package/esm/operations/referenceDataSets.d.ts +0 -166
  164. package/esm/operations/referenceDataSets.d.ts.map +0 -1
  165. package/esm/operations/referenceDataSets.js +0 -203
  166. package/esm/operations/referenceDataSets.js.map +0 -1
  167. package/esm/timeSeriesInsightsClient.d.ts +0 -22
  168. package/esm/timeSeriesInsightsClient.d.ts.map +0 -1
  169. package/esm/timeSeriesInsightsClient.js +0 -37
  170. package/esm/timeSeriesInsightsClient.js.map +0 -1
  171. package/esm/timeSeriesInsightsClientContext.d.ts +0 -16
  172. package/esm/timeSeriesInsightsClientContext.d.ts.map +0 -1
  173. package/esm/timeSeriesInsightsClientContext.js +0 -56
  174. package/esm/timeSeriesInsightsClientContext.js.map +0 -1
  175. package/src/models/accessPoliciesMappers.ts +0 -30
  176. package/src/models/environmentsMappers.ts +0 -35
  177. package/src/models/eventSourcesMappers.ts +0 -39
  178. package/src/models/operationsMappers.ts +0 -15
  179. package/src/models/referenceDataSetsMappers.ts +0 -35
  180. package/src/timeSeriesInsightsClientContext.ts +0 -62
@@ -1,203 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as tslib_1 from "tslib";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Mappers from "../models/accessPoliciesMappers";
13
- import * as Parameters from "../models/parameters";
14
- /** Class representing a AccessPolicies. */
15
- var AccessPolicies = /** @class */ (function () {
16
- /**
17
- * Create a AccessPolicies.
18
- * @param {TimeSeriesInsightsClientContext} client Reference to the service client.
19
- */
20
- function AccessPolicies(client) {
21
- this.client = client;
22
- }
23
- AccessPolicies.prototype.createOrUpdate = function (resourceGroupName, environmentName, accessPolicyName, parameters, options, callback) {
24
- return this.client.sendOperationRequest({
25
- resourceGroupName: resourceGroupName,
26
- environmentName: environmentName,
27
- accessPolicyName: accessPolicyName,
28
- parameters: parameters,
29
- options: options
30
- }, createOrUpdateOperationSpec, callback);
31
- };
32
- AccessPolicies.prototype.get = function (resourceGroupName, environmentName, accessPolicyName, options, callback) {
33
- return this.client.sendOperationRequest({
34
- resourceGroupName: resourceGroupName,
35
- environmentName: environmentName,
36
- accessPolicyName: accessPolicyName,
37
- options: options
38
- }, getOperationSpec, callback);
39
- };
40
- AccessPolicies.prototype.update = function (resourceGroupName, environmentName, accessPolicyName, accessPolicyUpdateParameters, options, callback) {
41
- return this.client.sendOperationRequest({
42
- resourceGroupName: resourceGroupName,
43
- environmentName: environmentName,
44
- accessPolicyName: accessPolicyName,
45
- accessPolicyUpdateParameters: accessPolicyUpdateParameters,
46
- options: options
47
- }, updateOperationSpec, callback);
48
- };
49
- AccessPolicies.prototype.deleteMethod = function (resourceGroupName, environmentName, accessPolicyName, options, callback) {
50
- return this.client.sendOperationRequest({
51
- resourceGroupName: resourceGroupName,
52
- environmentName: environmentName,
53
- accessPolicyName: accessPolicyName,
54
- options: options
55
- }, deleteMethodOperationSpec, callback);
56
- };
57
- AccessPolicies.prototype.listByEnvironment = function (resourceGroupName, environmentName, options, callback) {
58
- return this.client.sendOperationRequest({
59
- resourceGroupName: resourceGroupName,
60
- environmentName: environmentName,
61
- options: options
62
- }, listByEnvironmentOperationSpec, callback);
63
- };
64
- return AccessPolicies;
65
- }());
66
- export { AccessPolicies };
67
- // Operation Specifications
68
- var serializer = new msRest.Serializer(Mappers);
69
- var createOrUpdateOperationSpec = {
70
- httpMethod: "PUT",
71
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}",
72
- urlParameters: [
73
- Parameters.subscriptionId,
74
- Parameters.resourceGroupName,
75
- Parameters.environmentName1,
76
- Parameters.accessPolicyName0
77
- ],
78
- queryParameters: [
79
- Parameters.apiVersion
80
- ],
81
- headerParameters: [
82
- Parameters.acceptLanguage
83
- ],
84
- requestBody: {
85
- parameterPath: "parameters",
86
- mapper: tslib_1.__assign({}, Mappers.AccessPolicyCreateOrUpdateParameters, { required: true })
87
- },
88
- responses: {
89
- 200: {
90
- bodyMapper: Mappers.AccessPolicyResource
91
- },
92
- 201: {
93
- bodyMapper: Mappers.AccessPolicyResource
94
- },
95
- default: {
96
- bodyMapper: Mappers.CloudError
97
- }
98
- },
99
- serializer: serializer
100
- };
101
- var getOperationSpec = {
102
- httpMethod: "GET",
103
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}",
104
- urlParameters: [
105
- Parameters.subscriptionId,
106
- Parameters.resourceGroupName,
107
- Parameters.environmentName1,
108
- Parameters.accessPolicyName1
109
- ],
110
- queryParameters: [
111
- Parameters.apiVersion
112
- ],
113
- headerParameters: [
114
- Parameters.acceptLanguage
115
- ],
116
- responses: {
117
- 200: {
118
- bodyMapper: Mappers.AccessPolicyResource
119
- },
120
- default: {
121
- bodyMapper: Mappers.CloudError
122
- }
123
- },
124
- serializer: serializer
125
- };
126
- var updateOperationSpec = {
127
- httpMethod: "PATCH",
128
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}",
129
- urlParameters: [
130
- Parameters.subscriptionId,
131
- Parameters.resourceGroupName,
132
- Parameters.environmentName1,
133
- Parameters.accessPolicyName1
134
- ],
135
- queryParameters: [
136
- Parameters.apiVersion
137
- ],
138
- headerParameters: [
139
- Parameters.acceptLanguage
140
- ],
141
- requestBody: {
142
- parameterPath: "accessPolicyUpdateParameters",
143
- mapper: tslib_1.__assign({}, Mappers.AccessPolicyUpdateParameters, { required: true })
144
- },
145
- responses: {
146
- 200: {
147
- bodyMapper: Mappers.AccessPolicyResource
148
- },
149
- default: {
150
- bodyMapper: Mappers.CloudError
151
- }
152
- },
153
- serializer: serializer
154
- };
155
- var deleteMethodOperationSpec = {
156
- httpMethod: "DELETE",
157
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies/{accessPolicyName}",
158
- urlParameters: [
159
- Parameters.subscriptionId,
160
- Parameters.resourceGroupName,
161
- Parameters.environmentName1,
162
- Parameters.accessPolicyName1
163
- ],
164
- queryParameters: [
165
- Parameters.apiVersion
166
- ],
167
- headerParameters: [
168
- Parameters.acceptLanguage
169
- ],
170
- responses: {
171
- 200: {},
172
- 204: {},
173
- default: {
174
- bodyMapper: Mappers.CloudError
175
- }
176
- },
177
- serializer: serializer
178
- };
179
- var listByEnvironmentOperationSpec = {
180
- httpMethod: "GET",
181
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}/accessPolicies",
182
- urlParameters: [
183
- Parameters.subscriptionId,
184
- Parameters.resourceGroupName,
185
- Parameters.environmentName1
186
- ],
187
- queryParameters: [
188
- Parameters.apiVersion
189
- ],
190
- headerParameters: [
191
- Parameters.acceptLanguage
192
- ],
193
- responses: {
194
- 200: {
195
- bodyMapper: Mappers.AccessPolicyListResponse
196
- },
197
- default: {
198
- bodyMapper: Mappers.CloudError
199
- }
200
- },
201
- serializer: serializer
202
- };
203
- //# sourceMappingURL=accessPolicies.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"accessPolicies.js","sourceRoot":"","sources":["../../src/operations/accessPolicies.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,2CAA2C;AAC3C;IAGE;;;OAGG;IACH,wBAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAgCD,uCAAc,GAAd,UAAe,iBAAyB,EAAE,eAAuB,EAAE,gBAAwB,EAAE,UAAuD,EAAE,OAAyF,EAAE,QAA8D;QAC7S,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,eAAe,iBAAA;YACf,gBAAgB,kBAAA;YAChB,UAAU,YAAA;YACV,OAAO,SAAA;SACR,EACD,2BAA2B,EAC3B,QAAQ,CAAyD,CAAC;IACtE,CAAC;IAgCD,4BAAG,GAAH,UAAI,iBAAyB,EAAE,eAAuB,EAAE,gBAAwB,EAAE,OAAyF,EAAE,QAA8D;QACzO,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,eAAe,iBAAA;YACf,gBAAgB,kBAAA;YAChB,OAAO,SAAA;SACR,EACD,gBAAgB,EAChB,Q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
3
- import * as Models from "../models";
4
- import { TimeSeriesInsightsClientContext } from "../timeSeriesInsightsClientContext";
5
- /** Class representing a Environments. */
6
- export declare class Environments {
7
- private readonly client;
8
- /**
9
- * Create a Environments.
10
- * @param {TimeSeriesInsightsClientContext} client Reference to the service client.
11
- */
12
- constructor(client: TimeSeriesInsightsClientContext);
13
- /**
14
- * Create or update an environment in the specified subscription and resource group.
15
- * @param resourceGroupName Name of an Azure Resource group.
16
- * @param environmentName Name of the environment
17
- * @param parameters Parameters for creating an environment resource.
18
- * @param [options] The optional parameters
19
- * @returns Promise<Models.EnvironmentsCreateOrUpdateResponse>
20
- */
21
- createOrUpdate(resourceGroupName: string, environmentName: string, parameters: Models.EnvironmentCreateOrUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.EnvironmentsCreateOrUpdateResponse>;
22
- /**
23
- * Gets the environment with the specified name in the specified subscription and resource group.
24
- * @param resourceGroupName Name of an Azure Resource group.
25
- * @param environmentName The name of the Time Series Insights environment associated with the
26
- * specified resource group.
27
- * @param [options] The optional parameters
28
- * @returns Promise<Models.EnvironmentsGetResponse>
29
- */
30
- get(resourceGroupName: string, environmentName: string, options?: Models.EnvironmentsGetOptionalParams): Promise<Models.EnvironmentsGetResponse>;
31
- /**
32
- * @param resourceGroupName Name of an Azure Resource group.
33
- * @param environmentName The name of the Time Series Insights environment associated with the
34
- * specified resource group.
35
- * @param callback The callback
36
- */
37
- get(resourceGroupName: string, environmentName: string, callback: msRest.ServiceCallback<Models.EnvironmentResource>): void;
38
- /**
39
- * @param resourceGroupName Name of an Azure Resource group.
40
- * @param environmentName The name of the Time Series Insights environment associated with the
41
- * specified resource group.
42
- * @param options The optional parameters
43
- * @param callback The callback
44
- */
45
- get(resourceGroupName: string, environmentName: string, options: Models.EnvironmentsGetOptionalParams, callback: msRest.ServiceCallback<Models.EnvironmentResource>): void;
46
- /**
47
- * Updates the environment with the specified name in the specified subscription and resource
48
- * group.
49
- * @param resourceGroupName Name of an Azure Resource group.
50
- * @param environmentName The name of the Time Series Insights environment associated with the
51
- * specified resource group.
52
- * @param environmentUpdateParameters Request object that contains the updated information for the
53
- * environment.
54
- * @param [options] The optional parameters
55
- * @returns Promise<Models.EnvironmentsUpdateResponse>
56
- */
57
- update(resourceGroupName: string, environmentName: string, environmentUpdateParameters: Models.EnvironmentUpdateParameters, options?: msRest.RequestOptionsBase): Promise<Models.EnvironmentsUpdateResponse>;
58
- /**
59
- * Deletes the environment with the specified name in the specified subscription and resource
60
- * group.
61
- * @param resourceGroupName Name of an Azure Resource group.
62
- * @param environmentName The name of the Time Series Insights environment associated with the
63
- * specified resource group.
64
- * @param [options] The optional parameters
65
- * @returns Promise<msRest.RestResponse>
66
- */
67
- deleteMethod(resourceGroupName: string, environmentName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
68
- /**
69
- * @param resourceGroupName Name of an Azure Resource group.
70
- * @param environmentName The name of the Time Series Insights environment associated with the
71
- * specified resource group.
72
- * @param callback The callback
73
- */
74
- deleteMethod(resourceGroupName: string, environmentName: string, callback: msRest.ServiceCallback<void>): void;
75
- /**
76
- * @param resourceGroupName Name of an Azure Resource group.
77
- * @param environmentName The name of the Time Series Insights environment associated with the
78
- * specified resource group.
79
- * @param options The optional parameters
80
- * @param callback The callback
81
- */
82
- deleteMethod(resourceGroupName: string, environmentName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
83
- /**
84
- * Lists all the available environments associated with the subscription and within the specified
85
- * resource group.
86
- * @param resourceGroupName Name of an Azure Resource group.
87
- * @param [options] The optional parameters
88
- * @returns Promise<Models.EnvironmentsListByResourceGroupResponse>
89
- */
90
- listByResourceGroup(resourceGroupName: string, options?: msRest.RequestOptionsBase): Promise<Models.EnvironmentsListByResourceGroupResponse>;
91
- /**
92
- * @param resourceGroupName Name of an Azure Resource group.
93
- * @param callback The callback
94
- */
95
- listByResourceGroup(resourceGroupName: string, callback: msRest.ServiceCallback<Models.EnvironmentListResponse>): void;
96
- /**
97
- * @param resourceGroupName Name of an Azure Resource group.
98
- * @param options The optional parameters
99
- * @param callback The callback
100
- */
101
- listByResourceGroup(resourceGroupName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EnvironmentListResponse>): void;
102
- /**
103
- * Lists all the available environments within a subscription, irrespective of the resource groups.
104
- * @param [options] The optional parameters
105
- * @returns Promise<Models.EnvironmentsListBySubscriptionResponse>
106
- */
107
- listBySubscription(options?: msRest.RequestOptionsBase): Promise<Models.EnvironmentsListBySubscriptionResponse>;
108
- /**
109
- * @param callback The callback
110
- */
111
- listBySubscription(callback: msRest.ServiceCallback<Models.EnvironmentListResponse>): void;
112
- /**
113
- * @param options The optional parameters
114
- * @param callback The callback
115
- */
116
- listBySubscription(options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.EnvironmentListResponse>): void;
117
- /**
118
- * Create or update an environment in the specified subscription and resource group.
119
- * @param resourceGroupName Name of an Azure Resource group.
120
- * @param environmentName Name of the environment
121
- * @param parameters Parameters for creating an environment resource.
122
- * @param [options] The optional parameters
123
- * @returns Promise<msRestAzure.LROPoller>
124
- */
125
- beginCreateOrUpdate(resourceGroupName: string, environmentName: string, parameters: Models.EnvironmentCreateOrUpdateParameters, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
126
- /**
127
- * Updates the environment with the specified name in the specified subscription and resource
128
- * group.
129
- * @param resourceGroupName Name of an Azure Resource group.
130
- * @param environmentName The name of the Time Series Insights environment associated with the
131
- * specified resource group.
132
- * @param environmentUpdateParameters Request object that contains the updated information for the
133
- * environment.
134
- * @param [options] The optional parameters
135
- * @returns Promise<msRestAzure.LROPoller>
136
- */
137
- beginUpdate(resourceGroupName: string, environmentName: string, environmentUpdateParameters: Models.EnvironmentUpdateParameters, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller>;
138
- }
139
- //# sourceMappingURL=environments.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"environments.d.ts","sourceRoot":"","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uBAAuB,CAAC,GAAG,IAAI;IAC1F;;;OAGG;IACH,kBAAkB,CAAC,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,uBAAuB,CAAC,GAAG,IAAI;IAU9H;;;;;;;OAOG;IACH,mBAAmB,CAAC,iBAAiB,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,CAAC,mCAAmC,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;IAYpM;;;;;;;;;;OAUG;IACH,WAAW,CAAC,iBAAiB,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,2BAA2B,EAAE,MAAM,CAAC,2BAA2B,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,kBAAkB,GAAG,OAAO,CAAC,WAAW,CAAC,SAAS,CAAC;CAWtM"}
@@ -1,268 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
5
- *
6
- * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
9
- */
10
- import * as tslib_1 from "tslib";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Mappers from "../models/environmentsMappers";
13
- import * as Parameters from "../models/parameters";
14
- /** Class representing a Environments. */
15
- var Environments = /** @class */ (function () {
16
- /**
17
- * Create a Environments.
18
- * @param {TimeSeriesInsightsClientContext} client Reference to the service client.
19
- */
20
- function Environments(client) {
21
- this.client = client;
22
- }
23
- /**
24
- * Create or update an environment in the specified subscription and resource group.
25
- * @param resourceGroupName Name of an Azure Resource group.
26
- * @param environmentName Name of the environment
27
- * @param parameters Parameters for creating an environment resource.
28
- * @param [options] The optional parameters
29
- * @returns Promise<Models.EnvironmentsCreateOrUpdateResponse>
30
- */
31
- Environments.prototype.createOrUpdate = function (resourceGroupName, environmentName, parameters, options) {
32
- return this.beginCreateOrUpdate(resourceGroupName, environmentName, parameters, options)
33
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
34
- };
35
- Environments.prototype.get = function (resourceGroupName, environmentName, options, callback) {
36
- return this.client.sendOperationRequest({
37
- resourceGroupName: resourceGroupName,
38
- environmentName: environmentName,
39
- options: options
40
- }, getOperationSpec, callback);
41
- };
42
- /**
43
- * Updates the environment with the specified name in the specified subscription and resource
44
- * group.
45
- * @param resourceGroupName Name of an Azure Resource group.
46
- * @param environmentName The name of the Time Series Insights environment associated with the
47
- * specified resource group.
48
- * @param environmentUpdateParameters Request object that contains the updated information for the
49
- * environment.
50
- * @param [options] The optional parameters
51
- * @returns Promise<Models.EnvironmentsUpdateResponse>
52
- */
53
- Environments.prototype.update = function (resourceGroupName, environmentName, environmentUpdateParameters, options) {
54
- return this.beginUpdate(resourceGroupName, environmentName, environmentUpdateParameters, options)
55
- .then(function (lroPoller) { return lroPoller.pollUntilFinished(); });
56
- };
57
- Environments.prototype.deleteMethod = function (resourceGroupName, environmentName, options, callback) {
58
- return this.client.sendOperationRequest({
59
- resourceGroupName: resourceGroupName,
60
- environmentName: environmentName,
61
- options: options
62
- }, deleteMethodOperationSpec, callback);
63
- };
64
- Environments.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
65
- return this.client.sendOperationRequest({
66
- resourceGroupName: resourceGroupName,
67
- options: options
68
- }, listByResourceGroupOperationSpec, callback);
69
- };
70
- Environments.prototype.listBySubscription = function (options, callback) {
71
- return this.client.sendOperationRequest({
72
- options: options
73
- }, listBySubscriptionOperationSpec, callback);
74
- };
75
- /**
76
- * Create or update an environment in the specified subscription and resource group.
77
- * @param resourceGroupName Name of an Azure Resource group.
78
- * @param environmentName Name of the environment
79
- * @param parameters Parameters for creating an environment resource.
80
- * @param [options] The optional parameters
81
- * @returns Promise<msRestAzure.LROPoller>
82
- */
83
- Environments.prototype.beginCreateOrUpdate = function (resourceGroupName, environmentName, parameters, options) {
84
- return this.client.sendLRORequest({
85
- resourceGroupName: resourceGroupName,
86
- environmentName: environmentName,
87
- parameters: parameters,
88
- options: options
89
- }, beginCreateOrUpdateOperationSpec, options);
90
- };
91
- /**
92
- * Updates the environment with the specified name in the specified subscription and resource
93
- * group.
94
- * @param resourceGroupName Name of an Azure Resource group.
95
- * @param environmentName The name of the Time Series Insights environment associated with the
96
- * specified resource group.
97
- * @param environmentUpdateParameters Request object that contains the updated information for the
98
- * environment.
99
- * @param [options] The optional parameters
100
- * @returns Promise<msRestAzure.LROPoller>
101
- */
102
- Environments.prototype.beginUpdate = function (resourceGroupName, environmentName, environmentUpdateParameters, options) {
103
- return this.client.sendLRORequest({
104
- resourceGroupName: resourceGroupName,
105
- environmentName: environmentName,
106
- environmentUpdateParameters: environmentUpdateParameters,
107
- options: options
108
- }, beginUpdateOperationSpec, options);
109
- };
110
- return Environments;
111
- }());
112
- export { Environments };
113
- // Operation Specifications
114
- var serializer = new msRest.Serializer(Mappers);
115
- var getOperationSpec = {
116
- httpMethod: "GET",
117
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}",
118
- urlParameters: [
119
- Parameters.subscriptionId,
120
- Parameters.resourceGroupName,
121
- Parameters.environmentName1
122
- ],
123
- queryParameters: [
124
- Parameters.expand,
125
- Parameters.apiVersion
126
- ],
127
- headerParameters: [
128
- Parameters.acceptLanguage
129
- ],
130
- responses: {
131
- 200: {
132
- bodyMapper: Mappers.EnvironmentResource
133
- },
134
- default: {
135
- bodyMapper: Mappers.CloudError
136
- }
137
- },
138
- serializer: serializer
139
- };
140
- var deleteMethodOperationSpec = {
141
- httpMethod: "DELETE",
142
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}",
143
- urlParameters: [
144
- Parameters.subscriptionId,
145
- Parameters.resourceGroupName,
146
- Parameters.environmentName1
147
- ],
148
- queryParameters: [
149
- Parameters.apiVersion
150
- ],
151
- headerParameters: [
152
- Parameters.acceptLanguage
153
- ],
154
- responses: {
155
- 200: {},
156
- 204: {},
157
- default: {
158
- bodyMapper: Mappers.CloudError
159
- }
160
- },
161
- serializer: serializer
162
- };
163
- var listByResourceGroupOperationSpec = {
164
- httpMethod: "GET",
165
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments",
166
- urlParameters: [
167
- Parameters.subscriptionId,
168
- Parameters.resourceGroupName
169
- ],
170
- queryParameters: [
171
- Parameters.apiVersion
172
- ],
173
- headerParameters: [
174
- Parameters.acceptLanguage
175
- ],
176
- responses: {
177
- 200: {
178
- bodyMapper: Mappers.EnvironmentListResponse
179
- },
180
- default: {
181
- bodyMapper: Mappers.CloudError
182
- }
183
- },
184
- serializer: serializer
185
- };
186
- var listBySubscriptionOperationSpec = {
187
- httpMethod: "GET",
188
- path: "subscriptions/{subscriptionId}/providers/Microsoft.TimeSeriesInsights/environments",
189
- urlParameters: [
190
- Parameters.subscriptionId
191
- ],
192
- queryParameters: [
193
- Parameters.apiVersion
194
- ],
195
- headerParameters: [
196
- Parameters.acceptLanguage
197
- ],
198
- responses: {
199
- 200: {
200
- bodyMapper: Mappers.EnvironmentListResponse
201
- },
202
- default: {
203
- bodyMapper: Mappers.CloudError
204
- }
205
- },
206
- serializer: serializer
207
- };
208
- var beginCreateOrUpdateOperationSpec = {
209
- httpMethod: "PUT",
210
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}",
211
- urlParameters: [
212
- Parameters.subscriptionId,
213
- Parameters.resourceGroupName,
214
- Parameters.environmentName0
215
- ],
216
- queryParameters: [
217
- Parameters.apiVersion
218
- ],
219
- headerParameters: [
220
- Parameters.acceptLanguage
221
- ],
222
- requestBody: {
223
- parameterPath: "parameters",
224
- mapper: tslib_1.__assign({}, Mappers.EnvironmentCreateOrUpdateParameters, { required: true })
225
- },
226
- responses: {
227
- 200: {
228
- bodyMapper: Mappers.EnvironmentResource
229
- },
230
- 201: {
231
- bodyMapper: Mappers.EnvironmentResource
232
- },
233
- 404: {},
234
- default: {
235
- bodyMapper: Mappers.CloudError
236
- }
237
- },
238
- serializer: serializer
239
- };
240
- var beginUpdateOperationSpec = {
241
- httpMethod: "PATCH",
242
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.TimeSeriesInsights/environments/{environmentName}",
243
- urlParameters: [
244
- Parameters.subscriptionId,
245
- Parameters.resourceGroupName,
246
- Parameters.environmentName1
247
- ],
248
- queryParameters: [
249
- Parameters.apiVersion
250
- ],
251
- headerParameters: [
252
- Parameters.acceptLanguage
253
- ],
254
- requestBody: {
255
- parameterPath: "environmentUpdateParameters",
256
- mapper: tslib_1.__assign({}, Mappers.EnvironmentUpdateParameters, { required: true })
257
- },
258
- responses: {
259
- 200: {
260
- bodyMapper: Mappers.EnvironmentResource
261
- },
262
- default: {
263
- bodyMapper: Mappers.CloudError
264
- }
265
- },
266
- serializer: serializer
267
- };
268
- //# sourceMappingURL=environments.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"environments.js","sourceRoot":"","sources":["../../src/operations/environments.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAG5C,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAC;AACzD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,yCAAyC;AACzC;IAGE;;;OAGG;IACH,sBAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,qCAAc,GAAd,UAAe,iBAAyB,EAAE,eAAuB,EAAE,UAAsD,EAAE,OAAmC;QAC5J,OAAO,IAAI,CAAC,mBAAmB,CAAC,iBAAiB,EAAC,e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