@azure/arm-servicefabricmesh 2.2.1 → 3.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (267) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +5478 -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 +1366 -0
  13. package/dist-esm/src/models/index.d.ts.map +1 -0
  14. package/dist-esm/src/models/index.js +121 -0
  15. package/dist-esm/src/models/index.js.map +1 -0
  16. package/dist-esm/src/models/mappers.d.ts +105 -0
  17. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  18. package/{esm → dist-esm/src}/models/mappers.js +1264 -1320
  19. package/dist-esm/src/models/mappers.js.map +1 -0
  20. package/dist-esm/src/models/parameters.d.ts +25 -0
  21. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  22. package/{esm → dist-esm/src}/models/parameters.js +104 -62
  23. package/dist-esm/src/models/parameters.js.map +1 -0
  24. package/dist-esm/src/operations/application.d.ts +82 -0
  25. package/dist-esm/src/operations/application.d.ts.map +1 -0
  26. package/dist-esm/src/operations/application.js +340 -0
  27. package/dist-esm/src/operations/application.js.map +1 -0
  28. package/dist-esm/src/operations/codePackage.d.ts +23 -0
  29. package/dist-esm/src/operations/codePackage.d.ts.map +1 -0
  30. package/dist-esm/src/operations/codePackage.js +66 -0
  31. package/dist-esm/src/operations/codePackage.js.map +1 -0
  32. package/dist-esm/src/operations/gateway.d.ts +83 -0
  33. package/dist-esm/src/operations/gateway.d.ts.map +1 -0
  34. package/dist-esm/src/operations/gateway.js +341 -0
  35. package/dist-esm/src/operations/gateway.js.map +1 -0
  36. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  37. package/dist-esm/src/operations/index.d.ts.map +1 -0
  38. package/{esm → dist-esm/src}/operations/index.js +3 -5
  39. package/dist-esm/src/operations/index.js.map +1 -0
  40. package/dist-esm/src/operations/network.d.ts +82 -0
  41. package/dist-esm/src/operations/network.d.ts.map +1 -0
  42. package/dist-esm/src/operations/network.js +340 -0
  43. package/dist-esm/src/operations/network.js.map +1 -0
  44. package/dist-esm/src/operations/operations.d.ts +32 -0
  45. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/operations.js +120 -0
  47. package/dist-esm/src/operations/operations.js.map +1 -0
  48. package/dist-esm/src/operations/secret.d.ts +81 -0
  49. package/dist-esm/src/operations/secret.d.ts.map +1 -0
  50. package/dist-esm/src/operations/secret.js +339 -0
  51. package/dist-esm/src/operations/secret.js.map +1 -0
  52. package/dist-esm/src/operations/secretValueOperations.d.ts +81 -0
  53. package/dist-esm/src/operations/secretValueOperations.d.ts.map +1 -0
  54. package/dist-esm/src/operations/secretValueOperations.js +303 -0
  55. package/dist-esm/src/operations/secretValueOperations.js.map +1 -0
  56. package/dist-esm/src/operations/service.d.ts +49 -0
  57. package/dist-esm/src/operations/service.d.ts.map +1 -0
  58. package/dist-esm/src/operations/service.js +177 -0
  59. package/dist-esm/src/operations/service.js.map +1 -0
  60. package/dist-esm/src/operations/serviceReplica.d.ts +53 -0
  61. package/dist-esm/src/operations/serviceReplica.d.ts.map +1 -0
  62. package/dist-esm/src/operations/serviceReplica.js +196 -0
  63. package/dist-esm/src/operations/serviceReplica.js.map +1 -0
  64. package/dist-esm/src/operations/volume.d.ts +81 -0
  65. package/dist-esm/src/operations/volume.d.ts.map +1 -0
  66. package/dist-esm/src/operations/volume.js +339 -0
  67. package/dist-esm/src/operations/volume.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/application.d.ts +44 -0
  69. package/dist-esm/src/operationsInterfaces/application.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/application.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/application.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/codePackage.d.ts +15 -0
  73. package/dist-esm/src/operationsInterfaces/codePackage.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/codePackage.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/codePackage.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/gateway.d.ts +45 -0
  77. package/dist-esm/src/operationsInterfaces/gateway.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/gateway.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/gateway.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/index.d.ts +11 -0
  81. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  82. package/dist-esm/src/operationsInterfaces/index.js +18 -0
  83. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/network.d.ts +44 -0
  85. package/dist-esm/src/operationsInterfaces/network.d.ts.map +1 -0
  86. package/dist-esm/src/operationsInterfaces/network.js +9 -0
  87. package/dist-esm/src/operationsInterfaces/network.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  89. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/secret.d.ts +43 -0
  93. package/dist-esm/src/operationsInterfaces/secret.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/secret.js +9 -0
  95. package/dist-esm/src/operationsInterfaces/secret.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts +55 -0
  97. package/dist-esm/src/operationsInterfaces/secretValueOperations.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/secretValueOperations.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/secretValueOperations.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/service.d.ts +23 -0
  101. package/dist-esm/src/operationsInterfaces/service.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/service.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/service.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts +25 -0
  105. package/dist-esm/src/operationsInterfaces/serviceReplica.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/serviceReplica.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/serviceReplica.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/volume.d.ts +43 -0
  109. package/dist-esm/src/operationsInterfaces/volume.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/volume.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/volume.js.map +1 -0
  112. package/dist-esm/src/serviceFabricMeshManagementClient.d.ts +27 -0
  113. package/dist-esm/src/serviceFabricMeshManagementClient.d.ts.map +1 -0
  114. package/dist-esm/src/serviceFabricMeshManagementClient.js +60 -0
  115. package/dist-esm/src/serviceFabricMeshManagementClient.js.map +1 -0
  116. package/dist-esm/test/sampleTest.d.ts +2 -0
  117. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  118. package/dist-esm/test/sampleTest.js +40 -0
  119. package/dist-esm/test/sampleTest.js.map +1 -0
  120. package/package.json +85 -26
  121. package/review/arm-servicefabricmesh.api.md +1210 -0
  122. package/rollup.config.js +184 -27
  123. package/src/index.ts +12 -0
  124. package/src/models/index.ts +1281 -2775
  125. package/src/models/mappers.ts +1315 -1344
  126. package/src/models/parameters.ts +138 -63
  127. package/src/operations/application.ts +260 -269
  128. package/src/operations/codePackage.ts +44 -60
  129. package/src/operations/gateway.ts +263 -272
  130. package/src/operations/index.ts +3 -5
  131. package/src/operations/network.ts +262 -271
  132. package/src/operations/operations.ts +87 -75
  133. package/src/operations/secret.ts +261 -271
  134. package/src/operations/secretValueOperations.ts +239 -259
  135. package/src/operations/service.ts +161 -124
  136. package/src/operations/serviceReplica.ts +177 -120
  137. package/src/operations/volume.ts +261 -271
  138. package/src/operationsInterfaces/application.ts +80 -0
  139. package/src/operationsInterfaces/codePackage.ts +33 -0
  140. package/src/operationsInterfaces/gateway.ts +81 -0
  141. package/src/operationsInterfaces/index.ts +18 -0
  142. package/src/operationsInterfaces/network.ts +80 -0
  143. package/src/operationsInterfaces/operations.ts +22 -0
  144. package/src/operationsInterfaces/secret.ts +79 -0
  145. package/src/operationsInterfaces/secretValueOperations.ts +99 -0
  146. package/src/operationsInterfaces/service.ts +46 -0
  147. package/src/operationsInterfaces/serviceReplica.ts +50 -0
  148. package/src/operationsInterfaces/volume.ts +79 -0
  149. package/src/serviceFabricMeshManagementClient.ts +102 -53
  150. package/tsconfig.json +20 -7
  151. package/types/arm-servicefabricmesh.d.ts +1940 -0
  152. package/types/tsdoc-metadata.json +11 -0
  153. package/dist/arm-servicefabricmesh.js +0 -5363
  154. package/dist/arm-servicefabricmesh.js.map +0 -1
  155. package/dist/arm-servicefabricmesh.min.js +0 -1
  156. package/dist/arm-servicefabricmesh.min.js.map +0 -1
  157. package/esm/models/applicationMappers.d.ts +0 -2
  158. package/esm/models/applicationMappers.d.ts.map +0 -1
  159. package/esm/models/applicationMappers.js +0 -11
  160. package/esm/models/applicationMappers.js.map +0 -1
  161. package/esm/models/codePackageMappers.d.ts +0 -2
  162. package/esm/models/codePackageMappers.d.ts.map +0 -1
  163. package/esm/models/codePackageMappers.js +0 -11
  164. package/esm/models/codePackageMappers.js.map +0 -1
  165. package/esm/models/gatewayMappers.d.ts +0 -2
  166. package/esm/models/gatewayMappers.d.ts.map +0 -1
  167. package/esm/models/gatewayMappers.js +0 -11
  168. package/esm/models/gatewayMappers.js.map +0 -1
  169. package/esm/models/index.d.ts +0 -2938
  170. package/esm/models/index.d.ts.map +0 -1
  171. package/esm/models/index.js +0 -10
  172. package/esm/models/index.js.map +0 -1
  173. package/esm/models/mappers.d.ts +0 -102
  174. package/esm/models/mappers.d.ts.map +0 -1
  175. package/esm/models/mappers.js.map +0 -1
  176. package/esm/models/networkMappers.d.ts +0 -2
  177. package/esm/models/networkMappers.d.ts.map +0 -1
  178. package/esm/models/networkMappers.js +0 -11
  179. package/esm/models/networkMappers.js.map +0 -1
  180. package/esm/models/operationsMappers.d.ts +0 -2
  181. package/esm/models/operationsMappers.d.ts.map +0 -1
  182. package/esm/models/operationsMappers.js +0 -11
  183. package/esm/models/operationsMappers.js.map +0 -1
  184. package/esm/models/parameters.d.ts +0 -17
  185. package/esm/models/parameters.d.ts.map +0 -1
  186. package/esm/models/parameters.js.map +0 -1
  187. package/esm/models/secretMappers.d.ts +0 -2
  188. package/esm/models/secretMappers.d.ts.map +0 -1
  189. package/esm/models/secretMappers.js +0 -11
  190. package/esm/models/secretMappers.js.map +0 -1
  191. package/esm/models/secretValueOperationsMappers.d.ts +0 -2
  192. package/esm/models/secretValueOperationsMappers.d.ts.map +0 -1
  193. package/esm/models/secretValueOperationsMappers.js +0 -11
  194. package/esm/models/secretValueOperationsMappers.js.map +0 -1
  195. package/esm/models/serviceMappers.d.ts +0 -2
  196. package/esm/models/serviceMappers.d.ts.map +0 -1
  197. package/esm/models/serviceMappers.js +0 -11
  198. package/esm/models/serviceMappers.js.map +0 -1
  199. package/esm/models/serviceReplicaMappers.d.ts +0 -2
  200. package/esm/models/serviceReplicaMappers.d.ts.map +0 -1
  201. package/esm/models/serviceReplicaMappers.js +0 -11
  202. package/esm/models/serviceReplicaMappers.js.map +0 -1
  203. package/esm/models/volumeMappers.d.ts +0 -2
  204. package/esm/models/volumeMappers.d.ts.map +0 -1
  205. package/esm/models/volumeMappers.js +0 -11
  206. package/esm/models/volumeMappers.js.map +0 -1
  207. package/esm/operations/application.d.ts +0 -162
  208. package/esm/operations/application.d.ts.map +0 -1
  209. package/esm/operations/application.js +0 -238
  210. package/esm/operations/application.js.map +0 -1
  211. package/esm/operations/codePackage.d.ts +0 -44
  212. package/esm/operations/codePackage.d.ts.map +0 -1
  213. package/esm/operations/codePackage.js +0 -65
  214. package/esm/operations/codePackage.js.map +0 -1
  215. package/esm/operations/gateway.d.ts +0 -163
  216. package/esm/operations/gateway.d.ts.map +0 -1
  217. package/esm/operations/gateway.js +0 -238
  218. package/esm/operations/gateway.js.map +0 -1
  219. package/esm/operations/index.d.ts.map +0 -1
  220. package/esm/operations/index.js.map +0 -1
  221. package/esm/operations/network.d.ts +0 -162
  222. package/esm/operations/network.d.ts.map +0 -1
  223. package/esm/operations/network.js +0 -238
  224. package/esm/operations/network.js.map +0 -1
  225. package/esm/operations/operations.d.ts +0 -48
  226. package/esm/operations/operations.d.ts.map +0 -1
  227. package/esm/operations/operations.js +0 -77
  228. package/esm/operations/operations.js.map +0 -1
  229. package/esm/operations/secret.d.ts +0 -162
  230. package/esm/operations/secret.d.ts.map +0 -1
  231. package/esm/operations/secret.js +0 -238
  232. package/esm/operations/secret.js.map +0 -1
  233. package/esm/operations/secretValueOperations.d.ts +0 -175
  234. package/esm/operations/secretValueOperations.d.ts.map +0 -1
  235. package/esm/operations/secretValueOperations.js +0 -226
  236. package/esm/operations/secretValueOperations.js.map +0 -1
  237. package/esm/operations/service.d.ts +0 -82
  238. package/esm/operations/service.d.ts.map +0 -1
  239. package/esm/operations/service.js +0 -117
  240. package/esm/operations/service.js.map +0 -1
  241. package/esm/operations/serviceReplica.d.ts +0 -88
  242. package/esm/operations/serviceReplica.d.ts.map +0 -1
  243. package/esm/operations/serviceReplica.js +0 -121
  244. package/esm/operations/serviceReplica.js.map +0 -1
  245. package/esm/operations/volume.d.ts +0 -162
  246. package/esm/operations/volume.d.ts.map +0 -1
  247. package/esm/operations/volume.js +0 -238
  248. package/esm/operations/volume.js.map +0 -1
  249. package/esm/serviceFabricMeshManagementClient.d.ts +0 -33
  250. package/esm/serviceFabricMeshManagementClient.d.ts.map +0 -1
  251. package/esm/serviceFabricMeshManagementClient.js +0 -47
  252. package/esm/serviceFabricMeshManagementClient.js.map +0 -1
  253. package/esm/serviceFabricMeshManagementClientContext.d.ts +0 -22
  254. package/esm/serviceFabricMeshManagementClientContext.d.ts.map +0 -1
  255. package/esm/serviceFabricMeshManagementClientContext.js +0 -61
  256. package/esm/serviceFabricMeshManagementClientContext.js.map +0 -1
  257. package/src/models/applicationMappers.ts +0 -76
  258. package/src/models/codePackageMappers.ts +0 -18
  259. package/src/models/gatewayMappers.ts +0 -76
  260. package/src/models/networkMappers.ts +0 -76
  261. package/src/models/operationsMappers.ts +0 -20
  262. package/src/models/secretMappers.ts +0 -76
  263. package/src/models/secretValueOperationsMappers.ts +0 -77
  264. package/src/models/serviceMappers.ts +0 -76
  265. package/src/models/serviceReplicaMappers.ts +0 -40
  266. package/src/models/volumeMappers.ts +0 -76
  267. package/src/serviceFabricMeshManagementClientContext.ts +0 -68
@@ -1,238 +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 { __assign } from "tslib";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Mappers from "../models/secretMappers";
13
- import * as Parameters from "../models/parameters";
14
- /** Class representing a Secret. */
15
- var Secret = /** @class */ (function () {
16
- /**
17
- * Create a Secret.
18
- * @param {ServiceFabricMeshManagementClientContext} client Reference to the service client.
19
- */
20
- function Secret(client) {
21
- this.client = client;
22
- }
23
- Secret.prototype.create = function (resourceGroupName, secretResourceName, secretResourceDescription, options, callback) {
24
- return this.client.sendOperationRequest({
25
- resourceGroupName: resourceGroupName,
26
- secretResourceName: secretResourceName,
27
- secretResourceDescription: secretResourceDescription,
28
- options: options
29
- }, createOperationSpec, callback);
30
- };
31
- Secret.prototype.get = function (resourceGroupName, secretResourceName, options, callback) {
32
- return this.client.sendOperationRequest({
33
- resourceGroupName: resourceGroupName,
34
- secretResourceName: secretResourceName,
35
- options: options
36
- }, getOperationSpec, callback);
37
- };
38
- Secret.prototype.deleteMethod = function (resourceGroupName, secretResourceName, options, callback) {
39
- return this.client.sendOperationRequest({
40
- resourceGroupName: resourceGroupName,
41
- secretResourceName: secretResourceName,
42
- options: options
43
- }, deleteMethodOperationSpec, callback);
44
- };
45
- Secret.prototype.listByResourceGroup = function (resourceGroupName, options, callback) {
46
- return this.client.sendOperationRequest({
47
- resourceGroupName: resourceGroupName,
48
- options: options
49
- }, listByResourceGroupOperationSpec, callback);
50
- };
51
- Secret.prototype.listBySubscription = function (options, callback) {
52
- return this.client.sendOperationRequest({
53
- options: options
54
- }, listBySubscriptionOperationSpec, callback);
55
- };
56
- Secret.prototype.listByResourceGroupNext = function (nextPageLink, options, callback) {
57
- return this.client.sendOperationRequest({
58
- nextPageLink: nextPageLink,
59
- options: options
60
- }, listByResourceGroupNextOperationSpec, callback);
61
- };
62
- Secret.prototype.listBySubscriptionNext = function (nextPageLink, options, callback) {
63
- return this.client.sendOperationRequest({
64
- nextPageLink: nextPageLink,
65
- options: options
66
- }, listBySubscriptionNextOperationSpec, callback);
67
- };
68
- return Secret;
69
- }());
70
- export { Secret };
71
- // Operation Specifications
72
- var serializer = new msRest.Serializer(Mappers);
73
- var createOperationSpec = {
74
- httpMethod: "PUT",
75
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}",
76
- urlParameters: [
77
- Parameters.subscriptionId,
78
- Parameters.resourceGroupName,
79
- Parameters.secretResourceName
80
- ],
81
- queryParameters: [
82
- Parameters.apiVersion
83
- ],
84
- headerParameters: [
85
- Parameters.acceptLanguage
86
- ],
87
- requestBody: {
88
- parameterPath: "secretResourceDescription",
89
- mapper: __assign(__assign({}, Mappers.SecretResourceDescription), { required: true })
90
- },
91
- responses: {
92
- 200: {
93
- bodyMapper: Mappers.SecretResourceDescription
94
- },
95
- 201: {
96
- bodyMapper: Mappers.SecretResourceDescription
97
- },
98
- 202: {},
99
- default: {
100
- bodyMapper: Mappers.ErrorModel
101
- }
102
- },
103
- serializer: serializer
104
- };
105
- var getOperationSpec = {
106
- httpMethod: "GET",
107
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}",
108
- urlParameters: [
109
- Parameters.subscriptionId,
110
- Parameters.resourceGroupName,
111
- Parameters.secretResourceName
112
- ],
113
- queryParameters: [
114
- Parameters.apiVersion
115
- ],
116
- headerParameters: [
117
- Parameters.acceptLanguage
118
- ],
119
- responses: {
120
- 200: {
121
- bodyMapper: Mappers.SecretResourceDescription
122
- },
123
- default: {
124
- bodyMapper: Mappers.ErrorModel
125
- }
126
- },
127
- serializer: serializer
128
- };
129
- var deleteMethodOperationSpec = {
130
- httpMethod: "DELETE",
131
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}",
132
- urlParameters: [
133
- Parameters.subscriptionId,
134
- Parameters.resourceGroupName,
135
- Parameters.secretResourceName
136
- ],
137
- queryParameters: [
138
- Parameters.apiVersion
139
- ],
140
- headerParameters: [
141
- Parameters.acceptLanguage
142
- ],
143
- responses: {
144
- 200: {},
145
- 202: {},
146
- 204: {},
147
- default: {
148
- bodyMapper: Mappers.ErrorModel
149
- }
150
- },
151
- serializer: serializer
152
- };
153
- var listByResourceGroupOperationSpec = {
154
- httpMethod: "GET",
155
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets",
156
- urlParameters: [
157
- Parameters.subscriptionId,
158
- Parameters.resourceGroupName
159
- ],
160
- queryParameters: [
161
- Parameters.apiVersion
162
- ],
163
- headerParameters: [
164
- Parameters.acceptLanguage
165
- ],
166
- responses: {
167
- 200: {
168
- bodyMapper: Mappers.SecretResourceDescriptionList
169
- },
170
- default: {
171
- bodyMapper: Mappers.ErrorModel
172
- }
173
- },
174
- serializer: serializer
175
- };
176
- var listBySubscriptionOperationSpec = {
177
- httpMethod: "GET",
178
- path: "subscriptions/{subscriptionId}/providers/Microsoft.ServiceFabricMesh/secrets",
179
- urlParameters: [
180
- Parameters.subscriptionId
181
- ],
182
- queryParameters: [
183
- Parameters.apiVersion
184
- ],
185
- headerParameters: [
186
- Parameters.acceptLanguage
187
- ],
188
- responses: {
189
- 200: {
190
- bodyMapper: Mappers.SecretResourceDescriptionList
191
- },
192
- default: {
193
- bodyMapper: Mappers.ErrorModel
194
- }
195
- },
196
- serializer: serializer
197
- };
198
- var listByResourceGroupNextOperationSpec = {
199
- httpMethod: "GET",
200
- baseUrl: "https://management.azure.com",
201
- path: "{nextLink}",
202
- urlParameters: [
203
- Parameters.nextPageLink
204
- ],
205
- headerParameters: [
206
- Parameters.acceptLanguage
207
- ],
208
- responses: {
209
- 200: {
210
- bodyMapper: Mappers.SecretResourceDescriptionList
211
- },
212
- default: {
213
- bodyMapper: Mappers.ErrorModel
214
- }
215
- },
216
- serializer: serializer
217
- };
218
- var listBySubscriptionNextOperationSpec = {
219
- httpMethod: "GET",
220
- baseUrl: "https://management.azure.com",
221
- path: "{nextLink}",
222
- urlParameters: [
223
- Parameters.nextPageLink
224
- ],
225
- headerParameters: [
226
- Parameters.acceptLanguage
227
- ],
228
- responses: {
229
- 200: {
230
- bodyMapper: Mappers.SecretResourceDescriptionList
231
- },
232
- default: {
233
- bodyMapper: Mappers.ErrorModel
234
- }
235
- },
236
- serializer: serializer
237
- };
238
- //# sourceMappingURL=secret.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"secret.js","sourceRoot":"","sources":["../../src/operations/secret.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AACnD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,mCA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azure/ms-rest-js";
2
- import * as Models from "../models";
3
- import { ServiceFabricMeshManagementClientContext } from "../serviceFabricMeshManagementClientContext";
4
- /** Class representing a SecretValueOperations. */
5
- export declare class SecretValueOperations {
6
- private readonly client;
7
- /**
8
- * Create a SecretValueOperations.
9
- * @param {ServiceFabricMeshManagementClientContext} client Reference to the service client.
10
- */
11
- constructor(client: ServiceFabricMeshManagementClientContext);
12
- /**
13
- * Creates a new value of the specified secret resource. The name of the value is typically the
14
- * version identifier. Once created the value cannot be changed.
15
- * @summary Adds the specified value as a new version of the specified secret resource.
16
- * @param resourceGroupName Azure resource group name
17
- * @param secretResourceName The name of the secret resource.
18
- * @param secretValueResourceName The name of the secret resource value which is typically the
19
- * version identifier for the value.
20
- * @param secretValueResourceDescription Description for creating a value of a secret resource.
21
- * @param [options] The optional parameters
22
- * @returns Promise<Models.SecretValueCreateResponse>
23
- */
24
- create(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, secretValueResourceDescription: Models.SecretValueResourceDescription, options?: msRest.RequestOptionsBase): Promise<Models.SecretValueCreateResponse>;
25
- /**
26
- * @param resourceGroupName Azure resource group name
27
- * @param secretResourceName The name of the secret resource.
28
- * @param secretValueResourceName The name of the secret resource value which is typically the
29
- * version identifier for the value.
30
- * @param secretValueResourceDescription Description for creating a value of a secret resource.
31
- * @param callback The callback
32
- */
33
- create(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, secretValueResourceDescription: Models.SecretValueResourceDescription, callback: msRest.ServiceCallback<Models.SecretValueResourceDescription>): void;
34
- /**
35
- * @param resourceGroupName Azure resource group name
36
- * @param secretResourceName The name of the secret resource.
37
- * @param secretValueResourceName The name of the secret resource value which is typically the
38
- * version identifier for the value.
39
- * @param secretValueResourceDescription Description for creating a value of a secret resource.
40
- * @param options The optional parameters
41
- * @param callback The callback
42
- */
43
- create(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, secretValueResourceDescription: Models.SecretValueResourceDescription, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SecretValueResourceDescription>): void;
44
- /**
45
- * Get the information about the specified named secret value resources. The information does not
46
- * include the actual value of the secret.
47
- * @summary Gets the specified secret value resource.
48
- * @param resourceGroupName Azure resource group name
49
- * @param secretResourceName The name of the secret resource.
50
- * @param secretValueResourceName The name of the secret resource value which is typically the
51
- * version identifier for the value.
52
- * @param [options] The optional parameters
53
- * @returns Promise<Models.SecretValueGetResponse>
54
- */
55
- get(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.SecretValueGetResponse>;
56
- /**
57
- * @param resourceGroupName Azure resource group name
58
- * @param secretResourceName The name of the secret resource.
59
- * @param secretValueResourceName The name of the secret resource value which is typically the
60
- * version identifier for the value.
61
- * @param callback The callback
62
- */
63
- get(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, callback: msRest.ServiceCallback<Models.SecretValueResourceDescription>): void;
64
- /**
65
- * @param resourceGroupName Azure resource group name
66
- * @param secretResourceName The name of the secret resource.
67
- * @param secretValueResourceName The name of the secret resource value which is typically the
68
- * version identifier for the value.
69
- * @param options The optional parameters
70
- * @param callback The callback
71
- */
72
- get(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SecretValueResourceDescription>): void;
73
- /**
74
- * Deletes the secret value resource identified by the name. The name of the resource is typically
75
- * the version associated with that value. Deletion will fail if the specified value is in use.
76
- * @summary Deletes the specified value of the named secret resource.
77
- * @param resourceGroupName Azure resource group name
78
- * @param secretResourceName The name of the secret resource.
79
- * @param secretValueResourceName The name of the secret resource value which is typically the
80
- * version identifier for the value.
81
- * @param [options] The optional parameters
82
- * @returns Promise<msRest.RestResponse>
83
- */
84
- deleteMethod(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
85
- /**
86
- * @param resourceGroupName Azure resource group name
87
- * @param secretResourceName The name of the secret resource.
88
- * @param secretValueResourceName The name of the secret resource value which is typically the
89
- * version identifier for the value.
90
- * @param callback The callback
91
- */
92
- deleteMethod(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, callback: msRest.ServiceCallback<void>): void;
93
- /**
94
- * @param resourceGroupName Azure resource group name
95
- * @param secretResourceName The name of the secret resource.
96
- * @param secretValueResourceName The name of the secret resource value which is typically the
97
- * version identifier for the value.
98
- * @param options The optional parameters
99
- * @param callback The callback
100
- */
101
- deleteMethod(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
102
- /**
103
- * Gets information about all secret value resources of the specified secret resource. The
104
- * information includes the names of the secret value resources, but not the actual values.
105
- * @summary List names of all values of the the specified secret resource.
106
- * @param resourceGroupName Azure resource group name
107
- * @param secretResourceName The name of the secret resource.
108
- * @param [options] The optional parameters
109
- * @returns Promise<Models.SecretValueListResponse>
110
- */
111
- list(resourceGroupName: string, secretResourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.SecretValueListResponse>;
112
- /**
113
- * @param resourceGroupName Azure resource group name
114
- * @param secretResourceName The name of the secret resource.
115
- * @param callback The callback
116
- */
117
- list(resourceGroupName: string, secretResourceName: string, callback: msRest.ServiceCallback<Models.SecretValueResourceDescriptionList>): void;
118
- /**
119
- * @param resourceGroupName Azure resource group name
120
- * @param secretResourceName The name of the secret resource.
121
- * @param options The optional parameters
122
- * @param callback The callback
123
- */
124
- list(resourceGroupName: string, secretResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SecretValueResourceDescriptionList>): void;
125
- /**
126
- * Lists the decrypted value of the specified named value of the secret resource. This is a
127
- * privileged operation.
128
- * @summary Lists the specified value of the secret resource.
129
- * @param resourceGroupName Azure resource group name
130
- * @param secretResourceName The name of the secret resource.
131
- * @param secretValueResourceName The name of the secret resource value which is typically the
132
- * version identifier for the value.
133
- * @param [options] The optional parameters
134
- * @returns Promise<Models.SecretValueListValueResponse>
135
- */
136
- listValue(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.SecretValueListValueResponse>;
137
- /**
138
- * @param resourceGroupName Azure resource group name
139
- * @param secretResourceName The name of the secret resource.
140
- * @param secretValueResourceName The name of the secret resource value which is typically the
141
- * version identifier for the value.
142
- * @param callback The callback
143
- */
144
- listValue(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, callback: msRest.ServiceCallback<Models.SecretValue>): void;
145
- /**
146
- * @param resourceGroupName Azure resource group name
147
- * @param secretResourceName The name of the secret resource.
148
- * @param secretValueResourceName The name of the secret resource value which is typically the
149
- * version identifier for the value.
150
- * @param options The optional parameters
151
- * @param callback The callback
152
- */
153
- listValue(resourceGroupName: string, secretResourceName: string, secretValueResourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SecretValue>): void;
154
- /**
155
- * Gets information about all secret value resources of the specified secret resource. The
156
- * information includes the names of the secret value resources, but not the actual values.
157
- * @summary List names of all values of the the specified secret resource.
158
- * @param nextPageLink The NextLink from the previous successful call to List operation.
159
- * @param [options] The optional parameters
160
- * @returns Promise<Models.SecretValueListNextResponse>
161
- */
162
- listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.SecretValueListNextResponse>;
163
- /**
164
- * @param nextPageLink The NextLink from the previous successful call to List operation.
165
- * @param callback The callback
166
- */
167
- listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.SecretValueResourceDescriptionList>): void;
168
- /**
169
- * @param nextPageLink The NextLink from the previous successful call to List operation.
170
- * @param options The optional parameters
171
- * @param callback The callback
172
- */
173
- listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.SecretValueResourceDescriptionList>): void;
174
- }
175
- //# sourceMappingURL=secretValueOperations.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"secretValueOperations.d.ts","sourceRoot":"","sources":["../../src/operations/secretValueOperations.ts"],"names":[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AQ,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,kBAAkB,EAAE,QAAQ,EAAE,MAAM,CAAC,eAAe,CAAC,MAAM,CAAC,kCAAkC,CAAC,GAAG,IAAI;CAUtJ"}
@@ -1,226 +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 { __assign } from "tslib";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as Mappers from "../models/secretValueOperationsMappers";
13
- import * as Parameters from "../models/parameters";
14
- /** Class representing a SecretValueOperations. */
15
- var SecretValueOperations = /** @class */ (function () {
16
- /**
17
- * Create a SecretValueOperations.
18
- * @param {ServiceFabricMeshManagementClientContext} client Reference to the service client.
19
- */
20
- function SecretValueOperations(client) {
21
- this.client = client;
22
- }
23
- SecretValueOperations.prototype.create = function (resourceGroupName, secretResourceName, secretValueResourceName, secretValueResourceDescription, options, callback) {
24
- return this.client.sendOperationRequest({
25
- resourceGroupName: resourceGroupName,
26
- secretResourceName: secretResourceName,
27
- secretValueResourceName: secretValueResourceName,
28
- secretValueResourceDescription: secretValueResourceDescription,
29
- options: options
30
- }, createOperationSpec, callback);
31
- };
32
- SecretValueOperations.prototype.get = function (resourceGroupName, secretResourceName, secretValueResourceName, options, callback) {
33
- return this.client.sendOperationRequest({
34
- resourceGroupName: resourceGroupName,
35
- secretResourceName: secretResourceName,
36
- secretValueResourceName: secretValueResourceName,
37
- options: options
38
- }, getOperationSpec, callback);
39
- };
40
- SecretValueOperations.prototype.deleteMethod = function (resourceGroupName, secretResourceName, secretValueResourceName, options, callback) {
41
- return this.client.sendOperationRequest({
42
- resourceGroupName: resourceGroupName,
43
- secretResourceName: secretResourceName,
44
- secretValueResourceName: secretValueResourceName,
45
- options: options
46
- }, deleteMethodOperationSpec, callback);
47
- };
48
- SecretValueOperations.prototype.list = function (resourceGroupName, secretResourceName, options, callback) {
49
- return this.client.sendOperationRequest({
50
- resourceGroupName: resourceGroupName,
51
- secretResourceName: secretResourceName,
52
- options: options
53
- }, listOperationSpec, callback);
54
- };
55
- SecretValueOperations.prototype.listValue = function (resourceGroupName, secretResourceName, secretValueResourceName, options, callback) {
56
- return this.client.sendOperationRequest({
57
- resourceGroupName: resourceGroupName,
58
- secretResourceName: secretResourceName,
59
- secretValueResourceName: secretValueResourceName,
60
- options: options
61
- }, listValueOperationSpec, callback);
62
- };
63
- SecretValueOperations.prototype.listNext = function (nextPageLink, options, callback) {
64
- return this.client.sendOperationRequest({
65
- nextPageLink: nextPageLink,
66
- options: options
67
- }, listNextOperationSpec, callback);
68
- };
69
- return SecretValueOperations;
70
- }());
71
- export { SecretValueOperations };
72
- // Operation Specifications
73
- var serializer = new msRest.Serializer(Mappers);
74
- var createOperationSpec = {
75
- httpMethod: "PUT",
76
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}",
77
- urlParameters: [
78
- Parameters.subscriptionId,
79
- Parameters.resourceGroupName,
80
- Parameters.secretResourceName,
81
- Parameters.secretValueResourceName
82
- ],
83
- queryParameters: [
84
- Parameters.apiVersion
85
- ],
86
- headerParameters: [
87
- Parameters.acceptLanguage
88
- ],
89
- requestBody: {
90
- parameterPath: "secretValueResourceDescription",
91
- mapper: __assign(__assign({}, Mappers.SecretValueResourceDescription), { required: true })
92
- },
93
- responses: {
94
- 200: {
95
- bodyMapper: Mappers.SecretValueResourceDescription
96
- },
97
- 201: {
98
- bodyMapper: Mappers.SecretValueResourceDescription
99
- },
100
- 202: {},
101
- default: {
102
- bodyMapper: Mappers.ErrorModel
103
- }
104
- },
105
- serializer: serializer
106
- };
107
- var getOperationSpec = {
108
- httpMethod: "GET",
109
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}",
110
- urlParameters: [
111
- Parameters.subscriptionId,
112
- Parameters.resourceGroupName,
113
- Parameters.secretResourceName,
114
- Parameters.secretValueResourceName
115
- ],
116
- queryParameters: [
117
- Parameters.apiVersion
118
- ],
119
- headerParameters: [
120
- Parameters.acceptLanguage
121
- ],
122
- responses: {
123
- 200: {
124
- bodyMapper: Mappers.SecretValueResourceDescription
125
- },
126
- default: {
127
- bodyMapper: Mappers.ErrorModel
128
- }
129
- },
130
- serializer: serializer
131
- };
132
- var deleteMethodOperationSpec = {
133
- httpMethod: "DELETE",
134
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}",
135
- urlParameters: [
136
- Parameters.subscriptionId,
137
- Parameters.resourceGroupName,
138
- Parameters.secretResourceName,
139
- Parameters.secretValueResourceName
140
- ],
141
- queryParameters: [
142
- Parameters.apiVersion
143
- ],
144
- headerParameters: [
145
- Parameters.acceptLanguage
146
- ],
147
- responses: {
148
- 200: {},
149
- 202: {},
150
- 204: {},
151
- default: {
152
- bodyMapper: Mappers.ErrorModel
153
- }
154
- },
155
- serializer: serializer
156
- };
157
- var listOperationSpec = {
158
- httpMethod: "GET",
159
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values",
160
- urlParameters: [
161
- Parameters.subscriptionId,
162
- Parameters.resourceGroupName,
163
- Parameters.secretResourceName
164
- ],
165
- queryParameters: [
166
- Parameters.apiVersion
167
- ],
168
- headerParameters: [
169
- Parameters.acceptLanguage
170
- ],
171
- responses: {
172
- 200: {
173
- bodyMapper: Mappers.SecretValueResourceDescriptionList
174
- },
175
- default: {
176
- bodyMapper: Mappers.ErrorModel
177
- }
178
- },
179
- serializer: serializer
180
- };
181
- var listValueOperationSpec = {
182
- httpMethod: "POST",
183
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceFabricMesh/secrets/{secretResourceName}/values/{secretValueResourceName}/list_value",
184
- urlParameters: [
185
- Parameters.subscriptionId,
186
- Parameters.resourceGroupName,
187
- Parameters.secretResourceName,
188
- Parameters.secretValueResourceName
189
- ],
190
- queryParameters: [
191
- Parameters.apiVersion
192
- ],
193
- headerParameters: [
194
- Parameters.acceptLanguage
195
- ],
196
- responses: {
197
- 200: {
198
- bodyMapper: Mappers.SecretValue
199
- },
200
- default: {
201
- bodyMapper: Mappers.ErrorModel
202
- }
203
- },
204
- serializer: serializer
205
- };
206
- var listNextOperationSpec = {
207
- httpMethod: "GET",
208
- baseUrl: "https://management.azure.com",
209
- path: "{nextLink}",
210
- urlParameters: [
211
- Parameters.nextPageLink
212
- ],
213
- headerParameters: [
214
- Parameters.acceptLanguage
215
- ],
216
- responses: {
217
- 200: {
218
- bodyMapper: Mappers.SecretValueResourceDescriptionList
219
- },
220
- default: {
221
- bodyMapper: Mappers.ErrorModel
222
- }
223
- },
224
- serializer: serializer
225
- };
226
- //# sourceMappingURL=secretValueOperations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"secretValueOperations.js","sourceRoot":"","sources":["../../src/operations/secretValueOperations.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,wCAAwC,CAAC;AAClE,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,kDAAkD;AAClD;IAGE;;;OAGG;IACH,+BAAY,MAAgD;QAC1D,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAkCD,sCAAM,GAAN,UAAO,iBAAyB,EAAE,kBAA0B,EAAE,uBAA+B,EAAE,8BAAqE,EAAE,OAAmG,EAAE,QAAwE;QACjV,OAAO,IAAI,CAAC,MAAM,CAAC,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